news-api-utils
Advanced tools
Comparing version 1.0.0 to 1.0.6
@@ -44,2 +44,11 @@ interface ParamsObjectType { | ||
export { type ParamsObjectType, getAllNews, getSimilarStoriesByUUID, getTopStories, getTopStoriesParamsHelp }; | ||
type index_ParamsObjectType = ParamsObjectType; | ||
declare const index_getAllNews: typeof getAllNews; | ||
declare const index_getSimilarStoriesByUUID: typeof getSimilarStoriesByUUID; | ||
declare const index_getTopStories: typeof getTopStories; | ||
declare const index_getTopStoriesParamsHelp: typeof getTopStoriesParamsHelp; | ||
declare namespace index { | ||
export { type index_ParamsObjectType as ParamsObjectType, index_getAllNews as getAllNews, index_getSimilarStoriesByUUID as getSimilarStoriesByUUID, index_getTopStories as getTopStories, index_getTopStoriesParamsHelp as getTopStoriesParamsHelp }; | ||
} | ||
export { index as thenewsapi }; |
@@ -53,2 +53,9 @@ "use strict"; | ||
__export(src_exports, { | ||
thenewsapi: () => thenewsapi_exports | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// src/thenewsapi/index.ts | ||
var thenewsapi_exports = {}; | ||
__export(thenewsapi_exports, { | ||
getAllNews: () => getAllNews, | ||
@@ -59,5 +66,4 @@ getSimilarStoriesByUUID: () => getSimilarStoriesByUUID, | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// src/thenewsapi.ts | ||
// src/thenewsapi/thenewsapi.ts | ||
var import_axios = __toESM(require("axios")); | ||
@@ -131,7 +137,4 @@ var baseUrl = "https://api.thenewsapi.com/v1/news/"; | ||
0 && (module.exports = { | ||
getAllNews, | ||
getSimilarStoriesByUUID, | ||
getTopStories, | ||
getTopStoriesParamsHelp | ||
thenewsapi | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "news-api-utils", | ||
"version": "1.0.0", | ||
"version": "1.0.6", | ||
"description": "Implementation of news api utils in ts. ", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29552
288