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.es.js CHANGED
@@ -1779,7 +1779,7 @@ var AbstractClient = /*#__PURE__*/function () {
1779
1779
  if (this.sdk.mapping.idPrefix) {
1780
1780
  var segments = url.segment();
1781
1781
 
1782
- if ("/".concat(segments[0]) !== this.sdk.mapping.idPrefix) {
1782
+ if (!url.pathname().startsWith(this.sdk.mapping.idPrefix)) {
1783
1783
  segments.unshift(this.sdk.mapping.idPrefix);
1784
1784
  url.segment(segments);
1785
1785
  }