@rebilly/instruments 12.82.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 CHANGED
@@ -1,6 +1,6 @@
1
- ## [12.82.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.81.0...instruments/core-v12.82.0) (2025-06-24)
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
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#13117](https://github.com/Rebilly/rebilly/issues/13117)) ([25ea202](https://github.com/Rebilly/rebilly/commit/25ea202db9625a787ee48811aeaa7a960068fe36))
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.9.0";
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("/")}@2a90ad0`
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
  }