@0xsequence/marketplace-sdk 1.1.1 → 1.2.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.
- package/CHANGELOG.md +54 -3
- package/dist/{BellIcon-ByhygxBO.js → BellIcon.js} +4 -4
- package/dist/BellIcon.js.map +1 -0
- package/dist/{CartIcon-Bt3rQYGk.js → CartIcon.js} +7 -7
- package/dist/CartIcon.js.map +1 -0
- package/dist/CollectibleCard.d.ts +8 -0
- package/dist/{_internal-DkS2VUn5.js → _internal.js} +2 -2
- package/dist/_internal.js.map +1 -0
- package/dist/{abi-fa-o9gH3.js → abi.js} +2 -2
- package/dist/abi.js.map +1 -0
- package/dist/{alien_swap-DoY6XfMA.js → alien_swap.js} +1 -1
- package/dist/alien_swap.js.map +1 -0
- package/dist/{api-BoO0V5aJ.js → api.js} +13 -64
- package/dist/api.js.map +1 -0
- package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz.js} +1 -1
- package/dist/aqua-xyz.js.map +1 -0
- package/dist/{aura-DGx2zwvF.js → aura.js} +1 -1
- package/dist/aura.js.map +1 -0
- package/dist/{blur-D8GKrRrq.js → blur.js} +1 -1
- package/dist/blur.js.map +1 -0
- package/dist/{builder-api-BFuZNOaN.js → builder-api.js} +3 -3
- package/dist/builder-api.js.map +1 -0
- package/dist/{builder.gen-B9wR2nvF.js → builder.gen.js} +3 -6
- package/dist/builder.gen.js.map +1 -0
- package/dist/{coinbase-DOry4PXY.js → coinbase.js} +1 -1
- package/dist/coinbase.js.map +1 -0
- package/dist/{collectibles-C_H8jMGH.js → collectibles.js} +9 -48
- package/dist/collectibles.js.map +1 -0
- package/dist/{collections-CKummc-R.js → collections.js} +79 -8
- package/dist/collections.js.map +1 -0
- package/dist/{components-CosnX7F9.js → components.js} +12 -14
- package/dist/components.js.map +1 -0
- package/dist/{contracts-BP_0vX48.js → contracts.js} +4 -4
- package/dist/contracts.js.map +1 -0
- package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config.d.ts} +47 -60
- package/dist/{create-config-CIfejoCk.js → create-config.js} +10 -13
- package/dist/create-config.js.map +1 -0
- package/dist/{element-ciybd_VF.js → element.js} +1 -1
- package/dist/element.js.map +1 -0
- package/dist/{filters-V-V8Dn8f.d.ts → filters.d.ts} +7 -7
- package/dist/{foundation-Bq4lRz4x.js → foundation.js} +1 -1
- package/dist/foundation.js.map +1 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +16 -16
- package/dist/{index-DUXfvhxs.d.ts → index10.d.ts} +14 -29
- package/dist/{index-CxA34wP1.d.ts → index11.d.ts} +101 -23
- package/dist/{index-BtWMBHeP.d.ts → index12.d.ts} +11 -9
- package/dist/{index-DmudgrsN.d.ts → index13.d.ts} +16 -16
- package/dist/{index-U-zp70of.d.ts → index14.d.ts} +9 -13
- package/dist/{index-Stm5u0I0.d.ts → index16.d.ts} +7 -10
- package/dist/{index-BZIJTQT0.d.ts → index17.d.ts} +9 -9
- package/dist/{index-CnEbXm_t.d.ts → index19.d.ts} +50 -12
- package/dist/{index-C-745li7.d.ts → index2.d.ts} +2 -2
- package/dist/{index-BOiHR01C.d.ts → index21.d.ts} +9 -9
- package/dist/{index-Bsx6XsC2.d.ts → index23.d.ts} +100 -59
- package/dist/{index-CPzvNmq9.d.ts → index24.d.ts} +36 -36
- package/dist/{index-DFEnA6Wa.d.ts → index25.d.ts} +18 -18
- package/dist/{index-DqXd1EeB.d.ts → index26.d.ts} +14 -7
- package/dist/{index-NlPMNcqh.d.ts → index27.d.ts} +102 -114
- package/dist/{index-DWt6yrIG.d.ts → index28.d.ts} +8 -8
- package/dist/{index-C4MUKshG.d.ts → index29.d.ts} +3 -3
- package/dist/{index-BeRV-7AX.d.ts → index3.d.ts} +2 -2
- package/dist/{index-Bxzjy0d1.d.ts → index4.d.ts} +2 -2
- package/dist/{index-DwKr18CI.d.ts → index5.d.ts} +2 -2
- package/dist/{index-D9LPlmbC.d.ts → index6.d.ts} +2 -2
- package/dist/{index-CS65jqOq.d.ts → index7.d.ts} +19 -3
- package/dist/index8.d.ts +18 -0
- package/dist/{index-CxpFwGvR.d.ts → index9.d.ts} +4 -4
- package/dist/{inventory-Dd7TazvZ.js → inventory.js} +11 -15
- package/dist/inventory.js.map +1 -0
- package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated.d.ts} +24 -29
- package/dist/{listCollections-BB9FxKj2.d.ts → listCollections.d.ts} +170 -100
- package/dist/{looks-rare-6H--x3AM.js → looks-rare.js} +1 -1
- package/dist/looks-rare.js.map +1 -0
- package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing.d.ts} +28 -28
- package/dist/{magic-eden-BoxEQ1Li.js → magic-eden.js} +1 -1
- package/dist/magic-eden.js.map +1 -0
- package/dist/{manifold-DycKsljb.js → manifold.js} +1 -1
- package/dist/manifold.js.map +1 -0
- package/dist/{market-C3HV-awQ.js → market.js} +7 -9
- package/dist/market.js.map +1 -0
- package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies.d.ts} +19 -9
- package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies.js} +10 -7
- package/dist/marketCurrencies.js.map +1 -0
- package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos.js} +23 -23
- package/dist/marketplace-logos.js.map +1 -0
- package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen.js} +25 -9
- package/dist/marketplace.gen.js.map +1 -0
- package/dist/{marketplace-NQB-sEQL.js → marketplace.js} +2 -2
- package/dist/marketplace.js.map +1 -0
- package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig.js} +3 -3
- package/dist/marketplaceConfig.js.map +1 -0
- package/dist/{mintify-Dyqyo8jQ.js → mintify.js} +1 -1
- package/dist/mintify.js.map +1 -0
- package/dist/{network-DtmiMhcg.js → network.js} +3 -3
- package/dist/network.js.map +1 -0
- package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain.js} +4 -3
- package/dist/networkconfigToWagmiChain.js.map +1 -0
- package/dist/{nftx-2LbFjj9Q.js → nftx.js} +1 -1
- package/dist/nftx.js.map +1 -0
- package/dist/{okx-CBEWJNsR.js → okx.js} +1 -1
- package/dist/okx.js.map +1 -0
- package/dist/{open-sea-Dxntz_PA.js → open-sea.js} +1 -1
- package/dist/open-sea.js.map +1 -0
- package/dist/{orders-DnFfZAXV.js → orders.js} +10 -10
- package/dist/orders.js.map +1 -0
- package/dist/{primary-sale-1u4QlPdA.js → primary-sale.js} +2 -2
- package/dist/primary-sale.js.map +1 -0
- package/dist/{primary-sales-Dmsi6bqj.js → primary-sales.js} +41 -3
- package/dist/primary-sales.js.map +1 -0
- package/dist/{query-BWbCsXLY.d.ts → query.d.ts} +2 -2
- package/dist/{rarible-CS0SupHr.js → rarible.js} +1 -1
- package/dist/rarible.js.map +1 -0
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +7 -7
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +37 -38
- package/dist/react/_internal/index.d.ts +2 -2
- package/dist/react/_internal/index.js +11 -11
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +5 -5
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +37 -38
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +15 -15
- package/dist/react/hooks/data/collectibles/index.d.ts +4 -10
- package/dist/react/hooks/data/collectibles/index.js +37 -38
- package/dist/react/hooks/data/collections/index.d.ts +11 -11
- package/dist/react/hooks/data/collections/index.js +38 -39
- package/dist/react/hooks/data/index.d.ts +37 -37
- package/dist/react/hooks/data/index.js +38 -39
- package/dist/react/hooks/data/inventory/index.d.ts +36 -36
- package/dist/react/hooks/data/inventory/index.js +37 -38
- package/dist/react/hooks/data/market/index.d.ts +5 -11
- package/dist/react/hooks/data/market/index.js +37 -38
- package/dist/react/hooks/data/orders/index.d.ts +4 -10
- package/dist/react/hooks/data/orders/index.js +37 -38
- package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
- package/dist/react/hooks/data/primary-sales/index.js +38 -39
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +37 -38
- package/dist/react/hooks/index.d.ts +37 -37
- package/dist/react/hooks/index.js +38 -39
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +37 -38
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +37 -38
- package/dist/react/hooks/utils/index.d.ts +36 -36
- package/dist/react/hooks/utils/index.js +37 -38
- package/dist/react/index.d.ts +37 -37
- package/dist/react/index.js +38 -39
- package/dist/react/queries/collectibles/index.d.ts +4 -10
- package/dist/react/queries/collectibles/index.js +20 -21
- package/dist/react/queries/collections/index.d.ts +11 -11
- package/dist/react/queries/collections/index.js +19 -19
- package/dist/react/queries/index.d.ts +24 -24
- package/dist/react/queries/index.js +30 -31
- package/dist/react/queries/inventory/index.d.ts +2 -2
- package/dist/react/queries/inventory/index.js +20 -20
- package/dist/react/queries/market/index.d.ts +5 -5
- package/dist/react/queries/market/index.js +20 -20
- package/dist/react/queries/orders/index.d.ts +4 -10
- package/dist/react/queries/orders/index.js +11 -11
- package/dist/react/queries/primary-sales/index.d.ts +4 -4
- package/dist/react/queries/primary-sales/index.js +12 -12
- package/dist/react/queries/tokens/index.d.ts +4 -4
- package/dist/react/queries/tokens/index.js +11 -12
- package/dist/react/queries/utils/index.d.ts +3 -3
- package/dist/react/queries/utils/index.js +20 -20
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +13 -16
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +20 -20
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +37 -38
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +37 -38
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +11 -11
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +14 -14
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +37 -38
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +37 -38
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react/utils/index.js +7 -7
- package/dist/{react-DE852KeT.js → react.js} +720 -926
- package/dist/react.js.map +1 -0
- package/dist/{sequence-paCCener.js → sequence.js} +1 -1
- package/dist/sequence.js.map +1 -0
- package/dist/{src-Dz2CfBL0.js → src.js} +2 -2
- package/dist/src.js.map +1 -0
- package/dist/styles/index.css +1 -1
- package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap.js} +1 -1
- package/dist/sudo-swap.js.map +1 -0
- package/dist/{super-rare-DHIuWtRw.js → super-rare.js} +1 -1
- package/dist/super-rare.js.map +1 -0
- package/dist/{token-Cv7l2ZaL.js → token.js} +2 -2
- package/dist/token.js.map +1 -0
- package/dist/{tokenBalances-ibDerNmM.js → tokenBalances.js} +4 -11
- package/dist/tokenBalances.js.map +1 -0
- package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies.d.ts} +19 -30
- package/dist/{tokens-cGxMadd8.js → tokens.js} +47 -22
- package/dist/tokens.js.map +1 -0
- package/dist/{transaction-DZUW5RHu.js → transaction.js} +2 -2
- package/dist/transaction.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +3 -3
- package/dist/{types-D2TJ1dwv.d.ts → types.d.ts} +3 -3
- package/dist/{types-B_-cnkcP.js → types.js} +2 -2
- package/dist/types.js.map +1 -0
- package/dist/utils/abi/index.d.ts +4 -4
- package/dist/utils/abi/index.js +4 -4
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/marketplace/index.js +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.js +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/abi/token/index.js +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +13 -13
- package/dist/{utils-BfpDVibN.js → utils.js} +42 -4
- package/dist/utils.js.map +1 -0
- package/dist/{utils-BCgNhBFR.js → utils2.js} +11 -5
- package/dist/utils2.js.map +1 -0
- package/dist/{utils-BqxcalL2.js → utils3.js} +3 -3
- package/dist/utils3.js.map +1 -0
- package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt.js} +3 -3
- package/dist/waitForTransactionReceipt.js.map +1 -0
- package/dist/{x2y2-45WDooeh.js → x2y2.js} +1 -1
- package/dist/x2y2.js.map +1 -0
- package/dist/{zora-CbeBoLvQ.js → zora.js} +1 -1
- package/dist/zora.js.map +1 -0
- package/package.json +42 -42
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +13 -0
- package/src/react/_internal/api/index.ts +0 -1
- package/src/react/_internal/api/marketplace.gen.ts +70 -26
- package/src/react/_internal/api/query-keys.ts +9 -0
- package/src/react/_internal/wagmi/get-connectors.ts +12 -1
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +0 -9
- package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -16
- package/src/react/hooks/data/collectibles/useTokenBalances.tsx +0 -9
- package/src/react/hooks/data/collections/index.ts +2 -0
- package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
- package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
- package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
- package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
- package/src/react/hooks/data/inventory/useInventory.tsx +1 -10
- package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
- package/src/react/hooks/data/primary-sales/index.ts +1 -0
- package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
- package/src/react/hooks/data/tokens/useListBalances.tsx +1 -10
- package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -13
- package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +2 -0
- package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
- package/src/react/hooks/transactions/useProcessStep.ts +8 -6
- package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
- package/src/react/providers/modal-provider.tsx +2 -1
- package/src/react/queries/collectibles/balanceOfCollectible.ts +1 -15
- package/src/react/queries/collectibles/listCollectibles.ts +1 -54
- package/src/react/queries/collectibles/tokenBalances.ts +1 -15
- package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
- package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
- package/src/react/queries/collections/index.ts +2 -0
- package/src/react/queries/inventory/inventory.ts +2 -9
- package/src/react/queries/market/marketCurrencies.ts +8 -1
- package/src/react/queries/primary-sales/index.ts +1 -0
- package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
- package/src/react/queries/tokens/listBalances.ts +1 -21
- package/src/react/queries/tokens/tokenSupplies.ts +2 -31
- package/src/react/queries/utils/comparePrices.ts +13 -1
- package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +2 -2
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +0 -2
- package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +152 -141
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +44 -60
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +381 -0
- package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +257 -0
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +0 -23
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +22 -2
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +2 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +1 -1
- package/src/react/ui/modals/TransferModal/index.tsx +24 -2
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +15 -12
- package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +148 -11
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
- package/src/styles/styles.ts +2 -2
- package/src/utils/networkconfigToWagmiChain.ts +7 -0
- package/src/utils/price.ts +58 -0
- package/test/const.ts +2 -0
- package/test/server-setup.ts +0 -2
- package/tsdown.config.ts +1 -0
- package/.changeset/honest-peas-arrive.md +0 -5
- package/.changeset/real-tips-stick.md +0 -8
- package/.changeset/tall-pandas-wear.md +0 -8
- package/dist/BellIcon-ByhygxBO.js.map +0 -1
- package/dist/CartIcon-Bt3rQYGk.js.map +0 -1
- package/dist/CollectibleCard-CVpdgXA8.d.ts +0 -8
- package/dist/_internal-DkS2VUn5.js.map +0 -1
- package/dist/abi-fa-o9gH3.js.map +0 -1
- package/dist/alien_swap-DoY6XfMA.js.map +0 -1
- package/dist/api-BoO0V5aJ.js.map +0 -1
- package/dist/aqua-xyz-BBDxnG14.js.map +0 -1
- package/dist/aura-DGx2zwvF.js.map +0 -1
- package/dist/blur-D8GKrRrq.js.map +0 -1
- package/dist/builder-api-BFuZNOaN.js.map +0 -1
- package/dist/builder.gen-B9wR2nvF.js.map +0 -1
- package/dist/coinbase-DOry4PXY.js.map +0 -1
- package/dist/collectibles-C_H8jMGH.js.map +0 -1
- package/dist/collections-CKummc-R.js.map +0 -1
- package/dist/components-CosnX7F9.js.map +0 -1
- package/dist/contracts-BP_0vX48.js.map +0 -1
- package/dist/create-config-CIfejoCk.js.map +0 -1
- package/dist/element-ciybd_VF.js.map +0 -1
- package/dist/foundation-Bq4lRz4x.js.map +0 -1
- package/dist/index-DNNUeZEq.d.ts +0 -18
- package/dist/inventory-Dd7TazvZ.js.map +0 -1
- package/dist/listBalances-BxpxBCvn.js +0 -57
- package/dist/listBalances-BxpxBCvn.js.map +0 -1
- package/dist/looks-rare-6H--x3AM.js.map +0 -1
- package/dist/magic-eden-BoxEQ1Li.js.map +0 -1
- package/dist/manifold-DycKsljb.js.map +0 -1
- package/dist/market-C3HV-awQ.js.map +0 -1
- package/dist/marketCurrencies-sKrTX0og.js.map +0 -1
- package/dist/marketplace-NQB-sEQL.js.map +0 -1
- package/dist/marketplace-logos-D4dS1Foy.js.map +0 -1
- package/dist/marketplace.gen-ksUafDqS.js.map +0 -1
- package/dist/marketplaceConfig-UHQMM9fq.js.map +0 -1
- package/dist/mintify-Dyqyo8jQ.js.map +0 -1
- package/dist/network-DtmiMhcg.js.map +0 -1
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
- package/dist/nftx-2LbFjj9Q.js.map +0 -1
- package/dist/okx-CBEWJNsR.js.map +0 -1
- package/dist/open-sea-Dxntz_PA.js.map +0 -1
- package/dist/orders-DnFfZAXV.js.map +0 -1
- package/dist/primary-sale-1u4QlPdA.js.map +0 -1
- package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
- package/dist/rarible-CS0SupHr.js.map +0 -1
- package/dist/react-DE852KeT.js.map +0 -1
- package/dist/sequence-paCCener.js.map +0 -1
- package/dist/src-Dz2CfBL0.js.map +0 -1
- package/dist/sudo-swap-9rH2EgfT.js.map +0 -1
- package/dist/super-rare-DHIuWtRw.js.map +0 -1
- package/dist/token-Cv7l2ZaL.js.map +0 -1
- package/dist/tokenBalances-ibDerNmM.js.map +0 -1
- package/dist/tokens-cGxMadd8.js.map +0 -1
- package/dist/transaction-DZUW5RHu.js.map +0 -1
- package/dist/types-B_-cnkcP.js.map +0 -1
- package/dist/utils-BCgNhBFR.js.map +0 -1
- package/dist/utils-BfpDVibN.js.map +0 -1
- package/dist/utils-BqxcalL2.js.map +0 -1
- package/dist/waitForTransactionReceipt-DieAnV52.js.map +0 -1
- package/dist/x2y2-45WDooeh.js.map +0 -1
- package/dist/zora-CbeBoLvQ.js.map +0 -1
- package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
- package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
- package/src/react/_internal/api/laos-api.ts +0 -106
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
- package/src/react/queries/collectibles/__tests__/balanceOfCollectible.laos.test.ts +0 -123
- package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +0 -123
- package/src/react/queries/inventory/__tests__/inventory.laos.test.ts +0 -499
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155Checkout.test.tsx +0 -395
- package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +0 -103
- package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +0 -481
- /package/dist/{index-6wsMChsg.d.ts → index15.d.ts} +0 -0
- /package/dist/{index-CZUtOTjh.d.ts → index18.d.ts} +0 -0
- /package/dist/{index-DW3njUfb.d.ts → index20.d.ts} +0 -0
- /package/dist/{index-DewGsFz5.d.ts → index22.d.ts} +0 -0
- /package/dist/{queries-KOcILNJO.js → queries.js} +0 -0
- /package/dist/{wagmi-Bseovd6Q.js → wagmi.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"looks-rare.js","names":[],"sources":["../src/react/ui/images/marketplaces/looks-rare.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABbXSURBVHgB7Z0JeFTl1cfP+947M9mBZAIkgAvQsmZBEUX2itjafl3s11a7KaD2E0RCFhWlGnkUCgRIBBVtrbZW24oFQVtcQKCCigUliSyK7EvCZCH7ZGbu8p1zx5SAwCSZ904myf09T6RNbiZz7znnf857znvvAFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYdGYYhCFpJXOG6Yxv1H1qb+gEMBsvB1W7qahP/icQZnAIM9IOZn5T52y9rmidwvgEnosTZGl16rHs4RBmhJUDpB3FyI/h63Wf3h90HToNeCqoZv0hQn8r9WTOVRBGhE0KGFGSNVSVYJPuxcjvTMY/D2aXKlVN+faepIL/QBgQFgpAsq8w/Y3ObnxC96rxsiS/mu7KSYcwoN0dYMTRWUP1WLYOlE4m+5dA86hX6KBvSC3NvA7amXZNAUOPPzhQdvje7wqRfyG4Q65SbNLEPT0WFUI70W4KMPzUnJGy3fdWVzU+oXmU7rJXeT21dPa10E60iwKknrx/ENjU19H4g7uq8ZsjOeQS8LKbd/ddshtCTMgdwKj2Obyt+7S+lvHPIjmkEp+uf2dPr2UhTQchTQHpJzOv9xtftYx/HqpHTZIAQp4OQqYAw09lDOGS9AYafwBYtr8wzJ8OmKZ959MQKUFIHGDY4Yx0Hslxqadd1r7GZ8CaNI+dd+pfKZJO/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qTs0DB38Sp4jtVhgyMr4EeaBgbdIBjU90WAVoIrU88z7wwSJsG4d0iUjG5w5piebVFxT1zhP/+S4hosM7AJHmyn5AU/RcUEPTJ2gy/u4eizuk7Denw6aA5lTXxxSAzApCkQ7I+DinyPOV1C/s6MYnOoUCNJHqypqNc4N83WdOIU5bt7lNXqglaE8UsY4r+83pFArQRFHPpQVc4o+ZoQQU+bqNrdi9MmpeZzE+EbbTwLYSMWPKR44IxYPyPFbUFNF/0wZfUORc+gBM2tLhZb85nSoFNCe1LBuLQu3RYNOBYXybtFhP0Od3pshvotM6AJFWlvOY5tPub/PqALuNOH8oKEzEyO+kdKoa4Hyq66IXMjub35Ypoj/y+WOd2fhEp3aAI1fmNhY58xZyri9oza3pTbJvO4LLy05Op04BzUk9nXMPaOrTgTaa4kTPi/P83CLn4oXQBejUCtCchprGP4LEHsbodl/sGEMlHLygqxif6DIK0ERqyZwZeNpPna8EKPkUDg/blNj8Xcm5Aj8NMrzpcg5ApJZkoRPoZ50AZR+jf35Rz7wnoIvRZVJAcxrqvM83pQOj4MOxclc0PtElFaCJFFfmTNClaLsavbIryb6FhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhUVX4P8BE9d1jB+YtkAAAAAASUVORK5CYII=\""],"mappings":";yBAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CollectibleOrder,
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
1
|
+
import { $r as Order, Dt as CollectibleOrder, G as SdkConfig, Hr as ListOrdersWithCollectiblesArgs, Sn as GetCollectibleHighestOfferArgs, Tn as GetCollectibleLowestListingReturn, Ur as ListOrdersWithCollectiblesReturn, Zn as GetFloorOrderArgs, ai as OrdersFilter, j as ValuesOptional, jt as CollectiblesFilter, ni as OrderSide, oi as Page, ti as OrderFilter, vr as ListCollectibleListingsArgs, wi as SortBy, wn as GetCollectibleLowestListingArgs, xr as ListCollectibleOffersReturn, yr as ListCollectibleListingsReturn, zr as ListOffersForCollectibleArgs } from "./create-config.js";
|
|
2
|
+
import { n as StandardQueryOptions, t as StandardInfiniteQueryOptions } from "./query.js";
|
|
3
|
+
import * as _tanstack_react_query376 from "@tanstack/react-query";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/react/queries/orders/countItemsOrdersForCollection.d.ts
|
|
@@ -22,12 +22,12 @@ declare function getCountItemsOrdersForCollectionQueryKey(params: CountItemsOrde
|
|
|
22
22
|
contractAddress: string | undefined;
|
|
23
23
|
side: OrderSide | undefined;
|
|
24
24
|
}];
|
|
25
|
-
declare function countItemsOrdersForCollectionQueryOptions(params: CountItemsOrdersForCollectionQueryOptions):
|
|
25
|
+
declare function countItemsOrdersForCollectionQueryOptions(params: CountItemsOrdersForCollectionQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<number, Error, number, readonly ["collections", "collectionItemsOrdersCount", {
|
|
26
26
|
chainId: string;
|
|
27
27
|
contractAddress: string | undefined;
|
|
28
28
|
side: OrderSide | undefined;
|
|
29
29
|
}]>, "queryFn"> & {
|
|
30
|
-
queryFn?:
|
|
30
|
+
queryFn?: _tanstack_react_query376.QueryFunction<number, readonly ["collections", "collectionItemsOrdersCount", {
|
|
31
31
|
chainId: string;
|
|
32
32
|
contractAddress: string | undefined;
|
|
33
33
|
side: OrderSide | undefined;
|
|
@@ -64,13 +64,13 @@ declare function getCountListingsForCollectibleQueryKey(params: CountListingsFor
|
|
|
64
64
|
tokenId: string | undefined;
|
|
65
65
|
filter: OrderFilter | undefined;
|
|
66
66
|
}];
|
|
67
|
-
declare function countListingsForCollectibleQueryOptions(params: CountListingsForCollectibleQueryOptions):
|
|
67
|
+
declare function countListingsForCollectibleQueryOptions(params: CountListingsForCollectibleQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<number, Error, number, readonly ["collectable", "listingsCount", {
|
|
68
68
|
chainId: string;
|
|
69
69
|
contractAddress: string | undefined;
|
|
70
70
|
tokenId: string | undefined;
|
|
71
71
|
filter: OrderFilter | undefined;
|
|
72
72
|
}]>, "queryFn"> & {
|
|
73
|
-
queryFn?:
|
|
73
|
+
queryFn?: _tanstack_react_query376.QueryFunction<number, readonly ["collectable", "listingsCount", {
|
|
74
74
|
chainId: string;
|
|
75
75
|
contractAddress: string | undefined;
|
|
76
76
|
tokenId: string | undefined;
|
|
@@ -109,13 +109,13 @@ declare function getCountOffersForCollectibleQueryKey(params: CountOffersForColl
|
|
|
109
109
|
tokenId: string | undefined;
|
|
110
110
|
filter: OrderFilter | undefined;
|
|
111
111
|
}];
|
|
112
|
-
declare function countOffersForCollectibleQueryOptions(params: CountOffersForCollectibleQueryOptions):
|
|
112
|
+
declare function countOffersForCollectibleQueryOptions(params: CountOffersForCollectibleQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<number, Error, number, readonly ["collectable", "offersCount", {
|
|
113
113
|
chainId: string;
|
|
114
114
|
contractAddress: string | undefined;
|
|
115
115
|
tokenId: string | undefined;
|
|
116
116
|
filter: OrderFilter | undefined;
|
|
117
117
|
}]>, "queryFn"> & {
|
|
118
|
-
queryFn?:
|
|
118
|
+
queryFn?: _tanstack_react_query376.QueryFunction<number, readonly ["collectable", "offersCount", {
|
|
119
119
|
chainId: string;
|
|
120
120
|
contractAddress: string | undefined;
|
|
121
121
|
tokenId: string | undefined;
|
|
@@ -151,12 +151,12 @@ declare function getFloorOrderQueryKey(params: FloorOrderQueryOptions): readonly
|
|
|
151
151
|
contractAddress: string | undefined;
|
|
152
152
|
filter: CollectiblesFilter | undefined;
|
|
153
153
|
}];
|
|
154
|
-
declare function floorOrderQueryOptions(params: FloorOrderQueryOptions):
|
|
154
|
+
declare function floorOrderQueryOptions(params: FloorOrderQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<CollectibleOrder, Error, CollectibleOrder, readonly ["collectable", "floorOrders", {
|
|
155
155
|
chainId: string;
|
|
156
156
|
contractAddress: string | undefined;
|
|
157
157
|
filter: CollectiblesFilter | undefined;
|
|
158
158
|
}]>, "queryFn"> & {
|
|
159
|
-
queryFn?:
|
|
159
|
+
queryFn?: _tanstack_react_query376.QueryFunction<CollectibleOrder, readonly ["collectable", "floorOrders", {
|
|
160
160
|
chainId: string;
|
|
161
161
|
contractAddress: string | undefined;
|
|
162
162
|
filter: CollectiblesFilter | undefined;
|
|
@@ -190,13 +190,13 @@ declare function getCountOfFilteredOrdersQueryKey(params: GetCountOfFilteredOrde
|
|
|
190
190
|
side: OrderSide | undefined;
|
|
191
191
|
filter: OrdersFilter | undefined;
|
|
192
192
|
}];
|
|
193
|
-
declare function getCountOfFilteredOrdersQueryOptions(params: GetCountOfFilteredOrdersQueryOptions):
|
|
193
|
+
declare function getCountOfFilteredOrdersQueryOptions(params: GetCountOfFilteredOrdersQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<number, Error, number, readonly ["collections", "getCountOfFilteredOrders", {
|
|
194
194
|
chainId: string;
|
|
195
195
|
contractAddress: string | undefined;
|
|
196
196
|
side: OrderSide | undefined;
|
|
197
197
|
filter: OrdersFilter | undefined;
|
|
198
198
|
}]>, "queryFn"> & {
|
|
199
|
-
queryFn?:
|
|
199
|
+
queryFn?: _tanstack_react_query376.QueryFunction<number, readonly ["collections", "getCountOfFilteredOrders", {
|
|
200
200
|
chainId: string;
|
|
201
201
|
contractAddress: string | undefined;
|
|
202
202
|
side: OrderSide | undefined;
|
|
@@ -233,13 +233,13 @@ declare function getHighestOfferQueryKey(params: HighestOfferQueryOptions): read
|
|
|
233
233
|
tokenId: string | undefined;
|
|
234
234
|
filter: OrderFilter | undefined;
|
|
235
235
|
}];
|
|
236
|
-
declare function highestOfferQueryOptions(params: HighestOfferQueryOptions):
|
|
236
|
+
declare function highestOfferQueryOptions(params: HighestOfferQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<Order | null, Error, Order | null, readonly ["collectable", "collectable", "details", "highestOffers", {
|
|
237
237
|
chainId: string;
|
|
238
238
|
contractAddress: string | undefined;
|
|
239
239
|
tokenId: string | undefined;
|
|
240
240
|
filter: OrderFilter | undefined;
|
|
241
241
|
}]>, "queryFn"> & {
|
|
242
|
-
queryFn?:
|
|
242
|
+
queryFn?: _tanstack_react_query376.QueryFunction<Order | null, readonly ["collectable", "collectable", "details", "highestOffers", {
|
|
243
243
|
chainId: string;
|
|
244
244
|
contractAddress: string | undefined;
|
|
245
245
|
tokenId: string | undefined;
|
|
@@ -273,13 +273,13 @@ declare function getListItemsOrdersForCollectionQueryKey(params: ListItemsOrders
|
|
|
273
273
|
side: OrderSide | undefined;
|
|
274
274
|
filter: OrdersFilter | undefined;
|
|
275
275
|
}];
|
|
276
|
-
declare function listItemsOrdersForCollectionQueryOptions(params: ListItemsOrdersForCollectionQueryOptions):
|
|
276
|
+
declare function listItemsOrdersForCollectionQueryOptions(params: ListItemsOrdersForCollectionQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseInfiniteQueryOptions<ListOrdersWithCollectiblesReturn, Error, _tanstack_react_query376.InfiniteData<ListOrdersWithCollectiblesReturn, unknown>, readonly ["collections", "collectionItemsOrders", {
|
|
277
277
|
chainId: string;
|
|
278
278
|
contractAddress: `0x${string}` | undefined;
|
|
279
279
|
side: OrderSide | undefined;
|
|
280
280
|
filter: OrdersFilter | undefined;
|
|
281
281
|
}], Page>, "queryFn"> & {
|
|
282
|
-
queryFn?:
|
|
282
|
+
queryFn?: _tanstack_react_query376.QueryFunction<ListOrdersWithCollectiblesReturn, readonly ["collections", "collectionItemsOrders", {
|
|
283
283
|
chainId: string;
|
|
284
284
|
contractAddress: `0x${string}` | undefined;
|
|
285
285
|
side: OrderSide | undefined;
|
|
@@ -292,7 +292,7 @@ declare function listItemsOrdersForCollectionQueryOptions(params: ListItemsOrder
|
|
|
292
292
|
side: OrderSide | undefined;
|
|
293
293
|
filter: OrdersFilter | undefined;
|
|
294
294
|
}] & {
|
|
295
|
-
[dataTagSymbol]:
|
|
295
|
+
[dataTagSymbol]: _tanstack_react_query376.InfiniteData<ListOrdersWithCollectiblesReturn, unknown>;
|
|
296
296
|
[dataTagErrorSymbol]: Error;
|
|
297
297
|
};
|
|
298
298
|
};
|
|
@@ -312,8 +312,8 @@ declare function fetchListItemsOrdersForCollectionPaginated(params: FetchListIte
|
|
|
312
312
|
type ListItemsOrdersForCollectionPaginatedQueryOptions = ValuesOptional<FetchListItemsOrdersForCollectionPaginatedParams> & {
|
|
313
313
|
query?: StandardQueryOptions;
|
|
314
314
|
};
|
|
315
|
-
declare function listItemsOrdersForCollectionPaginatedQueryOptions(params: ListItemsOrdersForCollectionPaginatedQueryOptions):
|
|
316
|
-
queryFn?:
|
|
315
|
+
declare function listItemsOrdersForCollectionPaginatedQueryOptions(params: ListItemsOrdersForCollectionPaginatedQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<ListOrdersWithCollectiblesReturn, Error, ListOrdersWithCollectiblesReturn, (string | ListItemsOrdersForCollectionPaginatedQueryOptions)[]>, "queryFn"> & {
|
|
316
|
+
queryFn?: _tanstack_react_query376.QueryFunction<ListOrdersWithCollectiblesReturn, (string | ListItemsOrdersForCollectionPaginatedQueryOptions)[], never> | undefined;
|
|
317
317
|
} & {
|
|
318
318
|
queryKey: (string | ListItemsOrdersForCollectionPaginatedQueryOptions)[] & {
|
|
319
319
|
[dataTagSymbol]: ListOrdersWithCollectiblesReturn;
|
|
@@ -342,14 +342,14 @@ declare function getListListingsForCollectibleQueryKey(params: ListListingsForCo
|
|
|
342
342
|
filter: OrderFilter | undefined;
|
|
343
343
|
page: Page | undefined;
|
|
344
344
|
}];
|
|
345
|
-
declare function listListingsForCollectibleQueryOptions(params: ListListingsForCollectibleQueryOptions):
|
|
345
|
+
declare function listListingsForCollectibleQueryOptions(params: ListListingsForCollectibleQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<ListCollectibleListingsReturn, Error, ListCollectibleListingsReturn, readonly ["collectable", "listings", {
|
|
346
346
|
chainId: string;
|
|
347
347
|
contractAddress: `0x${string}` | undefined;
|
|
348
348
|
tokenId: string | undefined;
|
|
349
349
|
filter: OrderFilter | undefined;
|
|
350
350
|
page: Page | undefined;
|
|
351
351
|
}]>, "queryFn"> & {
|
|
352
|
-
queryFn?:
|
|
352
|
+
queryFn?: _tanstack_react_query376.QueryFunction<ListCollectibleListingsReturn, readonly ["collectable", "listings", {
|
|
353
353
|
chainId: string;
|
|
354
354
|
contractAddress: `0x${string}` | undefined;
|
|
355
355
|
tokenId: string | undefined;
|
|
@@ -391,14 +391,14 @@ declare function getListOffersForCollectibleQueryKey(params: ListOffersForCollec
|
|
|
391
391
|
filter: OrderFilter | undefined;
|
|
392
392
|
page: Page | undefined;
|
|
393
393
|
}];
|
|
394
|
-
declare function listOffersForCollectibleQueryOptions(params: ListOffersForCollectibleQueryOptions):
|
|
394
|
+
declare function listOffersForCollectibleQueryOptions(params: ListOffersForCollectibleQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<ListCollectibleOffersReturn, Error, ListCollectibleOffersReturn, readonly ["collectable", "offers", {
|
|
395
395
|
chainId: string;
|
|
396
396
|
contractAddress: `0x${string}` | undefined;
|
|
397
397
|
tokenId: string | undefined;
|
|
398
398
|
filter: OrderFilter | undefined;
|
|
399
399
|
page: Page | undefined;
|
|
400
400
|
}]>, "queryFn"> & {
|
|
401
|
-
queryFn?:
|
|
401
|
+
queryFn?: _tanstack_react_query376.QueryFunction<ListCollectibleOffersReturn, readonly ["collectable", "offers", {
|
|
402
402
|
chainId: string;
|
|
403
403
|
contractAddress: `0x${string}` | undefined;
|
|
404
404
|
tokenId: string | undefined;
|
|
@@ -437,13 +437,13 @@ declare function getLowestListingQueryKey(params: LowestListingQueryOptions): re
|
|
|
437
437
|
tokenId: string | undefined;
|
|
438
438
|
filter: OrderFilter | undefined;
|
|
439
439
|
}];
|
|
440
|
-
declare function lowestListingQueryOptions(params: LowestListingQueryOptions):
|
|
440
|
+
declare function lowestListingQueryOptions(params: LowestListingQueryOptions): _tanstack_react_query376.OmitKeyof<_tanstack_react_query376.UseQueryOptions<Order | null | undefined, Error, Order | null | undefined, readonly ["collectable", "collectable", "details", "lowestListings", {
|
|
441
441
|
chainId: string;
|
|
442
442
|
contractAddress: string | undefined;
|
|
443
443
|
tokenId: string | undefined;
|
|
444
444
|
filter: OrderFilter | undefined;
|
|
445
445
|
}]>, "queryFn"> & {
|
|
446
|
-
queryFn?:
|
|
446
|
+
queryFn?: _tanstack_react_query376.QueryFunction<Order | null | undefined, readonly ["collectable", "collectable", "details", "lowestListings", {
|
|
447
447
|
chainId: string;
|
|
448
448
|
contractAddress: string | undefined;
|
|
449
449
|
tokenId: string | undefined;
|
|
@@ -461,5 +461,5 @@ declare function lowestListingQueryOptions(params: LowestListingQueryOptions): _
|
|
|
461
461
|
};
|
|
462
462
|
};
|
|
463
463
|
//#endregion
|
|
464
|
-
export {
|
|
465
|
-
//# sourceMappingURL=lowestListing
|
|
464
|
+
export { fetchCountItemsOrdersForCollection as $, FetchGetCountOfFilteredOrdersParams as A, CountOffersForCollectibleQueryOptions as B, getListItemsOrdersForCollectionQueryKey as C, fetchHighestOffer as D, HighestOfferQueryOptions as E, FetchFloorOrderParams as F, CountListingsForCollectibleQueryOptions as G, countOffersForCollectibleQueryOptions as H, FloorOrderQueryOptions as I, fetchCountListingsForCollectible as J, FetchCountListingsForCollectibleParams as K, fetchFloorOrder as L, fetchGetCountOfFilteredOrders as M, getCountOfFilteredOrdersQueryKey as N, getHighestOfferQueryKey as O, getCountOfFilteredOrdersQueryOptions as P, countItemsOrdersForCollectionQueryOptions as Q, floorOrderQueryOptions as R, fetchListItemsOrdersForCollection as S, FetchHighestOfferParams as T, fetchCountOffersForCollectible as U, FetchCountOffersForCollectibleParams as V, getCountOffersForCollectibleQueryKey as W, CountItemsOrdersForCollectionQueryOptions as X, getCountListingsForCollectibleQueryKey as Y, FetchCountItemsOrdersForCollectionParams as Z, ListItemsOrdersForCollectionPaginatedQueryOptions as _, lowestListingQueryOptions as a, FetchListItemsOrdersForCollectionParams as b, fetchListOffersForCollectible as c, FetchListListingsForCollectibleParams as d, getCountItemsOrdersForCollectionQueryKey as et, ListListingsForCollectibleQueryOptions as f, FetchListItemsOrdersForCollectionPaginatedParams as g, listListingsForCollectibleQueryOptions as h, getLowestListingQueryKey as i, GetCountOfFilteredOrdersQueryOptions as j, highestOfferQueryOptions as k, getListOffersForCollectibleQueryKey as l, getListListingsForCollectibleQueryKey as m, LowestListingQueryOptions as n, FetchListOffersForCollectibleParams as o, fetchListListingsForCollectible as p, countListingsForCollectibleQueryOptions as q, fetchLowestListing as r, ListOffersForCollectibleQueryOptions as s, FetchLowestListingParams as t, listOffersForCollectibleQueryOptions as u, fetchListItemsOrdersForCollectionPaginated as v, listItemsOrdersForCollectionQueryOptions as w, ListItemsOrdersForCollectionQueryOptions as x, listItemsOrdersForCollectionPaginatedQueryOptions as y, getFloorOrderQueryKey as z };
|
|
465
|
+
//# sourceMappingURL=lowestListing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"magic-eden.js","names":[],"sources":["../src/react/ui/images/marketplaces/magic-eden.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB79SURBVHgB7V1pkBzFlX4vq/qYGY0GnYMOdIAsBOJYhIAFcQ0IBBJiAaPh8AF412scjo3d2PDyZw8Le+0NR2w4dsNer8EbARhjYMQlxCUujbiEZY6VQAJsgUbXIGkkzaG5uqsqc19Vd3VlVmV1t6QZabRRn1TTXVVZmS8zX7738r3MaoAECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgw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eEIRqPIWN1l1fzHwr3Nn8NxhOLmC+ulgSfvZjU9/1Rj2OQSdmb6Nr2aVvO8LBEjeY8sBLMVdLqtmn9zOL5wcfvt69xrHgNcu+Vaa93U37SSJdc+yM3eFHOaDBDudu3SD0p4Gfk1o4Q2NzdZgr0wwNkqcv9+BMcpTmp09vcdxF8O8NQGE9h88pItNNCZQu6sFBad3TqXSznI6QQcGxTUV8G3Q6O+13ZYWw5Tvxvg+GSqxtitpHPhvvFi1Kx83QmD4qIMOlfSzHAO9f4UqsJYysVdFm1R4oOuvicjYjsZUG9awlzfO5D5vLjV+7iFu+07/Vn7FGbkZ9aaztlkzM4hHh9PEcLRND+uTaFT9cua4mTnsYBNpi4N1k6iarvF2aYDdnrt6En9X8jrAbRMvWZqy6w05M4mSTCb4uQn0kCgUCLmiJP2WTbb1s+Mj4xU7sO1bdvyR/KuvZEGL0I4dUX2RAYzTceZJJg1gSJoo08wc0fl5+6HCn6HdFl1PRSe3WlbuJXXTd7R1NZ0VF5AnSBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJhhX/ByU87blIypmCAAAAAElFTkSuQmCC\""],"mappings":";yBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifold.js","names":[],"sources":["../src/react/ui/images/marketplaces/manifold.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3cSURBVHgB7Z0LTBTnFsdneL8fRYFFF1lFQUVEpbX12pabtEl701zN7SNNk8aaNLVp0/Z626TJjcltrmmVqgmxrYnFQKv1iq3aB1AqtlpLii8oqJeCD5DyWhZ51CeosNP/2Z2PDKQKy+7sLnh+yTi7K8wMc853Xt+ZbyWJYRiGYRiGYRiGYRiGYRiGYRiGYRiGYR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sMSPI/3ftTTT9aAvhMJ7105KmWqDkLo/vT1e8g+bO4Bn9OziMlwCZF4fVHyMHfl+q3U4dvY2GjzxXALMqaW5YSEBF1Mcltbmw+CTyUyMlLBOW2fwQrQErv9tEkMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzC35Q8AaToc8zpUBwAAAABJRU5ErkJggg==\""],"mappings":";uBAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FilterCondition } from "./builder.gen
|
|
2
|
-
import {
|
|
3
|
-
import { compareAddress } from "./utils
|
|
4
|
-
import { marketplaceConfigOptions } from "./marketplaceConfig
|
|
1
|
+
import { t as FilterCondition } from "./builder.gen.js";
|
|
2
|
+
import { _ as getQueryClient, i as getMetadataClient, l as checkoutKeys, p as currencyKeys, r as getMarketplaceClient } from "./api.js";
|
|
3
|
+
import { l as compareAddress } from "./utils.js";
|
|
4
|
+
import { n as marketplaceConfigOptions } from "./marketplaceConfig.js";
|
|
5
5
|
import { queryOptions, skipToken } from "@tanstack/react-query";
|
|
6
6
|
|
|
7
7
|
//#region src/react/queries/market/currency.ts
|
|
@@ -154,9 +154,7 @@ async function fetchFilters(params) {
|
|
|
154
154
|
const exclusions = collectionFilters?.exclusions;
|
|
155
155
|
let sortedFilters = filters;
|
|
156
156
|
if (filterOrder) sortedFilters = filters.toSorted((a, b) => {
|
|
157
|
-
|
|
158
|
-
const bIndex = filterOrder.indexOf(b.name) > -1 ? filterOrder.indexOf(b.name) : filterOrder.length;
|
|
159
|
-
return aIndex - bIndex;
|
|
157
|
+
return (filterOrder.indexOf(a.name) > -1 ? filterOrder.indexOf(a.name) : filterOrder.length) - (filterOrder.indexOf(b.name) > -1 ? filterOrder.indexOf(b.name) : filterOrder.length);
|
|
160
158
|
});
|
|
161
159
|
if (exclusions) sortedFilters = sortedFilters.reduce((acc, filter) => {
|
|
162
160
|
const exclusionRule = exclusions.find((rule) => rule.key === filter.name);
|
|
@@ -205,5 +203,5 @@ function filtersQueryOptions(params) {
|
|
|
205
203
|
}
|
|
206
204
|
|
|
207
205
|
//#endregion
|
|
208
|
-
export {
|
|
209
|
-
//# sourceMappingURL=market
|
|
206
|
+
export { fetchCheckoutOptionsSalesContract as a, fetchCheckoutOptions as c, fetchCurrency as d, getCurrencyQueryKey as f, checkoutOptionsSalesContractQueryOptions as i, getCheckoutOptionsQueryKey as l, filtersQueryOptions as n, getCheckoutOptionsSalesContractQueryKey as o, getFiltersQueryKey as r, checkoutOptionsQueryOptions as s, fetchFilters as t, currencyQueryOptions as u };
|
|
207
|
+
//# sourceMappingURL=market.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"market.js","names":["currency","apiArgs: CheckoutOptionsMarketplaceArgs","apiArgs: CheckoutOptionsSalesContractArgs"],"sources":["../src/react/queries/market/currency.ts","../src/react/queries/market/checkoutOptions.ts","../src/react/queries/market/checkoutOptionsSalesContract.ts","../src/react/queries/market/filters.ts"],"sourcesContent":["import { queryOptions, skipToken } from '@tanstack/react-query';\nimport type { Address } from 'viem';\nimport type { SdkConfig } from '../../../types';\nimport {\n\ttype Currency,\n\tcurrencyKeys,\n\tgetMarketplaceClient,\n\tgetQueryClient,\n\ttype ValuesOptional,\n} from '../../_internal';\nimport type { StandardQueryOptions } from '../../types/query';\n\nexport interface FetchCurrencyParams {\n\tchainId: number;\n\tcurrencyAddress: Address;\n\tconfig: SdkConfig;\n}\n\n/**\n * Fetches currency details from the marketplace API\n */\nexport async function fetchCurrency(\n\tparams: FetchCurrencyParams,\n): Promise<Currency | undefined> {\n\tconst { chainId, currencyAddress, config } = params;\n\tconst queryClient = getQueryClient();\n\n\tlet currencies = queryClient.getQueryData([...currencyKeys.lists, chainId]) as\n\t\t| Currency[]\n\t\t| undefined;\n\n\tif (!currencies) {\n\t\tconst marketplaceClient = getMarketplaceClient(config);\n\t\tcurrencies = await marketplaceClient\n\t\t\t.listCurrencies({ chainId: String(chainId) })\n\t\t\t.then((resp) => resp.currencies);\n\t}\n\n\tif (!currencies?.length) {\n\t\tthrow new Error('No currencies returned');\n\t}\n\tconst currency = currencies.find(\n\t\t(currency) =>\n\t\t\tcurrency.contractAddress.toLowerCase() === currencyAddress.toLowerCase(),\n\t);\n\n\tif (!currency) {\n\t\tthrow new Error('Currency not found');\n\t}\n\n\treturn currency;\n}\n\nexport type CurrencyQueryOptions = ValuesOptional<FetchCurrencyParams> & {\n\tquery?: StandardQueryOptions;\n};\n\nexport function getCurrencyQueryKey(params: CurrencyQueryOptions) {\n\tconst apiArgs = {\n\t\tchainId: String(params.chainId!),\n\t\tcurrencyAddress: params.currencyAddress!,\n\t};\n\n\treturn [...currencyKeys.details, apiArgs] as const;\n}\n\nexport function currencyQueryOptions(params: CurrencyQueryOptions) {\n\tconst enabled = Boolean(\n\t\tparams.chainId &&\n\t\t\tparams.currencyAddress &&\n\t\t\tparams.config &&\n\t\t\t(params.query?.enabled ?? true),\n\t);\n\n\treturn queryOptions({\n\t\tqueryKey: getCurrencyQueryKey(params),\n\t\tqueryFn:\n\t\t\tparams.chainId && params.currencyAddress\n\t\t\t\t? () =>\n\t\t\t\t\t\tfetchCurrency({\n\t\t\t\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\t\t\t\tchainId: params.chainId!,\n\t\t\t\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\t\t\t\tcurrencyAddress: params.currencyAddress!,\n\t\t\t\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\t\t\t\tconfig: params.config!,\n\t\t\t\t\t\t})\n\t\t\t\t: skipToken,\n\t\t...params.query,\n\t\tenabled,\n\t});\n}\n","import { queryOptions } from '@tanstack/react-query';\nimport type { Address } from 'viem';\nimport type { SdkConfig } from '../../../types';\nimport type { MarketplaceKind } from '../../_internal';\nimport {\n\tcheckoutKeys,\n\tgetMarketplaceClient,\n\ttype QueryKeyArgs,\n\ttype ValuesOptional,\n} from '../../_internal';\nimport type {\n\tCheckoutOptionsMarketplaceArgs,\n\tCheckoutOptionsMarketplaceReturn,\n} from '../../_internal/api/marketplace.gen';\nimport type { StandardQueryOptions } from '../../types/query';\n\nexport interface FetchCheckoutOptionsParams\n\textends Omit<\n\t\tCheckoutOptionsMarketplaceArgs,\n\t\t'chainId' | 'wallet' | 'orders'\n\t> {\n\tchainId: number;\n\twalletAddress: Address;\n\torders: Array<{\n\t\tcollectionAddress: string;\n\t\torderId: string;\n\t\tmarketplace: MarketplaceKind;\n\t}>;\n\tconfig: SdkConfig;\n}\n\n/**\n * Fetches checkout options from the Marketplace API\n */\nexport async function fetchCheckoutOptions(\n\tparams: FetchCheckoutOptionsParams,\n): Promise<CheckoutOptionsMarketplaceReturn> {\n\tconst { chainId, walletAddress, orders, config, additionalFee } = params;\n\n\tconst client = getMarketplaceClient(config);\n\n\tconst apiArgs: CheckoutOptionsMarketplaceArgs = {\n\t\tchainId: String(chainId),\n\t\twallet: walletAddress,\n\t\torders: orders.map((order) => ({\n\t\t\tcontractAddress: order.collectionAddress,\n\t\t\torderId: order.orderId,\n\t\t\tmarketplace: order.marketplace,\n\t\t})),\n\t\tadditionalFee: additionalFee ?? 0,\n\t};\n\n\tconst result = await client.checkoutOptionsMarketplace(apiArgs);\n\treturn result;\n}\n\nexport type CheckoutOptionsQueryOptions =\n\tValuesOptional<FetchCheckoutOptionsParams> & {\n\t\tquery?: StandardQueryOptions;\n\t};\n\nexport function getCheckoutOptionsQueryKey(\n\tparams: CheckoutOptionsQueryOptions,\n) {\n\tconst apiArgs = {\n\t\tchainId: String(params.chainId),\n\t\twallet: params.walletAddress,\n\t\torders: params.orders?.map((order) => ({\n\t\t\tcontractAddress: order.collectionAddress,\n\t\t\torderId: order.orderId,\n\t\t\tmarketplace: order.marketplace,\n\t\t})),\n\t\tadditionalFee: params.additionalFee,\n\t} satisfies QueryKeyArgs<CheckoutOptionsMarketplaceArgs>;\n\n\treturn [...checkoutKeys.options, apiArgs] as const;\n}\n\nexport function checkoutOptionsQueryOptions(\n\tparams: CheckoutOptionsQueryOptions,\n) {\n\tconst enabled = Boolean(\n\t\tparams.chainId &&\n\t\t\tparams.walletAddress &&\n\t\t\tparams.orders?.length &&\n\t\t\tparams.config &&\n\t\t\t(params.query?.enabled ?? true),\n\t);\n\n\treturn queryOptions({\n\t\tqueryKey: getCheckoutOptionsQueryKey(params),\n\t\tqueryFn: () =>\n\t\t\tfetchCheckoutOptions({\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tchainId: params.chainId!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\twalletAddress: params.walletAddress!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\torders: params.orders!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tconfig: params.config!,\n\t\t\t\tadditionalFee: params.additionalFee ?? 0,\n\t\t\t}),\n\t\t...params.query,\n\t\tenabled,\n\t});\n}\n","import { queryOptions } from '@tanstack/react-query';\nimport type { Address } from 'viem';\nimport type { SdkConfig } from '../../../types';\nimport {\n\tcheckoutKeys,\n\tgetMarketplaceClient,\n\ttype QueryKeyArgs,\n\ttype ValuesOptional,\n} from '../../_internal';\nimport type {\n\tCheckoutOptionsItem,\n\tCheckoutOptionsSalesContractArgs,\n\tCheckoutOptionsSalesContractReturn,\n} from '../../_internal/api/marketplace.gen';\nimport type { StandardQueryOptions } from '../../types/query';\n\nexport interface FetchCheckoutOptionsSalesContractParams\n\textends Omit<CheckoutOptionsSalesContractArgs, 'chainId' | 'wallet'> {\n\tchainId: number;\n\twalletAddress: Address;\n\tcontractAddress: string;\n\tcollectionAddress: string;\n\titems: Array<CheckoutOptionsItem>;\n\tconfig: SdkConfig;\n}\n\n/**\n * Fetches checkout options for sales contract from the Marketplace API\n */\nexport async function fetchCheckoutOptionsSalesContract(\n\tparams: FetchCheckoutOptionsSalesContractParams,\n): Promise<CheckoutOptionsSalesContractReturn> {\n\tconst {\n\t\tchainId,\n\t\twalletAddress,\n\t\tcontractAddress,\n\t\tcollectionAddress,\n\t\titems,\n\t\tconfig,\n\t} = params;\n\n\tconst client = getMarketplaceClient(config);\n\n\tconst apiArgs: CheckoutOptionsSalesContractArgs = {\n\t\tchainId: String(chainId),\n\t\twallet: walletAddress,\n\t\tcontractAddress,\n\t\tcollectionAddress,\n\t\titems,\n\t};\n\n\tconst result = await client.checkoutOptionsSalesContract(apiArgs);\n\treturn result;\n}\n\nexport type CheckoutOptionsSalesContractQueryOptions =\n\tValuesOptional<FetchCheckoutOptionsSalesContractParams> & {\n\t\tquery?: StandardQueryOptions;\n\t};\n\nexport function getCheckoutOptionsSalesContractQueryKey(\n\tparams: CheckoutOptionsSalesContractQueryOptions,\n) {\n\tconst apiArgs = {\n\t\tchainId: String(params.chainId),\n\t\twallet: params.walletAddress,\n\t\tcontractAddress: params.contractAddress,\n\t\tcollectionAddress: params.collectionAddress,\n\t\titems: params.items,\n\t} satisfies QueryKeyArgs<CheckoutOptionsSalesContractArgs>;\n\n\treturn [...checkoutKeys.options, 'salesContract', apiArgs] as const;\n}\n\nexport function checkoutOptionsSalesContractQueryOptions(\n\tparams: CheckoutOptionsSalesContractQueryOptions,\n) {\n\tconst enabled = Boolean(\n\t\tparams.chainId &&\n\t\t\tparams.walletAddress &&\n\t\t\tparams.contractAddress &&\n\t\t\tparams.collectionAddress &&\n\t\t\tparams.items?.length &&\n\t\t\tparams.config &&\n\t\t\t(params.query?.enabled ?? true),\n\t);\n\n\treturn queryOptions({\n\t\tqueryKey: getCheckoutOptionsSalesContractQueryKey(params),\n\t\tqueryFn: () =>\n\t\t\tfetchCheckoutOptionsSalesContract({\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tchainId: params.chainId!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\twalletAddress: params.walletAddress!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tcontractAddress: params.contractAddress!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tcollectionAddress: params.collectionAddress!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\titems: params.items!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tconfig: params.config!,\n\t\t\t}),\n\t\t...params.query,\n\t\tenabled,\n\t});\n}\n","import type {\n\tGetTokenMetadataPropertyFiltersArgs,\n\tPropertyFilter,\n} from '@0xsequence/metadata';\nimport { queryOptions } from '@tanstack/react-query';\nimport { FilterCondition, type SdkConfig } from '../../../types';\nimport { compareAddress } from '../../../utils';\nimport {\n\tgetMetadataClient,\n\tgetQueryClient,\n\ttype QueryKeyArgs,\n\ttype ValuesOptional,\n} from '../../_internal';\nimport type { StandardQueryOptions } from '../../types/query';\nimport { marketplaceConfigOptions } from './marketplaceConfig';\n\nexport interface FetchFiltersParams {\n\tchainId: number;\n\tcollectionAddress: string;\n\tshowAllFilters?: boolean;\n\texcludePropertyValues?: boolean;\n\tconfig: SdkConfig;\n}\n\n/**\n * Fetches collection filters from the Metadata API with optional marketplace filtering\n */\nexport async function fetchFilters(\n\tparams: FetchFiltersParams,\n): Promise<PropertyFilter[]> {\n\tconst {\n\t\tchainId,\n\t\tcollectionAddress,\n\t\tshowAllFilters,\n\t\texcludePropertyValues,\n\t\tconfig,\n\t} = params;\n\n\tconst metadataClient = getMetadataClient(config);\n\n\tconst filters = await metadataClient\n\t\t.getTokenMetadataPropertyFilters({\n\t\t\tchainID: chainId.toString(),\n\t\t\tcontractAddress: collectionAddress,\n\t\t\texcludeProperties: [],\n\t\t\texcludePropertyValues,\n\t\t})\n\t\t.then((resp) => resp.filters);\n\n\tif (showAllFilters) return filters;\n\n\tconst queryClient = getQueryClient();\n\tconst marketplaceConfig = await queryClient.fetchQuery(\n\t\tmarketplaceConfigOptions(config),\n\t);\n\tconst collectionFilters = marketplaceConfig.market.collections.find((c) =>\n\t\tcompareAddress(c.itemsAddress, collectionAddress),\n\t)?.filterSettings;\n\n\tconst filterOrder = collectionFilters?.filterOrder;\n\tconst exclusions = collectionFilters?.exclusions;\n\tlet sortedFilters = filters;\n\n\tif (filterOrder) {\n\t\tsortedFilters = filters.toSorted((a, b) => {\n\t\t\tconst aIndex =\n\t\t\t\tfilterOrder.indexOf(a.name) > -1\n\t\t\t\t\t? filterOrder.indexOf(a.name)\n\t\t\t\t\t: filterOrder.length;\n\t\t\tconst bIndex =\n\t\t\t\tfilterOrder.indexOf(b.name) > -1\n\t\t\t\t\t? filterOrder.indexOf(b.name)\n\t\t\t\t\t: filterOrder.length;\n\t\t\treturn aIndex - bIndex;\n\t\t});\n\t}\n\n\tif (exclusions) {\n\t\tsortedFilters = sortedFilters.reduce<PropertyFilter[]>((acc, filter) => {\n\t\t\tconst exclusionRule = exclusions.find((rule) => rule.key === filter.name);\n\n\t\t\tif (!exclusionRule) {\n\t\t\t\tacc.push(filter);\n\t\t\t\treturn acc;\n\t\t\t}\n\n\t\t\tif (exclusionRule.condition === FilterCondition.ENTIRE_KEY) {\n\t\t\t\treturn acc;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\texclusionRule.condition === FilterCondition.SPECIFIC_VALUE &&\n\t\t\t\texclusionRule.value\n\t\t\t) {\n\t\t\t\tconst filteredValues =\n\t\t\t\t\tfilter.values?.filter((value) => value !== exclusionRule.value) || [];\n\t\t\t\tif (filteredValues.length > 0) {\n\t\t\t\t\tacc.push({ ...filter, values: filteredValues });\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn acc;\n\t\t}, []);\n\t}\n\n\treturn sortedFilters;\n}\n\nexport type FiltersQueryOptions = ValuesOptional<FetchFiltersParams> & {\n\tquery?: StandardQueryOptions;\n};\n\nexport function getFiltersQueryKey(params: FiltersQueryOptions) {\n\tconst apiArgs = {\n\t\tchainID: String(params.chainId),\n\t\tcontractAddress: params.collectionAddress,\n\t\texcludeProperties: undefined,\n\t\texcludePropertyValues: params.excludePropertyValues,\n\t} satisfies QueryKeyArgs<GetTokenMetadataPropertyFiltersArgs>;\n\n\treturn [\n\t\t'filters',\n\t\tapiArgs,\n\t\t{ showAllFilters: params.showAllFilters },\n\t] as const;\n}\n\nexport function filtersQueryOptions(params: FiltersQueryOptions) {\n\tconst enabled = Boolean(\n\t\tparams.chainId &&\n\t\t\tparams.collectionAddress &&\n\t\t\tparams.config &&\n\t\t\t(params.query?.enabled ?? true),\n\t);\n\n\treturn queryOptions({\n\t\tqueryKey: getFiltersQueryKey(params),\n\t\tqueryFn: () =>\n\t\t\tfetchFilters({\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tchainId: params.chainId!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tcollectionAddress: params.collectionAddress!,\n\t\t\t\tshowAllFilters: params.showAllFilters,\n\t\t\t\texcludePropertyValues: params.excludePropertyValues,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tconfig: params.config!,\n\t\t\t}),\n\t\t...params.query,\n\t\tenabled,\n\t});\n}\n"],"mappings":";;;;;;;;;;AAqBA,eAAsB,cACrB,QACgC;CAChC,MAAM,EAAE,SAAS,iBAAiB,WAAW;CAG7C,IAAI,aAFgB,gBAAgB,CAEP,aAAa,CAAC,GAAG,aAAa,OAAO,QAAQ,CAAC;AAI3E,KAAI,CAAC,WAEJ,cAAa,MADa,qBAAqB,OAAO,CAEpD,eAAe,EAAE,SAAS,OAAO,QAAQ,EA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EACN;EARe;GACf,SAAS,OAAO,OAAO,QAAQ;GAC/B,iBAAiB,OAAO;GACxB,mBAAmB;GACnB,uBAAuB,OAAO;GAC9B;EAKA,EAAE,gBAAgB,OAAO,gBAAgB;EACzC;;AAGF,SAAgB,oBAAoB,QAA6B;CAChE,MAAM,UAAU,QACf,OAAO,WACN,OAAO,qBACP,OAAO,WACN,OAAO,OAAO,WAAW,MAC3B;AAED,QAAO,aAAa;EACnB,UAAU,mBAAmB,OAAO;EACpC,eACC,aAAa;GAEZ,SAAS,OAAO;GAEhB,mBAAmB,OAAO;GAC1B,gBAAgB,OAAO;GACvB,uBAAuB,OAAO;GAE9B,QAAQ,OAAO;GACf,CAAC;EACH,GAAG,OAAO;EACV;EACA,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StandardQueryOptions } from "./query
|
|
3
|
-
import * as
|
|
1
|
+
import { G as SdkConfig, Jt as CurrencyStatus, j as ValuesOptional, qt as Currency } from "./create-config.js";
|
|
2
|
+
import { n as StandardQueryOptions } from "./query.js";
|
|
3
|
+
import * as _tanstack_react_query405 from "@tanstack/react-query";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/react/queries/market/currency.d.ts
|
|
@@ -20,11 +20,11 @@ declare function getCurrencyQueryKey(params: CurrencyQueryOptions): readonly ["c
|
|
|
20
20
|
chainId: string;
|
|
21
21
|
currencyAddress: `0x${string}`;
|
|
22
22
|
}];
|
|
23
|
-
declare function currencyQueryOptions(params: CurrencyQueryOptions):
|
|
23
|
+
declare function currencyQueryOptions(params: CurrencyQueryOptions): _tanstack_react_query405.UseQueryOptions<Currency | undefined, Error, Currency | undefined, readonly ["currencies", "details", {
|
|
24
24
|
chainId: string;
|
|
25
25
|
currencyAddress: `0x${string}`;
|
|
26
26
|
}]> & {
|
|
27
|
-
initialData?: Currency |
|
|
27
|
+
initialData?: Currency | _tanstack_react_query405.InitialDataFunction<Currency> | undefined;
|
|
28
28
|
} & {
|
|
29
29
|
queryKey: readonly ["currencies", "details", {
|
|
30
30
|
chainId: string;
|
|
@@ -56,6 +56,8 @@ declare function fetchMarketCurrencies(params: FetchMarketCurrenciesParams): Pro
|
|
|
56
56
|
exchangeRate: number;
|
|
57
57
|
defaultChainCurrency: boolean;
|
|
58
58
|
nativeCurrency: boolean;
|
|
59
|
+
openseaListing: boolean;
|
|
60
|
+
openseaOffer: boolean;
|
|
59
61
|
createdAt: string;
|
|
60
62
|
updatedAt: string;
|
|
61
63
|
deletedAt?: string;
|
|
@@ -69,7 +71,7 @@ declare function getMarketCurrenciesQueryKey(params: MarketCurrenciesQueryOption
|
|
|
69
71
|
readonly includeNativeCurrency: boolean | undefined;
|
|
70
72
|
readonly collectionAddress: `0x${string}` | undefined;
|
|
71
73
|
}];
|
|
72
|
-
declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptions):
|
|
74
|
+
declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptions): _tanstack_react_query405.OmitKeyof<_tanstack_react_query405.UseQueryOptions<{
|
|
73
75
|
contractAddress: string;
|
|
74
76
|
chainId: number;
|
|
75
77
|
status: CurrencyStatus;
|
|
@@ -80,6 +82,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
80
82
|
exchangeRate: number;
|
|
81
83
|
defaultChainCurrency: boolean;
|
|
82
84
|
nativeCurrency: boolean;
|
|
85
|
+
openseaListing: boolean;
|
|
86
|
+
openseaOffer: boolean;
|
|
83
87
|
createdAt: string;
|
|
84
88
|
updatedAt: string;
|
|
85
89
|
deletedAt?: string;
|
|
@@ -94,6 +98,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
94
98
|
exchangeRate: number;
|
|
95
99
|
defaultChainCurrency: boolean;
|
|
96
100
|
nativeCurrency: boolean;
|
|
101
|
+
openseaListing: boolean;
|
|
102
|
+
openseaOffer: boolean;
|
|
97
103
|
createdAt: string;
|
|
98
104
|
updatedAt: string;
|
|
99
105
|
deletedAt?: string;
|
|
@@ -103,7 +109,7 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
103
109
|
readonly includeNativeCurrency: boolean | undefined;
|
|
104
110
|
readonly collectionAddress: `0x${string}` | undefined;
|
|
105
111
|
}]>, "queryFn"> & {
|
|
106
|
-
queryFn?:
|
|
112
|
+
queryFn?: _tanstack_react_query405.QueryFunction<{
|
|
107
113
|
contractAddress: string;
|
|
108
114
|
chainId: number;
|
|
109
115
|
status: CurrencyStatus;
|
|
@@ -114,6 +120,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
114
120
|
exchangeRate: number;
|
|
115
121
|
defaultChainCurrency: boolean;
|
|
116
122
|
nativeCurrency: boolean;
|
|
123
|
+
openseaListing: boolean;
|
|
124
|
+
openseaOffer: boolean;
|
|
117
125
|
createdAt: string;
|
|
118
126
|
updatedAt: string;
|
|
119
127
|
deletedAt?: string;
|
|
@@ -141,6 +149,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
141
149
|
exchangeRate: number;
|
|
142
150
|
defaultChainCurrency: boolean;
|
|
143
151
|
nativeCurrency: boolean;
|
|
152
|
+
openseaListing: boolean;
|
|
153
|
+
openseaOffer: boolean;
|
|
144
154
|
createdAt: string;
|
|
145
155
|
updatedAt: string;
|
|
146
156
|
deletedAt?: string;
|
|
@@ -149,5 +159,5 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
149
159
|
};
|
|
150
160
|
};
|
|
151
161
|
//#endregion
|
|
152
|
-
export {
|
|
153
|
-
//# sourceMappingURL=marketCurrencies
|
|
162
|
+
export { marketCurrenciesQueryOptions as a, currencyQueryOptions as c, getMarketCurrenciesQueryKey as i, fetchCurrency as l, MarketCurrenciesQueryOptions as n, CurrencyQueryOptions as o, fetchMarketCurrencies as r, FetchCurrencyParams as s, FetchMarketCurrenciesParams as t, getCurrencyQueryKey as u };
|
|
163
|
+
//# sourceMappingURL=marketCurrencies.d.ts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { currencyKeys, getMarketplaceClient
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { _ as getQueryClient, p as currencyKeys, r as getMarketplaceClient } from "./api.js";
|
|
2
|
+
import { S as OrderbookKind } from "./marketplace.gen.js";
|
|
3
|
+
import { l as compareAddress } from "./utils.js";
|
|
4
|
+
import { n as marketplaceConfigOptions } from "./marketplaceConfig.js";
|
|
4
5
|
import { queryOptions } from "@tanstack/react-query";
|
|
5
6
|
import { zeroAddress } from "viem";
|
|
6
7
|
|
|
@@ -16,8 +17,10 @@ async function fetchMarketCurrencies(params) {
|
|
|
16
17
|
contractAddress: currency.contractAddress || zeroAddress
|
|
17
18
|
})));
|
|
18
19
|
if (collectionAddress) {
|
|
19
|
-
const
|
|
20
|
-
|
|
20
|
+
const marketplaceConfig = await getQueryClient().fetchQuery(marketplaceConfigOptions(config));
|
|
21
|
+
const isOpensea = marketplaceConfig.market.collections.find((collection) => compareAddress(collection.itemsAddress, collectionAddress))?.destinationMarketplace === OrderbookKind.opensea;
|
|
22
|
+
const currenciesOptions = marketplaceConfig.market.collections.find((collection) => compareAddress(collection.itemsAddress, collectionAddress))?.currencyOptions;
|
|
23
|
+
if (currenciesOptions && !isOpensea) currencies = currencies.filter((currency) => currenciesOptions.includes(currency.contractAddress));
|
|
21
24
|
}
|
|
22
25
|
if (!includeNativeCurrencyOption) currencies = currencies.filter((currency) => !currency.nativeCurrency);
|
|
23
26
|
return currencies;
|
|
@@ -49,5 +52,5 @@ function marketCurrenciesQueryOptions(params) {
|
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
//#endregion
|
|
52
|
-
export {
|
|
53
|
-
//# sourceMappingURL=marketCurrencies
|
|
55
|
+
export { getMarketCurrenciesQueryKey as n, marketCurrenciesQueryOptions as r, fetchMarketCurrencies as t };
|
|
56
|
+
//# sourceMappingURL=marketCurrencies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketCurrencies.js","names":[],"sources":["../src/react/queries/market/marketCurrencies.ts"],"sourcesContent":["import { queryOptions } from '@tanstack/react-query';\nimport { type Address, zeroAddress } from 'viem';\nimport type { SdkConfig } from '../../../types';\nimport { compareAddress } from '../../../utils';\nimport {\n\tcurrencyKeys,\n\tgetMarketplaceClient,\n\tgetQueryClient,\n\ttype ListCurrenciesArgs,\n\tOrderbookKind,\n\ttype QueryKeyArgs,\n\ttype ValuesOptional,\n} from '../../_internal';\nimport type { StandardQueryOptions } from '../../types/query';\nimport { marketplaceConfigOptions } from './marketplaceConfig';\n\nexport interface FetchMarketCurrenciesParams {\n\tchainId: number;\n\tincludeNativeCurrency?: boolean;\n\tcollectionAddress?: Address;\n\tconfig: SdkConfig;\n}\n\n/**\n * Fetches supported currencies for a marketplace\n */\nexport async function fetchMarketCurrencies(\n\tparams: FetchMarketCurrenciesParams,\n) {\n\tconst { chainId, includeNativeCurrency, collectionAddress, config } = params;\n\tconst includeNativeCurrencyOption = includeNativeCurrency ?? true;\n\tconst marketplaceClient = getMarketplaceClient(config);\n\n\tlet currencies = await marketplaceClient\n\t\t.listCurrencies({\n\t\t\tchainId: String(chainId),\n\t\t})\n\t\t.then((resp) =>\n\t\t\tresp.currencies.map((currency) => ({\n\t\t\t\t...currency,\n\t\t\t\tcontractAddress: currency.contractAddress || zeroAddress,\n\t\t\t})),\n\t\t);\n\n\tif (collectionAddress) {\n\t\tconst queryClient = getQueryClient();\n\t\tconst marketplaceConfig = await queryClient.fetchQuery(\n\t\t\tmarketplaceConfigOptions(config),\n\t\t);\n\t\tconst collection = marketplaceConfig.market.collections.find((collection) =>\n\t\t\tcompareAddress(collection.itemsAddress, collectionAddress),\n\t\t);\n\t\tconst isOpensea =\n\t\t\tcollection?.destinationMarketplace === OrderbookKind.opensea;\n\n\t\tconst currenciesOptions = marketplaceConfig.market.collections.find(\n\t\t\t(collection) =>\n\t\t\t\tcompareAddress(collection.itemsAddress, collectionAddress),\n\t\t)?.currencyOptions;\n\n\t\t// Filter currencies based on collection currency options\n\t\t// Skip filtering for OpenSea as it uses API-based currency support flags\n\t\tif (currenciesOptions && !isOpensea) {\n\t\t\tcurrencies = currencies.filter((currency) =>\n\t\t\t\tcurrenciesOptions.includes(currency.contractAddress),\n\t\t\t);\n\t\t}\n\t}\n\n\tif (!includeNativeCurrencyOption) {\n\t\tcurrencies = currencies.filter((currency) => !currency.nativeCurrency);\n\t}\n\n\treturn currencies;\n}\n\nexport type MarketCurrenciesQueryOptions =\n\tValuesOptional<FetchMarketCurrenciesParams> & {\n\t\tquery?: StandardQueryOptions;\n\t};\n\nexport function getMarketCurrenciesQueryKey(\n\tparams: MarketCurrenciesQueryOptions,\n) {\n\tconst apiArgs = {\n\t\tchainId: String(params.chainId),\n\t} satisfies QueryKeyArgs<ListCurrenciesArgs>;\n\n\treturn [\n\t\t...currencyKeys.lists,\n\t\tapiArgs,\n\t\t{\n\t\t\tincludeNativeCurrency: params.includeNativeCurrency,\n\t\t\tcollectionAddress: params.collectionAddress,\n\t\t},\n\t] as const;\n}\n\nexport function marketCurrenciesQueryOptions(\n\tparams: MarketCurrenciesQueryOptions,\n) {\n\tconst enabled = Boolean(\n\t\tparams.chainId && params.config && (params.query?.enabled ?? true),\n\t);\n\n\treturn queryOptions({\n\t\tqueryKey: getMarketCurrenciesQueryKey(params),\n\t\tqueryFn: () =>\n\t\t\tfetchMarketCurrencies({\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tchainId: params.chainId!,\n\t\t\t\t// biome-ignore lint/style/noNonNullAssertion: The enabled check above ensures these are not undefined\n\t\t\t\tconfig: params.config!,\n\t\t\t\tincludeNativeCurrency: params.includeNativeCurrency,\n\t\t\t\tcollectionAddress: params.collectionAddress,\n\t\t\t}),\n\t\t...params.query,\n\t\tenabled,\n\t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AAC"}
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
const createMarketplaceLogo = (importFn, alt) => {
|
|
7
7
|
const LazyLogo = lazy(async () => {
|
|
8
8
|
const src = await importFn();
|
|
9
|
-
return { default: function MarketplaceLogo({ alt: altProp
|
|
9
|
+
return { default: function MarketplaceLogo({ alt: altProp, ...props }) {
|
|
10
10
|
return /* @__PURE__ */ jsx(Image, {
|
|
11
11
|
src: src.default,
|
|
12
12
|
alt: altProp || alt,
|
|
@@ -24,27 +24,27 @@ const createMarketplaceLogo = (importFn, alt) => {
|
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
const AlienSwapLogo = createMarketplaceLogo(() => import("./alien_swap
|
|
28
|
-
const AquaXyzLogo = createMarketplaceLogo(() => import("./aqua-xyz
|
|
29
|
-
const AuraLogo = createMarketplaceLogo(() => import("./aura
|
|
30
|
-
const BlurLogo = createMarketplaceLogo(() => import("./blur
|
|
31
|
-
const CoinbaseLogo = createMarketplaceLogo(() => import("./coinbase
|
|
32
|
-
const ElementLogo = createMarketplaceLogo(() => import("./element
|
|
33
|
-
const FoundationLogo = createMarketplaceLogo(() => import("./foundation
|
|
34
|
-
const LooksRareLogo = createMarketplaceLogo(() => import("./looks-rare
|
|
35
|
-
const MagicEdenLogo = createMarketplaceLogo(() => import("./magic-eden
|
|
36
|
-
const ManifoldLogo = createMarketplaceLogo(() => import("./manifold
|
|
37
|
-
const MintifyLogo = createMarketplaceLogo(() => import("./mintify
|
|
38
|
-
const NftxLogo = createMarketplaceLogo(() => import("./nftx
|
|
39
|
-
const OkxLogo = createMarketplaceLogo(() => import("./okx
|
|
40
|
-
const OpenSeaLogo = createMarketplaceLogo(() => import("./open-sea
|
|
41
|
-
const RaribleLogo = createMarketplaceLogo(() => import("./rarible
|
|
42
|
-
const SequenceLogo = createMarketplaceLogo(() => import("./sequence
|
|
43
|
-
const SudoSwapLogo = createMarketplaceLogo(() => import("./sudo-swap
|
|
44
|
-
const SuperRareLogo = createMarketplaceLogo(() => import("./super-rare
|
|
45
|
-
const X2y2Logo = createMarketplaceLogo(() => import("./x2y2
|
|
46
|
-
const ZoraLogo = createMarketplaceLogo(() => import("./zora
|
|
27
|
+
const AlienSwapLogo = createMarketplaceLogo(() => import("./alien_swap.js"), "AlienSwap Logo");
|
|
28
|
+
const AquaXyzLogo = createMarketplaceLogo(() => import("./aqua-xyz.js"), "AquaXyz Logo");
|
|
29
|
+
const AuraLogo = createMarketplaceLogo(() => import("./aura.js"), "Aura Logo");
|
|
30
|
+
const BlurLogo = createMarketplaceLogo(() => import("./blur.js"), "Blur Logo");
|
|
31
|
+
const CoinbaseLogo = createMarketplaceLogo(() => import("./coinbase.js"), "Coinbase Logo");
|
|
32
|
+
const ElementLogo = createMarketplaceLogo(() => import("./element.js"), "Element Logo");
|
|
33
|
+
const FoundationLogo = createMarketplaceLogo(() => import("./foundation.js"), "Foundation Logo");
|
|
34
|
+
const LooksRareLogo = createMarketplaceLogo(() => import("./looks-rare.js"), "LooksRare Logo");
|
|
35
|
+
const MagicEdenLogo = createMarketplaceLogo(() => import("./magic-eden.js"), "MagicEden Logo");
|
|
36
|
+
const ManifoldLogo = createMarketplaceLogo(() => import("./manifold.js"), "Manifold Logo");
|
|
37
|
+
const MintifyLogo = createMarketplaceLogo(() => import("./mintify.js"), "Mintify Logo");
|
|
38
|
+
const NftxLogo = createMarketplaceLogo(() => import("./nftx.js"), "NFTX Logo");
|
|
39
|
+
const OkxLogo = createMarketplaceLogo(() => import("./okx.js"), "OKX Logo");
|
|
40
|
+
const OpenSeaLogo = createMarketplaceLogo(() => import("./open-sea.js"), "OpenSea Logo");
|
|
41
|
+
const RaribleLogo = createMarketplaceLogo(() => import("./rarible.js"), "Rarible Logo");
|
|
42
|
+
const SequenceLogo = createMarketplaceLogo(() => import("./sequence.js"), "Sequence Logo");
|
|
43
|
+
const SudoSwapLogo = createMarketplaceLogo(() => import("./sudo-swap.js"), "SudoSwap Logo");
|
|
44
|
+
const SuperRareLogo = createMarketplaceLogo(() => import("./super-rare.js"), "SuperRare Logo");
|
|
45
|
+
const X2y2Logo = createMarketplaceLogo(() => import("./x2y2.js"), "X2Y2 Logo");
|
|
46
|
+
const ZoraLogo = createMarketplaceLogo(() => import("./zora.js"), "Zora Logo");
|
|
47
47
|
|
|
48
48
|
//#endregion
|
|
49
|
-
export {
|
|
50
|
-
//# sourceMappingURL=marketplace-logos
|
|
49
|
+
export { SudoSwapLogo as _, CoinbaseLogo as a, ZoraLogo as b, LooksRareLogo as c, MintifyLogo as d, NftxLogo as f, SequenceLogo as g, RaribleLogo as h, BlurLogo as i, MagicEdenLogo as l, OpenSeaLogo as m, AquaXyzLogo as n, ElementLogo as o, OkxLogo as p, AuraLogo as r, FoundationLogo as s, AlienSwapLogo as t, ManifoldLogo as u, SuperRareLogo as v, X2y2Logo as y };
|
|
50
|
+
//# sourceMappingURL=marketplace-logos.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace-logos.js","names":[],"sources":["../src/react/ui/components/marketplace-logos/marketplace-logos.tsx"],"sourcesContent":["import { Image } from '@0xsequence/design-system';\nimport { type ComponentProps, lazy, Suspense } from 'react';\n\n/* @__PURE__ */\nconst createMarketplaceLogo = (\n\timportFn: () => Promise<{ default: string }>,\n\talt: string,\n) => {\n\tconst LazyLogo = lazy(async () => {\n\t\tconst src = await importFn();\n\t\treturn {\n\t\t\tdefault: function MarketplaceLogo({\n\t\t\t\talt: altProp,\n\t\t\t\t...props\n\t\t\t}: ComponentProps<typeof Image>) {\n\t\t\t\treturn <Image src={src.default} alt={altProp || alt} {...props} />;\n\t\t\t},\n\t\t};\n\t});\n\n\treturn function MarketplaceLogo(props: ComponentProps<typeof Image>) {\n\t\treturn (\n\t\t\t<Suspense\n\t\t\t\tfallback={<div style={{ width: props.width, height: props.height }} />}\n\t\t\t>\n\t\t\t\t{/* @ts-ignore */}\n\t\t\t\t<LazyLogo {...props} />\n\t\t\t</Suspense>\n\t\t);\n\t};\n};\n\nexport const AlienSwapLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/alien_swap.png'),\n\t'AlienSwap Logo',\n);\nexport const AquaXyzLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/aqua-xyz.png'),\n\t'AquaXyz Logo',\n);\nexport const AuraLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/aura.png'),\n\t'Aura Logo',\n);\nexport const BlurLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/blur.png'),\n\t'Blur Logo',\n);\nexport const CoinbaseLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/coinbase.png'),\n\t'Coinbase Logo',\n);\nexport const ElementLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/element.png'),\n\t'Element Logo',\n);\nexport const FoundationLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/foundation.png'),\n\t'Foundation Logo',\n);\nexport const LooksRareLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/looks-rare.png'),\n\t'LooksRare Logo',\n);\nexport const MagicEdenLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/magic-eden.png'),\n\t'MagicEden Logo',\n);\nexport const ManifoldLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/manifold.png'),\n\t'Manifold Logo',\n);\nexport const MintifyLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/mintify.png'),\n\t'Mintify Logo',\n);\nexport const NftxLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/nftx.png'),\n\t'NFTX Logo',\n);\nexport const OkxLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/okx.png'),\n\t'OKX Logo',\n);\nexport const OpenSeaLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/open-sea.png'),\n\t'OpenSea Logo',\n);\nexport const RaribleLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/rarible.png'),\n\t'Rarible Logo',\n);\nexport const SequenceLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/sequence.png'),\n\t'Sequence Logo',\n);\nexport const SudoSwapLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/sudo-swap.png'),\n\t'SudoSwap Logo',\n);\nexport const SuperRareLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/super-rare.png'),\n\t'SuperRare Logo',\n);\nexport const X2y2Logo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/x2y2.png'),\n\t'X2Y2 Logo',\n);\nexport const ZoraLogo = createMarketplaceLogo(\n\t() => import('../../images/marketplaces/zora.png'),\n\t'Zora Logo',\n);\n"],"mappings":";;;;;AAIA,MAAM,yBACL,UACA,QACI;CACJ,MAAM,WAAW,KAAK,YAAY;EACjC,MAAM,MAAM,MAAM,UAAU;AAC5B,SAAO,EACN,SAAS,SAAS,gBAAgB,EACjC,KAAK,SACL,GAAG,SAC6B;AAChC,UAAO,oBAAC;IAAM,KAAK,IAAI;IAAS,KAAK,WAAW;IAAK,GAAI;KAAS;KAEnE;GACA;AAEF,QAAO,SAAS,gBAAgB,OAAqC;AACpE,SACC,oBAAC;GACA,UAAU,oBAAC,SAAI,OAAO;IAAE,OAAO,MAAM;IAAO,QAAQ,MAAM;IAAQ,GAAI;aAGtE,oBAAC,YAAS,GAAI,QAAS;IACb;;;AAKd,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,cAAc,4BACpB,OAAO,kBACb,eACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA;AACD,MAAa,WAAW,4BACjB,OAAO,cACb,YACA;AACD,MAAa,eAAe,4BACrB,OAAO,kBACb,gBACA;AACD,MAAa,cAAc,4BACpB,OAAO,iBACb,eACA;AACD,MAAa,iBAAiB,4BACvB,OAAO,oBACb,kBACA;AACD,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,gBAAgB,4BACtB,OAAO,oBACb,iBACA;AACD,MAAa,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