bruce-models 6.8.6 → 6.8.7

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.
@@ -16221,10 +16221,8 @@
16221
16221
  if (path.startsWith("http://") || path.startsWith("https://")) {
16222
16222
  return path;
16223
16223
  }
16224
- if (!path.startsWith("/")) {
16225
- path = `/${path}`;
16226
- }
16227
- return `${this.baseUrl}${path}`;
16224
+ // Use URL constructor to properly handle path joining and avoid double slashes
16225
+ return new URL(path, this.baseUrl).toString();
16228
16226
  }
16229
16227
  fetchFromEndpoint(path, init, auth) {
16230
16228
  var _a;
@@ -16438,7 +16436,7 @@
16438
16436
  }
16439
16437
 
16440
16438
  // This is updated with the package.json version on build.
16441
- const VERSION = "6.8.6";
16439
+ const VERSION = "6.8.7";
16442
16440
 
16443
16441
  exports.VERSION = VERSION;
16444
16442
  exports.AbstractApi = AbstractApi;