@imtbl/sdk 1.77.4 → 1.77.5-alpha.1

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 (60) hide show
  1. package/dist/{blockchain_data-CSSYwdB-.js → blockchain_data-z01fsoqB.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddTokensWidget-CzAE1d3f.js → AddTokensWidget-BjWFuvG1.js} +299 -266
  4. package/dist/browser/checkout/{BridgeWidget-6snvryex.js → BridgeWidget-C5eBOU9v.js} +9 -9
  5. package/dist/browser/checkout/{CommerceWidget-BQzxxBBp.js → CommerceWidget-D_2JFY5P.js} +55 -19
  6. package/dist/browser/checkout/{CryptoFiatProvider-DrL1vFka.js → CryptoFiatProvider-D4rikDDG.js} +1 -1
  7. package/dist/browser/checkout/{FeesBreakdown-6N1PBhxc.js → FeesBreakdown-D6sIzhsV.js} +1 -1
  8. package/dist/browser/checkout/{HandoverContent-DACeI3Ql.js → HandoverContent-biTMygOv.js} +1 -1
  9. package/dist/browser/checkout/{OnRampWidget-C27NOCDj.js → OnRampWidget-B-D7KehX.js} +3 -3
  10. package/dist/browser/checkout/{SaleWidget-0wqfnQkL.js → SaleWidget-DHzclF0Q.js} +14 -14
  11. package/dist/browser/checkout/{SpendingCapHero-se43V9Us.js → SpendingCapHero-zcTGySS-.js} +1 -1
  12. package/dist/browser/checkout/{SwapWidget-DL3WYUw9.js → SwapWidget-Cb2ChH6J.js} +9 -9
  13. package/dist/browser/checkout/{TokenImage-Im5drCmP.js → TokenImage-DlkcIT5B.js} +1 -1
  14. package/dist/browser/checkout/{TopUpView-h8yzvXWl.js → TopUpView--X5TWrEt.js} +3 -3
  15. package/dist/browser/checkout/{WalletApproveHero-ByDRA_kK.js → WalletApproveHero-DjUbN_qE.js} +3 -3
  16. package/dist/browser/checkout/{WalletWidget-BRLER2vp.js → WalletWidget-C5WdOsRY.js} +4 -4
  17. package/dist/browser/checkout/{auto-track-D_sVcc3q.js → auto-track-DUyLQQM3.js} +1 -1
  18. package/dist/browser/checkout/{index-CLIIegap.js → index--RS7yGAc.js} +1 -1
  19. package/dist/browser/checkout/{index-BrPk4SVq.js → index-AADiRFdD.js} +1 -1
  20. package/dist/browser/checkout/{index-D-6LYeBT.js → index-BAH8cj4S.js} +1 -1
  21. package/dist/browser/checkout/{index-ZsTq7hP6.js → index-BHM_qJuX.js} +2 -2
  22. package/dist/browser/checkout/{index-DIgPyYaY.js → index-BaafKmfv.js} +1 -1
  23. package/dist/browser/checkout/{index-Ciq_hY6N.js → index-CHZz3gUa.js} +1 -1
  24. package/dist/browser/checkout/{index-CpPB7WU9.js → index-CMpu_6vI.js} +1 -1
  25. package/dist/browser/checkout/{index-C6VrFT0d.js → index-DcG3Mvkv.js} +1 -1
  26. package/dist/browser/checkout/{index-D7zuN_2m.js → index-Dk9f9o-o.js} +40 -19
  27. package/dist/browser/checkout/{index-CU8j8oV7.js → index-dDxbq1_B.js} +1 -1
  28. package/dist/browser/checkout/{index.umd-BTRWYRB0.js → index.umd-x6gBdScL.js} +1 -1
  29. package/dist/browser/checkout/sdk.js +5 -5
  30. package/dist/browser/checkout/{useInterval-DeDgB1gY.js → useInterval-BC3hP_GL.js} +1 -1
  31. package/dist/browser/checkout/widgets-esm.js +1 -1
  32. package/dist/browser/checkout/widgets.js +1202 -1057
  33. package/dist/{checkout-rc8rFe_T.js → checkout-CSGHUei3.js} +6 -5
  34. package/dist/checkout.d.ts +25 -21
  35. package/dist/checkout.js +5 -5
  36. package/dist/{config-B14s5Yki.js → config-zl6Seoho.js} +1 -1
  37. package/dist/config.js +1 -1
  38. package/dist/{index-B6tCwHSk.js → index-DERoWziy.js} +3 -3
  39. package/dist/{index-BJw8kxPo.js → index-DSVzegdO.js} +1 -1
  40. package/dist/{index-BH4mFAq1.js → index-DTCw46uH.js} +4 -4
  41. package/dist/{index-DaUCuTCV.js → index-DnB-7V63.js} +1 -1
  42. package/dist/{index-C-psCZRA.js → index-faEirK8c.js} +1 -1
  43. package/dist/{index-DvANTswe.js → index-sQKMjeVa.js} +1 -1
  44. package/dist/index.browser.js +4 -4
  45. package/dist/index.browser.js.map +1 -1
  46. package/dist/index.cjs +8 -7
  47. package/dist/index.d.ts +26 -21
  48. package/dist/index.js +14 -14
  49. package/dist/{minting_backend-CEy7Phcq.js → minting_backend-jq8qNFfs.js} +3 -3
  50. package/dist/minting_backend.js +5 -5
  51. package/dist/{orderbook-BCx_6zlr.js → orderbook-B63D9zCX.js} +1 -1
  52. package/dist/orderbook.js +2 -2
  53. package/dist/{passport-Cl4qWc0E.js → passport-DmHUJBzz.js} +3 -3
  54. package/dist/passport.js +4 -4
  55. package/dist/version.json +1 -1
  56. package/dist/{webhook-DETmXUX7.js → webhook-B-EQ94E1.js} +1 -1
  57. package/dist/webhook.js +2 -2
  58. package/dist/{x-D9HTgYe2.js → x-Bj7pmgRI.js} +3 -3
  59. package/dist/x.js +4 -4
  60. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-DaUCuTCV.js';
1
+ import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-DnB-7V63.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-DvANTswe.js';
12
- import { B as BlockchainData } from './index-B6tCwHSk.js';
11
+ import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-sQKMjeVa.js';
12
+ import { B as BlockchainData } from './index-DERoWziy.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.77.4';
19210
+ const SDK_VERSION = '1.77.5-alpha.1';
19211
19211
  const getFrameParentDomain = () => {
19212
19212
  if (isNode()) {
19213
19213
  return '';
@@ -23683,6 +23683,7 @@ var CommerceFlowType;
23683
23683
  CommerceFlowType["BRIDGE"] = "BRIDGE";
23684
23684
  CommerceFlowType["ONRAMP"] = "ONRAMP";
23685
23685
  CommerceFlowType["ADD_TOKENS"] = "ADD_TOKENS";
23686
+ CommerceFlowType["PURCHASE"] = "PURCHASE";
23686
23687
  })(CommerceFlowType || (CommerceFlowType = {}));
23687
23688
 
23688
23689
  /**
@@ -24327,7 +24328,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
24327
24328
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
24328
24329
  };
24329
24330
 
24330
- const SDK_VERSION_MARKER = '1.77.4';
24331
+ const SDK_VERSION_MARKER = '1.77.5-alpha.1';
24331
24332
  // This SDK version is replaced by the `yarn build` command ran on the root level
24332
24333
  const globalPackageVersion = () => SDK_VERSION_MARKER;
24333
24334
 
@@ -14336,6 +14336,24 @@ type SaleItem = {
14336
14336
  description: string;
14337
14337
  };
14338
14338
 
14339
+ type PurchaseWidgetParams = {
14340
+ /** The language to use for the Purchase widget */
14341
+ language?: WidgetLanguage;
14342
+ /** Environment id from Immutable Hub */
14343
+ environmentId?: string;
14344
+ /** Whether to show a back button on the first screen, on click triggers REQUEST_GO_BACK event */
14345
+ showBackButton?: boolean;
14346
+ /** The list of products to be purchased */
14347
+ items?: PurchaseItem[];
14348
+ };
14349
+ type PurchaseItem = {
14350
+ productId: string;
14351
+ qty: number;
14352
+ name: string;
14353
+ image: string;
14354
+ description: string;
14355
+ };
14356
+
14339
14357
  declare enum CommerceFlowType {
14340
14358
  CONNECT = "CONNECT",
14341
14359
  WALLET = "WALLET",
@@ -14343,7 +14361,8 @@ declare enum CommerceFlowType {
14343
14361
  SWAP = "SWAP",
14344
14362
  BRIDGE = "BRIDGE",
14345
14363
  ONRAMP = "ONRAMP",
14346
- ADD_TOKENS = "ADD_TOKENS"
14364
+ ADD_TOKENS = "ADD_TOKENS",
14365
+ PURCHASE = "PURCHASE"
14347
14366
  }
14348
14367
  type CommerceWidgetConnectFlowParams = {
14349
14368
  flow: CommerceFlowType.CONNECT;
@@ -14366,31 +14385,16 @@ type CommerceWidgetSaleFlowParams = {
14366
14385
  type CommerceWidgetAddTokensFlowParams = {
14367
14386
  flow: CommerceFlowType.ADD_TOKENS;
14368
14387
  } & AddTokensWidgetParams;
14369
- type CommerceWidgetFlowParams = CommerceWidgetConnectFlowParams | CommerceWidgetWalletFlowParams | CommerceWidgetSwapFlowParams | CommerceWidgetBridgeFlowParams | CommerceWidgetOnRampFlowParams | CommerceWidgetSaleFlowParams | CommerceWidgetAddTokensFlowParams;
14388
+ type CommerceWidgetPurchaseFlowParams = {
14389
+ flow: CommerceFlowType.PURCHASE;
14390
+ } & PurchaseWidgetParams;
14391
+ type CommerceWidgetFlowParams = CommerceWidgetConnectFlowParams | CommerceWidgetWalletFlowParams | CommerceWidgetSwapFlowParams | CommerceWidgetBridgeFlowParams | CommerceWidgetOnRampFlowParams | CommerceWidgetSaleFlowParams | CommerceWidgetAddTokensFlowParams | CommerceWidgetPurchaseFlowParams;
14370
14392
  type CommerceWidgetParams = {
14371
14393
  /** The language to use for the Commerce Widget */
14372
14394
  language?: WidgetLanguage;
14373
14395
  theme?: WidgetTheme;
14374
14396
  } & CommerceWidgetFlowParams;
14375
14397
 
14376
- type PurchaseWidgetParams = {
14377
- /** The language to use for the Purchase widget */
14378
- language?: WidgetLanguage;
14379
- /** Environment id from Immutable Hub */
14380
- environmentId?: string;
14381
- /** Whether to show a back button on the first screen, on click triggers REQUEST_GO_BACK event */
14382
- showBackButton?: boolean;
14383
- /** The list of products to be purchased */
14384
- items?: PurchaseItem[];
14385
- };
14386
- type PurchaseItem = {
14387
- productId: string;
14388
- qty: number;
14389
- name: string;
14390
- image: string;
14391
- description: string;
14392
- };
14393
-
14394
14398
  /**
14395
14399
  * Enum representing the list of widget types.
14396
14400
  */
@@ -15062,4 +15066,4 @@ declare class BlockExplorerService {
15062
15066
  static getTransactionLink(chainId: ChainId, hash: string): string | undefined;
15063
15067
  }
15064
15068
 
15065
- export { type AddTokensConfig, type AddTokensConnectSuccess, AddTokensEventType, type AddTokensFailed, type AddTokensSuccess, type AddTokensWidgetConfiguration, type AddTokensWidgetParams, type AllowedNetworkConfig, type AssessmentResult, 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 IWidgetsFactoryCreate, 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 PurchaseConnectSuccess, PurchaseEventType, type PurchaseFailed, type PurchaseItem, type PurchaseSuccess, type PurchaseWidgetConfiguration, type PurchaseWidgetParams, 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, fetchRiskAssessment, getMetaMaskProviderDetail, getPassportProviderDetail, isAddressSanctioned, validateProvider };
15069
+ export { type AddTokensConfig, type AddTokensConnectSuccess, AddTokensEventType, type AddTokensFailed, type AddTokensSuccess, type AddTokensWidgetConfiguration, type AddTokensWidgetParams, type AllowedNetworkConfig, type AssessmentResult, 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 CommerceWidgetPurchaseFlowParams, 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 IWidgetsFactoryCreate, 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 PurchaseConnectSuccess, PurchaseEventType, type PurchaseFailed, type PurchaseItem, type PurchaseSuccess, type PurchaseWidgetConfiguration, type PurchaseWidgetParams, 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, fetchRiskAssessment, getMetaMaskProviderDetail, getPassportProviderDetail, isAddressSanctioned, validateProvider };
package/dist/checkout.js CHANGED
@@ -1,5 +1,5 @@
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, v as PurchaseEventType, R as RoutingOutcomeType, S as SaleEventType, w as SalePaymentTypes, x as SwapDirection, y as SwapEventType, T as TokenFilterTypes, z as TransactionOrGasType, W as WalletEventType, D as WalletFilterTypes, H as WalletProviderName, J as WalletProviderRdns, K as WidgetTheme, L as WidgetType, M as fetchRiskAssessment, Q as getMetaMaskProviderDetail, U as getPassportProviderDetail, V as isAddressSanctioned, X as validateProvider } from './checkout-rc8rFe_T.js';
2
- import './index-DaUCuTCV.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, v as PurchaseEventType, R as RoutingOutcomeType, S as SaleEventType, w as SalePaymentTypes, x as SwapDirection, y as SwapEventType, T as TokenFilterTypes, z as TransactionOrGasType, W as WalletEventType, D as WalletFilterTypes, H as WalletProviderName, J as WalletProviderRdns, K as WidgetTheme, L as WidgetType, M as fetchRiskAssessment, Q as getMetaMaskProviderDetail, U as getPassportProviderDetail, V as isAddressSanctioned, X as validateProvider } from './checkout-CSGHUei3.js';
2
+ import './index-DnB-7V63.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-DvANTswe.js';
13
+ import './index-sQKMjeVa.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-B6tCwHSk.js';
20
- import './index-C-psCZRA.js';
19
+ import './index-DERoWziy.js';
20
+ import './index-faEirK8c.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-DaUCuTCV.js';
1
+ import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-DnB-7V63.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-DaUCuTCV.js';
1
+ export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-DnB-7V63.js';
2
2
  import 'axios';
3
3
  import 'lru-memorise';
4
4
  import 'global-const';
@@ -1,5 +1,5 @@
1
- import { a as index$1 } from './index-C-psCZRA.js';
2
- import { E as Environment, a as addKeysToHeadersOverride } from './index-DaUCuTCV.js';
1
+ import { a as index$1 } from './index-faEirK8c.js';
2
+ import { E as Environment, a as addKeysToHeadersOverride } from './index-DnB-7V63.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.77.4',
24
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.77.5-alpha.1',
25
25
  };
26
26
  /**
27
27
  * createAPIConfiguration to create a custom Configuration
@@ -1,5 +1,5 @@
1
1
  import MessageValidator from 'sns-validator';
2
- import { E as Environment } from './index-DaUCuTCV.js';
2
+ import { E as Environment } from './index-DnB-7V63.js';
3
3
 
4
4
  const validator = new MessageValidator();
5
5
  const allowedTopicArnPrefix = {
@@ -1,5 +1,5 @@
1
- import { d as index$2, I as ImxApiClients } from './index-C-psCZRA.js';
2
- import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-DaUCuTCV.js';
1
+ import { d as index$2, I as ImxApiClients } from './index-faEirK8c.js';
2
+ import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-DnB-7V63.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.77.4' };
19
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.77.5-alpha.1' };
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.77.4',
60
+ sdkVersion: 'ts-immutable-sdk-1.77.5-alpha.1',
61
61
  baseConfig,
62
62
  });
63
63
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -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.77.4';
161
+ const SDK_VERSION = '1.77.5-alpha.1';
162
162
  const getFrameParentDomain = () => {
163
163
  if (isNode()) {
164
164
  return '';
@@ -14336,7 +14336,7 @@ class MultiRollupApiClients {
14336
14336
  }
14337
14337
 
14338
14338
  // eslint-disable-next-line @typescript-eslint/naming-convention
14339
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.77.4' };
14339
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.77.5-alpha.1' };
14340
14340
  const createConfig = ({ basePath, headers, }) => {
14341
14341
  if (!basePath.trim()) {
14342
14342
  throw Error('basePath can not be empty');
@@ -1,4 +1,4 @@
1
- import { t as track, E as Environment } from './index-DaUCuTCV.js';
1
+ import { t as track, E as Environment } from './index-DnB-7V63.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';