rest-client-sdk 6.7.0 → 6.7.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/dist/index.js CHANGED
@@ -1784,7 +1784,7 @@
1784
1784
  if (this.sdk.mapping.idPrefix) {
1785
1785
  var segments = url.segment();
1786
1786
 
1787
- if ("/".concat(segments[0]) !== this.sdk.mapping.idPrefix) {
1787
+ if (!url.pathname().startsWith(this.sdk.mapping.idPrefix)) {
1788
1788
  segments.unshift(this.sdk.mapping.idPrefix);
1789
1789
  url.segment(segments);
1790
1790
  }