@rebilly/instruments 12.81.0 → 12.82.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/CHANGELOG.md +3 -3
- package/dist/index.js +6 -3
- package/dist/index.min.js +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [12.
|
|
1
|
+
## [12.82.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.82.0...instruments/core-v12.82.1) (2025-06-26)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
6
|
+
* **rebilly-js-sdk:** Update JS SDK URLs ([#13038](https://github.com/Rebilly/rebilly/issues/13038)) ([040bbad](https://github.com/Rebilly/rebilly/commit/040bbadb73d14cbf8e7b768a507dc052b8298927))
|
package/dist/index.js
CHANGED
|
@@ -3980,6 +3980,9 @@ function toFormData$1(obj, formData, options) {
|
|
|
3980
3980
|
if (utils$1.isDate(value)) {
|
|
3981
3981
|
return value.toISOString();
|
|
3982
3982
|
}
|
|
3983
|
+
if (utils$1.isBoolean(value)) {
|
|
3984
|
+
return value.toString();
|
|
3985
|
+
}
|
|
3983
3986
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
3984
3987
|
throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
|
|
3985
3988
|
}
|
|
@@ -5283,7 +5286,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
5283
5286
|
duplex: "half",
|
|
5284
5287
|
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
5285
5288
|
});
|
|
5286
|
-
let response = await fetch(request);
|
|
5289
|
+
let response = await fetch(request, fetchOptions);
|
|
5287
5290
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
5288
5291
|
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
5289
5292
|
const options = {};
|
|
@@ -5424,7 +5427,7 @@ function dispatchRequest(config) {
|
|
|
5424
5427
|
return Promise.reject(reason);
|
|
5425
5428
|
});
|
|
5426
5429
|
}
|
|
5427
|
-
const VERSION$1 = "1.
|
|
5430
|
+
const VERSION$1 = "1.10.0";
|
|
5428
5431
|
const validators$1 = {};
|
|
5429
5432
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
5430
5433
|
validators$1[type] = function validator2(thing) {
|
|
@@ -6328,7 +6331,7 @@ function C$1({ options: e2 }) {
|
|
|
6328
6331
|
}
|
|
6329
6332
|
function o2() {
|
|
6330
6333
|
const i = {
|
|
6331
|
-
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@
|
|
6334
|
+
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@040bbad`
|
|
6332
6335
|
};
|
|
6333
6336
|
return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
|
|
6334
6337
|
}
|