abbot-http-client 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -31,7 +31,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
33
  catchError: () => catchError,
34
- create: () => create
34
+ create: () => create,
35
+ getConfig: () => getConfig
35
36
  });
36
37
  module.exports = __toCommonJS(index_exports);
37
38
 
@@ -380,5 +381,6 @@ function create(config) {
380
381
  // Annotate the CommonJS export names for ESM import in node:
381
382
  0 && (module.exports = {
382
383
  catchError,
383
- create
384
+ create,
385
+ getConfig
384
386
  });
package/dist/index.d.cts CHANGED
@@ -38,6 +38,7 @@ interface AbbotConfig {
38
38
  timezone?: string;
39
39
  };
40
40
  }
41
+ declare function getConfig(): AbbotConfig;
41
42
  declare function create(config: AbbotConfig): CoreHttp;
42
43
 
43
- export { type AbbotConfig, catchError, create };
44
+ export { type AbbotConfig, catchError, create, getConfig };
package/dist/index.d.ts CHANGED
@@ -38,6 +38,7 @@ interface AbbotConfig {
38
38
  timezone?: string;
39
39
  };
40
40
  }
41
+ declare function getConfig(): AbbotConfig;
41
42
  declare function create(config: AbbotConfig): CoreHttp;
42
43
 
43
- export { type AbbotConfig, catchError, create };
44
+ export { type AbbotConfig, catchError, create, getConfig };
package/dist/index.js CHANGED
@@ -342,5 +342,6 @@ function create(config) {
342
342
  }
343
343
  export {
344
344
  catchError,
345
- create
345
+ create,
346
+ getConfig
346
347
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abbot-http-client",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "This package helps Abbot team to handle all the axios requests.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",