@commercelayer/sdk 2.2.6-beta.2 → 2.2.6-beta.3

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/lib/sdk.esm.js CHANGED
@@ -16912,18 +16912,6 @@ export const resourceMap: { [res: string]: ResourceInfo } = {
16912
16912
  } as const
16913
16913
  */
16914
16914
 
16915
- /* eslint-disable @typescript-eslint/no-explicit-any */
16916
- var REQUEST_INTERRUPTED = 'REQUEST_INTERRUPTED';
16917
-
16918
- var stopInterceptedRequest = function stopInterceptedRequest() {
16919
- throw new axios.Cancel(REQUEST_INTERRUPTED);
16920
- }; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
16921
-
16922
-
16923
- var isRequestInterrupted = function isRequestInterrupted(error) {
16924
- return error.message === REQUEST_INTERRUPTED;
16925
- };
16926
-
16927
16915
  /* Static functions */
16928
16916
 
16929
16917
  var CommerceLayerStatic = {
@@ -16932,9 +16920,6 @@ var CommerceLayerStatic = {
16932
16920
  },
16933
16921
  isApiError: function isApiError(error) {
16934
16922
  return ApiError.isApiError(error);
16935
- },
16936
- isRequestInterrupted: function isRequestInterrupted$1(error) {
16937
- return isRequestInterrupted(error);
16938
16923
  }
16939
16924
  };
16940
16925
 
@@ -17127,5 +17112,5 @@ var CommerceLayer = function CommerceLayer(config) {
17127
17112
  };
17128
17113
 
17129
17114
  export default CommerceLayer;
17130
- export { CommerceLayerStatic, stopInterceptedRequest };
17115
+ export { CommerceLayerStatic };
17131
17116
  //# sourceMappingURL=sdk.esm.js.map