@imtbl/sdk 0.17.1 → 0.17.2

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.
@@ -17712,7 +17712,7 @@ class $fd8a8472dcc3ec2b$export$ef140a6b05dfc786 {
17712
17712
  if (params.nextPage) url += `&${new URLSearchParams(params.nextPage)}`;
17713
17713
  // Cache response data to prevent unnecessary requests
17714
17714
  const cached = this.getCache(url);
17715
- if (cached && cached.status < 400) return Promise.resolve(cached.data);
17715
+ if (cached) return Promise.resolve(cached);
17716
17716
  const response = await $fd8a8472dcc3ec2b$export$ef140a6b05dfc786.makeHttpRequest(url);
17717
17717
  if (response.status >= 400) return Promise.reject({
17718
17718
  code: response.status,
@@ -17751,7 +17751,7 @@ class $fd8a8472dcc3ec2b$export$ef140a6b05dfc786 {
17751
17751
  const url = `${this.url}/api/v2/addresses/${params.walletAddress}`;
17752
17752
  // Cache response data to prevent unnecessary requests
17753
17753
  const cached = this.getCache(url);
17754
- if (cached && cached.status < 400) return Promise.resolve(cached.data);
17754
+ if (cached) return Promise.resolve(cached);
17755
17755
  const response = await $fd8a8472dcc3ec2b$export$ef140a6b05dfc786.makeHttpRequest(url);
17756
17756
  if (response.status >= 400) return Promise.reject({
17757
17757
  code: response.status,
@@ -4,7 +4,7 @@ import { useEffect } from 'react';
4
4
  function $parcel$export(e, n, v, s) {
5
5
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
6
  }
7
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.17.1";
7
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.17.2";
8
8
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
9
9
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
10
10
 
@@ -16,7 +16,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
16
16
  chainID,
17
17
  coreContractAddress,
18
18
  registrationContractAddress,
19
- sdkVersion: 'ts-immutable-sdk-0.17.1',
19
+ sdkVersion: 'ts-immutable-sdk-0.17.2',
20
20
  });
21
21
  /**
22
22
  * Sets `sdkVersion` at the time of build