rest-client-sdk 7.0.0-rc.5 → 7.0.0-rc.6

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.es.js CHANGED
@@ -1890,7 +1890,7 @@ var AbstractClient = /*#__PURE__*/function () {
1890
1890
  if (this.sdk.mapping.idPrefix) {
1891
1891
  var segments = url.segment();
1892
1892
 
1893
- if ("/".concat(segments[0]) !== this.sdk.mapping.idPrefix) {
1893
+ if (!url.pathname().startsWith(this.sdk.mapping.idPrefix)) {
1894
1894
  segments.unshift(this.sdk.mapping.idPrefix);
1895
1895
  url.segment(segments);
1896
1896
  }