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 +4 -2
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
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