@0xsequence/marketplace-sdk 2.0.0 → 2.0.2

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 (136) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/BellIcon.js +1 -1
  3. package/dist/Card.js +1 -1
  4. package/dist/ShopCard.d.ts +4 -4
  5. package/dist/builder-api.js +1 -1
  6. package/dist/collectible.js +2 -2
  7. package/dist/collectible.js.map +1 -1
  8. package/dist/collection.js +1 -1
  9. package/dist/create-config.d.ts +589 -193
  10. package/dist/create-config.js +1 -1
  11. package/dist/currency.js +3 -3
  12. package/dist/currency.js.map +1 -1
  13. package/dist/dist.js +167 -148
  14. package/dist/dist.js.map +1 -1
  15. package/dist/expirationDateSelect.js +1 -1
  16. package/dist/filter-state.d.ts +1 -1
  17. package/dist/filters.d.ts +1 -1
  18. package/dist/index.d.ts +3 -3
  19. package/dist/index.js +3 -3
  20. package/dist/index10.d.ts +1 -1
  21. package/dist/index11.d.ts +17 -17
  22. package/dist/index12.d.ts +21 -21
  23. package/dist/index14.d.ts +3 -3
  24. package/dist/index15.d.ts +3 -3
  25. package/dist/index16.d.ts +2 -2
  26. package/dist/index17.d.ts +75 -75
  27. package/dist/index18.d.ts +40 -40
  28. package/dist/index19.d.ts +5 -5
  29. package/dist/index2.d.ts +4 -1
  30. package/dist/index21.d.ts +15 -15
  31. package/dist/index22.d.ts +8 -65
  32. package/dist/index23.d.ts +21 -13
  33. package/dist/index26.d.ts +4 -4
  34. package/dist/index27.d.ts +4 -4
  35. package/dist/index28.d.ts +10 -10
  36. package/dist/index3.d.ts +2 -2194
  37. package/dist/index31.d.ts +5 -5
  38. package/dist/index33.d.ts +3 -3
  39. package/dist/index34.d.ts +1 -1
  40. package/dist/index35.d.ts +1 -1
  41. package/dist/index36.d.ts +5 -5
  42. package/dist/index37.d.ts +8 -6
  43. package/dist/index38.d.ts +5 -5
  44. package/dist/index39.d.ts +1 -1
  45. package/dist/index4.d.ts +1356 -1356
  46. package/dist/index40.d.ts +2 -2
  47. package/dist/index8.d.ts +11 -3
  48. package/dist/index9.d.ts +2811 -3
  49. package/dist/inventory.d.ts +4 -4
  50. package/dist/inventory.js +3 -3
  51. package/dist/inventory.js.map +1 -1
  52. package/dist/marketplace2.js +3 -3
  53. package/dist/marketplace2.js.map +1 -1
  54. package/dist/metadata.d.ts +41 -41
  55. package/dist/primary-sale-checkout-options.d.ts +4 -4
  56. package/dist/quantityInput.js +1 -1
  57. package/dist/ranges.d.ts +12 -12
  58. package/dist/react/_internal/index.d.ts +1 -1
  59. package/dist/react/_internal/index.js +1 -1
  60. package/dist/react/index.d.ts +1 -1
  61. package/dist/react/queries/collectible/index.d.ts +1 -1
  62. package/dist/react/queries/index.d.ts +1 -1
  63. package/dist/react/ssr/index.d.ts +3 -3
  64. package/dist/react/ssr/index.js +3 -3
  65. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
  66. package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +1 -1
  67. package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +1 -1
  68. package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +2 -2
  69. package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +6 -6
  70. package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +2 -2
  71. package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +2 -2
  72. package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +3 -3
  73. package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +2 -2
  74. package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +3 -5
  75. package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +2 -2
  76. package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +2 -2
  77. package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +2 -2
  78. package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +2 -2
  79. package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +3 -3
  80. package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +3 -3
  81. package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +3 -3
  82. package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +3 -3
  83. package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +3 -3
  84. package/dist/react.js +2279 -1919
  85. package/dist/react.js.map +1 -1
  86. package/dist/styles/index.css +15 -0
  87. package/dist/token-balances.d.ts +28 -28
  88. package/dist/transaction-footer.js +1 -1
  89. package/dist/types/index.d.ts +1 -1
  90. package/dist/types/index.js +1 -1
  91. package/dist/types.d.ts +1 -1
  92. package/dist/url-state.js +1 -1
  93. package/dist/utils/index.d.ts +2 -2
  94. package/dist/utils/index.js +2 -2
  95. package/dist/utils.js +31 -4
  96. package/dist/utils.js.map +1 -1
  97. package/package.json +7 -5
  98. package/src/react/hooks/config/useMarketplaceConfig.test.tsx +1 -0
  99. package/src/react/hooks/currency/list.test.tsx +23 -2
  100. package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +4 -1
  101. package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +55 -15
  102. package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
  103. package/src/react/queries/collectible/market-list.ts +5 -3
  104. package/src/react/queries/currency/list.ts +8 -5
  105. package/src/react/queries/inventory/inventory.ts +5 -3
  106. package/src/react/queries/marketplace/filters.ts +5 -3
  107. package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +74 -37
  108. package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +74 -11
  109. package/src/react/ui/modals/BuyModal/components/Modal.tsx +62 -1
  110. package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +13 -26
  111. package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +5 -5
  112. package/src/react/ui/modals/BuyModal/internal/__tests__/buildTrailsMarketBuyActions.test.ts +213 -0
  113. package/src/react/ui/modals/BuyModal/internal/buildTrailsMarketBuyActions.ts +259 -0
  114. package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +79 -10
  115. package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +44 -17
  116. package/src/react/ui/modals/CreateListingModal/internal/store.ts +5 -2
  117. package/src/react/ui/modals/MakeOfferModal/internal/context.ts +21 -1
  118. package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +16 -1
  119. package/src/react/ui/modals/MakeOfferModal/internal/store.ts +5 -2
  120. package/src/react/ui/modals/SellModal/internal/store.ts +5 -2
  121. package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +8 -6
  122. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
  123. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +13 -19
  124. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +5 -2
  125. package/src/react/ui/modals/_internal/helpers/currency.test.ts +27 -0
  126. package/src/react/ui/modals/_internal/helpers/currency.ts +4 -2
  127. package/src/styles/styles.ts +18 -0
  128. package/src/utils/__tests__/getMarketplaceDetails.test.ts +10 -0
  129. package/src/utils/__tests__/getWebRPCErrorMessage.test.ts +28 -0
  130. package/src/utils/__tests__/marketplaceNormalization.test.ts +38 -0
  131. package/src/utils/collection.ts +19 -0
  132. package/src/utils/getConduitAddressForOrderbook.ts +2 -10
  133. package/src/utils/getMarketplaceDetails.ts +11 -4
  134. package/src/utils/getWebRPCErrorMessage.ts +21 -0
  135. package/src/utils/index.ts +1 -0
  136. package/src/utils/normalizeMarketplace.ts +31 -0
@@ -1,5 +1,5 @@
1
1
  import { n as SEQUENCE_MARKET_V1_ADDRESS, r as SEQUENCE_MARKET_V2_ADDRESS, t as DEFAULT_MARKETPLACE_FEE_PERCENTAGE } from "../../consts.js";
2
- import { Bt as AdditionalFee, Gt as CollectiblesFilter, Ht as CheckoutOptions, J as MarketplaceWallet, K as MarketplaceCollection, Kt as Collection, Mt as TokenBalance$1, Q as OrderData, Sn as TransactionCrypto, Tn as FilterCondition, U as MarketCollection, W as MarketPage, Wt as Collectible, Z as Order, _n as PropertyType, bn as StepType, c as CreateReq, cn as OrderSide, et as ShopCollection, fn as Page, ft as Filter, gn as PropertyFilter, i as CollectibleOrder, in as MarketplaceKind, it as Step, l as Currency, ln as OrderStatus, mn as PriceFilter, n as CheckoutOptionsItem, nt as Signature, pn as PostRequest, qt as CollectionStatus, s as ContractType, sn as OrderFilter, tt as ShopPage, un as OrderbookKind, ut as ContractInfo$1, vn as SortBy, wn as WalletKind, yn as SortOrder, yt as TokenMetadata$1 } from "../../index2.js";
2
+ import { $ as OrderData, Cn as TransactionCrypto, En as FilterCondition, G as MarketPage, Gt as Collectible, Jt as CollectionStatus, Kt as CollectiblesFilter, Nt as TokenBalance$1, Q as Order, Tn as WalletKind, Ut as CheckoutOptions, Vt as AdditionalFee, W as MarketCollection, Y as MarketplaceWallet, _n as PropertyFilter, a as CollectibleOrder, an as MarketplaceKind, at as Step, bn as SortOrder, bt as TokenMetadata$1, c as ContractType, cn as OrderFilter, dn as OrderbookKind, dt as ContractInfo$1, hn as PriceFilter, l as CreateReq, ln as OrderSide, mn as PostRequest, nt as ShopPage, pn as Page, pt as Filter, q as MarketplaceCollection, qt as Collection, r as CheckoutOptionsItem, rt as Signature, tt as ShopCollection, u as Currency, un as OrderStatus, vn as PropertyType, xn as StepType, yn as SortBy } from "../../index2.js";
3
3
  import { Dt as fetchMarketplaceConfig, Ot as marketplaceConfigOptions, _ as Price, a as CheckoutMode, c as SdkConfig, d as CollectionFilterSettings, f as EcosystemWalletSettings, g as MetadataFilterRule, h as MarketplaceWalletWaasSettings, i as ApiConfig, kt as BuilderAPI, l as CardType, m as MarketplaceWalletOptions, o as Env, p as MarketplaceConfig, r as TransactionType, s as MarketplaceSdkContext, u as CollectibleCardAction, v as isMarketCollection, y as isShopCollection } from "../../create-config.js";
4
4
  import "../../xstate-store.cjs.js";
5
5
  import "../../index3.js";
@@ -7,7 +7,7 @@ import { n as getMarketplaceABI, r as getSaleContractABI, t as MAIN_MODULE_ABI }
7
7
  import { n as SequenceMarketplaceV1_ABI, r as EIP2981_ABI, t as SequenceMarketplaceV2_ABI } from "../../index5.js";
8
8
  import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "../../index6.js";
9
9
  import { i as ERC20_ABI, n as ERC1155_ABI, r as ERC721_ABI, t as SEQUENCE_1155_ITEMS_ABI } from "../../index7.js";
10
- import { a as formatPriceWithFee, c as getNetwork, d as cn, f as compareAddress, i as formatPrice, l as getPresentableChainName, m as truncateMiddle, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, p as truncateEnd, r as calculateTotalOfferCost, s as networkToWagmiChain, t as calculateEarningsAfterFees, u as getMarketplaceDetails } from "../../index8.js";
10
+ import { a as formatPriceWithFee, c as getNetwork, d as findMarketCollection, f as cn, h as truncateMiddle, i as formatPrice, l as getPresentableChainName, m as truncateEnd, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, p as compareAddress, r as calculateTotalOfferCost, s as networkToWagmiChain, t as calculateEarningsAfterFees, u as getMarketplaceDetails } from "../../index8.js";
11
11
  import "../../index9.js";
12
12
  import { t as createSSRClient } from "../../index13.js";
13
- export { AdditionalFee, ApiConfig, BuilderAPI, CardType, CheckoutMode, CheckoutOptions, CheckoutOptionsItem, Collectible, CollectibleCardAction, CollectibleOrder, CollectiblesFilter, Collection, CollectionFilterSettings, CollectionStatus, ContractInfo$1 as ContractInfo, ContractType, CreateReq, Currency, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, EcosystemWalletSettings, Env, Filter, FilterCondition, TokenBalance$1 as IndexerTokenBalance, MAIN_MODULE_ABI, MarketCollection, MarketPage, MarketplaceCollection, MarketplaceConfig, MarketplaceKind, MarketplaceSdkContext, MarketplaceWallet, MarketplaceWalletOptions, MarketplaceWalletWaasSettings, MetadataFilterRule, Order, OrderData, OrderFilter, OrderSide, OrderStatus, OrderbookKind, Page, PostRequest, Price, PriceFilter, PropertyFilter, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SdkConfig, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, ShopCollection, ShopPage, Signature, SortBy, SortOrder, Step, StepType, TokenMetadata$1 as TokenMetadata, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, fetchMarketplaceConfig, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, marketplaceConfigOptions, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
13
+ export { AdditionalFee, ApiConfig, BuilderAPI, CardType, CheckoutMode, CheckoutOptions, CheckoutOptionsItem, Collectible, CollectibleCardAction, CollectibleOrder, CollectiblesFilter, Collection, CollectionFilterSettings, CollectionStatus, ContractInfo$1 as ContractInfo, ContractType, CreateReq, Currency, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, EcosystemWalletSettings, Env, Filter, FilterCondition, TokenBalance$1 as IndexerTokenBalance, MAIN_MODULE_ABI, MarketCollection, MarketPage, MarketplaceCollection, MarketplaceConfig, MarketplaceKind, MarketplaceSdkContext, MarketplaceWallet, MarketplaceWalletOptions, MarketplaceWalletWaasSettings, MetadataFilterRule, Order, OrderData, OrderFilter, OrderSide, OrderStatus, OrderbookKind, Page, PostRequest, Price, PriceFilter, PropertyFilter, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SdkConfig, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, ShopCollection, ShopPage, Signature, SortBy, SortOrder, Step, StepType, TokenMetadata$1 as TokenMetadata, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, fetchMarketplaceConfig, findMarketCollection, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, marketplaceConfigOptions, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
@@ -1,5 +1,5 @@
1
1
  import { n as SEQUENCE_MARKET_V1_ADDRESS, r as SEQUENCE_MARKET_V2_ADDRESS, t as DEFAULT_MARKETPLACE_FEE_PERCENTAGE } from "../../consts.js";
2
- import { C as FilterCondition, S as WalletKind, _ as PropertyType, b as TransactionCrypto, c as CollectionStatus, d as MarketplaceKind, g as OrderbookKind, h as OrderStatus, m as OrderSide, t as ContractType, v as SortOrder, y as StepType } from "../../dist.js";
2
+ import { S as TransactionCrypto, T as FilterCondition, _ as OrderStatus, b as SortOrder, g as OrderSide, p as MarketplaceKind, t as ContractType, u as CollectionStatus, v as OrderbookKind, w as WalletKind, x as StepType, y as PropertyType } from "../../dist.js";
3
3
  import { t as BuilderAPI } from "../../builder-api.js";
4
4
  import { t as networkToWagmiChain } from "../../networkconfigToWagmiChain.js";
5
5
  import { i as TransactionType, n as isMarketCollection, r as isShopCollection, t as CollectibleCardAction } from "../../types.js";
@@ -7,8 +7,8 @@ import { n as SequenceMarketplaceV1_ABI, r as EIP2981_ABI, t as SequenceMarketpl
7
7
  import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "../../primary-sale.js";
8
8
  import { n as getMarketplaceABI, r as getSaleContractABI, t as MAIN_MODULE_ABI } from "../../abi.js";
9
9
  import { i as ERC20_ABI, n as ERC1155_ABI, r as ERC721_ABI, t as SEQUENCE_1155_ITEMS_ABI } from "../../token.js";
10
- import { a as formatPriceWithFee, c as cn, d as truncateMiddle, i as formatPrice, l as compareAddress, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, r as calculateTotalOfferCost, s as getMarketplaceDetails, t as calculateEarningsAfterFees, u as truncateEnd } from "../../utils.js";
10
+ import { a as formatPriceWithFee, d as findMarketCollection, f as cn, h as truncateMiddle, i as formatPrice, m as truncateEnd, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, p as compareAddress, r as calculateTotalOfferCost, s as getMarketplaceDetails, t as calculateEarningsAfterFees } from "../../utils.js";
11
11
  import { n as getPresentableChainName, t as getNetwork } from "../../network.js";
12
12
  import { t as createSSRClient } from "../../ssr.js";
13
13
 
14
- export { BuilderAPI, CollectibleCardAction, CollectionStatus, ContractType, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, FilterCondition, MAIN_MODULE_ABI, MarketplaceKind, OrderSide, OrderStatus, OrderbookKind, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, SortOrder, StepType, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
14
+ export { BuilderAPI, CollectibleCardAction, CollectionStatus, ContractType, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, FilterCondition, MAIN_MODULE_ABI, MarketplaceKind, OrderSide, OrderStatus, OrderbookKind, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, SortOrder, StepType, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createSSRClient, findMarketCollection, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, isMarketCollection, isShopCollection, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
@@ -1,4 +1,4 @@
1
- import { xn as TokenMetadata } from "../../../../index2.js";
1
+ import { Sn as TokenMetadata } from "../../../../index2.js";
2
2
  import "../../../../create-config.js";
3
3
  import "../../../../xstate-store.cjs.js";
4
4
  import "../../../../index3.js";
@@ -1,4 +1,4 @@
1
- import { Ft as Address$1, s as ContractType } from "../../../../../../index2.js";
1
+ import { It as Address$1, c as ContractType } from "../../../../../../index2.js";
2
2
  import * as viem13 from "viem";
3
3
  import * as _tanstack_react_query23 from "@tanstack/react-query";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Ft as Address$1 } from "../../../../../../index2.js";
1
+ import { It as Address$1 } from "../../../../../../index2.js";
2
2
  import * as viem0 from "viem";
3
3
  import * as _tanstack_react_query0 from "@tanstack/react-query";
4
4
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime3 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/react/ui/modals/_internal/components/alertMessage/index.d.ts
4
4
  type AlertMessageProps = {
@@ -8,7 +8,7 @@ type AlertMessageProps = {
8
8
  declare function AlertMessage({
9
9
  message,
10
10
  type
11
- }: AlertMessageProps): react_jsx_runtime3.JSX.Element;
11
+ }: AlertMessageProps): react_jsx_runtime2.JSX.Element;
12
12
  //#endregion
13
13
  export { AlertMessage as default };
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -5,7 +5,7 @@ import "../../../../../../index3.js";
5
5
  import { t as Button } from "../../../../../../index9.js";
6
6
  import * as react14 from "react";
7
7
  import React, { Component, ComponentProps, ErrorInfo, ReactNode } from "react";
8
- import * as react_jsx_runtime23 from "react/jsx-runtime";
8
+ import * as react_jsx_runtime22 from "react/jsx-runtime";
9
9
  import { UseQueryResult } from "@tanstack/react-query";
10
10
 
11
11
  //#region src/react/ui/modals/_internal/components/baseModal/BaseModal.d.ts
@@ -33,7 +33,7 @@ declare const BaseModal: ({
33
33
  children,
34
34
  disableAnimation,
35
35
  transactionType
36
- }: BaseModalProps) => react_jsx_runtime23.JSX.Element;
36
+ }: BaseModalProps) => react_jsx_runtime22.JSX.Element;
37
37
  //#endregion
38
38
  //#region src/react/ui/modals/_internal/components/baseModal/errors/errorActionType.d.ts
39
39
  type ErrorAction = {
@@ -79,7 +79,7 @@ declare function ActionModal<T extends Record<string, UseQueryResult>>({
79
79
  onErrorAction,
80
80
  errorComponent,
81
81
  ...baseProps
82
- }: ActionModalProps<T>): react_jsx_runtime23.JSX.Element;
82
+ }: ActionModalProps<T>): react_jsx_runtime22.JSX.Element;
83
83
  //#endregion
84
84
  //#region src/react/ui/modals/_internal/components/baseModal/ErrorBoundary.d.ts
85
85
  interface ErrorBoundaryProps {
@@ -99,7 +99,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryS
99
99
  resetErrorBoundary: () => void;
100
100
  static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
101
101
  componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
102
- render(): string | number | bigint | boolean | react_jsx_runtime23.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react14.ReactPortal | react14.ReactElement<unknown, string | react14.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
102
+ render(): string | number | bigint | boolean | react_jsx_runtime22.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react14.ReactPortal | react14.ReactElement<unknown, string | react14.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
103
103
  }
104
104
  //#endregion
105
105
  //#region src/react/ui/modals/_internal/components/baseModal/ErrorModal.d.ts
@@ -126,7 +126,7 @@ declare const ErrorModal: ({
126
126
  message,
127
127
  onRetry,
128
128
  onErrorAction
129
- }: ErrorModalProps) => react_jsx_runtime23.JSX.Element;
129
+ }: ErrorModalProps) => react_jsx_runtime22.JSX.Element;
130
130
  //#endregion
131
131
  //#region src/react/ui/modals/_internal/components/baseModal/LoadingModal.d.ts
132
132
  interface LoadingModalProps extends Pick<BaseModalProps, 'onClose' | 'title' | 'chainId' | 'disableAnimation'> {
@@ -138,7 +138,7 @@ declare const LoadingModal: ({
138
138
  chainId,
139
139
  disableAnimation,
140
140
  message
141
- }: LoadingModalProps) => react_jsx_runtime23.JSX.Element;
141
+ }: LoadingModalProps) => react_jsx_runtime22.JSX.Element;
142
142
  //#endregion
143
143
  export { ActionModal, type ActionModalProps, BaseModal, type BaseModalProps, type CtaAction, type ErrorAction, ErrorBoundary, ErrorModal, LoadingModal };
144
144
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React$1, { CSSProperties } from "react";
2
- import * as react_jsx_runtime4 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
3
3
 
4
4
  //#region ../node_modules/.pnpm/react-day-picker@9.13.0_react@19.2.3/node_modules/react-day-picker/dist/esm/types/props.d.ts
5
5
 
@@ -64,7 +64,7 @@ type CalendarProps = React.PropsWithChildren<PropsSingle> & {
64
64
  };
65
65
  declare function Calendar({
66
66
  ...props
67
- }: CalendarProps): react_jsx_runtime4.JSX.Element;
67
+ }: CalendarProps): react_jsx_runtime3.JSX.Element;
68
68
  declare namespace Calendar {
69
69
  var displayName: string;
70
70
  }
@@ -2,14 +2,14 @@ import "../../../../../../index2.js";
2
2
  import { _ as Price } from "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime6 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/react/ui/modals/_internal/components/currencyImage/index.d.ts
8
8
  declare function CurrencyImage({
9
9
  price
10
10
  }: {
11
11
  price: Price | undefined;
12
- }): react_jsx_runtime6.JSX.Element;
12
+ }): react_jsx_runtime4.JSX.Element;
13
13
  //#endregion
14
14
  export { CurrencyImage as default };
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { Ft as Address$1, l as Currency, un as OrderbookKind } from "../../../../../../index2.js";
1
+ import { It as Address$1, dn as OrderbookKind, u as Currency } from "../../../../../../index2.js";
2
2
  import "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime7 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts
8
8
  type CurrencyOptionsSelectProps = {
@@ -24,7 +24,7 @@ declare function CurrencyOptionsSelect({
24
24
  includeNativeCurrency,
25
25
  orderbookKind,
26
26
  modalType
27
- }: CurrencyOptionsSelectProps): react_jsx_runtime7.JSX.Element;
27
+ }: CurrencyOptionsSelectProps): react_jsx_runtime6.JSX.Element;
28
28
  //#endregion
29
29
  export { CurrencyOptionsSelect as default };
30
30
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@ import "../../../../../../index2.js";
2
2
  import { _ as Price } from "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime9 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
6
6
  import { Hex } from "viem";
7
7
 
8
8
  //#region src/react/ui/modals/_internal/components/floorPriceText/index.d.ts
@@ -18,7 +18,7 @@ declare function FloorPriceText({
18
18
  tokenId: bigint;
19
19
  price: Price;
20
20
  onBuyNow?: () => void;
21
- }): react_jsx_runtime9.JSX.Element | null;
21
+ }): react_jsx_runtime8.JSX.Element | null;
22
22
  //#endregion
23
23
  export { FloorPriceText as default };
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { Ft as Address$1, l as Currency, un as OrderbookKind } from "../../../../../../index2.js";
1
+ import { It as Address$1, dn as OrderbookKind, u as Currency } from "../../../../../../index2.js";
2
2
  import { _ as Price } from "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime11 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/react/ui/modals/_internal/components/priceInput/index.d.ts
8
8
  type PriceInputProps = {
@@ -19,7 +19,6 @@ type PriceInputProps = {
19
19
  };
20
20
  disabled?: boolean;
21
21
  orderbookKind?: OrderbookKind;
22
- setOpenseaLowestPriceCriteriaMet?: (state: boolean) => void;
23
22
  modalType?: 'listing' | 'offer';
24
23
  feeData?: {
25
24
  royaltyPercentage?: number;
@@ -36,10 +35,9 @@ declare function PriceInput({
36
35
  includeNativeCurrency,
37
36
  disabled,
38
37
  orderbookKind,
39
- setOpenseaLowestPriceCriteriaMet,
40
38
  modalType,
41
39
  feeData
42
- }: PriceInputProps): react_jsx_runtime11.JSX.Element;
40
+ }: PriceInputProps): react_jsx_runtime9.JSX.Element;
43
41
  //#endregion
44
42
  export { PriceInput as default };
45
43
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime10 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/react/ui/modals/_internal/components/quantityInput/index.d.ts
4
4
  type QuantityInputProps = {
@@ -18,7 +18,7 @@ declare function QuantityInput({
18
18
  maxQuantity,
19
19
  className,
20
20
  disabled
21
- }: QuantityInputProps): react_jsx_runtime10.JSX.Element;
21
+ }: QuantityInputProps): react_jsx_runtime17.JSX.Element;
22
22
  //#endregion
23
23
  export { QuantityInput as default };
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime12 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts
4
4
  type SelectWaasFeeOptionsProps = {
@@ -12,7 +12,7 @@ declare const SelectWaasFeeOptions: ({
12
12
  onCancel,
13
13
  titleOnConfirm,
14
14
  className
15
- }: SelectWaasFeeOptionsProps) => react_jsx_runtime12.JSX.Element | null;
15
+ }: SelectWaasFeeOptionsProps) => react_jsx_runtime11.JSX.Element | null;
16
16
  //#endregion
17
17
  export { SelectWaasFeeOptions as default };
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime14 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts
4
4
  type ShowSwitchChainModalArgs = {
@@ -8,7 +8,7 @@ declare const useSwitchChainErrorModal: () => {
8
8
  show: (args: ShowSwitchChainModalArgs) => void;
9
9
  close: () => void;
10
10
  };
11
- declare const SwitchChainErrorModal: () => react_jsx_runtime14.JSX.Element | null;
11
+ declare const SwitchChainErrorModal: () => react_jsx_runtime10.JSX.Element | null;
12
12
  //#endregion
13
13
  export { ShowSwitchChainModalArgs, SwitchChainErrorModal as default, useSwitchChainErrorModal };
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime13 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/react/ui/modals/_internal/components/timeAgo/index.d.ts
4
4
  type TimeAgoProps = {
@@ -6,7 +6,7 @@ type TimeAgoProps = {
6
6
  };
7
7
  declare function TimeAgo({
8
8
  date
9
- }: TimeAgoProps): react_jsx_runtime13.JSX.Element;
9
+ }: TimeAgoProps): react_jsx_runtime12.JSX.Element;
10
10
  //#endregion
11
11
  export { TimeAgo as default };
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Ft as Address$1 } from "../../../../../../index2.js";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import { It as Address$1 } from "../../../../../../index2.js";
2
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/react/ui/modals/_internal/components/tokenPreview/index.d.ts
5
5
  type TokenPreviewProps = {
@@ -13,7 +13,7 @@ declare function TokenPreview({
13
13
  collectionAddress,
14
14
  tokenId,
15
15
  chainId
16
- }: TokenPreviewProps): react_jsx_runtime15.JSX.Element;
16
+ }: TokenPreviewProps): react_jsx_runtime13.JSX.Element;
17
17
  //#endregion
18
18
  export { TokenPreview as default };
19
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime16 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
2
2
  import { Hex } from "viem";
3
3
 
4
4
  //#region src/react/ui/modals/_internal/components/transaction-footer/index.d.ts
@@ -19,8 +19,8 @@ declare function TransactionFooter({
19
19
  isFailed,
20
20
  isTimeout,
21
21
  chainId
22
- }: TransactionFooterProps): react_jsx_runtime16.JSX.Element;
23
- declare const PositiveCircle: () => react_jsx_runtime16.JSX.Element;
22
+ }: TransactionFooterProps): react_jsx_runtime14.JSX.Element;
23
+ declare const PositiveCircle: () => react_jsx_runtime14.JSX.Element;
24
24
  //#endregion
25
25
  export { PositiveCircle, TransactionFooter as default };
26
26
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { Ft as Address$1 } from "../../../../../../index2.js";
1
+ import { It as Address$1 } from "../../../../../../index2.js";
2
2
  import { _ as Price } from "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime18 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime16 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/react/ui/modals/_internal/components/transactionDetails/index.d.ts
8
8
  type TransactionDetailsProps = {
@@ -22,7 +22,7 @@ declare function TransactionDetails({
22
22
  price,
23
23
  showPlaceholderPrice,
24
24
  currencyImageUrl
25
- }: TransactionDetailsProps): react_jsx_runtime18.JSX.Element;
25
+ }: TransactionDetailsProps): react_jsx_runtime16.JSX.Element;
26
26
  //#endregion
27
27
  export { TransactionDetails as default };
28
28
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { Ft as Address$1, yt as TokenMetadata$1 } from "../../../../../../index2.js";
1
+ import { It as Address$1, bt as TokenMetadata$1 } from "../../../../../../index2.js";
2
2
  import { _ as Price } from "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime20 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/react/ui/modals/_internal/components/transactionPreview/index.d.ts
8
8
  type TransactionPreviewProps = {
@@ -30,7 +30,7 @@ declare const TransactionPreview: ({
30
30
  isConfirmed,
31
31
  isFailed,
32
32
  isTimeout
33
- }: TransactionPreviewProps) => react_jsx_runtime20.JSX.Element;
33
+ }: TransactionPreviewProps) => react_jsx_runtime18.JSX.Element;
34
34
  //#endregion
35
35
  export { TransactionPreview as default };
36
36
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { Ft as Address$1 } from "../../../../../../index2.js";
1
+ import { It as Address$1 } from "../../../../../../index2.js";
2
2
  import { J as TransactionType, _ as Price } from "../../../../../../create-config.js";
3
3
  import "../../../../../../xstate-store.cjs.js";
4
4
  import "../../../../../../index3.js";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime20 from "react/jsx-runtime";
6
6
  import { Hex } from "viem";
7
7
  import { QueryKey } from "@tanstack/react-query";
8
8
 
@@ -21,7 +21,7 @@ declare const useTransactionStatusModal: () => {
21
21
  show: (args: ShowTransactionStatusModalArgs) => void;
22
22
  close: () => void;
23
23
  };
24
- declare const TransactionStatusModal: () => react_jsx_runtime0.JSX.Element | null;
24
+ declare const TransactionStatusModal: () => react_jsx_runtime20.JSX.Element | null;
25
25
  //#endregion
26
26
  export { ShowTransactionStatusModalArgs, TransactionStatusModal as default, useTransactionStatusModal };
27
27
  //# sourceMappingURL=index.d.ts.map