@imtbl/sdk 1.28.4 → 1.28.6

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.
Files changed (39) hide show
  1. package/dist/blockchain_data.js +2 -2
  2. package/dist/browser/checkout/BridgeWidget-5877e662.js +1 -0
  3. package/dist/browser/checkout/{HorizontalMenu-actual-1c03a13a.js → HorizontalMenu-actual-26678db8.js} +1 -1
  4. package/dist/browser/checkout/{OnRampWidget-483500c9.js → OnRampWidget-53a752c5.js} +2 -2
  5. package/dist/browser/checkout/{SaleWidget-51776764.js → SaleWidget-ec3a5158.js} +1 -1
  6. package/dist/browser/checkout/{SpendingCapHero-06d2a4bf.js → SpendingCapHero-a081f583.js} +1 -1
  7. package/dist/browser/checkout/SwapWidget-85157e89.js +1 -0
  8. package/dist/browser/checkout/TopUpView-38888682.js +1 -0
  9. package/dist/browser/checkout/{WalletWidget-f0e10d75.js → WalletWidget-bf3994fc.js} +1 -1
  10. package/dist/browser/checkout/{auto-track-10db0184.js → auto-track-b5452479.js} +1 -1
  11. package/dist/browser/checkout/{balance-a4a9a910.js → balance-769ca9f9.js} +1 -1
  12. package/dist/browser/checkout/index-04750bcf.js +1 -0
  13. package/dist/browser/checkout/{index-442a954b.js → index-1ed6e48e.js} +1 -1
  14. package/dist/browser/checkout/{index-ba11c013.js → index-3d4e3027.js} +1 -1
  15. package/dist/browser/checkout/{index-15cb29dc.js → index-50e9df47.js} +3 -3
  16. package/dist/browser/checkout/index-6524e9b0.js +1 -0
  17. package/dist/browser/checkout/{index-9a012a82.js → index-69d91bb9.js} +1 -1
  18. package/dist/browser/checkout/{index-5c9dcd29.js → index-7bf62a80.js} +1 -1
  19. package/dist/browser/checkout/{index-c700684b.js → index-b5e9eea1.js} +1 -1
  20. package/dist/browser/checkout/{index.umd-9c769e0c.js → index.umd-d6bf3247.js} +1 -1
  21. package/dist/browser/checkout/{retry-082dfd95.js → retry-5b1ddfe4.js} +1 -1
  22. package/dist/browser/checkout/sdk.js +5 -5
  23. package/dist/browser/checkout/widgets-esm.js +1 -1
  24. package/dist/browser/checkout/widgets.js +60 -60
  25. package/dist/checkout.js +4 -4
  26. package/dist/config.js +1 -1
  27. package/dist/index.browser.js +4 -4
  28. package/dist/index.browser.js.map +1 -1
  29. package/dist/index.cjs +10 -7
  30. package/dist/index.js +10 -7
  31. package/dist/orderbook.js +1 -1
  32. package/dist/passport.js +7 -4
  33. package/dist/x.js +3 -3
  34. package/package.json +1 -1
  35. package/dist/browser/checkout/BridgeWidget-c098bac1.js +0 -1
  36. package/dist/browser/checkout/SwapWidget-da61119f.js +0 -1
  37. package/dist/browser/checkout/TopUpView-e7147bc4.js +0 -1
  38. package/dist/browser/checkout/index-13a2dee1.js +0 -1
  39. package/dist/browser/checkout/index-49bd4ac3.js +0 -1
package/dist/index.cjs CHANGED
@@ -183,7 +183,7 @@ const flattenProperties$1 = (properties) => {
183
183
  };
184
184
 
185
185
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
186
- const SDK_VERSION$1 = '1.28.4';
186
+ const SDK_VERSION$1 = '1.28.6';
187
187
  const getReferrer$1 = () => {
188
188
  if (isNode$1()) {
189
189
  return '';
@@ -14335,7 +14335,7 @@ class MultiRollupApiClients {
14335
14335
  }
14336
14336
 
14337
14337
  // eslint-disable-next-line @typescript-eslint/naming-convention
14338
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
14338
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
14339
14339
  const createConfig$1 = ({ basePath, headers, }) => {
14340
14340
  if (!basePath.trim()) {
14341
14341
  throw Error('basePath can not be empty');
@@ -14407,7 +14407,7 @@ class APIError extends Error {
14407
14407
 
14408
14408
  /* eslint-disable implicit-arrow-linebreak */
14409
14409
  const defaultHeaders$1 = {
14410
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.28.4',
14410
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.28.6',
14411
14411
  };
14412
14412
  /**
14413
14413
  * createAPIConfiguration to create a custom Configuration
@@ -14881,7 +14881,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
14881
14881
  /* eslint-disable @typescript-eslint/naming-convention */
14882
14882
  class ApiConfiguration extends index$2.Configuration {
14883
14883
  }
14884
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
14884
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
14885
14885
  /**
14886
14886
  * @dev use createImmutableXConfiguration instead
14887
14887
  */
@@ -14920,7 +14920,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
14920
14920
  chainID,
14921
14921
  coreContractAddress,
14922
14922
  registrationContractAddress,
14923
- sdkVersion: 'ts-immutable-sdk-1.28.4',
14923
+ sdkVersion: 'ts-immutable-sdk-1.28.6',
14924
14924
  baseConfig,
14925
14925
  });
14926
14926
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -27093,6 +27093,9 @@ class ZkEvmProvider {
27093
27093
  this.#zkEvmAddress = user.zkEvm.ethAddress;
27094
27094
  }
27095
27095
  this.#eventEmitter.emit(ProviderEvent.ACCOUNTS_CHANGED, [this.#zkEvmAddress]);
27096
+ identify({
27097
+ passportId: user.profile.sub,
27098
+ });
27096
27099
  return [this.#zkEvmAddress];
27097
27100
  }
27098
27101
  case 'eth_sendTransaction': {
@@ -46363,7 +46366,7 @@ const flattenProperties = (properties) => {
46363
46366
  };
46364
46367
 
46365
46368
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
46366
- const SDK_VERSION = '1.28.4';
46369
+ const SDK_VERSION = '1.28.6';
46367
46370
  const getReferrer = () => {
46368
46371
  if (isNode()) {
46369
46372
  return '';
@@ -51558,7 +51561,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
51558
51561
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
51559
51562
  };
51560
51563
 
51561
- const SDK_VERSION_MARKER = '1.28.4';
51564
+ const SDK_VERSION_MARKER = '1.28.6';
51562
51565
  // This SDK version is replaced by the `yarn build` command ran on the root level
51563
51566
  const globalPackageVersion = () => SDK_VERSION_MARKER;
51564
51567
 
package/dist/index.js CHANGED
@@ -160,7 +160,7 @@ const flattenProperties$1 = (properties) => {
160
160
  };
161
161
 
162
162
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
163
- const SDK_VERSION$1 = '1.28.4';
163
+ const SDK_VERSION$1 = '1.28.6';
164
164
  const getReferrer$1 = () => {
165
165
  if (isNode$1()) {
166
166
  return '';
@@ -14312,7 +14312,7 @@ class MultiRollupApiClients {
14312
14312
  }
14313
14313
 
14314
14314
  // eslint-disable-next-line @typescript-eslint/naming-convention
14315
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
14315
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
14316
14316
  const createConfig$1 = ({ basePath, headers, }) => {
14317
14317
  if (!basePath.trim()) {
14318
14318
  throw Error('basePath can not be empty');
@@ -14384,7 +14384,7 @@ class APIError extends Error {
14384
14384
 
14385
14385
  /* eslint-disable implicit-arrow-linebreak */
14386
14386
  const defaultHeaders$1 = {
14387
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.28.4',
14387
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.28.6',
14388
14388
  };
14389
14389
  /**
14390
14390
  * createAPIConfiguration to create a custom Configuration
@@ -14858,7 +14858,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
14858
14858
  /* eslint-disable @typescript-eslint/naming-convention */
14859
14859
  class ApiConfiguration extends index$2.Configuration {
14860
14860
  }
14861
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
14861
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
14862
14862
  /**
14863
14863
  * @dev use createImmutableXConfiguration instead
14864
14864
  */
@@ -14897,7 +14897,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
14897
14897
  chainID,
14898
14898
  coreContractAddress,
14899
14899
  registrationContractAddress,
14900
- sdkVersion: 'ts-immutable-sdk-1.28.4',
14900
+ sdkVersion: 'ts-immutable-sdk-1.28.6',
14901
14901
  baseConfig,
14902
14902
  });
14903
14903
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -27070,6 +27070,9 @@ class ZkEvmProvider {
27070
27070
  this.#zkEvmAddress = user.zkEvm.ethAddress;
27071
27071
  }
27072
27072
  this.#eventEmitter.emit(ProviderEvent.ACCOUNTS_CHANGED, [this.#zkEvmAddress]);
27073
+ identify({
27074
+ passportId: user.profile.sub,
27075
+ });
27073
27076
  return [this.#zkEvmAddress];
27074
27077
  }
27075
27078
  case 'eth_sendTransaction': {
@@ -46340,7 +46343,7 @@ const flattenProperties = (properties) => {
46340
46343
  };
46341
46344
 
46342
46345
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
46343
- const SDK_VERSION = '1.28.4';
46346
+ const SDK_VERSION = '1.28.6';
46344
46347
  const getReferrer = () => {
46345
46348
  if (isNode()) {
46346
46349
  return '';
@@ -51535,7 +51538,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
51535
51538
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
51536
51539
  };
51537
51540
 
51538
- const SDK_VERSION_MARKER = '1.28.4';
51541
+ const SDK_VERSION_MARKER = '1.28.6';
51539
51542
  // This SDK version is replaced by the `yarn build` command ran on the root level
51540
51543
  const globalPackageVersion = () => SDK_VERSION_MARKER;
51541
51544
 
package/dist/orderbook.js CHANGED
@@ -132,7 +132,7 @@ const flattenProperties = (properties) => {
132
132
  };
133
133
 
134
134
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
135
- const SDK_VERSION = '1.28.4';
135
+ const SDK_VERSION = '1.28.6';
136
136
  const getReferrer = () => {
137
137
  if (isNode()) {
138
138
  return '';
package/dist/passport.js CHANGED
@@ -11564,7 +11564,7 @@ class MultiRollupApiClients {
11564
11564
  }
11565
11565
 
11566
11566
  // eslint-disable-next-line @typescript-eslint/naming-convention
11567
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
11567
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
11568
11568
  const createConfig$1 = ({ basePath, headers, }) => {
11569
11569
  if (!basePath.trim()) {
11570
11570
  throw Error('basePath can not be empty');
@@ -11743,7 +11743,7 @@ const flattenProperties = (properties) => {
11743
11743
  };
11744
11744
 
11745
11745
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
11746
- const SDK_VERSION = '1.28.4';
11746
+ const SDK_VERSION = '1.28.6';
11747
11747
  const getReferrer = () => {
11748
11748
  if (isNode()) {
11749
11749
  return '';
@@ -11993,7 +11993,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
11993
11993
  /* eslint-disable @typescript-eslint/naming-convention */
11994
11994
  class ApiConfiguration extends index$2.Configuration {
11995
11995
  }
11996
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
11996
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
11997
11997
  /**
11998
11998
  * @dev use createImmutableXConfiguration instead
11999
11999
  */
@@ -12032,7 +12032,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
12032
12032
  chainID,
12033
12033
  coreContractAddress,
12034
12034
  registrationContractAddress,
12035
- sdkVersion: 'ts-immutable-sdk-1.28.4',
12035
+ sdkVersion: 'ts-immutable-sdk-1.28.6',
12036
12036
  baseConfig,
12037
12037
  });
12038
12038
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -21769,6 +21769,9 @@ class ZkEvmProvider {
21769
21769
  this.#zkEvmAddress = user.zkEvm.ethAddress;
21770
21770
  }
21771
21771
  this.#eventEmitter.emit(ProviderEvent.ACCOUNTS_CHANGED, [this.#zkEvmAddress]);
21772
+ identify({
21773
+ passportId: user.profile.sub,
21774
+ });
21772
21775
  return [this.#zkEvmAddress];
21773
21776
  }
21774
21777
  case 'eth_sendTransaction': {
package/dist/x.js CHANGED
@@ -9003,7 +9003,7 @@ const flattenProperties = (properties) => {
9003
9003
  };
9004
9004
 
9005
9005
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9006
- const SDK_VERSION = '1.28.4';
9006
+ const SDK_VERSION = '1.28.6';
9007
9007
  const getReferrer = () => {
9008
9008
  if (isNode()) {
9009
9009
  return '';
@@ -9246,7 +9246,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
9246
9246
  /* eslint-disable @typescript-eslint/naming-convention */
9247
9247
  class ApiConfiguration extends index$2.Configuration {
9248
9248
  }
9249
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.4' };
9249
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.28.6' };
9250
9250
  /**
9251
9251
  * @dev use createImmutableXConfiguration instead
9252
9252
  */
@@ -9285,7 +9285,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9285
9285
  chainID,
9286
9286
  coreContractAddress,
9287
9287
  registrationContractAddress,
9288
- sdkVersion: 'ts-immutable-sdk-1.28.4',
9288
+ sdkVersion: 'ts-immutable-sdk-1.28.6',
9289
9289
  baseConfig,
9290
9290
  });
9291
9291
  const production = ({ baseConfig }) => createImmutableXConfiguration({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "1.28.4",
4
+ "version": "1.28.6",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",