@0xsequence/marketplace-sdk 1.1.1 → 1.2.0
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 +34 -3
- package/dist/{BellIcon-ByhygxBO.js → BellIcon-DMKEumAz.js} +2 -2
- package/dist/BellIcon-DMKEumAz.js.map +1 -0
- package/dist/{CartIcon-Bt3rQYGk.js → CartIcon-UyB4NYKt.js} +3 -3
- package/dist/CartIcon-UyB4NYKt.js.map +1 -0
- package/dist/CollectibleCard-z05qWzKE.d.ts +8 -0
- package/dist/_internal-DkS2VUn5.js.map +1 -1
- package/dist/abi-fa-o9gH3.js.map +1 -1
- package/dist/{alien_swap-DoY6XfMA.js → alien_swap-Cq8LuElo.js} +1 -1
- package/dist/{alien_swap-DoY6XfMA.js.map → alien_swap-Cq8LuElo.js.map} +1 -1
- package/dist/{api-BoO0V5aJ.js → api-GwTR0dBA.js} +8 -49
- package/dist/api-GwTR0dBA.js.map +1 -0
- package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz-0yye_c-Z.js} +1 -1
- package/dist/{aqua-xyz-BBDxnG14.js.map → aqua-xyz-0yye_c-Z.js.map} +1 -1
- package/dist/{aura-DGx2zwvF.js → aura-TaxFvTFQ.js} +1 -1
- package/dist/{aura-DGx2zwvF.js.map → aura-TaxFvTFQ.js.map} +1 -1
- package/dist/{blur-D8GKrRrq.js → blur-BupOTobO.js} +1 -1
- package/dist/{blur-D8GKrRrq.js.map → blur-BupOTobO.js.map} +1 -1
- package/dist/{builder-api-BFuZNOaN.js → builder-api-m4JAA6ee.js} +3 -3
- package/dist/builder-api-m4JAA6ee.js.map +1 -0
- package/dist/{builder.gen-B9wR2nvF.js → builder.gen--XD71cNL.js} +2 -2
- package/dist/builder.gen--XD71cNL.js.map +1 -0
- package/dist/{coinbase-DOry4PXY.js → coinbase-DTgZ4wDT.js} +1 -1
- package/dist/{coinbase-DOry4PXY.js.map → coinbase-DTgZ4wDT.js.map} +1 -1
- package/dist/{collectibles-C_H8jMGH.js → collectibles-CZ6i8sXK.js} +15 -49
- package/dist/collectibles-CZ6i8sXK.js.map +1 -0
- package/dist/{collections-CKummc-R.js → collections-5NcU-7ZR.js} +92 -10
- package/dist/collections-5NcU-7ZR.js.map +1 -0
- package/dist/{components-CosnX7F9.js → components-CY8kx2kb.js} +13 -9
- package/dist/components-CY8kx2kb.js.map +1 -0
- package/dist/{contracts-BP_0vX48.js → contracts-DRJHF89h.js} +4 -3
- package/dist/{contracts-BP_0vX48.js.map → contracts-DRJHF89h.js.map} +1 -1
- package/dist/{create-config-CIfejoCk.js → create-config-BxyfYCEk.js} +6 -5
- package/dist/create-config-BxyfYCEk.js.map +1 -0
- package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config-CFBeD8CB.d.ts} +47 -60
- package/dist/{element-ciybd_VF.js → element-D4dDznlu.js} +1 -1
- package/dist/{element-ciybd_VF.js.map → element-D4dDznlu.js.map} +1 -1
- package/dist/{filters-V-V8Dn8f.d.ts → filters-B5niI_fX.d.ts} +7 -7
- package/dist/{foundation-Bq4lRz4x.js → foundation-GHZOKAzN.js} +1 -1
- package/dist/{foundation-Bq4lRz4x.js.map → foundation-GHZOKAzN.js.map} +1 -1
- package/dist/{index-BeRV-7AX.d.ts → index-8scPf0CS.d.ts} +2 -2
- package/dist/index-9qsplZ8r.d.ts +18 -0
- package/dist/{index-BZIJTQT0.d.ts → index-BIuYTMc2.d.ts} +10 -9
- package/dist/{index-C4MUKshG.d.ts → index-BNrz99xy.d.ts} +3 -3
- package/dist/{index-Bsx6XsC2.d.ts → index-BYQOPS8e.d.ts} +116 -62
- package/dist/{index-DUXfvhxs.d.ts → index-BkZ7SPLc.d.ts} +19 -29
- package/dist/{index-NlPMNcqh.d.ts → index-BnUku_aF.d.ts} +109 -114
- package/dist/{index-Stm5u0I0.d.ts → index-BtDAHMW_.d.ts} +9 -12
- package/dist/{index-BOiHR01C.d.ts → index-C-c_M_sE.d.ts} +10 -9
- package/dist/{index-DWt6yrIG.d.ts → index-CNIiC8Z_.d.ts} +11 -8
- package/dist/{index-DmudgrsN.d.ts → index-CbERNN3s.d.ts} +26 -16
- package/dist/{index-CxpFwGvR.d.ts → index-CsfxsN0t.d.ts} +4 -4
- package/dist/{index-CxA34wP1.d.ts → index-DASjaiJL.d.ts} +105 -19
- package/dist/{index-Bxzjy0d1.d.ts → index-DD7Vc4cE.d.ts} +2 -2
- package/dist/{index-DqXd1EeB.d.ts → index-DIc8OqWV.d.ts} +7 -6
- package/dist/{index-CnEbXm_t.d.ts → index-DVI_vggD.d.ts} +53 -12
- package/dist/{index-CPzvNmq9.d.ts → index-DqxQeYT2.d.ts} +39 -36
- package/dist/{index-CS65jqOq.d.ts → index-Dsf9FRtr.d.ts} +19 -3
- package/dist/{index-DFEnA6Wa.d.ts → index-DxAReMEO.d.ts} +34 -34
- package/dist/{index-U-zp70of.d.ts → index-UXRoZmd_.d.ts} +8 -12
- package/dist/{index-DwKr18CI.d.ts → index-isFvc5gd.d.ts} +2 -2
- package/dist/{index-BtWMBHeP.d.ts → index-j3nuJWyJ.d.ts} +13 -9
- package/dist/{index-C-745li7.d.ts → index-nVb7o0hc.d.ts} +2 -2
- package/dist/{index-D9LPlmbC.d.ts → index-pbE88Tt7.d.ts} +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/{inventory-Dd7TazvZ.js → inventory--t6Zu55O.js} +21 -18
- package/dist/inventory--t6Zu55O.js.map +1 -0
- package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated-BlE5mSzh.d.ts} +32 -32
- package/dist/{listCollections-BB9FxKj2.d.ts → listCollections-DWyqFSQ3.d.ts} +143 -66
- package/dist/{looks-rare-6H--x3AM.js → looks-rare-2HBhMpOf.js} +1 -1
- package/dist/{looks-rare-6H--x3AM.js.map → looks-rare-2HBhMpOf.js.map} +1 -1
- package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing-DsunDO1c.d.ts} +38 -28
- package/dist/{magic-eden-BoxEQ1Li.js → magic-eden-BYdTp-uk.js} +1 -1
- package/dist/{magic-eden-BoxEQ1Li.js.map → magic-eden-BYdTp-uk.js.map} +1 -1
- package/dist/{manifold-DycKsljb.js → manifold-yE0x6ZmO.js} +1 -1
- package/dist/{manifold-DycKsljb.js.map → manifold-yE0x6ZmO.js.map} +1 -1
- package/dist/{market-C3HV-awQ.js → market-DuBpFsDg.js} +27 -17
- package/dist/market-DuBpFsDg.js.map +1 -0
- package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies-BgwmbGFk.d.ts} +20 -9
- package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies-Bolonndy.js} +13 -7
- package/dist/marketCurrencies-Bolonndy.js.map +1 -0
- package/dist/marketplace-NQB-sEQL.js.map +1 -1
- package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos-Cz9RrtQo.js} +21 -21
- package/dist/marketplace-logos-Cz9RrtQo.js.map +1 -0
- package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen-906FrJQJ.js} +24 -5
- package/dist/marketplace.gen-906FrJQJ.js.map +1 -0
- package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig-Bqjo7NYO.js} +8 -4
- package/dist/marketplaceConfig-Bqjo7NYO.js.map +1 -0
- package/dist/{mintify-Dyqyo8jQ.js → mintify-BXQx3mZB.js} +1 -1
- package/dist/{mintify-Dyqyo8jQ.js.map → mintify-BXQx3mZB.js.map} +1 -1
- package/dist/{network-DtmiMhcg.js → network-DwdZ_5-7.js} +2 -2
- package/dist/network-DwdZ_5-7.js.map +1 -0
- package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain-Ct-hGq8M.js} +4 -3
- package/dist/networkconfigToWagmiChain-Ct-hGq8M.js.map +1 -0
- package/dist/{nftx-2LbFjj9Q.js → nftx-B929_3Ce.js} +1 -1
- package/dist/{nftx-2LbFjj9Q.js.map → nftx-B929_3Ce.js.map} +1 -1
- package/dist/{okx-CBEWJNsR.js → okx-sZ0-Udny.js} +1 -1
- package/dist/{okx-CBEWJNsR.js.map → okx-sZ0-Udny.js.map} +1 -1
- package/dist/{open-sea-Dxntz_PA.js → open-sea-DO9PhTrz.js} +1 -1
- package/dist/{open-sea-Dxntz_PA.js.map → open-sea-DO9PhTrz.js.map} +1 -1
- package/dist/{orders-DnFfZAXV.js → orders-DH76ym2e.js} +16 -9
- package/dist/orders-DH76ym2e.js.map +1 -0
- package/dist/primary-sale-1u4QlPdA.js.map +1 -1
- package/dist/{primary-sales-Dmsi6bqj.js → primary-sales-CECrqatg.js} +49 -7
- package/dist/primary-sales-CECrqatg.js.map +1 -0
- package/dist/{query-BWbCsXLY.d.ts → query-brXxOcH0.d.ts} +1 -1
- package/dist/{rarible-CS0SupHr.js → rarible-Ccb2hs7y.js} +1 -1
- package/dist/{rarible-CS0SupHr.js.map → rarible-Ccb2hs7y.js.map} +1 -1
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +6 -6
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +28 -29
- package/dist/react/_internal/index.d.ts +2 -2
- package/dist/react/_internal/index.js +8 -8
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +3 -3
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +28 -29
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +8 -8
- package/dist/react/hooks/data/collectibles/index.d.ts +10 -10
- package/dist/react/hooks/data/collectibles/index.js +28 -29
- package/dist/react/hooks/data/collections/index.d.ts +11 -11
- package/dist/react/hooks/data/collections/index.js +29 -30
- package/dist/react/hooks/data/index.d.ts +37 -37
- package/dist/react/hooks/data/index.js +29 -30
- package/dist/react/hooks/data/inventory/index.d.ts +36 -36
- package/dist/react/hooks/data/inventory/index.js +28 -29
- package/dist/react/hooks/data/market/index.d.ts +11 -11
- package/dist/react/hooks/data/market/index.js +28 -29
- package/dist/react/hooks/data/orders/index.d.ts +10 -10
- package/dist/react/hooks/data/orders/index.js +28 -29
- package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
- package/dist/react/hooks/data/primary-sales/index.js +29 -30
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +28 -29
- package/dist/react/hooks/index.d.ts +37 -37
- package/dist/react/hooks/index.js +29 -30
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +28 -29
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +28 -29
- package/dist/react/hooks/utils/index.d.ts +36 -36
- package/dist/react/hooks/utils/index.js +28 -29
- package/dist/react/index.d.ts +37 -37
- package/dist/react/index.js +29 -30
- package/dist/react/queries/collectibles/index.d.ts +10 -10
- package/dist/react/queries/collectibles/index.js +12 -13
- package/dist/react/queries/collections/index.d.ts +11 -11
- package/dist/react/queries/collections/index.js +11 -11
- package/dist/react/queries/index.d.ts +24 -24
- package/dist/react/queries/index.js +22 -23
- package/dist/react/queries/inventory/index.d.ts +2 -2
- package/dist/react/queries/inventory/index.js +12 -12
- package/dist/react/queries/market/index.d.ts +5 -5
- package/dist/react/queries/market/index.js +12 -12
- package/dist/react/queries/orders/index.d.ts +10 -10
- package/dist/react/queries/orders/index.js +8 -8
- package/dist/react/queries/primary-sales/index.d.ts +4 -4
- package/dist/react/queries/primary-sales/index.js +9 -9
- package/dist/react/queries/tokens/index.d.ts +4 -4
- package/dist/react/queries/tokens/index.js +8 -9
- package/dist/react/queries/utils/index.d.ts +3 -3
- package/dist/react/queries/utils/index.js +12 -12
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +8 -8
- 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 +12 -12
- 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 +28 -29
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +28 -29
- 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 +8 -8
- 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 +8 -8
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +28 -29
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +28 -29
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react/utils/index.js +6 -6
- package/dist/{react-DE852KeT.js → react-CBsgOdVP.js} +608 -735
- package/dist/react-CBsgOdVP.js.map +1 -0
- package/dist/{sequence-paCCener.js → sequence-CRdb1yEs.js} +1 -1
- package/dist/{sequence-paCCener.js.map → sequence-CRdb1yEs.js.map} +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap-BIklG2gq.js} +1 -1
- package/dist/{sudo-swap-9rH2EgfT.js.map → sudo-swap-BIklG2gq.js.map} +1 -1
- package/dist/{super-rare-DHIuWtRw.js → super-rare-h8645_5E.js} +1 -1
- package/dist/{super-rare-DHIuWtRw.js.map → super-rare-h8645_5E.js.map} +1 -1
- package/dist/token-Cv7l2ZaL.js.map +1 -1
- package/dist/{tokenBalances-ibDerNmM.js → tokenBalances-CouzNX4j.js} +6 -12
- package/dist/tokenBalances-CouzNX4j.js.map +1 -0
- package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies-C3zJll0M.d.ts} +32 -39
- package/dist/{tokens-cGxMadd8.js → tokens-BvIRUCGG.js} +58 -27
- package/dist/tokens-BvIRUCGG.js.map +1 -0
- package/dist/transaction-DZUW5RHu.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +2 -2
- package/dist/types-B_-cnkcP.js.map +1 -1
- package/dist/{types-D2TJ1dwv.d.ts → types-CMDwfhfR.d.ts} +5 -5
- package/dist/utils/abi/index.d.ts +4 -4
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +7 -7
- package/dist/{utils-BfpDVibN.js → utils-9ToOvt-c.js} +50 -7
- package/dist/utils-9ToOvt-c.js.map +1 -0
- package/dist/{utils-BqxcalL2.js → utils-B6di6O-C.js} +2 -2
- package/dist/utils-B6di6O-C.js.map +1 -0
- package/dist/{utils-BCgNhBFR.js → utils-BCYTEOvy.js} +17 -7
- package/dist/utils-BCYTEOvy.js.map +1 -0
- package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt-CbSeUSXe.js} +5 -4
- package/dist/{waitForTransactionReceipt-DieAnV52.js.map → waitForTransactionReceipt-CbSeUSXe.js.map} +1 -1
- package/dist/{x2y2-45WDooeh.js → x2y2-OvF__ugj.js} +1 -1
- package/dist/{x2y2-45WDooeh.js.map → x2y2-OvF__ugj.js.map} +1 -1
- package/dist/{zora-CbeBoLvQ.js → zora-DzCeu-eE.js} +1 -1
- package/dist/{zora-CbeBoLvQ.js.map → zora-DzCeu-eE.js.map} +1 -1
- package/package.json +38 -38
- 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/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__/Modal1155.test.tsx +1 -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/_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 +1 -1
- 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/.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/api-BoO0V5aJ.js.map +0 -1
- package/dist/builder-api-BFuZNOaN.js.map +0 -1
- package/dist/builder.gen-B9wR2nvF.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/create-config-CIfejoCk.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/market-C3HV-awQ.js.map +0 -1
- package/dist/marketCurrencies-sKrTX0og.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/network-DtmiMhcg.js.map +0 -1
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
- package/dist/orders-DnFfZAXV.js.map +0 -1
- package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
- package/dist/react-DE852KeT.js.map +0 -1
- package/dist/tokenBalances-ibDerNmM.js.map +0 -1
- package/dist/tokens-cGxMadd8.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/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/_internal/constants/opensea-currencies.ts +0 -481
- /package/dist/{index-6wsMChsg.d.ts → index-CCggO_hw.d.ts} +0 -0
- /package/dist/{index-CZUtOTjh.d.ts → index-CKefEBrI.d.ts} +0 -0
- /package/dist/{index-DW3njUfb.d.ts → index-DgsCqh_P.d.ts} +0 -0
- /package/dist/{index-DewGsFz5.d.ts → index-xpO4AQyS.d.ts} +0 -0
- /package/dist/{queries-KOcILNJO.js → queries-CyajGg_O.js} +0 -0
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { CollectibleOrder, CollectiblesFilter, GetCollectibleHighestOfferArgs, GetCollectibleLowestListingArgs, GetCollectibleLowestListingReturn, GetFloorOrderArgs, ListCollectibleListingsArgs, ListCollectibleListingsReturn, ListCollectibleOffersReturn, ListOffersForCollectibleArgs, ListOrdersWithCollectiblesArgs, ListOrdersWithCollectiblesReturn, Order, OrderFilter, OrderSide, OrdersFilter, Page, SdkConfig, SortBy, ValuesOptional } from "./create-config-
|
|
2
|
-
import { StandardInfiniteQueryOptions, StandardQueryOptions } from "./query-
|
|
3
|
-
import * as
|
|
1
|
+
import { CollectibleOrder, CollectiblesFilter, GetCollectibleHighestOfferArgs, GetCollectibleLowestListingArgs, GetCollectibleLowestListingReturn, GetFloorOrderArgs, ListCollectibleListingsArgs, ListCollectibleListingsReturn, ListCollectibleOffersReturn, ListOffersForCollectibleArgs, ListOrdersWithCollectiblesArgs, ListOrdersWithCollectiblesReturn, Order, OrderFilter, OrderSide, OrdersFilter, Page, SdkConfig, SortBy, ValuesOptional } from "./create-config-CFBeD8CB.js";
|
|
2
|
+
import { StandardInfiniteQueryOptions, StandardQueryOptions } from "./query-brXxOcH0.js";
|
|
3
|
+
import * as _tanstack_react_query344 from "@tanstack/react-query";
|
|
4
|
+
import * as _tanstack_react_query350 from "@tanstack/react-query";
|
|
5
|
+
import * as _tanstack_react_query327 from "@tanstack/react-query";
|
|
6
|
+
import * as _tanstack_react_query330 from "@tanstack/react-query";
|
|
7
|
+
import * as _tanstack_react_query333 from "@tanstack/react-query";
|
|
8
|
+
import * as _tanstack_react_query336 from "@tanstack/react-query";
|
|
9
|
+
import * as _tanstack_react_query339 from "@tanstack/react-query";
|
|
10
|
+
import * as _tanstack_react_query347 from "@tanstack/react-query";
|
|
11
|
+
import * as _tanstack_react_query353 from "@tanstack/react-query";
|
|
12
|
+
import * as _tanstack_react_query356 from "@tanstack/react-query";
|
|
13
|
+
import * as _tanstack_react_query324 from "@tanstack/react-query";
|
|
4
14
|
import { Address } from "viem";
|
|
5
15
|
|
|
6
16
|
//#region src/react/queries/orders/countItemsOrdersForCollection.d.ts
|
|
@@ -22,12 +32,12 @@ declare function getCountItemsOrdersForCollectionQueryKey(params: CountItemsOrde
|
|
|
22
32
|
contractAddress: string | undefined;
|
|
23
33
|
side: OrderSide | undefined;
|
|
24
34
|
}];
|
|
25
|
-
declare function countItemsOrdersForCollectionQueryOptions(params: CountItemsOrdersForCollectionQueryOptions):
|
|
35
|
+
declare function countItemsOrdersForCollectionQueryOptions(params: CountItemsOrdersForCollectionQueryOptions): _tanstack_react_query344.OmitKeyof<_tanstack_react_query344.UseQueryOptions<number, Error, number, readonly ["collections", "collectionItemsOrdersCount", {
|
|
26
36
|
chainId: string;
|
|
27
37
|
contractAddress: string | undefined;
|
|
28
38
|
side: OrderSide | undefined;
|
|
29
39
|
}]>, "queryFn"> & {
|
|
30
|
-
queryFn?:
|
|
40
|
+
queryFn?: _tanstack_react_query344.QueryFunction<number, readonly ["collections", "collectionItemsOrdersCount", {
|
|
31
41
|
chainId: string;
|
|
32
42
|
contractAddress: string | undefined;
|
|
33
43
|
side: OrderSide | undefined;
|
|
@@ -64,13 +74,13 @@ declare function getCountListingsForCollectibleQueryKey(params: CountListingsFor
|
|
|
64
74
|
tokenId: string | undefined;
|
|
65
75
|
filter: OrderFilter | undefined;
|
|
66
76
|
}];
|
|
67
|
-
declare function countListingsForCollectibleQueryOptions(params: CountListingsForCollectibleQueryOptions):
|
|
77
|
+
declare function countListingsForCollectibleQueryOptions(params: CountListingsForCollectibleQueryOptions): _tanstack_react_query350.OmitKeyof<_tanstack_react_query350.UseQueryOptions<number, Error, number, readonly ["collectable", "listingsCount", {
|
|
68
78
|
chainId: string;
|
|
69
79
|
contractAddress: string | undefined;
|
|
70
80
|
tokenId: string | undefined;
|
|
71
81
|
filter: OrderFilter | undefined;
|
|
72
82
|
}]>, "queryFn"> & {
|
|
73
|
-
queryFn?:
|
|
83
|
+
queryFn?: _tanstack_react_query350.QueryFunction<number, readonly ["collectable", "listingsCount", {
|
|
74
84
|
chainId: string;
|
|
75
85
|
contractAddress: string | undefined;
|
|
76
86
|
tokenId: string | undefined;
|
|
@@ -109,13 +119,13 @@ declare function getCountOffersForCollectibleQueryKey(params: CountOffersForColl
|
|
|
109
119
|
tokenId: string | undefined;
|
|
110
120
|
filter: OrderFilter | undefined;
|
|
111
121
|
}];
|
|
112
|
-
declare function countOffersForCollectibleQueryOptions(params: CountOffersForCollectibleQueryOptions):
|
|
122
|
+
declare function countOffersForCollectibleQueryOptions(params: CountOffersForCollectibleQueryOptions): _tanstack_react_query327.OmitKeyof<_tanstack_react_query327.UseQueryOptions<number, Error, number, readonly ["collectable", "offersCount", {
|
|
113
123
|
chainId: string;
|
|
114
124
|
contractAddress: string | undefined;
|
|
115
125
|
tokenId: string | undefined;
|
|
116
126
|
filter: OrderFilter | undefined;
|
|
117
127
|
}]>, "queryFn"> & {
|
|
118
|
-
queryFn?:
|
|
128
|
+
queryFn?: _tanstack_react_query327.QueryFunction<number, readonly ["collectable", "offersCount", {
|
|
119
129
|
chainId: string;
|
|
120
130
|
contractAddress: string | undefined;
|
|
121
131
|
tokenId: string | undefined;
|
|
@@ -151,12 +161,12 @@ declare function getFloorOrderQueryKey(params: FloorOrderQueryOptions): readonly
|
|
|
151
161
|
contractAddress: string | undefined;
|
|
152
162
|
filter: CollectiblesFilter | undefined;
|
|
153
163
|
}];
|
|
154
|
-
declare function floorOrderQueryOptions(params: FloorOrderQueryOptions):
|
|
164
|
+
declare function floorOrderQueryOptions(params: FloorOrderQueryOptions): _tanstack_react_query330.OmitKeyof<_tanstack_react_query330.UseQueryOptions<CollectibleOrder, Error, CollectibleOrder, readonly ["collectable", "floorOrders", {
|
|
155
165
|
chainId: string;
|
|
156
166
|
contractAddress: string | undefined;
|
|
157
167
|
filter: CollectiblesFilter | undefined;
|
|
158
168
|
}]>, "queryFn"> & {
|
|
159
|
-
queryFn?:
|
|
169
|
+
queryFn?: _tanstack_react_query330.QueryFunction<CollectibleOrder, readonly ["collectable", "floorOrders", {
|
|
160
170
|
chainId: string;
|
|
161
171
|
contractAddress: string | undefined;
|
|
162
172
|
filter: CollectiblesFilter | undefined;
|
|
@@ -190,13 +200,13 @@ declare function getCountOfFilteredOrdersQueryKey(params: GetCountOfFilteredOrde
|
|
|
190
200
|
side: OrderSide | undefined;
|
|
191
201
|
filter: OrdersFilter | undefined;
|
|
192
202
|
}];
|
|
193
|
-
declare function getCountOfFilteredOrdersQueryOptions(params: GetCountOfFilteredOrdersQueryOptions):
|
|
203
|
+
declare function getCountOfFilteredOrdersQueryOptions(params: GetCountOfFilteredOrdersQueryOptions): _tanstack_react_query333.OmitKeyof<_tanstack_react_query333.UseQueryOptions<number, Error, number, readonly ["collections", "getCountOfFilteredOrders", {
|
|
194
204
|
chainId: string;
|
|
195
205
|
contractAddress: string | undefined;
|
|
196
206
|
side: OrderSide | undefined;
|
|
197
207
|
filter: OrdersFilter | undefined;
|
|
198
208
|
}]>, "queryFn"> & {
|
|
199
|
-
queryFn?:
|
|
209
|
+
queryFn?: _tanstack_react_query333.QueryFunction<number, readonly ["collections", "getCountOfFilteredOrders", {
|
|
200
210
|
chainId: string;
|
|
201
211
|
contractAddress: string | undefined;
|
|
202
212
|
side: OrderSide | undefined;
|
|
@@ -233,13 +243,13 @@ declare function getHighestOfferQueryKey(params: HighestOfferQueryOptions): read
|
|
|
233
243
|
tokenId: string | undefined;
|
|
234
244
|
filter: OrderFilter | undefined;
|
|
235
245
|
}];
|
|
236
|
-
declare function highestOfferQueryOptions(params: HighestOfferQueryOptions):
|
|
246
|
+
declare function highestOfferQueryOptions(params: HighestOfferQueryOptions): _tanstack_react_query336.OmitKeyof<_tanstack_react_query336.UseQueryOptions<Order | null, Error, Order | null, readonly ["collectable", "collectable", "details", "highestOffers", {
|
|
237
247
|
chainId: string;
|
|
238
248
|
contractAddress: string | undefined;
|
|
239
249
|
tokenId: string | undefined;
|
|
240
250
|
filter: OrderFilter | undefined;
|
|
241
251
|
}]>, "queryFn"> & {
|
|
242
|
-
queryFn?:
|
|
252
|
+
queryFn?: _tanstack_react_query336.QueryFunction<Order | null, readonly ["collectable", "collectable", "details", "highestOffers", {
|
|
243
253
|
chainId: string;
|
|
244
254
|
contractAddress: string | undefined;
|
|
245
255
|
tokenId: string | undefined;
|
|
@@ -273,13 +283,13 @@ declare function getListItemsOrdersForCollectionQueryKey(params: ListItemsOrders
|
|
|
273
283
|
side: OrderSide | undefined;
|
|
274
284
|
filter: OrdersFilter | undefined;
|
|
275
285
|
}];
|
|
276
|
-
declare function listItemsOrdersForCollectionQueryOptions(params: ListItemsOrdersForCollectionQueryOptions):
|
|
286
|
+
declare function listItemsOrdersForCollectionQueryOptions(params: ListItemsOrdersForCollectionQueryOptions): _tanstack_react_query339.OmitKeyof<_tanstack_react_query339.UseInfiniteQueryOptions<ListOrdersWithCollectiblesReturn, Error, _tanstack_react_query339.InfiniteData<ListOrdersWithCollectiblesReturn, unknown>, readonly ["collections", "collectionItemsOrders", {
|
|
277
287
|
chainId: string;
|
|
278
288
|
contractAddress: `0x${string}` | undefined;
|
|
279
289
|
side: OrderSide | undefined;
|
|
280
290
|
filter: OrdersFilter | undefined;
|
|
281
291
|
}], Page>, "queryFn"> & {
|
|
282
|
-
queryFn?:
|
|
292
|
+
queryFn?: _tanstack_react_query339.QueryFunction<ListOrdersWithCollectiblesReturn, readonly ["collections", "collectionItemsOrders", {
|
|
283
293
|
chainId: string;
|
|
284
294
|
contractAddress: `0x${string}` | undefined;
|
|
285
295
|
side: OrderSide | undefined;
|
|
@@ -292,7 +302,7 @@ declare function listItemsOrdersForCollectionQueryOptions(params: ListItemsOrder
|
|
|
292
302
|
side: OrderSide | undefined;
|
|
293
303
|
filter: OrdersFilter | undefined;
|
|
294
304
|
}] & {
|
|
295
|
-
[dataTagSymbol]:
|
|
305
|
+
[dataTagSymbol]: _tanstack_react_query339.InfiniteData<ListOrdersWithCollectiblesReturn, unknown>;
|
|
296
306
|
[dataTagErrorSymbol]: Error;
|
|
297
307
|
};
|
|
298
308
|
};
|
|
@@ -312,8 +322,8 @@ declare function fetchListItemsOrdersForCollectionPaginated(params: FetchListIte
|
|
|
312
322
|
type ListItemsOrdersForCollectionPaginatedQueryOptions = ValuesOptional<FetchListItemsOrdersForCollectionPaginatedParams> & {
|
|
313
323
|
query?: StandardQueryOptions;
|
|
314
324
|
};
|
|
315
|
-
declare function listItemsOrdersForCollectionPaginatedQueryOptions(params: ListItemsOrdersForCollectionPaginatedQueryOptions):
|
|
316
|
-
queryFn?:
|
|
325
|
+
declare function listItemsOrdersForCollectionPaginatedQueryOptions(params: ListItemsOrdersForCollectionPaginatedQueryOptions): _tanstack_react_query347.OmitKeyof<_tanstack_react_query347.UseQueryOptions<ListOrdersWithCollectiblesReturn, Error, ListOrdersWithCollectiblesReturn, (string | ListItemsOrdersForCollectionPaginatedQueryOptions)[]>, "queryFn"> & {
|
|
326
|
+
queryFn?: _tanstack_react_query347.QueryFunction<ListOrdersWithCollectiblesReturn, (string | ListItemsOrdersForCollectionPaginatedQueryOptions)[], never> | undefined;
|
|
317
327
|
} & {
|
|
318
328
|
queryKey: (string | ListItemsOrdersForCollectionPaginatedQueryOptions)[] & {
|
|
319
329
|
[dataTagSymbol]: ListOrdersWithCollectiblesReturn;
|
|
@@ -342,14 +352,14 @@ declare function getListListingsForCollectibleQueryKey(params: ListListingsForCo
|
|
|
342
352
|
filter: OrderFilter | undefined;
|
|
343
353
|
page: Page | undefined;
|
|
344
354
|
}];
|
|
345
|
-
declare function listListingsForCollectibleQueryOptions(params: ListListingsForCollectibleQueryOptions):
|
|
355
|
+
declare function listListingsForCollectibleQueryOptions(params: ListListingsForCollectibleQueryOptions): _tanstack_react_query353.OmitKeyof<_tanstack_react_query353.UseQueryOptions<ListCollectibleListingsReturn, Error, ListCollectibleListingsReturn, readonly ["collectable", "listings", {
|
|
346
356
|
chainId: string;
|
|
347
357
|
contractAddress: `0x${string}` | undefined;
|
|
348
358
|
tokenId: string | undefined;
|
|
349
359
|
filter: OrderFilter | undefined;
|
|
350
360
|
page: Page | undefined;
|
|
351
361
|
}]>, "queryFn"> & {
|
|
352
|
-
queryFn?:
|
|
362
|
+
queryFn?: _tanstack_react_query353.QueryFunction<ListCollectibleListingsReturn, readonly ["collectable", "listings", {
|
|
353
363
|
chainId: string;
|
|
354
364
|
contractAddress: `0x${string}` | undefined;
|
|
355
365
|
tokenId: string | undefined;
|
|
@@ -391,14 +401,14 @@ declare function getListOffersForCollectibleQueryKey(params: ListOffersForCollec
|
|
|
391
401
|
filter: OrderFilter | undefined;
|
|
392
402
|
page: Page | undefined;
|
|
393
403
|
}];
|
|
394
|
-
declare function listOffersForCollectibleQueryOptions(params: ListOffersForCollectibleQueryOptions):
|
|
404
|
+
declare function listOffersForCollectibleQueryOptions(params: ListOffersForCollectibleQueryOptions): _tanstack_react_query356.OmitKeyof<_tanstack_react_query356.UseQueryOptions<ListCollectibleOffersReturn, Error, ListCollectibleOffersReturn, readonly ["collectable", "offers", {
|
|
395
405
|
chainId: string;
|
|
396
406
|
contractAddress: `0x${string}` | undefined;
|
|
397
407
|
tokenId: string | undefined;
|
|
398
408
|
filter: OrderFilter | undefined;
|
|
399
409
|
page: Page | undefined;
|
|
400
410
|
}]>, "queryFn"> & {
|
|
401
|
-
queryFn?:
|
|
411
|
+
queryFn?: _tanstack_react_query356.QueryFunction<ListCollectibleOffersReturn, readonly ["collectable", "offers", {
|
|
402
412
|
chainId: string;
|
|
403
413
|
contractAddress: `0x${string}` | undefined;
|
|
404
414
|
tokenId: string | undefined;
|
|
@@ -437,13 +447,13 @@ declare function getLowestListingQueryKey(params: LowestListingQueryOptions): re
|
|
|
437
447
|
tokenId: string | undefined;
|
|
438
448
|
filter: OrderFilter | undefined;
|
|
439
449
|
}];
|
|
440
|
-
declare function lowestListingQueryOptions(params: LowestListingQueryOptions):
|
|
450
|
+
declare function lowestListingQueryOptions(params: LowestListingQueryOptions): _tanstack_react_query324.OmitKeyof<_tanstack_react_query324.UseQueryOptions<Order | null | undefined, Error, Order | null | undefined, readonly ["collectable", "collectable", "details", "lowestListings", {
|
|
441
451
|
chainId: string;
|
|
442
452
|
contractAddress: string | undefined;
|
|
443
453
|
tokenId: string | undefined;
|
|
444
454
|
filter: OrderFilter | undefined;
|
|
445
455
|
}]>, "queryFn"> & {
|
|
446
|
-
queryFn?:
|
|
456
|
+
queryFn?: _tanstack_react_query324.QueryFunction<Order | null | undefined, readonly ["collectable", "collectable", "details", "lowestListings", {
|
|
447
457
|
chainId: string;
|
|
448
458
|
contractAddress: string | undefined;
|
|
449
459
|
tokenId: string | undefined;
|
|
@@ -461,5 +471,5 @@ declare function lowestListingQueryOptions(params: LowestListingQueryOptions): _
|
|
|
461
471
|
};
|
|
462
472
|
};
|
|
463
473
|
//#endregion
|
|
464
|
-
export { CountItemsOrdersForCollectionQueryOptions, CountListingsForCollectibleQueryOptions, CountOffersForCollectibleQueryOptions, FetchCountItemsOrdersForCollectionParams, FetchCountListingsForCollectibleParams, FetchCountOffersForCollectibleParams, FetchFloorOrderParams, FetchGetCountOfFilteredOrdersParams, FetchHighestOfferParams, FetchListItemsOrdersForCollectionPaginatedParams, FetchListItemsOrdersForCollectionParams, FetchListListingsForCollectibleParams, FetchListOffersForCollectibleParams, FetchLowestListingParams, FloorOrderQueryOptions, GetCountOfFilteredOrdersQueryOptions, HighestOfferQueryOptions, ListItemsOrdersForCollectionPaginatedQueryOptions, ListItemsOrdersForCollectionQueryOptions, ListListingsForCollectibleQueryOptions, ListOffersForCollectibleQueryOptions, LowestListingQueryOptions, countItemsOrdersForCollectionQueryOptions, countListingsForCollectibleQueryOptions, countOffersForCollectibleQueryOptions, fetchCountItemsOrdersForCollection, fetchCountListingsForCollectible, fetchCountOffersForCollectible, fetchFloorOrder, fetchGetCountOfFilteredOrders, fetchHighestOffer, fetchListItemsOrdersForCollection, fetchListItemsOrdersForCollectionPaginated, fetchListListingsForCollectible, fetchListOffersForCollectible, fetchLowestListing, floorOrderQueryOptions, getCountItemsOrdersForCollectionQueryKey, getCountListingsForCollectibleQueryKey, getCountOfFilteredOrdersQueryKey, getCountOfFilteredOrdersQueryOptions, getCountOffersForCollectibleQueryKey, getFloorOrderQueryKey, getHighestOfferQueryKey, getListItemsOrdersForCollectionQueryKey, getListListingsForCollectibleQueryKey, getListOffersForCollectibleQueryKey, getLowestListingQueryKey, highestOfferQueryOptions, listItemsOrdersForCollectionPaginatedQueryOptions, listItemsOrdersForCollectionQueryOptions, listListingsForCollectibleQueryOptions, listOffersForCollectibleQueryOptions, lowestListingQueryOptions };
|
|
465
|
-
//# sourceMappingURL=lowestListing-
|
|
474
|
+
export { CountItemsOrdersForCollectionQueryOptions, CountListingsForCollectibleQueryOptions, CountOffersForCollectibleQueryOptions, FetchCountItemsOrdersForCollectionParams, FetchCountListingsForCollectibleParams, FetchCountOffersForCollectibleParams, FetchFloorOrderParams, FetchGetCountOfFilteredOrdersParams, FetchHighestOfferParams, FetchListItemsOrdersForCollectionPaginatedParams, FetchListItemsOrdersForCollectionParams, FetchListListingsForCollectibleParams, FetchListOffersForCollectibleParams, FetchLowestListingParams, FloorOrderQueryOptions, GetCountOfFilteredOrdersQueryOptions, HighestOfferQueryOptions, ListItemsOrdersForCollectionPaginatedQueryOptions, ListItemsOrdersForCollectionQueryOptions, ListListingsForCollectibleQueryOptions, ListOffersForCollectibleQueryOptions, LowestListingQueryOptions, countItemsOrdersForCollectionQueryOptions as countItemsOrdersForCollectionQueryOptions$1, countListingsForCollectibleQueryOptions as countListingsForCollectibleQueryOptions$1, countOffersForCollectibleQueryOptions as countOffersForCollectibleQueryOptions$1, fetchCountItemsOrdersForCollection as fetchCountItemsOrdersForCollection$1, fetchCountListingsForCollectible as fetchCountListingsForCollectible$1, fetchCountOffersForCollectible as fetchCountOffersForCollectible$1, fetchFloorOrder as fetchFloorOrder$1, fetchGetCountOfFilteredOrders as fetchGetCountOfFilteredOrders$1, fetchHighestOffer as fetchHighestOffer$1, fetchListItemsOrdersForCollection as fetchListItemsOrdersForCollection$1, fetchListItemsOrdersForCollectionPaginated as fetchListItemsOrdersForCollectionPaginated$1, fetchListListingsForCollectible as fetchListListingsForCollectible$1, fetchListOffersForCollectible as fetchListOffersForCollectible$1, fetchLowestListing as fetchLowestListing$1, floorOrderQueryOptions as floorOrderQueryOptions$1, getCountItemsOrdersForCollectionQueryKey as getCountItemsOrdersForCollectionQueryKey$1, getCountListingsForCollectibleQueryKey as getCountListingsForCollectibleQueryKey$1, getCountOfFilteredOrdersQueryKey as getCountOfFilteredOrdersQueryKey$1, getCountOfFilteredOrdersQueryOptions as getCountOfFilteredOrdersQueryOptions$1, getCountOffersForCollectibleQueryKey as getCountOffersForCollectibleQueryKey$1, getFloorOrderQueryKey as getFloorOrderQueryKey$1, getHighestOfferQueryKey as getHighestOfferQueryKey$1, getListItemsOrdersForCollectionQueryKey as getListItemsOrdersForCollectionQueryKey$1, getListListingsForCollectibleQueryKey as getListListingsForCollectibleQueryKey$1, getListOffersForCollectibleQueryKey as getListOffersForCollectibleQueryKey$1, getLowestListingQueryKey as getLowestListingQueryKey$1, highestOfferQueryOptions as highestOfferQueryOptions$1, listItemsOrdersForCollectionPaginatedQueryOptions as listItemsOrdersForCollectionPaginatedQueryOptions$1, listItemsOrdersForCollectionQueryOptions as listItemsOrdersForCollectionQueryOptions$1, listListingsForCollectibleQueryOptions as listListingsForCollectibleQueryOptions$1, listOffersForCollectibleQueryOptions as listOffersForCollectibleQueryOptions$1, lowestListingQueryOptions as lowestListingQueryOptions$1 };
|
|
475
|
+
//# sourceMappingURL=lowestListing-DsunDO1c.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magic-eden-BoxEQ1Li.js","names":[],"sources":["../src/react/ui/images/marketplaces/magic-eden.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB79SURBVHgB7V1pkBzFlX4vq/qYGY0GnYMOdIAsBOJYhIAFcQ0IBBJiAaPh8AF412scjo3d2PDyZw8Le+0NR2w4dsNer8EbARhjYMQlxCUujbiEZY6VQAJsgUbXIGkkzaG5uqsqc19Vd3VlVmV1t6QZabRRn1TTXVVZmS8zX7738r3MaoAECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgwfEKjLvx3KTnTssP5udZaMxxHGOOADQZwkHD4LtM4J+aZu6N8SnYfdHO5gH4f4BVk1um2bnUV2yHXWSDMYMLzFLjIAcBDA4fCEMIjxAefPXBgwuM/hHNVKwQBvIOg4mthmFsBAM2Xt9+/T4oR18LtBh1481TDlo1N+UEXGILdgp1vNsQtV5aAQ59zwkU/QaKLWnDfjcDTqvTmXu3GZodOA7xwtgnp/aKzNIcNy61OZ4mABqoqlm6xdwKx0O9F9fRsQyAhXtCBHn5aRGD3LFCuX4aoUlL+eSpgH763M8At9aa+RU9ou/1rx/4eg+E839qylPj7Fx6Ri5vfsMW4gri++mOwNEQA4Z4ENHZkkJcx7h4eUwjf2n9lvXWcljO4TjAC7NeyDidveN7nLq7Hc4uo7qSlINxxPDeWCo0TLlOroIBUMTfg6Dj3L+VJAXGP0wdLbQM4Cej23n60knS4H2G/EFhwIfNHX/xuZuDV9mWuS1pt/MdDk15we60hDHX7Xz0M9AcXEC9w41zchxu5AZf1t/Dp1x37nWG8MTPyIZLY++XYozNU2fZnH3LEew8asAJNOKZK0DdA71PoRzoHyi8Ucqko3BNPriXVnlOOpj06XZCbFujfxTyZd4BheeK51jKQ6XV/yQOSFOdG20OiynZMubweS1TW1wpB6b7p7aDTe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
+
{"version":3,"file":"magic-eden-BYdTp-uk.js","names":[],"sources":["../src/react/ui/images/marketplaces/magic-eden.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB79SURBVHgB7V1pkBzFlX4vq/qYGY0GnYMOdIAsBOJYhIAFcQ0IBBJiAaPh8AF412scjo3d2PDyZw8Le+0NR2w4dsNer8EbARhjYMQlxCUujbiEZY6VQAJsgUbXIGkkzaG5uqsqc19Vd3VlVmV1t6QZabRRn1TTXVVZmS8zX7738r3MaoAECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgwfEKjLvx3KTnTssP5udZaMxxHGOOADQZwkHD4LtM4J+aZu6N8SnYfdHO5gH4f4BVk1um2bnUV2yHXWSDMYMLzFLjIAcBDA4fCEMIjxAefPXBgwuM/hHNVKwQBvIOg4mthmFsBAM2Xt9+/T4oR18LtBh1481TDlo1N+UEXGILdgp1vNsQtV5aAQ59zwkU/QaKLWnDfjcDTqvTmXu3GZodOA7xwtgnp/aKzNIcNy61OZ4mABqoqlm6xdwKx0O9F9fRsQyAhXtCBHn5aRGD3LFCuX4aoUlL+eSpgH763M8At9aa+RU9ou/1rx/4eg+E839qylPj7Fx6Ri5vfsMW4gri++mOwNEQA4Z4ENHZkkJcx7h4eUwjf2n9lvXWcljO4TjAC7NeyDidveN7nLq7Hc4uo7qSlINxxPDeWCo0TLlOroIBUMTfg6Dj3L+VJAXGP0wdLbQM4Cej23n60knS4H2G/EFhwIfNHX/xuZuDV9mWuS1pt/MdDk15we60hDHX7Xz0M9AcXEC9w41zchxu5AZf1t/Dp1x37nWG8MTPyIZLY++XYozNU2fZnH3LEew8asAJNOKZK0DdA71PoRzoHyi8Ucqko3BNPriXVnlOOpj06XZCbFujfxTyZd4BheeK51jKQ6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AAElFTkSuQmCC\""],"mappings":";yBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifold-
|
|
1
|
+
{"version":3,"file":"manifold-yE0x6ZmO.js","names":[],"sources":["../src/react/ui/images/marketplaces/manifold.png"],"sourcesContent":["\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3cSURBVHgB7Z0LTBTnFsdneL8fRYFFF1lFQUVEpbX12pabtEl701zN7SNNk8aaNLVp0/Z626TJjcltrmmVqgmxrYnFQKv1iq3aB1AqtlpLii8oqJeCD5DyWhZ51CeosNP/2Z2PDKQKy+7sLnh+yTi7K8wMc853Xt+ZbyWJYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRhvR3799ddnvvDCC/9NTEzMwHs/RVFsn9NelmWJ8Qx0761W6wD2vvS6r6/vck1NzaYjR47sfuedd/olF0ESlsvLy+81mUwb4+LiluC978DAgOTj4yPRnk7u6+vLyuB5lO7u7lrI6j8XLlwoxMC9IbkAX/rHaDSaW1tbK6dMmZIeHBxsIK0jC0BKQJDwWQE8jhwUFBQzadKkdMimFQP2zI8//qhITjJEqlVVVRmxsbH58fHxGaQAZAFo9JMisAJ4B/39/dK1a9fOHT58ePWNGze+e+aZZwYkJ/DVvtm6dWs7BP1dWlrakvDw8CkkfOEGWAE8D2ICmwL4+/vHGAyGjLq6uvr09PQGV1iCIeTk5KQ3NzefgIb137p1S7l586YyHCiGwrgXKMDgfce+v6en50xhYeFTeOsjjZHbDWu5tLR0PtgUHR39ECyBH2mfCAwJek0WgvEcpAhXrlw5f+zYsbcRw5WsXLmyT3KQ20pwx44d7UgNKxAgZoSFhU2BC7BpmXAFtBdBIuMZIAM5MDAwJioqauHvv//etHz58rNffPGFQ+7gjhJE2lGHlOPlzs7OKg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UaN42oKCgkJQrZwfGBh4HucYPpXsdUzIVR0xAjtMJlNVbGzsjPDw8Om0ZI1o+FDUhg0dOo0HjxkQEBANN/QXlKzbU1NTa0e7bq8nmLDLen777bcdcAeVtIJZSEhIErWAk6D8/e3T6K5WAG3zBgFLEAklWIqXbcgM6mAJnPpqF2ZsUKPpYlQMywfs6NKrp3kGf3DWUEwXo7BTj6rec96a20/4hX3hDtry8vKqjEbj3NDQ0GmiH1CvGEDTri0WZYo2GAwPmc3ms3BJ9ZWVlV7rDiYy8rp165IvXLhQ2m/HNnJFtc7Zho7hc/nangLRT0Dt219//fWz3pYd3DVLe1OjaXR0dGVKSsoiauqEUGwxgeKCL78YnlVoX2uWzw1HTPAAglIzgsNab7EEd9Xa7phk6SwoKDiFFHEmhDCN1tJVdFymTatY9Jq6jZOSkrJw7gaUqc95Q2B4V006UMUQwVjlrl27VsMSPI/3ftTTT9aAvhMJ7105KmWqDkLo/vT1e8g+bO4Bn9OziMlwCZF4fVHyMHfl+q3U4dvY2GjzxXALMqaW5YSEBF1Mcltbmw+CTyUyMlLBOW2fwQrQErv9tEkMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzC35Q8AaToc8zpUBwAAAABJRU5ErkJggg==\""],"mappings":";uBAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FilterCondition } from "./builder.gen
|
|
2
|
-
import { checkoutKeys, currencyKeys, getMarketplaceClient, getMetadataClient, getQueryClient } from "./api-
|
|
3
|
-
import { compareAddress } from "./utils-
|
|
4
|
-
import { marketplaceConfigOptions } from "./marketplaceConfig-
|
|
1
|
+
import { FilterCondition$1 as FilterCondition } from "./builder.gen--XD71cNL.js";
|
|
2
|
+
import { checkoutKeys, currencyKeys, getMarketplaceClient, getMetadataClient, getQueryClient } from "./api-GwTR0dBA.js";
|
|
3
|
+
import { compareAddress } from "./utils-9ToOvt-c.js";
|
|
4
|
+
import { marketplaceConfigOptions$1 as marketplaceConfigOptions } from "./marketplaceConfig-Bqjo7NYO.js";
|
|
5
5
|
import { queryOptions, skipToken } from "@tanstack/react-query";
|
|
6
6
|
|
|
7
7
|
//#region src/react/queries/market/currency.ts
|
|
@@ -10,8 +10,12 @@ import { queryOptions, skipToken } from "@tanstack/react-query";
|
|
|
10
10
|
*/
|
|
11
11
|
async function fetchCurrency(params) {
|
|
12
12
|
const { chainId, currencyAddress, config } = params;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
const queryClient = getQueryClient();
|
|
14
|
+
let currencies = queryClient.getQueryData([...currencyKeys.lists, chainId]);
|
|
15
|
+
if (!currencies) {
|
|
16
|
+
const marketplaceClient = getMarketplaceClient(config);
|
|
17
|
+
currencies = await marketplaceClient.listCurrencies({ chainId: String(chainId) }).then((resp) => resp.currencies);
|
|
18
|
+
}
|
|
15
19
|
if (!currencies?.length) throw new Error("No currencies returned");
|
|
16
20
|
const currency = currencies.find((currency$1) => currency$1.contractAddress.toLowerCase() === currencyAddress.toLowerCase());
|
|
17
21
|
if (!currency) throw new Error("Currency not found");
|
|
@@ -56,7 +60,8 @@ async function fetchCheckoutOptions(params) {
|
|
|
56
60
|
})),
|
|
57
61
|
additionalFee: additionalFee ?? 0
|
|
58
62
|
};
|
|
59
|
-
|
|
63
|
+
const result = await client.checkoutOptionsMarketplace(apiArgs);
|
|
64
|
+
return result;
|
|
60
65
|
}
|
|
61
66
|
function getCheckoutOptionsQueryKey(params) {
|
|
62
67
|
const apiArgs = {
|
|
@@ -102,7 +107,8 @@ async function fetchCheckoutOptionsSalesContract(params) {
|
|
|
102
107
|
collectionAddress,
|
|
103
108
|
items
|
|
104
109
|
};
|
|
105
|
-
|
|
110
|
+
const result = await client.checkoutOptionsSalesContract(apiArgs);
|
|
111
|
+
return result;
|
|
106
112
|
}
|
|
107
113
|
function getCheckoutOptionsSalesContractQueryKey(params) {
|
|
108
114
|
const apiArgs = {
|
|
@@ -142,14 +148,17 @@ function checkoutOptionsSalesContractQueryOptions(params) {
|
|
|
142
148
|
*/
|
|
143
149
|
async function fetchFilters(params) {
|
|
144
150
|
const { chainId, collectionAddress, showAllFilters, excludePropertyValues, config } = params;
|
|
145
|
-
const
|
|
151
|
+
const metadataClient = getMetadataClient(config);
|
|
152
|
+
const filters = await metadataClient.getTokenMetadataPropertyFilters({
|
|
146
153
|
chainID: chainId.toString(),
|
|
147
154
|
contractAddress: collectionAddress,
|
|
148
155
|
excludeProperties: [],
|
|
149
156
|
excludePropertyValues
|
|
150
157
|
}).then((resp) => resp.filters);
|
|
151
158
|
if (showAllFilters) return filters;
|
|
152
|
-
const
|
|
159
|
+
const queryClient = getQueryClient();
|
|
160
|
+
const marketplaceConfig = await queryClient.fetchQuery(marketplaceConfigOptions(config));
|
|
161
|
+
const collectionFilters = marketplaceConfig.market.collections.find((c) => compareAddress(c.itemsAddress, collectionAddress))?.filterSettings;
|
|
153
162
|
const filterOrder = collectionFilters?.filterOrder;
|
|
154
163
|
const exclusions = collectionFilters?.exclusions;
|
|
155
164
|
let sortedFilters = filters;
|
|
@@ -177,14 +186,15 @@ async function fetchFilters(params) {
|
|
|
177
186
|
return sortedFilters;
|
|
178
187
|
}
|
|
179
188
|
function getFiltersQueryKey(params) {
|
|
189
|
+
const apiArgs = {
|
|
190
|
+
chainID: String(params.chainId),
|
|
191
|
+
contractAddress: params.collectionAddress,
|
|
192
|
+
excludeProperties: void 0,
|
|
193
|
+
excludePropertyValues: params.excludePropertyValues
|
|
194
|
+
};
|
|
180
195
|
return [
|
|
181
196
|
"filters",
|
|
182
|
-
|
|
183
|
-
chainID: String(params.chainId),
|
|
184
|
-
contractAddress: params.collectionAddress,
|
|
185
|
-
excludeProperties: void 0,
|
|
186
|
-
excludePropertyValues: params.excludePropertyValues
|
|
187
|
-
},
|
|
197
|
+
apiArgs,
|
|
188
198
|
{ showAllFilters: params.showAllFilters }
|
|
189
199
|
];
|
|
190
200
|
}
|
|
@@ -206,4 +216,4 @@ function filtersQueryOptions(params) {
|
|
|
206
216
|
|
|
207
217
|
//#endregion
|
|
208
218
|
export { checkoutOptionsQueryOptions, checkoutOptionsSalesContractQueryOptions, currencyQueryOptions, fetchCheckoutOptions, fetchCheckoutOptionsSalesContract, fetchCurrency, fetchFilters, filtersQueryOptions, getCheckoutOptionsQueryKey, getCheckoutOptionsSalesContractQueryKey, getCurrencyQueryKey, getFiltersQueryKey };
|
|
209
|
-
//# sourceMappingURL=market-
|
|
219
|
+
//# sourceMappingURL=market-DuBpFsDg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"market-DuBpFsDg.js","names":["params: FetchCurrencyParams","currency","params: CurrencyQueryOptions","params: FetchCheckoutOptionsParams","apiArgs: CheckoutOptionsMarketplaceArgs","params: CheckoutOptionsQueryOptions","params: FetchCheckoutOptionsSalesContractParams","apiArgs: CheckoutOptionsSalesContractArgs","params: CheckoutOptionsSalesContractQueryOptions","params: FetchFiltersParams","params: FiltersQueryOptions"],"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,cACrBA,QACgC;CAChC,MAAM,EAAE,SAAS,iBAAiB,QAAQ,GAAG;CAC7C,MAAM,cAAc,gBAAgB;CAEpC,IAAI,aAAa,YAAY,aAAa,CAAC,GAAG,aAAa,O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,OAAO;AAChB,UAAO;EACP;AAED,MAAI,cAAc,cAAc,gBAAgB,WAC/C,QAAO;AAGR,MACC,cAAc,cAAc,gBAAgB,kBAC5C,cAAc,OACb;GACD,MAAM,iBACL,OAAO,QAAQ,OAAO,CAAC,UAAU,UAAU,cAAc,MAAM,IAAI,CAAE;AACtE,OAAI,eAAe,SAAS,EAC3B,KAAI,KAAK;IAAE,GAAG;IAAQ,QAAQ;GAAgB,EAAC;EAEhD;AAED,SAAO;CACP,GAAE,CAAE,EAAC;AAGP,QAAO;AACP;AAMD,SAAgB,mBAAmBC,QAA6B;CAC/D,MAAM,UAAU;EACf,SAAS,OAAO,OAAO,QAAQ;EAC/B,iBAAiB,OAAO;EACxB;EACA,uBAAuB,OAAO;CAC9B;AAED,QAAO;EACN;EACA;EACA,EAAE,gBAAgB,OAAO,eAAgB;CACzC;AACD;AAED,SAAgB,oBAAoBA,QAA6B;CAChE,MAAM,UAAU,QACf,OAAO,WACN,OAAO,qBACP,OAAO,WACN,OAAO,OAAO,WAAW,MAC3B;AAED,QAAO,aAAa;EACnB,UAAU,mBAAmB,OAAO;EACpC,SAAS,MACR,aAAa;GAEZ,SAAS,OAAO;GAEhB,mBAAmB,OAAO;GAC1B,gBAAgB,OAAO;GACvB,uBAAuB,OAAO;GAE9B,QAAQ,OAAO;EACf,EAAC;EACH,GAAG,OAAO;EACV;CACA,EAAC;AACF"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Currency, CurrencyStatus, SdkConfig, ValuesOptional } from "./create-config-
|
|
2
|
-
import { StandardQueryOptions } from "./query-
|
|
3
|
-
import * as
|
|
1
|
+
import { Currency, CurrencyStatus, SdkConfig, ValuesOptional } from "./create-config-CFBeD8CB.js";
|
|
2
|
+
import { StandardQueryOptions } from "./query-brXxOcH0.js";
|
|
3
|
+
import * as _tanstack_react_query408 from "@tanstack/react-query";
|
|
4
|
+
import * as _tanstack_react_query30 from "@tanstack/react-query";
|
|
4
5
|
import { Address } from "viem";
|
|
5
6
|
|
|
6
7
|
//#region src/react/queries/market/currency.d.ts
|
|
@@ -20,11 +21,11 @@ declare function getCurrencyQueryKey(params: CurrencyQueryOptions): readonly ["c
|
|
|
20
21
|
chainId: string;
|
|
21
22
|
currencyAddress: `0x${string}`;
|
|
22
23
|
}];
|
|
23
|
-
declare function currencyQueryOptions(params: CurrencyQueryOptions):
|
|
24
|
+
declare function currencyQueryOptions(params: CurrencyQueryOptions): _tanstack_react_query408.UseQueryOptions<Currency | undefined, Error, Currency | undefined, readonly ["currencies", "details", {
|
|
24
25
|
chainId: string;
|
|
25
26
|
currencyAddress: `0x${string}`;
|
|
26
27
|
}]> & {
|
|
27
|
-
initialData?: Currency |
|
|
28
|
+
initialData?: Currency | _tanstack_react_query408.InitialDataFunction<Currency> | undefined;
|
|
28
29
|
} & {
|
|
29
30
|
queryKey: readonly ["currencies", "details", {
|
|
30
31
|
chainId: string;
|
|
@@ -56,6 +57,8 @@ declare function fetchMarketCurrencies(params: FetchMarketCurrenciesParams): Pro
|
|
|
56
57
|
exchangeRate: number;
|
|
57
58
|
defaultChainCurrency: boolean;
|
|
58
59
|
nativeCurrency: boolean;
|
|
60
|
+
openseaListing: boolean;
|
|
61
|
+
openseaOffer: boolean;
|
|
59
62
|
createdAt: string;
|
|
60
63
|
updatedAt: string;
|
|
61
64
|
deletedAt?: string;
|
|
@@ -69,7 +72,7 @@ declare function getMarketCurrenciesQueryKey(params: MarketCurrenciesQueryOption
|
|
|
69
72
|
readonly includeNativeCurrency: boolean | undefined;
|
|
70
73
|
readonly collectionAddress: `0x${string}` | undefined;
|
|
71
74
|
}];
|
|
72
|
-
declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptions):
|
|
75
|
+
declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptions): _tanstack_react_query30.OmitKeyof<_tanstack_react_query30.UseQueryOptions<{
|
|
73
76
|
contractAddress: string;
|
|
74
77
|
chainId: number;
|
|
75
78
|
status: CurrencyStatus;
|
|
@@ -80,6 +83,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
80
83
|
exchangeRate: number;
|
|
81
84
|
defaultChainCurrency: boolean;
|
|
82
85
|
nativeCurrency: boolean;
|
|
86
|
+
openseaListing: boolean;
|
|
87
|
+
openseaOffer: boolean;
|
|
83
88
|
createdAt: string;
|
|
84
89
|
updatedAt: string;
|
|
85
90
|
deletedAt?: string;
|
|
@@ -94,6 +99,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
94
99
|
exchangeRate: number;
|
|
95
100
|
defaultChainCurrency: boolean;
|
|
96
101
|
nativeCurrency: boolean;
|
|
102
|
+
openseaListing: boolean;
|
|
103
|
+
openseaOffer: boolean;
|
|
97
104
|
createdAt: string;
|
|
98
105
|
updatedAt: string;
|
|
99
106
|
deletedAt?: string;
|
|
@@ -103,7 +110,7 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
103
110
|
readonly includeNativeCurrency: boolean | undefined;
|
|
104
111
|
readonly collectionAddress: `0x${string}` | undefined;
|
|
105
112
|
}]>, "queryFn"> & {
|
|
106
|
-
queryFn?:
|
|
113
|
+
queryFn?: _tanstack_react_query30.QueryFunction<{
|
|
107
114
|
contractAddress: string;
|
|
108
115
|
chainId: number;
|
|
109
116
|
status: CurrencyStatus;
|
|
@@ -114,6 +121,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
114
121
|
exchangeRate: number;
|
|
115
122
|
defaultChainCurrency: boolean;
|
|
116
123
|
nativeCurrency: boolean;
|
|
124
|
+
openseaListing: boolean;
|
|
125
|
+
openseaOffer: boolean;
|
|
117
126
|
createdAt: string;
|
|
118
127
|
updatedAt: string;
|
|
119
128
|
deletedAt?: string;
|
|
@@ -141,6 +150,8 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
141
150
|
exchangeRate: number;
|
|
142
151
|
defaultChainCurrency: boolean;
|
|
143
152
|
nativeCurrency: boolean;
|
|
153
|
+
openseaListing: boolean;
|
|
154
|
+
openseaOffer: boolean;
|
|
144
155
|
createdAt: string;
|
|
145
156
|
updatedAt: string;
|
|
146
157
|
deletedAt?: string;
|
|
@@ -149,5 +160,5 @@ declare function marketCurrenciesQueryOptions(params: MarketCurrenciesQueryOptio
|
|
|
149
160
|
};
|
|
150
161
|
};
|
|
151
162
|
//#endregion
|
|
152
|
-
export { CurrencyQueryOptions, FetchCurrencyParams, FetchMarketCurrenciesParams, MarketCurrenciesQueryOptions, currencyQueryOptions, fetchCurrency, fetchMarketCurrencies, getCurrencyQueryKey, getMarketCurrenciesQueryKey, marketCurrenciesQueryOptions };
|
|
153
|
-
//# sourceMappingURL=marketCurrencies-
|
|
163
|
+
export { CurrencyQueryOptions, FetchCurrencyParams, FetchMarketCurrenciesParams, MarketCurrenciesQueryOptions, currencyQueryOptions as currencyQueryOptions$1, fetchCurrency as fetchCurrency$1, fetchMarketCurrencies as fetchMarketCurrencies$1, getCurrencyQueryKey as getCurrencyQueryKey$1, getMarketCurrenciesQueryKey as getMarketCurrenciesQueryKey$1, marketCurrenciesQueryOptions as marketCurrenciesQueryOptions$1 };
|
|
164
|
+
//# sourceMappingURL=marketCurrencies-BgwmbGFk.d.ts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { currencyKeys, getMarketplaceClient, getQueryClient } from "./api-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { currencyKeys, getMarketplaceClient, getQueryClient } from "./api-GwTR0dBA.js";
|
|
2
|
+
import { OrderbookKind$1 as OrderbookKind } from "./marketplace.gen-906FrJQJ.js";
|
|
3
|
+
import { compareAddress } from "./utils-9ToOvt-c.js";
|
|
4
|
+
import { marketplaceConfigOptions$1 as marketplaceConfigOptions } from "./marketplaceConfig-Bqjo7NYO.js";
|
|
4
5
|
import { queryOptions } from "@tanstack/react-query";
|
|
5
6
|
import { zeroAddress } from "viem";
|
|
6
7
|
|
|
@@ -11,13 +12,18 @@ import { zeroAddress } from "viem";
|
|
|
11
12
|
async function fetchMarketCurrencies(params) {
|
|
12
13
|
const { chainId, includeNativeCurrency, collectionAddress, config } = params;
|
|
13
14
|
const includeNativeCurrencyOption = includeNativeCurrency ?? true;
|
|
14
|
-
|
|
15
|
+
const marketplaceClient = getMarketplaceClient(config);
|
|
16
|
+
let currencies = await marketplaceClient.listCurrencies({ chainId: String(chainId) }).then((resp) => resp.currencies.map((currency) => ({
|
|
15
17
|
...currency,
|
|
16
18
|
contractAddress: currency.contractAddress || zeroAddress
|
|
17
19
|
})));
|
|
18
20
|
if (collectionAddress) {
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
+
const queryClient = getQueryClient();
|
|
22
|
+
const marketplaceConfig = await queryClient.fetchQuery(marketplaceConfigOptions(config));
|
|
23
|
+
const collection = marketplaceConfig.market.collections.find((collection$1) => compareAddress(collection$1.itemsAddress, collectionAddress));
|
|
24
|
+
const isOpensea = collection?.destinationMarketplace === OrderbookKind.opensea;
|
|
25
|
+
const currenciesOptions = marketplaceConfig.market.collections.find((collection$1) => compareAddress(collection$1.itemsAddress, collectionAddress))?.currencyOptions;
|
|
26
|
+
if (currenciesOptions && !isOpensea) currencies = currencies.filter((currency) => currenciesOptions.includes(currency.contractAddress));
|
|
21
27
|
}
|
|
22
28
|
if (!includeNativeCurrencyOption) currencies = currencies.filter((currency) => !currency.nativeCurrency);
|
|
23
29
|
return currencies;
|
|
@@ -50,4 +56,4 @@ function marketCurrenciesQueryOptions(params) {
|
|
|
50
56
|
|
|
51
57
|
//#endregion
|
|
52
58
|
export { fetchMarketCurrencies, getMarketCurrenciesQueryKey, marketCurrenciesQueryOptions };
|
|
53
|
-
//# sourceMappingURL=marketCurrencies-
|
|
59
|
+
//# sourceMappingURL=marketCurrencies-Bolonndy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketCurrencies-Bolonndy.js","names":["params: FetchMarketCurrenciesParams","collection","params: MarketCurrenciesQueryOptions"],"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});\n}\n"],"mappings":";;;;;;;;;;;AA0BA,eAAsB,sBACrBA,QACC;CACD,MAA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