@rebilly/instruments 12.36.0 → 12.36.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 @@
1
- ## [12.36.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.35.0...instruments/core-v12.36.0) (2025-03-20)
2
-
3
-
4
- ### Features
5
-
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#10763](https://github.com/Rebilly/rebilly/issues/10763)) ([999ba88](https://github.com/Rebilly/rebilly/commit/999ba8816166ba1bebaa3256035b778628add118))
1
+ ## [12.36.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.36.0...instruments/core-v12.36.1) (2025-03-24)
package/dist/index.js CHANGED
@@ -4770,7 +4770,7 @@ function combineURLs(baseURL, relativeURL) {
4770
4770
  }
4771
4771
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
4772
4772
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
4773
- if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
4773
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
4774
4774
  return combineURLs(baseURL, requestedURL);
4775
4775
  }
4776
4776
  return requestedURL;
@@ -4857,7 +4857,7 @@ const resolveConfig = (config) => {
4857
4857
  const newConfig = mergeConfig$1({}, config);
4858
4858
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
4859
4859
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
4860
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
4860
+ newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
4861
4861
  if (auth) {
4862
4862
  headers.set(
4863
4863
  "Authorization",
@@ -5374,7 +5374,7 @@ function dispatchRequest(config) {
5374
5374
  return Promise.reject(reason);
5375
5375
  });
5376
5376
  }
5377
- const VERSION$1 = "1.8.2";
5377
+ const VERSION$1 = "1.8.4";
5378
5378
  const validators$1 = {};
5379
5379
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
5380
5380
  validators$1[type] = function validator2(thing) {
@@ -6278,7 +6278,7 @@ function C$1({ options: e2 }) {
6278
6278
  }
6279
6279
  function o2() {
6280
6280
  const i = {
6281
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@3bed732`
6281
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@562a5c1`
6282
6282
  };
6283
6283
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
6284
6284
  }