@adbjs/sdk 2.1.0 → 2.1.1
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 +6 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/wretch/dist/utils.js
|
|
1
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/utils.js
|
|
2
2
|
function extractContentType(headers = {}) {
|
|
3
3
|
const normalizedHeaders = headers instanceof Array ? Object.fromEntries(headers) : headers;
|
|
4
4
|
for (const k in normalizedHeaders) {
|
|
@@ -21,15 +21,15 @@ var mix = (one, two, mergeArrays = false) => {
|
|
|
21
21
|
return acc;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
// node_modules/wretch/dist/constants.js
|
|
24
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/constants.js
|
|
25
25
|
var JSON_MIME = "application/json";
|
|
26
26
|
var FETCH_ERROR = Symbol();
|
|
27
27
|
var CATCHER_FALLBACK = Symbol();
|
|
28
28
|
|
|
29
|
-
// node_modules/wretch/dist/middleware.js
|
|
29
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/middleware.js
|
|
30
30
|
var middlewareHelper = (middlewares) => (fetchFunction) => middlewares.reduceRight((acc, curr) => curr(acc), fetchFunction);
|
|
31
31
|
|
|
32
|
-
// node_modules/wretch/dist/resolver.js
|
|
32
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/resolver.js
|
|
33
33
|
class WretchError extends Error {
|
|
34
34
|
}
|
|
35
35
|
var resolver = (wretch) => {
|
|
@@ -123,7 +123,7 @@ CAUSE: ` + referenceError.stack;
|
|
|
123
123
|
return resolvers.reduce((chain, r) => r(chain, wretch), enhancedResponseChain);
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
// node_modules/wretch/dist/core.js
|
|
126
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/core.js
|
|
127
127
|
var core = {
|
|
128
128
|
_url: "",
|
|
129
129
|
_options: {},
|
|
@@ -239,7 +239,7 @@ var core = {
|
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
// node_modules/wretch/dist/index.js
|
|
242
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/index.js
|
|
243
243
|
var factory = (_url = "", _options = {}) => ({ ...core, _url, _options });
|
|
244
244
|
factory["default"] = factory;
|
|
245
245
|
factory.WretchError = WretchError;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/wretch/dist/utils.js
|
|
1
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/utils.js
|
|
2
2
|
function extractContentType(headers = {}) {
|
|
3
3
|
const normalizedHeaders = headers instanceof Array ? Object.fromEntries(headers) : headers;
|
|
4
4
|
for (const k in normalizedHeaders) {
|
|
@@ -21,15 +21,15 @@ var mix = (one, two, mergeArrays = false) => {
|
|
|
21
21
|
return acc;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
// node_modules/wretch/dist/constants.js
|
|
24
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/constants.js
|
|
25
25
|
var JSON_MIME = "application/json";
|
|
26
26
|
var FETCH_ERROR = Symbol();
|
|
27
27
|
var CATCHER_FALLBACK = Symbol();
|
|
28
28
|
|
|
29
|
-
// node_modules/wretch/dist/middleware.js
|
|
29
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/middleware.js
|
|
30
30
|
var middlewareHelper = (middlewares) => (fetchFunction) => middlewares.reduceRight((acc, curr) => curr(acc), fetchFunction);
|
|
31
31
|
|
|
32
|
-
// node_modules/wretch/dist/resolver.js
|
|
32
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/resolver.js
|
|
33
33
|
class WretchError extends Error {
|
|
34
34
|
}
|
|
35
35
|
var resolver = (wretch) => {
|
|
@@ -123,7 +123,7 @@ CAUSE: ` + referenceError.stack;
|
|
|
123
123
|
return resolvers.reduce((chain, r) => r(chain, wretch), enhancedResponseChain);
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
// node_modules/wretch/dist/core.js
|
|
126
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/core.js
|
|
127
127
|
var core = {
|
|
128
128
|
_url: "",
|
|
129
129
|
_options: {},
|
|
@@ -239,7 +239,7 @@ var core = {
|
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
// node_modules/wretch/dist/index.js
|
|
242
|
+
// ../../node_modules/.bun/wretch@3.0.6/node_modules/wretch/dist/index.js
|
|
243
243
|
var factory = (_url = "", _options = {}) => ({ ...core, _url, _options });
|
|
244
244
|
factory["default"] = factory;
|
|
245
245
|
factory.WretchError = WretchError;
|