@imtbl/sdk 1.43.4 → 1.43.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 (36) hide show
  1. package/dist/blockchain_data-6853dff7.js +1 -0
  2. package/dist/blockchain_data.js +1 -1
  3. package/dist/browser/checkout/sdk.js +4 -4
  4. package/dist/{checkout-68675dd1.js → checkout-50df7416.js} +2 -2
  5. package/dist/{checkout.d-ae9ca847.d.ts → checkout.d-7613e722.d.ts} +5 -0
  6. package/dist/checkout.d.ts +1 -1
  7. package/dist/checkout.js +1 -1
  8. package/dist/{config-53a9a4ca.js → config-3c7525fc.js} +1 -1
  9. package/dist/config.js +1 -1
  10. package/dist/{index-3f40d7f6.js → index-00fb11d3.js} +1 -1
  11. package/dist/{index-e7002486.js → index-0376169d.js} +1 -1
  12. package/dist/index-1ceb146f.js +1 -0
  13. package/dist/{index-3951cdf0.js → index-37b5900e.js} +1 -1
  14. package/dist/index-be0f6f3e.js +1 -0
  15. package/dist/index-f4e896cd.js +1 -0
  16. package/dist/index.browser.js +4 -4
  17. package/dist/index.browser.js.map +1 -1
  18. package/dist/index.cjs +13 -8
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/{minting_backend-04aef147.js → minting_backend-21e0b5a2.js} +1 -1
  22. package/dist/minting_backend.js +1 -1
  23. package/dist/{orderbook-e71036df.js → orderbook-c34df051.js} +1 -1
  24. package/dist/orderbook.js +1 -1
  25. package/dist/{passport-0f45e532.js → passport-ca75ce96.js} +1 -1
  26. package/dist/passport.js +1 -1
  27. package/dist/webhook-d362950d.js +1 -0
  28. package/dist/webhook.js +1 -1
  29. package/dist/{x-a5b39578.js → x-e192efbe.js} +1 -1
  30. package/dist/x.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/blockchain_data-d989298c.js +0 -1
  33. package/dist/index-14aad537.js +0 -1
  34. package/dist/index-58a79c29.js +0 -1
  35. package/dist/index-96599707.js +0 -1
  36. package/dist/webhook-a16541bb.js +0 -1
@@ -2756,6 +2756,8 @@ declare class Checkout {
2756
2756
  /**
2757
2757
  * Determines the requirements for performing a buy.
2758
2758
  * @param {BuyParams} params - The parameters for the buy.
2759
+ * @deprecated Please use orderbook.fulfillOrder or orderbook.fulfillBulkOrders instead. The smartCheckout
2760
+ * method can still be used to ensure the transaction requirements are met before preparing the order fulfillment
2759
2761
  */
2760
2762
  buy(params: BuyParams): Promise<BuyResult>;
2761
2763
  /**
@@ -2763,11 +2765,14 @@ declare class Checkout {
2763
2765
  * @param {SellParams} params - The parameters for the sell.
2764
2766
  * Only currently actions the first order in the array until we support batch processing.
2765
2767
  * Only currently actions the first fee in the fees array of each order until we support multiple fees.
2768
+ * @deprecated Please use orderbook.prepareListing or orderbook.prepareBulkListing instead. The smartCheckout
2769
+ * method can still be used to ensure the transaction requirements are met before preparing the listing
2766
2770
  */
2767
2771
  sell(params: SellParams): Promise<SellResult>;
2768
2772
  /**
2769
2773
  * Cancels a sell.
2770
2774
  * @param {CancelParams} params - The parameters for the cancel.
2775
+ * @deprecated Please use orderbook.prepareOrderCancellations instead.
2771
2776
  */
2772
2777
  cancel(params: CancelParams): Promise<CancelResult>;
2773
2778
  /**
@@ -1,4 +1,4 @@
1
- export { A as AllowedNetworkConfig, q as AvailableRoutingOptions, B as BalanceDelta, ba as BlockExplorerService, bC as BridgeClaimWithdrawalFailed, bB as BridgeClaimWithdrawalSuccess, by as BridgeEventType, bA as BridgeFailed, r as BridgeFundingStep, bz as BridgeTransactionSent, c7 as BridgeWidgetConfiguration, c0 as BridgeWidgetParams, s as BuyOrder, u as BuyOverrides, t as BuyParams, w as BuyResult, x as BuyResultFailed, D as BuyResultFulfillmentsUnsettled, y as BuyResultInsufficientFunds, z as BuyResultSuccess, H as BuyToken, K as CancelOverrides, J as CancelParams, L as CancelResult, M as CancelResultFailed, Q as CancelResultFulfillmentsUnsettled, O as CancelResultGasless, P as CancelResultSuccess, b as ChainId, d as ChainName, e as ChainSlug, S as CheckConnectionParams, U as CheckConnectionResult, C as Checkout, Y as CheckoutBridgeConfiguration, b9 as CheckoutConfiguration, b8 as CheckoutErrorType, V as CheckoutModuleConfiguration, X as CheckoutOnRampConfiguration, f as CheckoutStatus, Z as CheckoutSwapConfiguration, bZ as CheckoutWidgetsConfig, bf as ConnectEventType, _ as ConnectParams, $ as ConnectResult, b_ as ConnectTargetLayer, c6 as ConnectWidgetConfiguration, b$ as ConnectWidgetParams, bh as ConnectionFailed, bg as ConnectionSuccess, a0 as CreateProviderParams, a1 as CreateProviderResult, a2 as DexConfig, E as EIP1193Provider, i as EIP6963ProviderDetail, h as EIP6963ProviderInfo, a3 as ERC20ItemRequirement, a4 as ERC721Balance, a5 as ERC721ItemRequirement, b7 as ErrorType, j as ExchangeType, a6 as FailedGaslessCancellation, a7 as Fee, a8 as FeePercentage, a9 as FeeToken, F as FeeType, aa as FiatRampParams, ab as FulfillmentTransaction, ac as FundingItem, ad as FundingRoute, ae as FundingStep, k as FundingStepType, af as GasAmount, ag as GasEstimateBridgeToL2Result, ah as GasEstimateParams, ai as GasEstimateSwapResult, aj as GasEstimateTokenConfig, G as GasEstimateType, ak as GasToken, l as GasTokenType, al as GetAllBalancesParams, am as GetAllBalancesResult, an as GetBalanceParams, ao as GetBalanceResult, ap as GetNetworkAllowListParams, aq as GetNetworkAllowListResult, ar as GetNetworkParams, at as GetTokenAllowListParams, au as GetTokenAllowListResult, as as GetTokenInfoParams, av as GetWalletAllowListParams, aw as GetWalletAllowListResult, I as IMMUTABLE_API_BASE_URL, bb as IMTBLWidgetEvents, bW as IWidgetsFactory, ax as ItemBalance, m as ItemType, be as LanguageChanged, ay as NativeItemRequirement, az as NetworkFilter, N as NetworkFilterTypes, aA as NetworkInfo, aB as NoRouteOptions, aC as NoRoutesFound, bK as OnRampEventType, bM as OnRampFailed, aD as OnRampFundingStep, aF as OnRampProviderFees, bL as OnRampSuccess, c3 as OnRampWidgetParams, ca as OnrampWidgetConfiguration, bU as OrchestrationEvent, bJ as OrchestrationEventData, bD as OrchestrationEventType, aE as OrderFee, aG as PendingGaslessCancellation, bV as ProviderEvent, bc as ProviderEventType, bd as ProviderUpdated, aH as RemoteConfiguration, bH as RequestBridgeEvent, bE as RequestConnectEvent, bI as RequestOnrampEvent, bG as RequestSwapEvent, bF as RequestWalletEvent, aI as RoutesFound, aJ as RoutingOutcome, R as RoutingOutcomeType, br as SaleEventType, bt as SaleFailed, c5 as SaleItem, bv as SalePaymentMethod, bw as SalePaymentToken, bx as SalePaymentTypes, bs as SaleSuccess, bu as SaleTransactionSuccess, cb as SaleWidgetConfiguration, c4 as SaleWidgetParams, aK as SellOrder, aL as SellParams, aM as SellResult, aN as SellResultFailed, aO as SellResultInsufficientFunds, aP as SellResultSuccess, aQ as SellToken, bY as SemanticVersion, aR as SendTransactionParams, aS as SendTransactionResult, aT as SmartCheckoutInsufficient, aU as SmartCheckoutParams, aV as SmartCheckoutResult, aW as SmartCheckoutRouter, aX as SmartCheckoutSufficient, aY as SuccessfulGaslessCancellation, bn as SwapEventType, bp as SwapFailed, aZ as SwapFundingStep, bq as SwapRejected, bo as SwapSuccess, c9 as SwapWidgetConfiguration, c2 as SwapWidgetParams, a_ as SwitchNetworkParams, a$ as SwitchNetworkResult, b0 as TokenAmountEstimate, b1 as TokenBalance, b2 as TokenFilter, T as TokenFilterTypes, b3 as TokenInfo, n as TransactionOrGasType, b4 as TransactionRequirement, cf as WalletConnectConfig, bj as WalletConnectManager, bi as WalletConnectProviderChanged, bm as WalletDisconnect, bk as WalletEventType, b5 as WalletFilter, W as WalletFilterTypes, b6 as WalletInfo, bl as WalletNetworkSwitch, o as WalletProviderName, p as WalletProviderRdns, c8 as WalletWidgetConfiguration, c1 as WalletWidgetParams, bX as Widget, cd as WidgetConfiguration, bP as WidgetConfigurations, bT as WidgetEvent, bS as WidgetEventData, bR as WidgetEventTypes, ce as WidgetLanguage, bQ as WidgetParameters, bO as WidgetProperties, cc as WidgetTheme, bN as WidgetType, a as getMetaMaskProviderDetail, g as getPassportProviderDetail, v as validateProvider } from './checkout.d-ae9ca847.js';
1
+ export { A as AllowedNetworkConfig, q as AvailableRoutingOptions, B as BalanceDelta, ba as BlockExplorerService, bC as BridgeClaimWithdrawalFailed, bB as BridgeClaimWithdrawalSuccess, by as BridgeEventType, bA as BridgeFailed, r as BridgeFundingStep, bz as BridgeTransactionSent, c7 as BridgeWidgetConfiguration, c0 as BridgeWidgetParams, s as BuyOrder, u as BuyOverrides, t as BuyParams, w as BuyResult, x as BuyResultFailed, D as BuyResultFulfillmentsUnsettled, y as BuyResultInsufficientFunds, z as BuyResultSuccess, H as BuyToken, K as CancelOverrides, J as CancelParams, L as CancelResult, M as CancelResultFailed, Q as CancelResultFulfillmentsUnsettled, O as CancelResultGasless, P as CancelResultSuccess, b as ChainId, d as ChainName, e as ChainSlug, S as CheckConnectionParams, U as CheckConnectionResult, C as Checkout, Y as CheckoutBridgeConfiguration, b9 as CheckoutConfiguration, b8 as CheckoutErrorType, V as CheckoutModuleConfiguration, X as CheckoutOnRampConfiguration, f as CheckoutStatus, Z as CheckoutSwapConfiguration, bZ as CheckoutWidgetsConfig, bf as ConnectEventType, _ as ConnectParams, $ as ConnectResult, b_ as ConnectTargetLayer, c6 as ConnectWidgetConfiguration, b$ as ConnectWidgetParams, bh as ConnectionFailed, bg as ConnectionSuccess, a0 as CreateProviderParams, a1 as CreateProviderResult, a2 as DexConfig, E as EIP1193Provider, i as EIP6963ProviderDetail, h as EIP6963ProviderInfo, a3 as ERC20ItemRequirement, a4 as ERC721Balance, a5 as ERC721ItemRequirement, b7 as ErrorType, j as ExchangeType, a6 as FailedGaslessCancellation, a7 as Fee, a8 as FeePercentage, a9 as FeeToken, F as FeeType, aa as FiatRampParams, ab as FulfillmentTransaction, ac as FundingItem, ad as FundingRoute, ae as FundingStep, k as FundingStepType, af as GasAmount, ag as GasEstimateBridgeToL2Result, ah as GasEstimateParams, ai as GasEstimateSwapResult, aj as GasEstimateTokenConfig, G as GasEstimateType, ak as GasToken, l as GasTokenType, al as GetAllBalancesParams, am as GetAllBalancesResult, an as GetBalanceParams, ao as GetBalanceResult, ap as GetNetworkAllowListParams, aq as GetNetworkAllowListResult, ar as GetNetworkParams, at as GetTokenAllowListParams, au as GetTokenAllowListResult, as as GetTokenInfoParams, av as GetWalletAllowListParams, aw as GetWalletAllowListResult, I as IMMUTABLE_API_BASE_URL, bb as IMTBLWidgetEvents, bW as IWidgetsFactory, ax as ItemBalance, m as ItemType, be as LanguageChanged, ay as NativeItemRequirement, az as NetworkFilter, N as NetworkFilterTypes, aA as NetworkInfo, aB as NoRouteOptions, aC as NoRoutesFound, bK as OnRampEventType, bM as OnRampFailed, aD as OnRampFundingStep, aF as OnRampProviderFees, bL as OnRampSuccess, c3 as OnRampWidgetParams, ca as OnrampWidgetConfiguration, bU as OrchestrationEvent, bJ as OrchestrationEventData, bD as OrchestrationEventType, aE as OrderFee, aG as PendingGaslessCancellation, bV as ProviderEvent, bc as ProviderEventType, bd as ProviderUpdated, aH as RemoteConfiguration, bH as RequestBridgeEvent, bE as RequestConnectEvent, bI as RequestOnrampEvent, bG as RequestSwapEvent, bF as RequestWalletEvent, aI as RoutesFound, aJ as RoutingOutcome, R as RoutingOutcomeType, br as SaleEventType, bt as SaleFailed, c5 as SaleItem, bv as SalePaymentMethod, bw as SalePaymentToken, bx as SalePaymentTypes, bs as SaleSuccess, bu as SaleTransactionSuccess, cb as SaleWidgetConfiguration, c4 as SaleWidgetParams, aK as SellOrder, aL as SellParams, aM as SellResult, aN as SellResultFailed, aO as SellResultInsufficientFunds, aP as SellResultSuccess, aQ as SellToken, bY as SemanticVersion, aR as SendTransactionParams, aS as SendTransactionResult, aT as SmartCheckoutInsufficient, aU as SmartCheckoutParams, aV as SmartCheckoutResult, aW as SmartCheckoutRouter, aX as SmartCheckoutSufficient, aY as SuccessfulGaslessCancellation, bn as SwapEventType, bp as SwapFailed, aZ as SwapFundingStep, bq as SwapRejected, bo as SwapSuccess, c9 as SwapWidgetConfiguration, c2 as SwapWidgetParams, a_ as SwitchNetworkParams, a$ as SwitchNetworkResult, b0 as TokenAmountEstimate, b1 as TokenBalance, b2 as TokenFilter, T as TokenFilterTypes, b3 as TokenInfo, n as TransactionOrGasType, b4 as TransactionRequirement, cf as WalletConnectConfig, bj as WalletConnectManager, bi as WalletConnectProviderChanged, bm as WalletDisconnect, bk as WalletEventType, b5 as WalletFilter, W as WalletFilterTypes, b6 as WalletInfo, bl as WalletNetworkSwitch, o as WalletProviderName, p as WalletProviderRdns, c8 as WalletWidgetConfiguration, c1 as WalletWidgetParams, bX as Widget, cd as WidgetConfiguration, bP as WidgetConfigurations, bT as WidgetEvent, bS as WidgetEventData, bR as WidgetEventTypes, ce as WidgetLanguage, bQ as WidgetParameters, bO as WidgetProperties, cc as WidgetTheme, bN as WidgetType, a as getMetaMaskProviderDetail, g as getPassportProviderDetail, v as validateProvider } from './checkout.d-7613e722.js';
2
2
  import './index.d-c4a4c17d.js';
3
3
  import './json-rpc-provider.d-5c038bd9.js';
4
4
  import './Passport.d-011d5035.js';
package/dist/checkout.js CHANGED
@@ -1 +1 @@
1
- export{B as BlockExplorerService,a as BridgeEventType,C as ChainId,b as ChainName,d as ChainSlug,e as Checkout,f as CheckoutConfiguration,g as CheckoutErrorType,h as CheckoutStatus,i as ConnectEventType,j as ConnectTargetLayer,E as ExchangeType,F as FeeType,k as FundingStepType,G as GasEstimateType,l as GasTokenType,I as IMMUTABLE_API_BASE_URL,m as IMTBLWidgetEvents,n as ItemType,N as NetworkFilterTypes,O as OnRampEventType,o as OrchestrationEventType,P as ProviderEventType,R as RoutingOutcomeType,S as SaleEventType,p as SalePaymentTypes,q as SwapEventType,T as TokenFilterTypes,r as TransactionOrGasType,W as WalletEventType,s as WalletFilterTypes,t as WalletProviderName,u as WalletProviderRdns,v as WidgetTheme,w as WidgetType,x as getMetaMaskProviderDetail,y as getPassportProviderDetail,z as validateProvider}from"./checkout-68675dd1.js";import"./index-14aad537.js";import"axios";import"lru-memorise";import"global-const";import"ethers";import"@ethersproject/providers";import"@metamask/detect-provider";import"@uniswap/sdk-core";import"assert";import"@uniswap/v3-sdk";import"@ethersproject/solidity";import"@uniswap/router-sdk";import"./index-e7002486.js";import"form-data";import"ethers-v6";import"merkletreejs";import"@opensea/seaport-js";import"./index-96599707.js";import"./index-3f40d7f6.js";
1
+ export{B as BlockExplorerService,a as BridgeEventType,C as ChainId,b as ChainName,d as ChainSlug,e as Checkout,f as CheckoutConfiguration,g as CheckoutErrorType,h as CheckoutStatus,i as ConnectEventType,j as ConnectTargetLayer,E as ExchangeType,F as FeeType,k as FundingStepType,G as GasEstimateType,l as GasTokenType,I as IMMUTABLE_API_BASE_URL,m as IMTBLWidgetEvents,n as ItemType,N as NetworkFilterTypes,O as OnRampEventType,o as OrchestrationEventType,P as ProviderEventType,R as RoutingOutcomeType,S as SaleEventType,p as SalePaymentTypes,q as SwapEventType,T as TokenFilterTypes,r as TransactionOrGasType,W as WalletEventType,s as WalletFilterTypes,t as WalletProviderName,u as WalletProviderRdns,v as WidgetTheme,w as WidgetType,x as getMetaMaskProviderDetail,y as getPassportProviderDetail,z as validateProvider}from"./checkout-50df7416.js";import"./index-1ceb146f.js";import"axios";import"lru-memorise";import"global-const";import"ethers";import"@ethersproject/providers";import"@metamask/detect-provider";import"@uniswap/sdk-core";import"assert";import"@uniswap/v3-sdk";import"@ethersproject/solidity";import"@uniswap/router-sdk";import"./index-0376169d.js";import"form-data";import"ethers-v6";import"merkletreejs";import"@opensea/seaport-js";import"./index-be0f6f3e.js";import"./index-00fb11d3.js";
@@ -1 +1 @@
1
- import{E as e,I as r,K as a,a as t}from"./index-14aad537.js";var n=Object.freeze({__proto__:null,get Environment(){return e},ImmutableConfiguration:r,get KeyHeaders(){return a},addKeysToHeadersOverride:t});export{n as c};
1
+ import{E as e,I as r,K as a,a as t}from"./index-1ceb146f.js";var n=Object.freeze({__proto__:null,get Environment(){return e},ImmutableConfiguration:r,get KeyHeaders(){return a},addKeysToHeadersOverride:t});export{n as c};
package/dist/config.js CHANGED
@@ -1 +1 @@
1
- export{E as Environment,I as ImmutableConfiguration,K as KeyHeaders,a as addKeysToHeadersOverride}from"./index-14aad537.js";import"axios";import"lru-memorise";import"global-const";
1
+ export{E as Environment,I as ImmutableConfiguration,K as KeyHeaders,a as addKeysToHeadersOverride}from"./index-1ceb146f.js";import"axios";import"lru-memorise";import"global-const";