@imtbl/sdk 1.54.1-alpha.14 → 1.54.1-alpha.15

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 (50) hide show
  1. package/dist/{blockchain_data-D8pAP4JH.js → blockchain_data-CdfhNk_X.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddFundsWidget-DcG8BaIo.js → AddFundsWidget-CtjfrMSB.js} +779 -724
  4. package/dist/browser/checkout/{BridgeWidget-CKz0XdQq.js → BridgeWidget-CX1wIdyz.js} +5 -5
  5. package/dist/browser/checkout/{CheckoutWidget-BJIxKH8S.js → CheckoutWidget-yKk7Kgp0.js} +12 -12
  6. package/dist/browser/checkout/{OnRampWidget-czslcEtM.js → OnRampWidget-HmISKE4m.js} +3 -3
  7. package/dist/browser/checkout/{SaleWidget-B6spffhQ.js → SaleWidget-D1hj9sJa.js} +9 -9
  8. package/dist/browser/checkout/{SpendingCapHero-COWyst2y.js → SpendingCapHero-CQn8DvhI.js} +1 -1
  9. package/dist/browser/checkout/{SwapWidget-Dnc9Lkrq.js → SwapWidget-CyOU-QOo.js} +6 -6
  10. package/dist/browser/checkout/{TextInputForm-BfJFtnRA.js → TextInputForm-C5WcgrQE.js} +1 -1
  11. package/dist/browser/checkout/{TopUpView-LF7gMIoa.js → TopUpView-CzUjl4oL.js} +1 -1
  12. package/dist/browser/checkout/{WalletWidget-Diu3gj7e.js → WalletWidget-DpVrRIML.js} +3 -3
  13. package/dist/browser/checkout/{auto-track-jox6zPiF.js → auto-track-b4GQ9tVC.js} +1 -1
  14. package/dist/browser/checkout/{balance-DOuFLlEm.js → balance-BoyaQo9f.js} +2 -2
  15. package/dist/browser/checkout/{index-D62Uq56d.js → index-B67_Z5Yo.js} +18 -18
  16. package/dist/browser/checkout/{index-CUXl0_J0.js → index-Bd3Saor_.js} +1 -1
  17. package/dist/browser/checkout/{index-DiEvtwoA.js → index-C5Dy5D2S.js} +1 -1
  18. package/dist/browser/checkout/{index-Bf3RFhzS.js → index-CPDLW0ho.js} +1 -1
  19. package/dist/browser/checkout/{index-DupNtHkZ.js → index-Ce7Ml3M6.js} +2 -2
  20. package/dist/browser/checkout/{index-lQ3AXO_t.js → index-DD5_Hwzh.js} +1 -1
  21. package/dist/browser/checkout/{index-U4KEDfbl.js → index-DY_yGXIV.js} +1 -1
  22. package/dist/browser/checkout/{index-Duvt2t7I.js → index-DcaApTdl.js} +1 -1
  23. package/dist/browser/checkout/{index.umd-DgBpDtap.js → index.umd-BOUu6bGx.js} +1 -1
  24. package/dist/browser/checkout/{retry-Djo7mDZk.js → retry-AYs5ab1L.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/{checkout-C6nDuvih.js → checkout-1NG3p2Ss.js} +5 -5
  28. package/dist/checkout.js +5 -5
  29. package/dist/{config-rqE9iy_E.js → config-DnVsGHQM.js} +1 -1
  30. package/dist/config.js +1 -1
  31. package/dist/{index-k0A0CaK4.js → index-B70d343B.js} +4 -4
  32. package/dist/{index-CkE1FXnE.js → index-C2w84Q4f.js} +1 -1
  33. package/dist/{index-z1beSg1T.js → index-CYaNbkAl.js} +1 -1
  34. package/dist/{index-DwBld3HB.js → index-CYypoTGs.js} +1 -1
  35. package/dist/{index-DlWQKAiA.js → index-ChvimqNF.js} +3 -3
  36. package/dist/{index-Brx1__mb.js → index-DNxOpYKg.js} +1 -1
  37. package/dist/index.browser.js +4 -4
  38. package/dist/index.cjs +7 -7
  39. package/dist/index.js +14 -14
  40. package/dist/{minting_backend-CvHnmcrI.js → minting_backend-BYa59frz.js} +3 -3
  41. package/dist/minting_backend.js +5 -5
  42. package/dist/{orderbook-CHnrk3MF.js → orderbook-Cnovvxvx.js} +1 -1
  43. package/dist/orderbook.js +2 -2
  44. package/dist/{passport-ByFtW7bc.js → passport-tWFAAWF6.js} +3 -3
  45. package/dist/passport.js +4 -4
  46. package/dist/{webhook-BhdJNWVW.js → webhook-B_nP4uHz.js} +1 -1
  47. package/dist/webhook.js +2 -2
  48. package/dist/{x-DUfohK6_.js → x--IfAb8De.js} +3 -3
  49. package/dist/x.js +4 -4
  50. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -218,7 +218,7 @@ const flattenProperties$1 = (properties) => {
218
218
  };
219
219
 
220
220
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
221
- const SDK_VERSION$1 = '1.54.1-alpha.14';
221
+ const SDK_VERSION$1 = '1.54.1-alpha.15';
222
222
  const getFrameParentDomain$1 = () => {
223
223
  if (isNode$1()) {
224
224
  return '';
@@ -15767,7 +15767,7 @@ class MultiRollupApiClients {
15767
15767
  }
15768
15768
 
15769
15769
  // eslint-disable-next-line @typescript-eslint/naming-convention
15770
- const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.54.1-alpha.14' };
15770
+ const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.54.1-alpha.15' };
15771
15771
  const createConfig$1 = ({ basePath, headers, }) => {
15772
15772
  if (!basePath.trim()) {
15773
15773
  throw Error('basePath can not be empty');
@@ -15839,7 +15839,7 @@ class APIError extends Error {
15839
15839
 
15840
15840
  /* eslint-disable implicit-arrow-linebreak */
15841
15841
  const defaultHeaders$1 = {
15842
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.54.1-alpha.14',
15842
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.54.1-alpha.15',
15843
15843
  };
15844
15844
  /**
15845
15845
  * createAPIConfiguration to create a custom Configuration
@@ -16313,7 +16313,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
16313
16313
  /* eslint-disable @typescript-eslint/naming-convention */
16314
16314
  class ApiConfiguration extends index$2.Configuration {
16315
16315
  }
16316
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.54.1-alpha.14' };
16316
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.54.1-alpha.15' };
16317
16317
  /**
16318
16318
  * @dev use createImmutableXConfiguration instead
16319
16319
  */
@@ -16354,7 +16354,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
16354
16354
  coreContractAddress,
16355
16355
  registrationContractAddress,
16356
16356
  registrationV4ContractAddress,
16357
- sdkVersion: 'ts-immutable-sdk-1.54.1-alpha.14',
16357
+ sdkVersion: 'ts-immutable-sdk-1.54.1-alpha.15',
16358
16358
  baseConfig,
16359
16359
  });
16360
16360
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -50975,7 +50975,7 @@ const flattenProperties = (properties) => {
50975
50975
  };
50976
50976
 
50977
50977
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
50978
- const SDK_VERSION = '1.54.1-alpha.14';
50978
+ const SDK_VERSION = '1.54.1-alpha.15';
50979
50979
  const getFrameParentDomain = () => {
50980
50980
  if (isNode()) {
50981
50981
  return '';
@@ -56081,7 +56081,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
56081
56081
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
56082
56082
  };
56083
56083
 
56084
- const SDK_VERSION_MARKER = '1.54.1-alpha.14';
56084
+ const SDK_VERSION_MARKER = '1.54.1-alpha.15';
56085
56085
  // This SDK version is replaced by the `yarn build` command ran on the root level
56086
56086
  const globalPackageVersion = () => SDK_VERSION_MARKER;
56087
56087
 
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- export { c as config } from './config-rqE9iy_E.js';
2
- export { b as blockchainData } from './blockchain_data-D8pAP4JH.js';
3
- export { p as passport } from './passport-ByFtW7bc.js';
4
- export { o as orderbook } from './orderbook-CHnrk3MF.js';
5
- export { c as checkout } from './checkout-C6nDuvih.js';
6
- export { x } from './x-DUfohK6_.js';
7
- export { w as webhook } from './webhook-BhdJNWVW.js';
8
- export { m as mintingBackend } from './minting_backend-CvHnmcrI.js';
9
- import './index-CkE1FXnE.js';
1
+ export { c as config } from './config-DnVsGHQM.js';
2
+ export { b as blockchainData } from './blockchain_data-CdfhNk_X.js';
3
+ export { p as passport } from './passport-tWFAAWF6.js';
4
+ export { o as orderbook } from './orderbook-Cnovvxvx.js';
5
+ export { c as checkout } from './checkout-1NG3p2Ss.js';
6
+ export { x } from './x--IfAb8De.js';
7
+ export { w as webhook } from './webhook-B_nP4uHz.js';
8
+ export { m as mintingBackend } from './minting_backend-BYa59frz.js';
9
+ import './index-C2w84Q4f.js';
10
10
  import 'axios';
11
11
  import 'lru-memorise';
12
12
  import 'global-const';
13
- import './index-DlWQKAiA.js';
14
- import './index-z1beSg1T.js';
15
- import './index-k0A0CaK4.js';
13
+ import './index-ChvimqNF.js';
14
+ import './index-CYaNbkAl.js';
15
+ import './index-B70d343B.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-Brx1__mb.js';
38
+ import './index-DNxOpYKg.js';
39
39
  import 'form-data';
40
40
  import '@opensea/seaport-js/lib/constants';
41
41
  import 'ethers-v6';
@@ -49,5 +49,5 @@ import '@metamask/detect-provider';
49
49
  import 'semver';
50
50
  import '@ethersproject/units';
51
51
  import '@ethersproject/bignumber';
52
- import './index-DwBld3HB.js';
52
+ import './index-CYypoTGs.js';
53
53
  import 'sns-validator';
@@ -1,6 +1,6 @@
1
- import { B as BlockchainData } from './index-DlWQKAiA.js';
2
- import { h as handle } from './index-DwBld3HB.js';
3
- import { t as track, e as setEnvironment, f as setPublishableApiKey } from './index-CkE1FXnE.js';
1
+ import { B as BlockchainData } from './index-ChvimqNF.js';
2
+ import { h as handle } from './index-CYypoTGs.js';
3
+ import { t as track, e as setEnvironment, f as setPublishableApiKey } from './index-C2w84Q4f.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-CvHnmcrI.js';
2
- import './index-DlWQKAiA.js';
3
- import './index-z1beSg1T.js';
1
+ export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-BYa59frz.js';
2
+ import './index-ChvimqNF.js';
3
+ import './index-CYaNbkAl.js';
4
4
  import 'axios';
5
- import './index-CkE1FXnE.js';
5
+ import './index-C2w84Q4f.js';
6
6
  import 'lru-memorise';
7
7
  import 'global-const';
8
- import './index-DwBld3HB.js';
8
+ import './index-CYypoTGs.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-Brx1__mb.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-DNxOpYKg.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-Brx1__mb.js';
2
- import './index-CkE1FXnE.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-DNxOpYKg.js';
2
+ import './index-C2w84Q4f.js';
3
3
  import 'axios';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
@@ -1,7 +1,7 @@
1
1
  import globalAxios, { isAxiosError } from 'axios';
2
- import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, a as index$1, I as ImxApiClients, b as imxApiConfig } from './index-z1beSg1T.js';
3
- import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-k0A0CaK4.js';
4
- import { s as setPassportClientId, t as track, b as trackFlow, c as trackError, u as utils, i as identify, g as getDetail, D as Detail, d as trackDuration, E as Environment } from './index-CkE1FXnE.js';
2
+ import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, a as index$1, I as ImxApiClients, b as imxApiConfig } from './index-CYaNbkAl.js';
3
+ import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-B70d343B.js';
4
+ import { s as setPassportClientId, t as track, b as trackFlow, c as trackError, u as utils, i as identify, g as getDetail, D as Detail, d as trackDuration, E as Environment } from './index-C2w84Q4f.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-ByFtW7bc.js';
1
+ export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-tWFAAWF6.js';
2
2
  import 'axios';
3
- import './index-z1beSg1T.js';
4
- import './index-k0A0CaK4.js';
5
- import './index-CkE1FXnE.js';
3
+ import './index-CYaNbkAl.js';
4
+ import './index-B70d343B.js';
5
+ import './index-C2w84Q4f.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-DwBld3HB.js';
1
+ import { h as handle } from './index-CYypoTGs.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-DwBld3HB.js';
1
+ export { h as handle } from './index-CYypoTGs.js';
2
2
  import 'sns-validator';
3
- import './index-CkE1FXnE.js';
3
+ import './index-C2w84Q4f.js';
4
4
  import 'axios';
5
5
  import 'lru-memorise';
6
6
  import 'global-const';
@@ -1,12 +1,12 @@
1
- import { b as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, d as signMessage, E as EncodingApi, M as MintsApi, f as signRegisterEthAddress, A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, o as ProjectsApi, T as TokensApi, p as TradesApi, q as TransfersApi, U as UsersApi, W as WithdrawalsApi, r as createConfig, t as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-k0A0CaK4.js';
2
- import { d as index$2 } from './index-z1beSg1T.js';
1
+ import { b as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, d as signMessage, E as EncodingApi, M as MintsApi, f as signRegisterEthAddress, A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, o as ProjectsApi, T as TokensApi, p as TradesApi, q as TransfersApi, U as UsersApi, W as WithdrawalsApi, r as createConfig, t as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-B70d343B.js';
2
+ import { d as index$2 } from './index-CYaNbkAl.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-CkE1FXnE.js';
9
+ import { E as Environment, I as ImmutableConfiguration } from './index-C2w84Q4f.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, h as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, b as ImxConfiguration, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, o as ProjectsApi, T as TokensApi, p as TradesApi, q as TransfersApi, U as UsersApi, W as WithdrawalsApi, r as createConfig, t as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, a as imxClientCreateStarkSigner, g as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, f as signRegisterEthAddress, z as starkEcOrder } from './index-k0A0CaK4.js';
2
- export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-DUfohK6_.js';
3
- export { E as Environment, I as ImmutableConfiguration } from './index-CkE1FXnE.js';
1
+ export { A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, b as ImxConfiguration, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, o as ProjectsApi, T as TokensApi, p as TradesApi, q as TransfersApi, U as UsersApi, W as WithdrawalsApi, r as createConfig, t as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, a as imxClientCreateStarkSigner, g as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, f as signRegisterEthAddress, z as starkEcOrder } from './index-B70d343B.js';
2
+ export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x--IfAb8De.js';
3
+ export { E as Environment, I as ImmutableConfiguration } from './index-C2w84Q4f.js';
4
4
  export { Signer as EthSigner } from '@ethersproject/abstract-signer';
5
- import './index-z1beSg1T.js';
5
+ import './index-CYaNbkAl.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.54.1-alpha.14",
4
+ "version": "1.54.1-alpha.15",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",