@imtbl/sdk 0.3.0-alpha.1 → 0.3.0-alpha.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.
package/dist/index.cjs CHANGED
@@ -5550,7 +5550,7 @@ class MultiRollupApiClients {
5550
5550
  }
5551
5551
 
5552
5552
  // eslint-disable-next-line @typescript-eslint/naming-convention
5553
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.3.0-alpha.1' };
5553
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.3.0-alpha.2' };
5554
5554
  const createConfig = ({ basePath, headers, }) => {
5555
5555
  if (!basePath.trim()) {
5556
5556
  throw Error('basePath can not be empty');
@@ -5610,7 +5610,7 @@ class APIError extends Error {
5610
5610
 
5611
5611
  /* eslint-disable implicit-arrow-linebreak */
5612
5612
  const defaultHeaders = {
5613
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.3.0-alpha.1',
5613
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.3.0-alpha.2',
5614
5614
  };
5615
5615
  /**
5616
5616
  * createAPIConfiguration to create a custom Configuration
@@ -5876,7 +5876,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
5876
5876
  chainID,
5877
5877
  coreContractAddress,
5878
5878
  registrationContractAddress,
5879
- sdkVersion: 'ts-immutable-sdk-0.3.0-alpha.1',
5879
+ sdkVersion: 'ts-immutable-sdk-0.3.0-alpha.2',
5880
5880
  });
5881
5881
  /**
5882
5882
  * Sets `sdkVersion` at the time of build
@@ -28085,9 +28085,8 @@ async function $5c763be0b0b81038$export$500fbc0cd14cdbaa(defaultProvider) {
28085
28085
 
28086
28086
 
28087
28087
 
28088
-
28089
28088
  function $bb88265fe45a0393$export$ebe4804963e71f98(web3Provider) {
28090
- if (web3Provider && web3Provider instanceof (providers.Web3Provider) && web3Provider.provider?.request) return true;
28089
+ if (web3Provider && web3Provider.provider?.request && typeof web3Provider.provider.request === "function") return true;
28091
28090
  return false;
28092
28091
  }
28093
28092
  async function $bb88265fe45a0393$export$9e1fd9cc88c637a0(config, web3Provider, validateProviderOptions) {
@@ -28593,7 +28592,7 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
28593
28592
  function $parcel$export(e, n, v, s) {
28594
28593
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
28595
28594
  }
28596
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.3.0-alpha.1";
28595
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.3.0-alpha.2";
28597
28596
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
28598
28597
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
28599
28598
 
package/dist/index.js CHANGED
@@ -5530,7 +5530,7 @@ class MultiRollupApiClients {
5530
5530
  }
5531
5531
 
5532
5532
  // eslint-disable-next-line @typescript-eslint/naming-convention
5533
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.3.0-alpha.1' };
5533
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.3.0-alpha.2' };
5534
5534
  const createConfig = ({ basePath, headers, }) => {
5535
5535
  if (!basePath.trim()) {
5536
5536
  throw Error('basePath can not be empty');
@@ -5590,7 +5590,7 @@ class APIError extends Error {
5590
5590
 
5591
5591
  /* eslint-disable implicit-arrow-linebreak */
5592
5592
  const defaultHeaders = {
5593
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.3.0-alpha.1',
5593
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.3.0-alpha.2',
5594
5594
  };
5595
5595
  /**
5596
5596
  * createAPIConfiguration to create a custom Configuration
@@ -5856,7 +5856,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
5856
5856
  chainID,
5857
5857
  coreContractAddress,
5858
5858
  registrationContractAddress,
5859
- sdkVersion: 'ts-immutable-sdk-0.3.0-alpha.1',
5859
+ sdkVersion: 'ts-immutable-sdk-0.3.0-alpha.2',
5860
5860
  });
5861
5861
  /**
5862
5862
  * Sets `sdkVersion` at the time of build
@@ -28065,9 +28065,8 @@ async function $5c763be0b0b81038$export$500fbc0cd14cdbaa(defaultProvider) {
28065
28065
 
28066
28066
 
28067
28067
 
28068
-
28069
28068
  function $bb88265fe45a0393$export$ebe4804963e71f98(web3Provider) {
28070
- if (web3Provider && web3Provider instanceof (Web3Provider) && web3Provider.provider?.request) return true;
28069
+ if (web3Provider && web3Provider.provider?.request && typeof web3Provider.provider.request === "function") return true;
28071
28070
  return false;
28072
28071
  }
28073
28072
  async function $bb88265fe45a0393$export$9e1fd9cc88c637a0(config, web3Provider, validateProviderOptions) {
@@ -28573,7 +28572,7 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
28573
28572
  function $parcel$export(e, n, v, s) {
28574
28573
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
28575
28574
  }
28576
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.3.0-alpha.1";
28575
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.3.0-alpha.2";
28577
28576
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
28578
28577
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
28579
28578
 
package/dist/passport.js CHANGED
@@ -4606,7 +4606,7 @@ class MultiRollupApiClients {
4606
4606
  }
4607
4607
 
4608
4608
  // eslint-disable-next-line @typescript-eslint/naming-convention
4609
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.3.0-alpha.1' };
4609
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.3.0-alpha.2' };
4610
4610
  const createConfig = ({ basePath, headers, }) => {
4611
4611
  if (!basePath.trim()) {
4612
4612
  throw Error('basePath can not be empty');
@@ -4662,7 +4662,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
4662
4662
  chainID,
4663
4663
  coreContractAddress,
4664
4664
  registrationContractAddress,
4665
- sdkVersion: 'ts-immutable-sdk-0.3.0-alpha.1',
4665
+ sdkVersion: 'ts-immutable-sdk-0.3.0-alpha.2',
4666
4666
  });
4667
4667
  /**
4668
4668
  * Sets `sdkVersion` at the time of build
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "0.3.0-alpha.1",
4
+ "version": "0.3.0-alpha.2",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",