@imtbl/sdk 1.51.4 → 1.51.5-alpha

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 (52) hide show
  1. package/dist/{blockchain_data-CQ6AoMx9.js → blockchain_data-BWhpazG1.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddFundsWidget-B6lxg3-d.js → AddFundsWidget-BSFSJRHi.js} +2 -2
  4. package/dist/browser/checkout/{BridgeWidget-BsJMfbMd.js → BridgeWidget-BCXX3J9w.js} +5 -5
  5. package/dist/browser/checkout/{CheckoutWidget-DFkDATHf.js → CheckoutWidget-B9XU5Y23.js} +32 -8
  6. package/dist/browser/checkout/{OnRampWidget-QHUxzsNL.js → OnRampWidget-CSyw8VbN.js} +3 -3
  7. package/dist/browser/checkout/{SaleWidget-6XVHHx78.js → SaleWidget-DmSKDNme.js} +9 -9
  8. package/dist/browser/checkout/{SpendingCapHero-BOGiq2Br.js → SpendingCapHero-CR_GKE4n.js} +1 -1
  9. package/dist/browser/checkout/{SwapWidget-CRLt7sOf.js → SwapWidget-DTIU8lHF.js} +6 -6
  10. package/dist/browser/checkout/{TextInputForm-DTMMP9L1.js → TextInputForm-DF6GHHYm.js} +1 -1
  11. package/dist/browser/checkout/{TopUpView-CMKjjqCh.js → TopUpView-BrkwD9G7.js} +1 -1
  12. package/dist/browser/checkout/{WalletWidget-CL4wDvCI.js → WalletWidget-D562MwM2.js} +3 -3
  13. package/dist/browser/checkout/{auto-track-CtPV_Uwy.js → auto-track-5ICaJzRc.js} +1 -1
  14. package/dist/browser/checkout/{balance-6n0VLt18.js → balance-Cek1goAE.js} +2 -2
  15. package/dist/browser/checkout/{index-DEnK71D8.js → index-BY8yisGB.js} +2 -2
  16. package/dist/browser/checkout/{index-DNulskt6.js → index-BwLAtG5_.js} +1 -1
  17. package/dist/browser/checkout/{index-CW0LGbJg.js → index-CABfXrFM.js} +1 -1
  18. package/dist/browser/checkout/{index-C4G5HCXv.js → index-C_y79evo.js} +1 -1
  19. package/dist/browser/checkout/{index-U6OI_-oo.js → index-ChiGN74Y.js} +1 -1
  20. package/dist/browser/checkout/{index-CjshWKlm.js → index-DL5wHEr2.js} +18 -18
  21. package/dist/browser/checkout/{index-DJD5AByC.js → index-Es_ymVzs.js} +1 -1
  22. package/dist/browser/checkout/{index-D0vPA5zH.js → index-gZkMFimN.js} +1 -1
  23. package/dist/browser/checkout/{index.umd-CfvJk2bO.js → index.umd-PqfnAPwt.js} +1 -1
  24. package/dist/browser/checkout/{retry-CVrWwmTg.js → retry-DE9iUZQz.js} +1 -1
  25. package/dist/browser/checkout/sdk.js +4 -4
  26. package/dist/browser/checkout/widgets-esm.js +1 -1
  27. package/dist/browser/checkout/widgets.js +35 -11
  28. package/dist/{checkout-DWWjqlwt.js → checkout-gNsm72GY.js} +5 -5
  29. package/dist/checkout.js +5 -5
  30. package/dist/{config-FDLZHCQt.js → config-CWc0j0qL.js} +1 -1
  31. package/dist/config.js +1 -1
  32. package/dist/{index-Ce6q7YQY.js → index-BDK4MHRD.js} +1 -1
  33. package/dist/{index-D1Aaqwa8.js → index-BPJR89WF.js} +1 -1
  34. package/dist/{index-Dkz_P59Z.js → index-BQ1_8BfM.js} +4 -4
  35. package/dist/{index-CX-NVI5Y.js → index-LTCOac91.js} +3 -3
  36. package/dist/{index-5C4exz-O.js → index-emng9CKB.js} +1 -1
  37. package/dist/{index-DOh9aDU4.js → index-z1vwQX9u.js} +1 -1
  38. package/dist/index.browser.js +4 -4
  39. package/dist/index.browser.js.map +1 -1
  40. package/dist/index.cjs +7 -7
  41. package/dist/index.js +14 -14
  42. package/dist/{minting_backend-DEeSw0bb.js → minting_backend-lq7Qls0A.js} +3 -3
  43. package/dist/minting_backend.js +5 -5
  44. package/dist/{orderbook-Cch6Renl.js → orderbook-DirKtRF8.js} +1 -1
  45. package/dist/orderbook.js +2 -2
  46. package/dist/{passport-DahmnAXM.js → passport-DmmkRZ5a.js} +3 -3
  47. package/dist/passport.js +4 -4
  48. package/dist/{webhook-pHPtczr8.js → webhook-Bkk2lXTs.js} +1 -1
  49. package/dist/webhook.js +2 -2
  50. package/dist/{x-4yU9GbGY.js → x-dPBW2F31.js} +3 -3
  51. package/dist/x.js +4 -4
  52. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -216,7 +216,7 @@ const flattenProperties$1 = (properties) => {
216
216
  };
217
217
 
218
218
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
219
- const SDK_VERSION$1 = '1.51.4';
219
+ const SDK_VERSION$1 = '1.51.5-alpha';
220
220
  const getFrameParentDomain$1 = () => {
221
221
  if (isNode$1()) {
222
222
  return '';
@@ -14501,7 +14501,7 @@ class MultiRollupApiClients {
14501
14501
  }
14502
14502
 
14503
14503
  // eslint-disable-next-line @typescript-eslint/naming-convention
14504
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.51.4' };
14504
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.51.5-alpha' };
14505
14505
  const createConfig$1 = ({ basePath, headers, }) => {
14506
14506
  if (!basePath.trim()) {
14507
14507
  throw Error('basePath can not be empty');
@@ -14573,7 +14573,7 @@ class APIError extends Error {
14573
14573
 
14574
14574
  /* eslint-disable implicit-arrow-linebreak */
14575
14575
  const defaultHeaders$1 = {
14576
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.51.4',
14576
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.51.5-alpha',
14577
14577
  };
14578
14578
  /**
14579
14579
  * createAPIConfiguration to create a custom Configuration
@@ -15047,7 +15047,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
15047
15047
  /* eslint-disable @typescript-eslint/naming-convention */
15048
15048
  class ApiConfiguration extends index$2.Configuration {
15049
15049
  }
15050
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.51.4' };
15050
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.51.5-alpha' };
15051
15051
  /**
15052
15052
  * @dev use createImmutableXConfiguration instead
15053
15053
  */
@@ -15088,7 +15088,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
15088
15088
  coreContractAddress,
15089
15089
  registrationContractAddress,
15090
15090
  registrationV4ContractAddress,
15091
- sdkVersion: 'ts-immutable-sdk-1.51.4',
15091
+ sdkVersion: 'ts-immutable-sdk-1.51.5-alpha',
15092
15092
  baseConfig,
15093
15093
  });
15094
15094
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -53082,7 +53082,7 @@ const flattenProperties = (properties) => {
53082
53082
  };
53083
53083
 
53084
53084
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
53085
- const SDK_VERSION = '1.51.4';
53085
+ const SDK_VERSION = '1.51.5-alpha';
53086
53086
  const getFrameParentDomain = () => {
53087
53087
  if (isNode()) {
53088
53088
  return '';
@@ -58476,7 +58476,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
58476
58476
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
58477
58477
  };
58478
58478
 
58479
- const SDK_VERSION_MARKER = '1.51.4';
58479
+ const SDK_VERSION_MARKER = '1.51.5-alpha';
58480
58480
  // This SDK version is replaced by the `yarn build` command ran on the root level
58481
58481
  const globalPackageVersion = () => SDK_VERSION_MARKER;
58482
58482
 
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- export { c as config } from './config-FDLZHCQt.js';
2
- export { b as blockchainData } from './blockchain_data-CQ6AoMx9.js';
3
- export { p as passport } from './passport-DahmnAXM.js';
4
- export { o as orderbook } from './orderbook-Cch6Renl.js';
5
- export { c as checkout } from './checkout-DWWjqlwt.js';
6
- export { x } from './x-4yU9GbGY.js';
7
- export { w as webhook } from './webhook-pHPtczr8.js';
8
- export { m as mintingBackend } from './minting_backend-DEeSw0bb.js';
9
- import './index-Ce6q7YQY.js';
1
+ export { c as config } from './config-CWc0j0qL.js';
2
+ export { b as blockchainData } from './blockchain_data-BWhpazG1.js';
3
+ export { p as passport } from './passport-DmmkRZ5a.js';
4
+ export { o as orderbook } from './orderbook-DirKtRF8.js';
5
+ export { c as checkout } from './checkout-gNsm72GY.js';
6
+ export { x } from './x-dPBW2F31.js';
7
+ export { w as webhook } from './webhook-Bkk2lXTs.js';
8
+ export { m as mintingBackend } from './minting_backend-lq7Qls0A.js';
9
+ import './index-BDK4MHRD.js';
10
10
  import 'axios';
11
11
  import 'lru-memorise';
12
12
  import 'global-const';
13
- import './index-CX-NVI5Y.js';
14
- import './index-D1Aaqwa8.js';
15
- import './index-Dkz_P59Z.js';
13
+ import './index-LTCOac91.js';
14
+ import './index-BPJR89WF.js';
15
+ import './index-BQ1_8BfM.js';
16
16
  import '@ethersproject/keccak256';
17
17
  import '@ethersproject/strings';
18
18
  import 'bn.js';
@@ -35,7 +35,7 @@ import 'events';
35
35
  import '@0xsequence/abi';
36
36
  import '@0xsequence/core';
37
37
  import 'uuid';
38
- import './index-5C4exz-O.js';
38
+ import './index-emng9CKB.js';
39
39
  import 'form-data';
40
40
  import 'ethers-v6';
41
41
  import 'merkletreejs';
@@ -47,5 +47,5 @@ import '@ethersproject/solidity';
47
47
  import '@uniswap/router-sdk';
48
48
  import '@ethersproject/units';
49
49
  import '@ethersproject/bignumber';
50
- import './index-DOh9aDU4.js';
50
+ import './index-z1vwQX9u.js';
51
51
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-CX-NVI5Y.js';
2
- import { h as handle } from './index-DOh9aDU4.js';
3
- import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-Ce6q7YQY.js';
1
+ import { B as BlockchainData } from './index-LTCOac91.js';
2
+ import { h as handle } from './index-z1vwQX9u.js';
3
+ import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-BDK4MHRD.js';
4
4
 
5
5
  const moduleName = 'minting_backend_sdk';
6
6
  const trackInitializePersistencePG = () => {
@@ -1,9 +1,9 @@
1
- export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-DEeSw0bb.js';
2
- import './index-CX-NVI5Y.js';
3
- import './index-D1Aaqwa8.js';
1
+ export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-lq7Qls0A.js';
2
+ import './index-LTCOac91.js';
3
+ import './index-BPJR89WF.js';
4
4
  import 'axios';
5
- import './index-Ce6q7YQY.js';
5
+ import './index-BDK4MHRD.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-DOh9aDU4.js';
8
+ import './index-z1vwQX9u.js';
9
9
  import 'sns-validator';
@@ -1,4 +1,4 @@
1
- import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-5C4exz-O.js';
1
+ import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-emng9CKB.js';
2
2
 
3
3
  var orderbook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/orderbook.js CHANGED
@@ -1,5 +1,5 @@
1
- export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-5C4exz-O.js';
2
- import './index-Ce6q7YQY.js';
1
+ export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-emng9CKB.js';
2
+ import './index-BDK4MHRD.js';
3
3
  import 'axios';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
@@ -1,7 +1,7 @@
1
1
  import globalAxios, { isAxiosError as isAxiosError$1 } from 'axios';
2
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-D1Aaqwa8.js';
3
- import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-Dkz_P59Z.js';
4
- import { c as setPassportClientId, t as track, d as trackFlow, e as trackError, u as utils$2, i as identify, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-Ce6q7YQY.js';
2
+ import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-BPJR89WF.js';
3
+ import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-BQ1_8BfM.js';
4
+ import { c as setPassportClientId, t as track, d as trackFlow, e as trackError, u as utils$2, i as identify, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-BDK4MHRD.js';
5
5
  import { UserManager, User, ErrorTimeout, ErrorResponse, InMemoryWebStorage, WebStorageStateStore } from 'oidc-client-ts';
6
6
  import * as crypto from 'crypto';
7
7
  import jwt_decode from 'jwt-decode';
package/dist/passport.js CHANGED
@@ -1,8 +1,8 @@
1
- export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-DahmnAXM.js';
1
+ export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-DmmkRZ5a.js';
2
2
  import 'axios';
3
- import './index-D1Aaqwa8.js';
4
- import './index-Dkz_P59Z.js';
5
- import './index-Ce6q7YQY.js';
3
+ import './index-BPJR89WF.js';
4
+ import './index-BQ1_8BfM.js';
5
+ import './index-BDK4MHRD.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
8
  import '@ethersproject/keccak256';
@@ -1,4 +1,4 @@
1
- import { h as handle } from './index-DOh9aDU4.js';
1
+ import { h as handle } from './index-z1vwQX9u.js';
2
2
 
3
3
  var webhook = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/webhook.js CHANGED
@@ -1,6 +1,6 @@
1
- export { h as handle } from './index-DOh9aDU4.js';
1
+ export { h as handle } from './index-z1vwQX9u.js';
2
2
  import 'sns-validator';
3
- import './index-Ce6q7YQY.js';
3
+ import './index-BDK4MHRD.js';
4
4
  import 'axios';
5
5
  import 'lru-memorise';
6
6
  import 'global-const';
@@ -1,12 +1,12 @@
1
- import { I as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, a as signMessage, E as EncodingApi, M as MintsApi, b as signRegisterEthAddress, A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-Dkz_P59Z.js';
2
- import { b as index$2 } from './index-D1Aaqwa8.js';
1
+ import { I as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, a as signMessage, E as EncodingApi, M as MintsApi, b as signRegisterEthAddress, A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-BQ1_8BfM.js';
2
+ import { b as index$2 } from './index-BPJR89WF.js';
3
3
  import { isAxiosError } from 'axios';
4
4
  import * as encUtils from 'enc-utils';
5
5
  import { parseUnits } from '@ethersproject/units';
6
6
  import { BigNumber } from '@ethersproject/bignumber';
7
7
  import { ethers } from 'ethers';
8
8
  import detectEthereumProvider from '@metamask/detect-provider';
9
- import { E as Environment, I as ImmutableConfiguration } from './index-Ce6q7YQY.js';
9
+ import { E as Environment, I as ImmutableConfiguration } from './index-BDK4MHRD.js';
10
10
  import { Signer } from '@ethersproject/abstract-signer';
11
11
 
12
12
  function isChainValid(chainID, config) {
package/dist/x.js CHANGED
@@ -1,8 +1,8 @@
1
- export { A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, I as ImxConfiguration, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, r as imxClientCreateStarkSigner, t as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, b as signRegisterEthAddress, z as starkEcOrder } from './index-Dkz_P59Z.js';
2
- export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-4yU9GbGY.js';
3
- export { E as Environment, I as ImmutableConfiguration } from './index-Ce6q7YQY.js';
1
+ export { A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, I as ImxConfiguration, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, r as imxClientCreateStarkSigner, t as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, b as signRegisterEthAddress, z as starkEcOrder } from './index-BQ1_8BfM.js';
2
+ export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-dPBW2F31.js';
3
+ export { E as Environment, I as ImmutableConfiguration } from './index-BDK4MHRD.js';
4
4
  export { Signer as EthSigner } from '@ethersproject/abstract-signer';
5
- import './index-D1Aaqwa8.js';
5
+ import './index-BPJR89WF.js';
6
6
  import 'axios';
7
7
  import '@ethersproject/keccak256';
8
8
  import '@ethersproject/strings';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Typescript SDK",
4
- "version": "1.51.4",
4
+ "version": "1.51.5-alpha",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",