@imtbl/sdk 1.62.0 → 1.63.0-alpha.10

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 (59) hide show
  1. package/dist/{blockchain_data-sxvR7yJA.js → blockchain_data-CAvjIRIV.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddFundsWidget-ZVSgslAw.js → AddTokensWidget-_RYa4euh.js} +190 -183
  4. package/dist/browser/checkout/{BridgeWidget-Cdho2hYD.js → BridgeWidget-BCC7YXWj.js} +9 -8
  5. package/dist/browser/checkout/{CommerceWidget-BzipzAPM.js → CommerceWidget-B4QxFLZq.js} +29 -28
  6. package/dist/browser/checkout/CryptoFiatProvider-b0KhVg3Y.js +224 -0
  7. package/dist/browser/checkout/{EllipsizedText-CvkYzx6o.js → EllipsizedText-CF9lzi6c.js} +1 -1
  8. package/dist/browser/checkout/{FeesBreakdown-2gL4cI-R.js → FeesBreakdown-BGnZxcX5.js} +1 -1
  9. package/dist/browser/checkout/{HandoverContent-Bl4qmdQg.js → HandoverContent-CESizLWk.js} +1 -1
  10. package/dist/browser/checkout/{OnRampWidget-QJuXcGjQ.js → OnRampWidget-BrGpM6Vn.js} +3 -3
  11. package/dist/browser/checkout/{SaleWidget-edWOlmfl.js → SaleWidget-iuigaIZp.js} +15 -26
  12. package/dist/browser/checkout/{SpendingCapHero-CqFT2_-Q.js → SpendingCapHero-B3sb2Wt1.js} +1 -1
  13. package/dist/browser/checkout/{SwapWidget-gFL-1ypc.js → SwapWidget-CdXf4YYP.js} +9 -8
  14. package/dist/browser/checkout/{TopUpView-BQBIv4KK.js → TopUpView-Bg-huhcb.js} +6 -239
  15. package/dist/browser/checkout/{WalletApproveHero-CLTmvRwO.js → WalletApproveHero-DW6Uw6rT.js} +3 -3
  16. package/dist/browser/checkout/{WalletWidget-DqzlgTAL.js → WalletWidget-ChYjXfAy.js} +17 -32
  17. package/dist/browser/checkout/{auto-track-B_DVujaR.js → auto-track-CgS-wbin.js} +1 -1
  18. package/dist/browser/checkout/{index-DvBzy5DX.js → index-BjLYItcm.js} +72 -69
  19. package/dist/browser/checkout/{index-DitiTTnr.js → index-BqJ9Usxu.js} +1 -1
  20. package/dist/browser/checkout/{index-DYTK3G7G.js → index-C4anNRY5.js} +2 -2
  21. package/dist/browser/checkout/{index-B_wChk6v.js → index-CshBDuS0.js} +1 -1
  22. package/dist/browser/checkout/{index-CRuWUFZW.js → index-D6TVOnc2.js} +1 -1
  23. package/dist/browser/checkout/{index-BVEcFW11.js → index-DoYS_inI.js} +1 -1
  24. package/dist/browser/checkout/{index-yoSSDRdd.js → index-LCMExv1j.js} +1 -1
  25. package/dist/browser/checkout/{index-CgtLpuEZ.js → index-bNCjF_qE.js} +1 -1
  26. package/dist/browser/checkout/{index-BGasM3FI.js → index-qYOj-RwR.js} +1 -1
  27. package/dist/browser/checkout/{index.umd-5W8TJb-e.js → index.umd-CL6Tp5Ej.js} +1 -1
  28. package/dist/browser/checkout/{retry-Bd7qMg0v.js → retry-GJcGp5Sw.js} +1 -1
  29. package/dist/browser/checkout/sdk.js +15 -15
  30. package/dist/browser/checkout/{useInterval-DI0ddcnq.js → useInterval-BfG2xnz-.js} +1 -1
  31. package/dist/browser/checkout/widgets-esm.js +1 -1
  32. package/dist/browser/checkout/widgets.js +267 -296
  33. package/dist/{checkout-C12Br7lr.js → checkout-GzXHS6tQ.js} +22 -22
  34. package/dist/checkout.d.ts +50 -50
  35. package/dist/checkout.js +5 -5
  36. package/dist/{config-BR83WwI2.js → config-D--8q9Ky.js} +1 -1
  37. package/dist/config.js +1 -1
  38. package/dist/{index-DeyLbhnj.js → index-CS6nfOqN.js} +1 -1
  39. package/dist/{index-B12uBW7v.js → index-CTG8gj6p.js} +1 -1
  40. package/dist/{index-oQTMj48l.js → index-CUn7Zo3y.js} +1 -1
  41. package/dist/{index-o82oWSK6.js → index-CY5IMe_m.js} +1 -1
  42. package/dist/{index-CA86ogWz.js → index-D7sVu0uD.js} +3 -3
  43. package/dist/{index-B3-R16ZI.js → index-Papo4AAa.js} +4 -4
  44. package/dist/index.browser.js +5 -5
  45. package/dist/index.browser.js.map +1 -1
  46. package/dist/index.cjs +93 -23
  47. package/dist/index.d.ts +63 -63
  48. package/dist/index.js +14 -14
  49. package/dist/{minting_backend-BZNiHRmU.js → minting_backend-Clnkogn9.js} +3 -3
  50. package/dist/minting_backend.js +5 -5
  51. package/dist/{orderbook-B1Tjr_q4.js → orderbook-CZN-dE1t.js} +1 -1
  52. package/dist/orderbook.js +2 -2
  53. package/dist/{passport-BSNhvk09.js → passport-pc8TWhS9.js} +73 -3
  54. package/dist/passport.js +4 -4
  55. package/dist/{webhook-2lD6l4rk.js → webhook-r7AuAOkP.js} +1 -1
  56. package/dist/webhook.js +2 -2
  57. package/dist/{x-BuvtdpOp.js → x-LQ1vUAJM.js} +3 -3
  58. package/dist/x.js +4 -4
  59. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-DeyLbhnj.js';
1
+ import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-CS6nfOqN.js';
2
2
  import globalAxios, { HttpStatusCode as HttpStatusCode$1 } from 'axios';
3
3
  import { ethers, BigNumber as BigNumber$1, ContractFactory, utils as utils$2, Contract as Contract$1 } from 'ethers';
4
4
  import { Web3Provider, JsonRpcProvider } from '@ethersproject/providers';
@@ -8,8 +8,8 @@ import assert from 'assert';
8
8
  import { FeeAmount, Route, SwapQuoter, Pool, Trade, toHex as toHex$1, encodeRouteToPath } from '@uniswap/v3-sdk';
9
9
  import { keccak256 as keccak256$1 } from '@ethersproject/solidity';
10
10
  import { SwapRouter, PaymentsExtended } from '@uniswap/router-sdk';
11
- import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-B12uBW7v.js';
12
- import { B as BlockchainData } from './index-CA86ogWz.js';
11
+ import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-CTG8gj6p.js';
12
+ import { B as BlockchainData } from './index-D7sVu0uD.js';
13
13
  import detectEthereumProvider from '@metamask/detect-provider';
14
14
  import semver from 'semver';
15
15
 
@@ -19207,7 +19207,7 @@ const flattenProperties = (properties) => {
19207
19207
  };
19208
19208
 
19209
19209
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
19210
- const SDK_VERSION = '1.62.0';
19210
+ const SDK_VERSION = '1.63.0-alpha.10';
19211
19211
  const getFrameParentDomain = () => {
19212
19212
  if (isNode()) {
19213
19213
  return '';
@@ -23474,7 +23474,7 @@ var IMTBLWidgetEvents;
23474
23474
  IMTBLWidgetEvents["IMTBL_ONRAMP_WIDGET_EVENT"] = "imtbl-onramp-widget";
23475
23475
  IMTBLWidgetEvents["IMTBL_SALE_WIDGET_EVENT"] = "imtbl-sale-widget";
23476
23476
  IMTBLWidgetEvents["IMTBL_COMMERCE_WIDGET_EVENT"] = "imtbl-commerce-widget";
23477
- IMTBLWidgetEvents["IMTBL_ADD_FUNDS_WIDGET_EVENT"] = "imtbl-add-funds-widget";
23477
+ IMTBLWidgetEvents["IMTBL_ADD_TOKENS_WIDGET_EVENT"] = "imtbl-add-tokens-widget";
23478
23478
  })(IMTBLWidgetEvents || (IMTBLWidgetEvents = {}));
23479
23479
  /**
23480
23480
  * Enum for events raised for about provider objects
@@ -23569,7 +23569,7 @@ var OrchestrationEventType;
23569
23569
  OrchestrationEventType["REQUEST_SWAP"] = "request-swap";
23570
23570
  OrchestrationEventType["REQUEST_BRIDGE"] = "request-bridge";
23571
23571
  OrchestrationEventType["REQUEST_ONRAMP"] = "request-onramp";
23572
- OrchestrationEventType["REQUEST_ADD_FUNDS"] = "request-add-funds";
23572
+ OrchestrationEventType["REQUEST_ADD_TOKENS"] = "request-add-tokens";
23573
23573
  OrchestrationEventType["REQUEST_GO_BACK"] = "request-go-back";
23574
23574
  })(OrchestrationEventType || (OrchestrationEventType = {}));
23575
23575
 
@@ -23603,7 +23603,7 @@ var CommerceSuccessEventType;
23603
23603
  CommerceSuccessEventType["SALE_TRANSACTION_SUCCESS"] = "SALE_TRANSACTION_SUCCESS";
23604
23604
  CommerceSuccessEventType["BRIDGE_SUCCESS"] = "BRIDGE_SUCCESS";
23605
23605
  CommerceSuccessEventType["BRIDGE_CLAIM_WITHDRAWAL_SUCCESS"] = "BRIDGE_CLAIM_WITHDRAWAL_SUCCESS";
23606
- CommerceSuccessEventType["ADD_FUNDS_SUCCESS"] = "ADD_FUNDS_SUCCESS";
23606
+ CommerceSuccessEventType["ADD_TOKENS_SUCCESS"] = "ADD_TOKENS_SUCCESS";
23607
23607
  })(CommerceSuccessEventType || (CommerceSuccessEventType = {}));
23608
23608
  var CommerceFailureEventType;
23609
23609
  (function (CommerceFailureEventType) {
@@ -23614,7 +23614,7 @@ var CommerceFailureEventType;
23614
23614
  CommerceFailureEventType["CONNECT_FAILED"] = "CONNECT_FAILED";
23615
23615
  CommerceFailureEventType["SALE_FAILED"] = "SALE_FAILED";
23616
23616
  CommerceFailureEventType["ONRAMP_FAILED"] = "ONRAMP_FAILED";
23617
- CommerceFailureEventType["ADD_FUNDS_FAILED"] = "ADD_FUNDS_FAILED";
23617
+ CommerceFailureEventType["ADD_TOKENS_FAILED"] = "ADD_TOKENS_FAILED";
23618
23618
  })(CommerceFailureEventType || (CommerceFailureEventType = {}));
23619
23619
  var CommerceUserActionEventType;
23620
23620
  (function (CommerceUserActionEventType) {
@@ -23624,16 +23624,16 @@ var CommerceUserActionEventType;
23624
23624
  })(CommerceUserActionEventType || (CommerceUserActionEventType = {}));
23625
23625
 
23626
23626
  /**
23627
- * Enum of possible Add Funds Widget event types.
23627
+ * Enum of possible Add Tokens Widget event types.
23628
23628
  */
23629
- var AddFundsEventType;
23630
- (function (AddFundsEventType) {
23631
- AddFundsEventType["CLOSE_WIDGET"] = "close-widget";
23632
- AddFundsEventType["LANGUAGE_CHANGED"] = "language-changed";
23633
- AddFundsEventType["CONNECT_SUCCESS"] = "connect-success";
23634
- AddFundsEventType["SUCCESS"] = "success";
23635
- AddFundsEventType["FAILURE"] = "failure";
23636
- })(AddFundsEventType || (AddFundsEventType = {}));
23629
+ var AddTokensEventType;
23630
+ (function (AddTokensEventType) {
23631
+ AddTokensEventType["CLOSE_WIDGET"] = "close-widget";
23632
+ AddTokensEventType["LANGUAGE_CHANGED"] = "language-changed";
23633
+ AddTokensEventType["CONNECT_SUCCESS"] = "connect-success";
23634
+ AddTokensEventType["SUCCESS"] = "success";
23635
+ AddTokensEventType["FAILURE"] = "failure";
23636
+ })(AddTokensEventType || (AddTokensEventType = {}));
23637
23637
 
23638
23638
  /**
23639
23639
  * Enum representing the list of widget types.
@@ -23647,7 +23647,7 @@ var WidgetType;
23647
23647
  WidgetType["ONRAMP"] = "onramp";
23648
23648
  WidgetType["SALE"] = "sale";
23649
23649
  WidgetType["IMMUTABLE_COMMERCE"] = "immutableCommerce";
23650
- WidgetType["ADD_FUNDS"] = "addFunds";
23650
+ WidgetType["ADD_TOKENS"] = "addTokens";
23651
23651
  })(WidgetType || (WidgetType = {}));
23652
23652
 
23653
23653
  var ConnectTargetLayer;
@@ -23670,7 +23670,7 @@ var CommerceFlowType;
23670
23670
  CommerceFlowType["SWAP"] = "SWAP";
23671
23671
  CommerceFlowType["BRIDGE"] = "BRIDGE";
23672
23672
  CommerceFlowType["ONRAMP"] = "ONRAMP";
23673
- CommerceFlowType["ADD_FUNDS"] = "ADD_FUNDS";
23673
+ CommerceFlowType["ADD_TOKENS"] = "ADD_TOKENS";
23674
23674
  })(CommerceFlowType || (CommerceFlowType = {}));
23675
23675
 
23676
23676
  /**
@@ -24315,7 +24315,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
24315
24315
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
24316
24316
  };
24317
24317
 
24318
- const SDK_VERSION_MARKER = '1.62.0';
24318
+ const SDK_VERSION_MARKER = '1.63.0-alpha.10';
24319
24319
  // This SDK version is replaced by the `yarn build` command ran on the root level
24320
24320
  const globalPackageVersion = () => SDK_VERSION_MARKER;
24321
24321
 
@@ -29430,7 +29430,7 @@ class BlockExplorerService {
29430
29430
 
29431
29431
  var checkout = /*#__PURE__*/Object.freeze({
29432
29432
  __proto__: null,
29433
- get AddFundsEventType () { return AddFundsEventType; },
29433
+ get AddTokensEventType () { return AddTokensEventType; },
29434
29434
  BlockExplorerService: BlockExplorerService,
29435
29435
  get BridgeEventType () { return BridgeEventType; },
29436
29436
  get ChainId () { return ChainId; },
@@ -29479,4 +29479,4 @@ var checkout = /*#__PURE__*/Object.freeze({
29479
29479
  validateProvider: validateProvider
29480
29480
  });
29481
29481
 
29482
- export { AddFundsEventType as A, BlockExplorerService as B, ChainId as C, WalletProviderName as D, ExchangeType as E, FeeType as F, GasEstimateType as G, WalletProviderRdns as H, IMMUTABLE_API_BASE_URL as I, WidgetTheme as J, WidgetType as K, getMetaMaskProviderDetail as L, getPassportProviderDetail as M, NetworkFilterTypes as N, OnRampEventType as O, ProviderEventType as P, isAddressSanctioned as Q, RoutingOutcomeType as R, SaleEventType as S, TokenFilterTypes as T, validateProvider as U, WalletEventType as W, BridgeEventType as a, ChainName as b, checkout as c, ChainSlug as d, Checkout as e, CheckoutConfiguration as f, CheckoutError as g, CheckoutErrorType as h, CheckoutStatus as i, CommerceEventType as j, CommerceFailureEventType as k, CommerceFlowType as l, CommerceSuccessEventType as m, CommerceUserActionEventType as n, ConnectEventType as o, ConnectTargetLayer as p, FundingStepType as q, GasTokenType as r, IMTBLWidgetEvents as s, ItemType as t, OrchestrationEventType as u, SalePaymentTypes as v, SwapDirection as w, SwapEventType as x, TransactionOrGasType as y, WalletFilterTypes as z };
29482
+ export { AddTokensEventType as A, BlockExplorerService as B, ChainId as C, WalletProviderName as D, ExchangeType as E, FeeType as F, GasEstimateType as G, WalletProviderRdns as H, IMMUTABLE_API_BASE_URL as I, WidgetTheme as J, WidgetType as K, getMetaMaskProviderDetail as L, getPassportProviderDetail as M, NetworkFilterTypes as N, OnRampEventType as O, ProviderEventType as P, isAddressSanctioned as Q, RoutingOutcomeType as R, SaleEventType as S, TokenFilterTypes as T, validateProvider as U, WalletEventType as W, BridgeEventType as a, ChainName as b, checkout as c, ChainSlug as d, Checkout as e, CheckoutConfiguration as f, CheckoutError as g, CheckoutErrorType as h, CheckoutStatus as i, CommerceEventType as j, CommerceFailureEventType as k, CommerceFlowType as l, CommerceSuccessEventType as m, CommerceUserActionEventType as n, ConnectEventType as o, ConnectTargetLayer as p, FundingStepType as q, GasTokenType as r, IMTBLWidgetEvents as s, ItemType as t, OrchestrationEventType as u, SalePaymentTypes as v, SwapDirection as w, SwapEventType as x, TransactionOrGasType as y, WalletFilterTypes as z };
@@ -12705,8 +12705,8 @@ type RemoteConfiguration = {
12705
12705
  onramp: OnRampConfig;
12706
12706
  /** The config used for the Bridge. */
12707
12707
  bridge: BridgeConfig;
12708
- /** The config used for Add Funds */
12709
- addfunds: AddFundsConfig;
12708
+ /** The config used for Add Tokens */
12709
+ addTokens: AddTokensConfig;
12710
12710
  /** An array representing the allowed networks. */
12711
12711
  allowedNetworks: AllowedNetworkConfig[];
12712
12712
  /** The config for the tokens used to estimate gas. */
@@ -12721,11 +12721,11 @@ type RemoteConfiguration = {
12721
12721
  checkoutWidgetsVersion: CheckoutWidgetsVersionConfig;
12722
12722
  };
12723
12723
  /**
12724
- * A type representing the configuration for the Add Funds.
12724
+ * A type representing the configuration for the Add Tokens.
12725
12725
  * @property {TokenInfo[] | undefined} tokens
12726
12726
  */
12727
- type AddFundsConfig = {
12728
- /** A boolean value for enabling/disabling Add Funds */
12727
+ type AddTokensConfig = {
12728
+ /** A boolean value for enabling/disabling Add Tokens */
12729
12729
  enabled: boolean;
12730
12730
  };
12731
12731
  /**
@@ -13534,9 +13534,9 @@ type SaleWidgetConfiguration = {
13534
13534
  } & WidgetConfiguration;
13535
13535
 
13536
13536
  /**
13537
- * Add Funds Widget Configuration represents the configuration options for the Add Funds Widget.
13537
+ * Add Tokens Widget Configuration represents the configuration options for the Add Tokens Widget.
13538
13538
  */
13539
- type AddFundsWidgetConfiguration = {} & WidgetConfiguration;
13539
+ type AddTokensWidgetConfiguration = {} & WidgetConfiguration;
13540
13540
 
13541
13541
  type CommerceWidgetConfiguration = {
13542
13542
  CONNECT?: Omit<ConnectWidgetConfiguration, keyof WidgetConfiguration>;
@@ -13545,7 +13545,7 @@ type CommerceWidgetConfiguration = {
13545
13545
  BRIDGE?: Omit<BridgeWidgetConfiguration, keyof WidgetConfiguration>;
13546
13546
  ONRAMP?: Omit<OnrampWidgetConfiguration, keyof WidgetConfiguration>;
13547
13547
  SALE?: Omit<SaleWidgetConfiguration, keyof WidgetConfiguration>;
13548
- ADD_FUNDS?: Omit<AddFundsWidgetConfiguration, keyof WidgetConfiguration>;
13548
+ ADD_TOKENS?: Omit<AddTokensWidgetConfiguration, keyof WidgetConfiguration>;
13549
13549
  } & Omit<WidgetConfiguration, 'walletConnect'>;
13550
13550
 
13551
13551
  /**
@@ -13560,7 +13560,7 @@ declare enum IMTBLWidgetEvents {
13560
13560
  IMTBL_ONRAMP_WIDGET_EVENT = "imtbl-onramp-widget",
13561
13561
  IMTBL_SALE_WIDGET_EVENT = "imtbl-sale-widget",
13562
13562
  IMTBL_COMMERCE_WIDGET_EVENT = "imtbl-commerce-widget",
13563
- IMTBL_ADD_FUNDS_WIDGET_EVENT = "imtbl-add-funds-widget"
13563
+ IMTBL_ADD_TOKENS_WIDGET_EVENT = "imtbl-add-tokens-widget"
13564
13564
  }
13565
13565
  /**
13566
13566
  * Enum for events raised for about provider objects
@@ -13862,7 +13862,7 @@ declare enum OrchestrationEventType {
13862
13862
  REQUEST_SWAP = "request-swap",
13863
13863
  REQUEST_BRIDGE = "request-bridge",
13864
13864
  REQUEST_ONRAMP = "request-onramp",
13865
- REQUEST_ADD_FUNDS = "request-add-funds",
13865
+ REQUEST_ADD_TOKENS = "request-add-tokens",
13866
13866
  REQUEST_GO_BACK = "request-go-back"
13867
13867
  }
13868
13868
  /**
@@ -13918,9 +13918,9 @@ type RequestOnrampEvent = {
13918
13918
  amount: string;
13919
13919
  };
13920
13920
  /**
13921
- * Represents the add funds event object when the add funds widget is requested.
13921
+ * Represents the add tokens event object when the add tokens widget is requested.
13922
13922
  */
13923
- type RequestAddFundsEvent = {
13923
+ type RequestAddTokensEvent = {
13924
13924
  /** Token address of the fund to be added */
13925
13925
  toTokenAddress?: string;
13926
13926
  /** Amount of the fund to be added */
@@ -13932,7 +13932,7 @@ type RequestAddFundsEvent = {
13932
13932
  * Represents the object provide after go back event is requested
13933
13933
  */
13934
13934
  type RequestGoBackEvent = {};
13935
- type OrchestrationEventData = RequestConnectEvent | RequestWalletEvent | RequestSwapEvent | RequestBridgeEvent | RequestOnrampEvent | RequestGoBackEvent | RequestAddFundsEvent;
13935
+ type OrchestrationEventData = RequestConnectEvent | RequestWalletEvent | RequestSwapEvent | RequestBridgeEvent | RequestOnrampEvent | RequestGoBackEvent | RequestAddTokensEvent;
13936
13936
 
13937
13937
  /**
13938
13938
  * Enum of possible OnRamp Widget event types.
@@ -13964,9 +13964,9 @@ type OnRampFailed = {
13964
13964
  };
13965
13965
 
13966
13966
  /**
13967
- * Enum of possible Add Funds Widget event types.
13967
+ * Enum of possible Add Tokens Widget event types.
13968
13968
  */
13969
- declare enum AddFundsEventType {
13969
+ declare enum AddTokensEventType {
13970
13970
  CLOSE_WIDGET = "close-widget",
13971
13971
  LANGUAGE_CHANGED = "language-changed",
13972
13972
  CONNECT_SUCCESS = "connect-success",
@@ -13974,19 +13974,19 @@ declare enum AddFundsEventType {
13974
13974
  FAILURE = "failure"
13975
13975
  }
13976
13976
  /**
13977
- * Represents a successful add funds transaction.
13977
+ * Represents a successful add tokens transaction.
13978
13978
  * @property {string} transactionHash
13979
13979
  */
13980
- type AddFundsSuccess = {
13980
+ type AddTokensSuccess = {
13981
13981
  /** The transaction hash of the successful transaction. */
13982
13982
  transactionHash: string;
13983
13983
  };
13984
13984
  /**
13985
- * Type representing a add funds failure
13985
+ * Type representing a add tokens failure
13986
13986
  * @property {string} reason
13987
13987
  * @property {number} timestamp
13988
13988
  */
13989
- type AddFundsFailed = {
13989
+ type AddTokensFailed = {
13990
13990
  /** The reason why it failed. */
13991
13991
  reason: string;
13992
13992
  /** The timestamp of the failed transaction. */
@@ -13998,7 +13998,7 @@ type AddFundsFailed = {
13998
13998
  * @property {EIP6963ProviderInfo} providerInfo
13999
13999
  * @property {'from' | 'to'} providerType
14000
14000
  */
14001
- type AddFundsConnectSuccess = {
14001
+ type AddTokensConnectSuccess = {
14002
14002
  provider: Web3Provider;
14003
14003
  providerInfo: EIP6963ProviderInfo;
14004
14004
  providerType: 'from' | 'to';
@@ -14021,7 +14021,7 @@ declare enum CommerceSuccessEventType {
14021
14021
  SALE_TRANSACTION_SUCCESS = "SALE_TRANSACTION_SUCCESS",
14022
14022
  BRIDGE_SUCCESS = "BRIDGE_SUCCESS",
14023
14023
  BRIDGE_CLAIM_WITHDRAWAL_SUCCESS = "BRIDGE_CLAIM_WITHDRAWAL_SUCCESS",
14024
- ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS"
14024
+ ADD_TOKENS_SUCCESS = "ADD_TOKENS_SUCCESS"
14025
14025
  }
14026
14026
  declare enum CommerceFailureEventType {
14027
14027
  BRIDGE_FAILED = "BRIDGE_FAILED",
@@ -14031,7 +14031,7 @@ declare enum CommerceFailureEventType {
14031
14031
  CONNECT_FAILED = "CONNECT_FAILED",
14032
14032
  SALE_FAILED = "SALE_FAILED",
14033
14033
  ONRAMP_FAILED = "ONRAMP_FAILED",
14034
- ADD_FUNDS_FAILED = "ADD_FUNDS_FAILED"
14034
+ ADD_TOKENS_FAILED = "ADD_TOKENS_FAILED"
14035
14035
  }
14036
14036
  declare enum CommerceUserActionEventType {
14037
14037
  PAYMENT_METHOD_SELECTED = "PAYMENT_METHOD_SELECTED",
@@ -14074,15 +14074,15 @@ type CommerceConnectSuccessEvent = {
14074
14074
  type: CommerceSuccessEventType.CONNECT_SUCCESS;
14075
14075
  data: ConnectionSuccess;
14076
14076
  };
14077
- type CommerceAddFundsSuccessEvent = {
14078
- type: CommerceSuccessEventType.ADD_FUNDS_SUCCESS;
14079
- data: AddFundsSuccess;
14077
+ type CommerceAddTokensSuccessEvent = {
14078
+ type: CommerceSuccessEventType.ADD_TOKENS_SUCCESS;
14079
+ data: AddTokensSuccess;
14080
14080
  };
14081
- type CommerceAddFundsConnectSuccessEvent = {
14081
+ type CommerceAddTokensConnectSuccessEvent = {
14082
14082
  type: CommerceSuccessEventType.CONNECT_SUCCESS;
14083
- data: AddFundsConnectSuccess;
14083
+ data: AddTokensConnectSuccess;
14084
14084
  };
14085
- type CommerceSuccessEvent = CommerceAddFundsSuccessEvent | CommerceAddFundsConnectSuccessEvent | CommerceConnectSuccessEvent | CommerceBridgeSuccessEvent | CommerceBridgeClaimWithdrawalSuccessEvent | CommerceOnRampSuccessEvent | CommerceSwapSuccessEvent | CommerceSaleSuccessEvent | CommerceSaleSuccessfulTransactionEvent;
14085
+ type CommerceSuccessEvent = CommerceAddTokensSuccessEvent | CommerceAddTokensConnectSuccessEvent | CommerceConnectSuccessEvent | CommerceBridgeSuccessEvent | CommerceBridgeClaimWithdrawalSuccessEvent | CommerceOnRampSuccessEvent | CommerceSwapSuccessEvent | CommerceSaleSuccessEvent | CommerceSaleSuccessfulTransactionEvent;
14086
14086
  type CommerceBridgeFailureEvent = {
14087
14087
  type: CommerceFailureEventType.BRIDGE_FAILED;
14088
14088
  data: BridgeFailed;
@@ -14111,11 +14111,11 @@ type CommerceSaleFailureEvent = {
14111
14111
  type: CommerceFailureEventType.SALE_FAILED;
14112
14112
  data: SaleFailed;
14113
14113
  };
14114
- type CommerceAddFundsFailureEvent = {
14115
- type: CommerceFailureEventType.ADD_FUNDS_FAILED;
14116
- data: AddFundsFailed;
14114
+ type CommerceAddTokensFailureEvent = {
14115
+ type: CommerceFailureEventType.ADD_TOKENS_FAILED;
14116
+ data: AddTokensFailed;
14117
14117
  };
14118
- type CommerceFailureEvent = CommerceAddFundsFailureEvent | CommerceBridgeFailureEvent | CommerceBridgeClaimWithdrawalFailedEvent | CommerceConnectFailureEvent | CommerceOnRampFailureEvent | CommerceSwapFailureEvent | CommerceSwapRejectedEvent | CommerceSaleFailureEvent;
14118
+ type CommerceFailureEvent = CommerceAddTokensFailureEvent | CommerceBridgeFailureEvent | CommerceBridgeClaimWithdrawalFailedEvent | CommerceConnectFailureEvent | CommerceOnRampFailureEvent | CommerceSwapFailureEvent | CommerceSwapRejectedEvent | CommerceSaleFailureEvent;
14119
14119
  type CommercePaymentMethodSelectedEvent = {
14120
14120
  type: CommerceUserActionEventType.PAYMENT_METHOD_SELECTED;
14121
14121
  data: SalePaymentMethod;
@@ -14130,8 +14130,8 @@ type CommerceNetworkSwitchEvent = {
14130
14130
  };
14131
14131
  type CommerceUserActionEvent = CommercePaymentMethodSelectedEvent | CommercePaymentTokenSelectedEvent | CommerceNetworkSwitchEvent;
14132
14132
 
14133
- type AddFundsWidgetParams = {
14134
- /** The language to use for the Add Funds widget */
14133
+ type AddTokensWidgetParams = {
14134
+ /** The language to use for the Add Tokens widget */
14135
14135
  language?: WidgetLanguage;
14136
14136
  /** Configure to show on-ramp option */
14137
14137
  showOnrampOption?: boolean;
@@ -14298,7 +14298,7 @@ declare enum CommerceFlowType {
14298
14298
  SWAP = "SWAP",
14299
14299
  BRIDGE = "BRIDGE",
14300
14300
  ONRAMP = "ONRAMP",
14301
- ADD_FUNDS = "ADD_FUNDS"
14301
+ ADD_TOKENS = "ADD_TOKENS"
14302
14302
  }
14303
14303
  type CommerceWidgetConnectFlowParams = {
14304
14304
  flow: CommerceFlowType.CONNECT;
@@ -14318,10 +14318,10 @@ type CommerceWidgetOnRampFlowParams = {
14318
14318
  type CommerceWidgetSaleFlowParams = {
14319
14319
  flow: CommerceFlowType.SALE;
14320
14320
  } & SaleWidgetParams;
14321
- type CommerceWidgetAddFundsFlowParams = {
14322
- flow: CommerceFlowType.ADD_FUNDS;
14323
- } & AddFundsWidgetParams;
14324
- type CommerceWidgetFlowParams = CommerceWidgetConnectFlowParams | CommerceWidgetWalletFlowParams | CommerceWidgetSwapFlowParams | CommerceWidgetBridgeFlowParams | CommerceWidgetOnRampFlowParams | CommerceWidgetSaleFlowParams | CommerceWidgetAddFundsFlowParams;
14321
+ type CommerceWidgetAddTokensFlowParams = {
14322
+ flow: CommerceFlowType.ADD_TOKENS;
14323
+ } & AddTokensWidgetParams;
14324
+ type CommerceWidgetFlowParams = CommerceWidgetConnectFlowParams | CommerceWidgetWalletFlowParams | CommerceWidgetSwapFlowParams | CommerceWidgetBridgeFlowParams | CommerceWidgetOnRampFlowParams | CommerceWidgetSaleFlowParams | CommerceWidgetAddTokensFlowParams;
14325
14325
  type CommerceWidgetParams = {
14326
14326
  /** The language to use for the Commerce Widget */
14327
14327
  language?: WidgetLanguage;
@@ -14339,7 +14339,7 @@ declare enum WidgetType {
14339
14339
  ONRAMP = "onramp",
14340
14340
  SALE = "sale",
14341
14341
  IMMUTABLE_COMMERCE = "immutableCommerce",
14342
- ADD_FUNDS = "addFunds"
14342
+ ADD_TOKENS = "addTokens"
14343
14343
  }
14344
14344
  /**
14345
14345
  * Widget properties definition for each widget. Used for creating and updating widgets
@@ -14355,7 +14355,7 @@ type WidgetConfigurations = {
14355
14355
  [WidgetType.BRIDGE]: BridgeWidgetConfiguration;
14356
14356
  [WidgetType.ONRAMP]: OnrampWidgetConfiguration;
14357
14357
  [WidgetType.SALE]: SaleWidgetConfiguration;
14358
- [WidgetType.ADD_FUNDS]: AddFundsWidgetConfiguration;
14358
+ [WidgetType.ADD_TOKENS]: AddTokensWidgetConfiguration;
14359
14359
  [WidgetType.IMMUTABLE_COMMERCE]: CommerceWidgetConfiguration;
14360
14360
  };
14361
14361
  type WidgetParameters = {
@@ -14365,7 +14365,7 @@ type WidgetParameters = {
14365
14365
  [WidgetType.BRIDGE]: BridgeWidgetParams;
14366
14366
  [WidgetType.ONRAMP]: OnRampWidgetParams;
14367
14367
  [WidgetType.SALE]: SaleWidgetParams;
14368
- [WidgetType.ADD_FUNDS]: AddFundsWidgetParams;
14368
+ [WidgetType.ADD_TOKENS]: AddTokensWidgetParams;
14369
14369
  [WidgetType.IMMUTABLE_COMMERCE]: CommerceWidgetParams;
14370
14370
  };
14371
14371
  /**
@@ -14379,7 +14379,7 @@ type WidgetEventTypes = {
14379
14379
  [WidgetType.ONRAMP]: OnRampEventType | OrchestrationEventType;
14380
14380
  [WidgetType.SALE]: SaleEventType | OrchestrationEventType;
14381
14381
  [WidgetType.IMMUTABLE_COMMERCE]: CommerceEventType | OrchestrationEventType;
14382
- [WidgetType.ADD_FUNDS]: AddFundsEventType | OrchestrationEventType;
14382
+ [WidgetType.ADD_TOKENS]: AddTokensEventType | OrchestrationEventType;
14383
14383
  };
14384
14384
  type OrchestrationMapping = {
14385
14385
  [OrchestrationEventType.REQUEST_CONNECT]: RequestConnectEvent;
@@ -14387,7 +14387,7 @@ type OrchestrationMapping = {
14387
14387
  [OrchestrationEventType.REQUEST_SWAP]: RequestSwapEvent;
14388
14388
  [OrchestrationEventType.REQUEST_BRIDGE]: RequestBridgeEvent;
14389
14389
  [OrchestrationEventType.REQUEST_ONRAMP]: RequestOnrampEvent;
14390
- [OrchestrationEventType.REQUEST_ADD_FUNDS]: RequestAddFundsEvent;
14390
+ [OrchestrationEventType.REQUEST_ADD_TOKENS]: RequestAddTokensEvent;
14391
14391
  [OrchestrationEventType.REQUEST_GO_BACK]: RequestGoBackEvent;
14392
14392
  };
14393
14393
  type ProviderEventMapping = {
@@ -14449,11 +14449,11 @@ type WidgetEventData = {
14449
14449
  [CommerceEventType.DISCONNECTED]: {};
14450
14450
  [CommerceEventType.USER_ACTION]: CommerceUserActionEvent;
14451
14451
  };
14452
- [WidgetType.ADD_FUNDS]: {
14453
- [AddFundsEventType.CLOSE_WIDGET]: {};
14454
- [AddFundsEventType.CONNECT_SUCCESS]: AddFundsConnectSuccess;
14455
- [AddFundsEventType.SUCCESS]: AddFundsSuccess;
14456
- [AddFundsEventType.FAILURE]: AddFundsFailed;
14452
+ [WidgetType.ADD_TOKENS]: {
14453
+ [AddTokensEventType.CLOSE_WIDGET]: {};
14454
+ [AddTokensEventType.CONNECT_SUCCESS]: AddTokensConnectSuccess;
14455
+ [AddTokensEventType.SUCCESS]: AddTokensSuccess;
14456
+ [AddTokensEventType.FAILURE]: AddTokensFailed;
14457
14457
  } & OrchestrationMapping & ProviderEventMapping;
14458
14458
  };
14459
14459
  /**
@@ -14970,4 +14970,4 @@ declare class BlockExplorerService {
14970
14970
  static getTransactionLink(chainId: ChainId, hash: string): string | undefined;
14971
14971
  }
14972
14972
 
14973
- export { type AddFundsConfig, type AddFundsConnectSuccess, AddFundsEventType, type AddFundsFailed, type AddFundsSuccess, type AddFundsWidgetConfiguration, type AddFundsWidgetParams, type AllowedNetworkConfig, type AvailableRoutingOptions, type BalanceDelta, BlockExplorerService, type BridgeClaimWithdrawalFailed, type BridgeClaimWithdrawalSuccess, BridgeEventType, type BridgeFailed, type BridgeFundingStep, type BridgeTransactionSent, type BridgeWidgetConfiguration, type BridgeWidgetParams, type BuyOrder, type BuyOverrides, type BuyParams, type BuyResult, type BuyResultFailed, type BuyResultFulfillmentsUnsettled, type BuyResultInsufficientFunds, type BuyResultSuccess, type BuyToken, type CancelOverrides, type CancelParams, type CancelResult, type CancelResultFailed, type CancelResultFulfillmentsUnsettled, type CancelResultGasless, type CancelResultSuccess, ChainId, ChainName, ChainSlug, type CheckConnectionParams, type CheckConnectionResult, Checkout, type CheckoutBridgeConfiguration, CheckoutConfiguration, CheckoutError, CheckoutErrorType, type CheckoutModuleConfiguration, type CheckoutOnRampConfiguration, CheckoutStatus, type CheckoutSwapConfiguration, type CheckoutWidgetsConfig, type CheckoutWidgetsVersionConfig, type CommerceAddFundsConnectSuccessEvent, type CommerceAddFundsFailureEvent, type CommerceAddFundsSuccessEvent, type CommerceBridgeClaimWithdrawalFailedEvent, type CommerceBridgeClaimWithdrawalSuccessEvent, type CommerceBridgeFailureEvent, type CommerceBridgeSuccessEvent, type CommerceConnectFailureEvent, type CommerceConnectSuccessEvent, CommerceEventType, type CommerceFailureEvent, CommerceFailureEventType, CommerceFlowType, type CommerceNetworkSwitchEvent, type CommerceOnRampFailureEvent, type CommerceOnRampSuccessEvent, type CommercePaymentMethodSelectedEvent, type CommercePaymentTokenSelectedEvent, type CommerceProviderUpdatedEvent, type CommerceSaleFailureEvent, type CommerceSaleSuccessEvent, type CommerceSaleSuccessfulTransactionEvent, type CommerceSuccessEvent, CommerceSuccessEventType, type CommerceSwapFailureEvent, type CommerceSwapRejectedEvent, type CommerceSwapSuccessEvent, type CommerceUserActionEvent, CommerceUserActionEventType, type CommerceWidgetAddFundsFlowParams, type CommerceWidgetBridgeFlowParams, type CommerceWidgetConfiguration, type CommerceWidgetConnectFlowParams, type CommerceWidgetFlowParams, type CommerceWidgetOnRampFlowParams, type CommerceWidgetParams, type CommerceWidgetSaleFlowParams, type CommerceWidgetSwapFlowParams, type CommerceWidgetWalletFlowParams, ConnectEventType, type ConnectParams, type ConnectResult, ConnectTargetLayer, type ConnectWidgetConfiguration, type ConnectWidgetParams, type ConnectionFailed, type ConnectionSuccess, type CreateProviderParams, type CreateProviderResult, type DexConfig, type EIP1193Provider, type EIP6963ProviderDetail, type EIP6963ProviderInfo, type ERC20ItemRequirement, type ERC721Balance, type ERC721ItemRequirement, type ErrorType, ExchangeType, type FailedGaslessCancellation, type Fee$1 as Fee, type FeePercentage, type FeeToken, FeeType, type FiatRampParams, type FulfillmentTransaction, type FundingItem, type FundingRoute, type FundingStep, FundingStepType, type GasAmount, type GasEstimateBridgeToL2Result, type GasEstimateParams, type GasEstimateSwapResult, type GasEstimateTokenConfig, GasEstimateType, type GasToken, GasTokenType, type GetAllBalancesParams, type GetAllBalancesResult, type GetBalanceParams, type GetBalanceResult, type GetNetworkAllowListParams, type GetNetworkAllowListResult, type GetNetworkParams, type GetTokenAllowListParams, type GetTokenAllowListResult, type GetTokenInfoParams, type GetWalletAllowListParams, type GetWalletAllowListResult, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, type IWidgetsFactory, type ItemBalance, ItemType, type LanguageChanged, type NativeItemRequirement, type NetworkFilter, NetworkFilterTypes, type NetworkInfo, type NoRouteOptions, type NoRoutesFound, OnRampEventType, type OnRampFailed, type OnRampFundingStep, type OnRampProviderFees, type OnRampSuccess, type OnRampWidgetParams, type OnrampWidgetConfiguration, type OrchestrationEvent, type OrchestrationEventData, OrchestrationEventType, type OrderFee, type PendingGaslessCancellation, type ProviderEvent, ProviderEventType, type ProviderUpdated, type RemoteConfiguration, type RequestAddFundsEvent, type RequestBridgeEvent, type RequestConnectEvent, type RequestGoBackEvent, type RequestOnrampEvent, type RequestSwapEvent, type RequestWalletEvent, type RoutesFound, type RoutingOutcome, RoutingOutcomeType, SaleEventType, type SaleFailed, type SaleItem, type SalePaymentMethod, type SalePaymentToken, SalePaymentTypes, type SaleSuccess, type SaleTransactionSuccess, type SaleWidgetConfiguration, type SaleWidgetParams, type SellOrder, type SellParams, type SellResult, type SellResultFailed, type SellResultInsufficientFunds, type SellResultSuccess, type SellToken, type SemanticVersion, type SendTransactionParams, type SendTransactionResult, type SmartCheckoutInsufficient, type SmartCheckoutParams, type SmartCheckoutResult, type SmartCheckoutRouter, type SmartCheckoutSufficient, type SquidConfig, type SuccessfulGaslessCancellation, SwapDirection, SwapEventType, type SwapFailed, type SwapFees, type SwapFundingStep, type SwapRejected, type SwapSuccess, type SwapWidgetConfiguration, type SwapWidgetParams, type SwitchNetworkParams, type SwitchNetworkResult, type TelemetryConfig, type TokenAmountEstimate, type TokenBalance, type TokenFilter, TokenFilterTypes, type TokenInfo, TransactionOrGasType, type TransactionRequirement, type WalletConnectConfig, type WalletConnectManager, type WalletConnectProviderChanged, type WalletDisconnect, WalletEventType, type WalletFilter, WalletFilterTypes, type WalletInfo, type WalletNetworkSwitch, WalletProviderName, WalletProviderRdns, type WalletWidgetConfiguration, type WalletWidgetParams, type Widget, type WidgetConfiguration, type WidgetConfigurations, type WidgetEvent, type WidgetEventData, type WidgetEventTypes, type WidgetLanguage, type WidgetParameters, type WidgetProperties, WidgetTheme, WidgetType, getMetaMaskProviderDetail, getPassportProviderDetail, isAddressSanctioned, validateProvider };
14973
+ export { type AddTokensConfig, type AddTokensConnectSuccess, AddTokensEventType, type AddTokensFailed, type AddTokensSuccess, type AddTokensWidgetConfiguration, type AddTokensWidgetParams, type AllowedNetworkConfig, type AvailableRoutingOptions, type BalanceDelta, BlockExplorerService, type BridgeClaimWithdrawalFailed, type BridgeClaimWithdrawalSuccess, BridgeEventType, type BridgeFailed, type BridgeFundingStep, type BridgeTransactionSent, type BridgeWidgetConfiguration, type BridgeWidgetParams, type BuyOrder, type BuyOverrides, type BuyParams, type BuyResult, type BuyResultFailed, type BuyResultFulfillmentsUnsettled, type BuyResultInsufficientFunds, type BuyResultSuccess, type BuyToken, type CancelOverrides, type CancelParams, type CancelResult, type CancelResultFailed, type CancelResultFulfillmentsUnsettled, type CancelResultGasless, type CancelResultSuccess, ChainId, ChainName, ChainSlug, type CheckConnectionParams, type CheckConnectionResult, Checkout, type CheckoutBridgeConfiguration, CheckoutConfiguration, CheckoutError, CheckoutErrorType, type CheckoutModuleConfiguration, type CheckoutOnRampConfiguration, CheckoutStatus, type CheckoutSwapConfiguration, type CheckoutWidgetsConfig, type CheckoutWidgetsVersionConfig, type CommerceAddTokensConnectSuccessEvent, type CommerceAddTokensFailureEvent, type CommerceAddTokensSuccessEvent, type CommerceBridgeClaimWithdrawalFailedEvent, type CommerceBridgeClaimWithdrawalSuccessEvent, type CommerceBridgeFailureEvent, type CommerceBridgeSuccessEvent, type CommerceConnectFailureEvent, type CommerceConnectSuccessEvent, CommerceEventType, type CommerceFailureEvent, CommerceFailureEventType, CommerceFlowType, type CommerceNetworkSwitchEvent, type CommerceOnRampFailureEvent, type CommerceOnRampSuccessEvent, type CommercePaymentMethodSelectedEvent, type CommercePaymentTokenSelectedEvent, type CommerceProviderUpdatedEvent, type CommerceSaleFailureEvent, type CommerceSaleSuccessEvent, type CommerceSaleSuccessfulTransactionEvent, type CommerceSuccessEvent, CommerceSuccessEventType, type CommerceSwapFailureEvent, type CommerceSwapRejectedEvent, type CommerceSwapSuccessEvent, type CommerceUserActionEvent, CommerceUserActionEventType, type CommerceWidgetAddTokensFlowParams, type CommerceWidgetBridgeFlowParams, type CommerceWidgetConfiguration, type CommerceWidgetConnectFlowParams, type CommerceWidgetFlowParams, type CommerceWidgetOnRampFlowParams, type CommerceWidgetParams, type CommerceWidgetSaleFlowParams, type CommerceWidgetSwapFlowParams, type CommerceWidgetWalletFlowParams, ConnectEventType, type ConnectParams, type ConnectResult, ConnectTargetLayer, type ConnectWidgetConfiguration, type ConnectWidgetParams, type ConnectionFailed, type ConnectionSuccess, type CreateProviderParams, type CreateProviderResult, type DexConfig, type EIP1193Provider, type EIP6963ProviderDetail, type EIP6963ProviderInfo, type ERC20ItemRequirement, type ERC721Balance, type ERC721ItemRequirement, type ErrorType, ExchangeType, type FailedGaslessCancellation, type Fee$1 as Fee, type FeePercentage, type FeeToken, FeeType, type FiatRampParams, type FulfillmentTransaction, type FundingItem, type FundingRoute, type FundingStep, FundingStepType, type GasAmount, type GasEstimateBridgeToL2Result, type GasEstimateParams, type GasEstimateSwapResult, type GasEstimateTokenConfig, GasEstimateType, type GasToken, GasTokenType, type GetAllBalancesParams, type GetAllBalancesResult, type GetBalanceParams, type GetBalanceResult, type GetNetworkAllowListParams, type GetNetworkAllowListResult, type GetNetworkParams, type GetTokenAllowListParams, type GetTokenAllowListResult, type GetTokenInfoParams, type GetWalletAllowListParams, type GetWalletAllowListResult, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, type IWidgetsFactory, type ItemBalance, ItemType, type LanguageChanged, type NativeItemRequirement, type NetworkFilter, NetworkFilterTypes, type NetworkInfo, type NoRouteOptions, type NoRoutesFound, OnRampEventType, type OnRampFailed, type OnRampFundingStep, type OnRampProviderFees, type OnRampSuccess, type OnRampWidgetParams, type OnrampWidgetConfiguration, type OrchestrationEvent, type OrchestrationEventData, OrchestrationEventType, type OrderFee, type PendingGaslessCancellation, type ProviderEvent, ProviderEventType, type ProviderUpdated, type RemoteConfiguration, type RequestAddTokensEvent, type RequestBridgeEvent, type RequestConnectEvent, type RequestGoBackEvent, type RequestOnrampEvent, type RequestSwapEvent, type RequestWalletEvent, type RoutesFound, type RoutingOutcome, RoutingOutcomeType, SaleEventType, type SaleFailed, type SaleItem, type SalePaymentMethod, type SalePaymentToken, SalePaymentTypes, type SaleSuccess, type SaleTransactionSuccess, type SaleWidgetConfiguration, type SaleWidgetParams, type SellOrder, type SellParams, type SellResult, type SellResultFailed, type SellResultInsufficientFunds, type SellResultSuccess, type SellToken, type SemanticVersion, type SendTransactionParams, type SendTransactionResult, type SmartCheckoutInsufficient, type SmartCheckoutParams, type SmartCheckoutResult, type SmartCheckoutRouter, type SmartCheckoutSufficient, type SquidConfig, type SuccessfulGaslessCancellation, SwapDirection, SwapEventType, type SwapFailed, type SwapFees, type SwapFundingStep, type SwapRejected, type SwapSuccess, type SwapWidgetConfiguration, type SwapWidgetParams, type SwitchNetworkParams, type SwitchNetworkResult, type TelemetryConfig, type TokenAmountEstimate, type TokenBalance, type TokenFilter, TokenFilterTypes, type TokenInfo, TransactionOrGasType, type TransactionRequirement, type WalletConnectConfig, type WalletConnectManager, type WalletConnectProviderChanged, type WalletDisconnect, WalletEventType, type WalletFilter, WalletFilterTypes, type WalletInfo, type WalletNetworkSwitch, WalletProviderName, WalletProviderRdns, type WalletWidgetConfiguration, type WalletWidgetParams, type Widget, type WidgetConfiguration, type WidgetConfigurations, type WidgetEvent, type WidgetEventData, type WidgetEventTypes, type WidgetLanguage, type WidgetParameters, type WidgetProperties, WidgetTheme, WidgetType, getMetaMaskProviderDetail, getPassportProviderDetail, isAddressSanctioned, validateProvider };
package/dist/checkout.js CHANGED
@@ -1,5 +1,5 @@
1
- export { A as AddFundsEventType, B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutError, h as CheckoutErrorType, i as CheckoutStatus, j as CommerceEventType, k as CommerceFailureEventType, l as CommerceFlowType, m as CommerceSuccessEventType, n as CommerceUserActionEventType, o as ConnectEventType, p as ConnectTargetLayer, E as ExchangeType, F as FeeType, q as FundingStepType, G as GasEstimateType, r as GasTokenType, I as IMMUTABLE_API_BASE_URL, s as IMTBLWidgetEvents, t as ItemType, N as NetworkFilterTypes, O as OnRampEventType, u as OrchestrationEventType, P as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, v as SalePaymentTypes, w as SwapDirection, x as SwapEventType, T as TokenFilterTypes, y as TransactionOrGasType, W as WalletEventType, z as WalletFilterTypes, D as WalletProviderName, H as WalletProviderRdns, J as WidgetTheme, K as WidgetType, L as getMetaMaskProviderDetail, M as getPassportProviderDetail, Q as isAddressSanctioned, U as validateProvider } from './checkout-C12Br7lr.js';
2
- import './index-DeyLbhnj.js';
1
+ export { A as AddTokensEventType, B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutError, h as CheckoutErrorType, i as CheckoutStatus, j as CommerceEventType, k as CommerceFailureEventType, l as CommerceFlowType, m as CommerceSuccessEventType, n as CommerceUserActionEventType, o as ConnectEventType, p as ConnectTargetLayer, E as ExchangeType, F as FeeType, q as FundingStepType, G as GasEstimateType, r as GasTokenType, I as IMMUTABLE_API_BASE_URL, s as IMTBLWidgetEvents, t as ItemType, N as NetworkFilterTypes, O as OnRampEventType, u as OrchestrationEventType, P as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, v as SalePaymentTypes, w as SwapDirection, x as SwapEventType, T as TokenFilterTypes, y as TransactionOrGasType, W as WalletEventType, z as WalletFilterTypes, D as WalletProviderName, H as WalletProviderRdns, J as WidgetTheme, K as WidgetType, L as getMetaMaskProviderDetail, M as getPassportProviderDetail, Q as isAddressSanctioned, U as validateProvider } from './checkout-GzXHS6tQ.js';
2
+ import './index-CS6nfOqN.js';
3
3
  import 'axios';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
@@ -10,13 +10,13 @@ import 'assert';
10
10
  import '@uniswap/v3-sdk';
11
11
  import '@ethersproject/solidity';
12
12
  import '@uniswap/router-sdk';
13
- import './index-B12uBW7v.js';
13
+ import './index-CTG8gj6p.js';
14
14
  import 'form-data';
15
15
  import '@opensea/seaport-js/lib/constants';
16
16
  import 'ethers-v6';
17
17
  import 'merkletreejs';
18
18
  import '@opensea/seaport-js';
19
- import './index-CA86ogWz.js';
20
- import './index-o82oWSK6.js';
19
+ import './index-D7sVu0uD.js';
20
+ import './index-CY5IMe_m.js';
21
21
  import '@metamask/detect-provider';
22
22
  import 'semver';
@@ -1,4 +1,4 @@
1
- import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-DeyLbhnj.js';
1
+ import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-CS6nfOqN.js';
2
2
 
3
3
  var config = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/config.js CHANGED
@@ -1,4 +1,4 @@
1
- export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-DeyLbhnj.js';
1
+ export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-CS6nfOqN.js';
2
2
  import 'axios';
3
3
  import 'lru-memorise';
4
4
  import 'global-const';
@@ -158,7 +158,7 @@ const flattenProperties = (properties) => {
158
158
  };
159
159
 
160
160
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
161
- const SDK_VERSION = '1.62.0';
161
+ const SDK_VERSION = '1.63.0-alpha.10';
162
162
  const getFrameParentDomain = () => {
163
163
  if (isNode()) {
164
164
  return '';
@@ -1,4 +1,4 @@
1
- import { t as track, E as Environment } from './index-DeyLbhnj.js';
1
+ import { t as track, E as Environment } from './index-CS6nfOqN.js';
2
2
  import globalAxios from 'axios';
3
3
  import FormData from 'form-data';
4
4
  import { OrderType as OrderType$1, ItemType as ItemType$1 } from '@opensea/seaport-js/lib/constants';
@@ -1,5 +1,5 @@
1
1
  import MessageValidator from 'sns-validator';
2
- import { E as Environment } from './index-DeyLbhnj.js';
2
+ import { E as Environment } from './index-CS6nfOqN.js';
3
3
 
4
4
  const validator = new MessageValidator();
5
5
  const allowedTopicArnPrefix = {
@@ -13527,7 +13527,7 @@ class MultiRollupApiClients {
13527
13527
  }
13528
13528
 
13529
13529
  // eslint-disable-next-line @typescript-eslint/naming-convention
13530
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.62.0' };
13530
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.63.0-alpha.10' };
13531
13531
  const createConfig = ({ basePath, headers, }) => {
13532
13532
  if (!basePath.trim()) {
13533
13533
  throw Error('basePath can not be empty');
@@ -1,5 +1,5 @@
1
- import { a as index$1 } from './index-o82oWSK6.js';
2
- import { E as Environment, a as addKeysToHeadersOverride } from './index-DeyLbhnj.js';
1
+ import { a as index$1 } from './index-CY5IMe_m.js';
2
+ import { E as Environment, a as addKeysToHeadersOverride } from './index-CS6nfOqN.js';
3
3
  import globalAxios from 'axios';
4
4
 
5
5
  /**
@@ -21,7 +21,7 @@ class APIError extends Error {
21
21
 
22
22
  /* eslint-disable implicit-arrow-linebreak */
23
23
  const defaultHeaders = {
24
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.62.0',
24
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.63.0-alpha.10',
25
25
  };
26
26
  /**
27
27
  * createAPIConfiguration to create a custom Configuration
@@ -1,5 +1,5 @@
1
- import { d as index$2, I as ImxApiClients } from './index-o82oWSK6.js';
2
- import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-DeyLbhnj.js';
1
+ import { d as index$2, I as ImxApiClients } from './index-CY5IMe_m.js';
2
+ import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-CS6nfOqN.js';
3
3
  import globalAxios from 'axios';
4
4
  import { keccak256 } from '@ethersproject/keccak256';
5
5
  import { toUtf8Bytes } from '@ethersproject/strings';
@@ -16,7 +16,7 @@ import '@ethersproject/abstract-signer';
16
16
  /* eslint-disable @typescript-eslint/naming-convention */
17
17
  class ApiConfiguration extends index$2.Configuration {
18
18
  }
19
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.62.0' };
19
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.63.0-alpha.10' };
20
20
  /**
21
21
  * @dev use createImmutableXConfiguration instead
22
22
  */
@@ -57,7 +57,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
57
57
  coreContractAddress,
58
58
  registrationContractAddress,
59
59
  registrationV4ContractAddress,
60
- sdkVersion: 'ts-immutable-sdk-1.62.0',
60
+ sdkVersion: 'ts-immutable-sdk-1.63.0-alpha.10',
61
61
  baseConfig,
62
62
  });
63
63
  const production = ({ baseConfig }) => createImmutableXConfiguration({