@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
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StandardQueryOptions } from "./query
|
|
3
|
-
import * as
|
|
1
|
+
import { An as GetCollectionActiveListingsCurrenciesReturn, G as SdkConfig, K as CardType, Lt as ContractType, Mn as GetCollectionActiveOffersCurrenciesReturn, Mt as Collection, Or as ListCollectionActivitiesArgs, Pn as GetCollectionDetailArgs, a as CollectionFilterSettings, c as MarketplaceConfig, ii as OrderbookKind, j as ValuesOptional, jn as GetCollectionActiveOffersCurrenciesArgs, kn as GetCollectionActiveListingsCurrenciesArgs, kr as ListCollectionActivitiesReturn, qt as Currency, wi as SortBy } from "./create-config.js";
|
|
2
|
+
import { n as StandardQueryOptions } from "./query.js";
|
|
3
|
+
import * as _tanstack_react_query133 from "@tanstack/react-query";
|
|
4
4
|
import { GetTokenBalancesDetailsReturn } from "@0xsequence/indexer";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as _0xsequence_metadata53 from "@0xsequence/metadata";
|
|
6
|
+
import * as viem30 from "viem";
|
|
7
7
|
import { Address } from "viem";
|
|
8
8
|
|
|
9
9
|
//#region src/react/queries/collections/collection.d.ts
|
|
@@ -15,7 +15,7 @@ interface FetchCollectionParams {
|
|
|
15
15
|
/**
|
|
16
16
|
* Fetches collection information from the metadata API
|
|
17
17
|
*/
|
|
18
|
-
declare function fetchCollection(params: FetchCollectionParams): Promise<
|
|
18
|
+
declare function fetchCollection(params: FetchCollectionParams): Promise<_0xsequence_metadata53.ContractInfo>;
|
|
19
19
|
type CollectionQueryOptions = ValuesOptional<FetchCollectionParams> & {
|
|
20
20
|
query?: StandardQueryOptions;
|
|
21
21
|
};
|
|
@@ -23,11 +23,11 @@ declare function getCollectionQueryKey(params: CollectionQueryOptions): readonly
|
|
|
23
23
|
chainID: string;
|
|
24
24
|
contractAddress: string | undefined;
|
|
25
25
|
}];
|
|
26
|
-
declare function collectionQueryOptions(params: CollectionQueryOptions):
|
|
26
|
+
declare function collectionQueryOptions(params: CollectionQueryOptions): _tanstack_react_query133.OmitKeyof<_tanstack_react_query133.UseQueryOptions<_0xsequence_metadata53.ContractInfo, Error, _0xsequence_metadata53.ContractInfo, readonly ["collections", "detail", {
|
|
27
27
|
chainID: string;
|
|
28
28
|
contractAddress: string | undefined;
|
|
29
29
|
}]>, "queryFn"> & {
|
|
30
|
-
queryFn?:
|
|
30
|
+
queryFn?: _tanstack_react_query133.QueryFunction<_0xsequence_metadata53.ContractInfo, readonly ["collections", "detail", {
|
|
31
31
|
chainID: string;
|
|
32
32
|
contractAddress: string | undefined;
|
|
33
33
|
}], never> | undefined;
|
|
@@ -36,7 +36,77 @@ declare function collectionQueryOptions(params: CollectionQueryOptions): _tansta
|
|
|
36
36
|
chainID: string;
|
|
37
37
|
contractAddress: string | undefined;
|
|
38
38
|
}] & {
|
|
39
|
-
[dataTagSymbol]:
|
|
39
|
+
[dataTagSymbol]: _0xsequence_metadata53.ContractInfo;
|
|
40
|
+
[dataTagErrorSymbol]: Error;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/react/queries/collections/activeListingsCurrencies.d.ts
|
|
45
|
+
interface FetchCollectionActiveListingsCurrenciesParams extends Omit<GetCollectionActiveListingsCurrenciesArgs, 'contractAddress' | 'chainId'> {
|
|
46
|
+
collectionAddress: string;
|
|
47
|
+
chainId: number;
|
|
48
|
+
config: SdkConfig;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Fetches the active listings currencies for a collection from the marketplace API
|
|
52
|
+
*/
|
|
53
|
+
declare function fetchCollectionActiveListingsCurrencies(params: FetchCollectionActiveListingsCurrenciesParams): Promise<GetCollectionActiveListingsCurrenciesReturn['currencies']>;
|
|
54
|
+
type CollectionActiveListingsCurrenciesQueryOptions = ValuesOptional<FetchCollectionActiveListingsCurrenciesParams> & {
|
|
55
|
+
query?: StandardQueryOptions;
|
|
56
|
+
};
|
|
57
|
+
declare function getCollectionActiveListingsCurrenciesQueryKey(params: CollectionActiveListingsCurrenciesQueryOptions): readonly ["collections", "activeListingsCurrencies", {
|
|
58
|
+
chainId: string;
|
|
59
|
+
contractAddress: string | undefined;
|
|
60
|
+
}];
|
|
61
|
+
declare function collectionActiveListingsCurrenciesQueryOptions(params: CollectionActiveListingsCurrenciesQueryOptions): _tanstack_react_query133.OmitKeyof<_tanstack_react_query133.UseQueryOptions<Currency[], Error, Currency[], readonly ["collections", "activeListingsCurrencies", {
|
|
62
|
+
chainId: string;
|
|
63
|
+
contractAddress: string | undefined;
|
|
64
|
+
}]>, "queryFn"> & {
|
|
65
|
+
queryFn?: _tanstack_react_query133.QueryFunction<Currency[], readonly ["collections", "activeListingsCurrencies", {
|
|
66
|
+
chainId: string;
|
|
67
|
+
contractAddress: string | undefined;
|
|
68
|
+
}], never> | undefined;
|
|
69
|
+
} & {
|
|
70
|
+
queryKey: readonly ["collections", "activeListingsCurrencies", {
|
|
71
|
+
chainId: string;
|
|
72
|
+
contractAddress: string | undefined;
|
|
73
|
+
}] & {
|
|
74
|
+
[dataTagSymbol]: Currency[];
|
|
75
|
+
[dataTagErrorSymbol]: Error;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/react/queries/collections/activeOffersCurrencies.d.ts
|
|
80
|
+
interface FetchCollectionActiveOffersCurrenciesParams extends Omit<GetCollectionActiveOffersCurrenciesArgs, 'contractAddress' | 'chainId'> {
|
|
81
|
+
collectionAddress: string;
|
|
82
|
+
chainId: number;
|
|
83
|
+
config: SdkConfig;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Fetches the active offers currencies for a collection from the marketplace API
|
|
87
|
+
*/
|
|
88
|
+
declare function fetchCollectionActiveOffersCurrencies(params: FetchCollectionActiveOffersCurrenciesParams): Promise<GetCollectionActiveOffersCurrenciesReturn['currencies']>;
|
|
89
|
+
type CollectionActiveOffersCurrenciesQueryOptions = ValuesOptional<FetchCollectionActiveOffersCurrenciesParams> & {
|
|
90
|
+
query?: StandardQueryOptions;
|
|
91
|
+
};
|
|
92
|
+
declare function getCollectionActiveOffersCurrenciesQueryKey(params: CollectionActiveOffersCurrenciesQueryOptions): readonly ["collections", "activeOffersCurrencies", {
|
|
93
|
+
chainId: string;
|
|
94
|
+
contractAddress: string | undefined;
|
|
95
|
+
}];
|
|
96
|
+
declare function collectionActiveOffersCurrenciesQueryOptions(params: CollectionActiveOffersCurrenciesQueryOptions): _tanstack_react_query133.OmitKeyof<_tanstack_react_query133.UseQueryOptions<Currency[], Error, Currency[], readonly ["collections", "activeOffersCurrencies", {
|
|
97
|
+
chainId: string;
|
|
98
|
+
contractAddress: string | undefined;
|
|
99
|
+
}]>, "queryFn"> & {
|
|
100
|
+
queryFn?: _tanstack_react_query133.QueryFunction<Currency[], readonly ["collections", "activeOffersCurrencies", {
|
|
101
|
+
chainId: string;
|
|
102
|
+
contractAddress: string | undefined;
|
|
103
|
+
}], never> | undefined;
|
|
104
|
+
} & {
|
|
105
|
+
queryKey: readonly ["collections", "activeOffersCurrencies", {
|
|
106
|
+
chainId: string;
|
|
107
|
+
contractAddress: string | undefined;
|
|
108
|
+
}] & {
|
|
109
|
+
[dataTagSymbol]: Currency[];
|
|
40
110
|
[dataTagErrorSymbol]: Error;
|
|
41
111
|
};
|
|
42
112
|
};
|
|
@@ -63,11 +133,11 @@ declare function getCollectionBalanceDetailsQueryKey(params: CollectionBalanceDe
|
|
|
63
133
|
chainId: number;
|
|
64
134
|
filter: CollectionBalanceFilter;
|
|
65
135
|
}];
|
|
66
|
-
declare function collectionBalanceDetailsQueryOptions(params: CollectionBalanceDetailsQueryOptions):
|
|
136
|
+
declare function collectionBalanceDetailsQueryOptions(params: CollectionBalanceDetailsQueryOptions): _tanstack_react_query133.OmitKeyof<_tanstack_react_query133.UseQueryOptions<GetTokenBalancesDetailsReturn, Error, GetTokenBalancesDetailsReturn, readonly ["balances", "collectionBalanceDetails", {
|
|
67
137
|
chainId: number;
|
|
68
138
|
filter: CollectionBalanceFilter;
|
|
69
139
|
}]>, "queryFn"> & {
|
|
70
|
-
queryFn?:
|
|
140
|
+
queryFn?: _tanstack_react_query133.QueryFunction<GetTokenBalancesDetailsReturn, readonly ["balances", "collectionBalanceDetails", {
|
|
71
141
|
chainId: number;
|
|
72
142
|
filter: CollectionBalanceFilter;
|
|
73
143
|
}], never> | undefined;
|
|
@@ -98,11 +168,11 @@ declare function getCollectionDetailsQueryKey(params: CollectionDetailsQueryOpti
|
|
|
98
168
|
chainId: string;
|
|
99
169
|
contractAddress: string | undefined;
|
|
100
170
|
}];
|
|
101
|
-
declare function collectionDetailsQueryOptions(params: CollectionDetailsQueryOptions):
|
|
171
|
+
declare function collectionDetailsQueryOptions(params: CollectionDetailsQueryOptions): _tanstack_react_query133.OmitKeyof<_tanstack_react_query133.UseQueryOptions<Collection, Error, Collection, readonly ["collections", "detail", {
|
|
102
172
|
chainId: string;
|
|
103
173
|
contractAddress: string | undefined;
|
|
104
174
|
}]>, "queryFn"> & {
|
|
105
|
-
queryFn?:
|
|
175
|
+
queryFn?: _tanstack_react_query133.QueryFunction<Collection, readonly ["collections", "detail", {
|
|
106
176
|
chainId: string;
|
|
107
177
|
contractAddress: string | undefined;
|
|
108
178
|
}], never> | undefined;
|
|
@@ -141,7 +211,7 @@ declare function getListCollectionActivitiesQueryKey(params: ListCollectionActiv
|
|
|
141
211
|
sort: SortBy[] | undefined;
|
|
142
212
|
} | undefined;
|
|
143
213
|
}];
|
|
144
|
-
declare function listCollectionActivitiesQueryOptions(params: ListCollectionActivitiesQueryOptions):
|
|
214
|
+
declare function listCollectionActivitiesQueryOptions(params: ListCollectionActivitiesQueryOptions): _tanstack_react_query133.OmitKeyof<_tanstack_react_query133.UseQueryOptions<ListCollectionActivitiesReturn, Error, ListCollectionActivitiesReturn, readonly ["collections", "collectionActivities", {
|
|
145
215
|
chainId: string;
|
|
146
216
|
contractAddress: `0x${string}` | undefined;
|
|
147
217
|
page: {
|
|
@@ -150,7 +220,7 @@ declare function listCollectionActivitiesQueryOptions(params: ListCollectionActi
|
|
|
150
220
|
sort: SortBy[] | undefined;
|
|
151
221
|
} | undefined;
|
|
152
222
|
}]>, "queryFn"> & {
|
|
153
|
-
queryFn?:
|
|
223
|
+
queryFn?: _tanstack_react_query133.QueryFunction<ListCollectionActivitiesReturn, readonly ["collections", "collectionActivities", {
|
|
154
224
|
chainId: string;
|
|
155
225
|
contractAddress: `0x${string}` | undefined;
|
|
156
226
|
page: {
|
|
@@ -194,17 +264,17 @@ declare function fetchListCollections(params: FetchListCollectionsParams): Promi
|
|
|
194
264
|
logoURI: string;
|
|
195
265
|
deployed: boolean;
|
|
196
266
|
bytecodeHash: string;
|
|
197
|
-
extensions:
|
|
267
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
198
268
|
updatedAt: string;
|
|
199
269
|
queuedAt?: string;
|
|
200
|
-
status:
|
|
270
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
201
271
|
cardType: CardType;
|
|
202
272
|
contractType: ContractType;
|
|
203
273
|
feePercentage: number;
|
|
204
274
|
destinationMarketplace: OrderbookKind;
|
|
205
275
|
currencyOptions: Array<string>;
|
|
206
276
|
bannerUrl: string;
|
|
207
|
-
itemsAddress:
|
|
277
|
+
itemsAddress: viem30.Address;
|
|
208
278
|
filterSettings?: CollectionFilterSettings;
|
|
209
279
|
sortOrder?: number;
|
|
210
280
|
private: boolean;
|
|
@@ -219,14 +289,14 @@ declare function fetchListCollections(params: FetchListCollectionsParams): Promi
|
|
|
219
289
|
logoURI: string;
|
|
220
290
|
deployed: boolean;
|
|
221
291
|
bytecodeHash: string;
|
|
222
|
-
extensions:
|
|
292
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
223
293
|
updatedAt: string;
|
|
224
294
|
queuedAt?: string;
|
|
225
|
-
status:
|
|
295
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
226
296
|
cardType: CardType;
|
|
227
|
-
saleAddress:
|
|
297
|
+
saleAddress: viem30.Address;
|
|
228
298
|
bannerUrl: string;
|
|
229
|
-
itemsAddress:
|
|
299
|
+
itemsAddress: viem30.Address;
|
|
230
300
|
filterSettings?: CollectionFilterSettings;
|
|
231
301
|
sortOrder?: number;
|
|
232
302
|
private: boolean;
|
|
@@ -238,7 +308,7 @@ declare function getListCollectionsQueryKey(params: ListCollectionsQueryOptions)
|
|
|
238
308
|
readonly cardType: CardType | undefined;
|
|
239
309
|
readonly marketplaceConfig: MarketplaceConfig | undefined;
|
|
240
310
|
}];
|
|
241
|
-
declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions):
|
|
311
|
+
declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions): _tanstack_react_query133.UseQueryOptions<({
|
|
242
312
|
chainId: number;
|
|
243
313
|
address: string;
|
|
244
314
|
source: string;
|
|
@@ -249,17 +319,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
249
319
|
logoURI: string;
|
|
250
320
|
deployed: boolean;
|
|
251
321
|
bytecodeHash: string;
|
|
252
|
-
extensions:
|
|
322
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
253
323
|
updatedAt: string;
|
|
254
324
|
queuedAt?: string;
|
|
255
|
-
status:
|
|
325
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
256
326
|
cardType: CardType;
|
|
257
327
|
contractType: ContractType;
|
|
258
328
|
feePercentage: number;
|
|
259
329
|
destinationMarketplace: OrderbookKind;
|
|
260
330
|
currencyOptions: Array<string>;
|
|
261
331
|
bannerUrl: string;
|
|
262
|
-
itemsAddress:
|
|
332
|
+
itemsAddress: viem30.Address;
|
|
263
333
|
filterSettings?: CollectionFilterSettings;
|
|
264
334
|
sortOrder?: number;
|
|
265
335
|
private: boolean;
|
|
@@ -274,14 +344,14 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
274
344
|
logoURI: string;
|
|
275
345
|
deployed: boolean;
|
|
276
346
|
bytecodeHash: string;
|
|
277
|
-
extensions:
|
|
347
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
278
348
|
updatedAt: string;
|
|
279
349
|
queuedAt?: string;
|
|
280
|
-
status:
|
|
350
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
281
351
|
cardType: CardType;
|
|
282
|
-
saleAddress:
|
|
352
|
+
saleAddress: viem30.Address;
|
|
283
353
|
bannerUrl: string;
|
|
284
|
-
itemsAddress:
|
|
354
|
+
itemsAddress: viem30.Address;
|
|
285
355
|
filterSettings?: CollectionFilterSettings;
|
|
286
356
|
sortOrder?: number;
|
|
287
357
|
private: boolean;
|
|
@@ -296,17 +366,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
296
366
|
logoURI: string;
|
|
297
367
|
deployed: boolean;
|
|
298
368
|
bytecodeHash: string;
|
|
299
|
-
extensions:
|
|
369
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
300
370
|
updatedAt: string;
|
|
301
371
|
queuedAt?: string;
|
|
302
|
-
status:
|
|
372
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
303
373
|
cardType: CardType;
|
|
304
374
|
contractType: ContractType;
|
|
305
375
|
feePercentage: number;
|
|
306
376
|
destinationMarketplace: OrderbookKind;
|
|
307
377
|
currencyOptions: Array<string>;
|
|
308
378
|
bannerUrl: string;
|
|
309
|
-
itemsAddress:
|
|
379
|
+
itemsAddress: viem30.Address;
|
|
310
380
|
filterSettings?: CollectionFilterSettings;
|
|
311
381
|
sortOrder?: number;
|
|
312
382
|
private: boolean;
|
|
@@ -321,14 +391,14 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
321
391
|
logoURI: string;
|
|
322
392
|
deployed: boolean;
|
|
323
393
|
bytecodeHash: string;
|
|
324
|
-
extensions:
|
|
394
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
325
395
|
updatedAt: string;
|
|
326
396
|
queuedAt?: string;
|
|
327
|
-
status:
|
|
397
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
328
398
|
cardType: CardType;
|
|
329
|
-
saleAddress:
|
|
399
|
+
saleAddress: viem30.Address;
|
|
330
400
|
bannerUrl: string;
|
|
331
|
-
itemsAddress:
|
|
401
|
+
itemsAddress: viem30.Address;
|
|
332
402
|
filterSettings?: CollectionFilterSettings;
|
|
333
403
|
sortOrder?: number;
|
|
334
404
|
private: boolean;
|
|
@@ -347,17 +417,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
347
417
|
logoURI: string;
|
|
348
418
|
deployed: boolean;
|
|
349
419
|
bytecodeHash: string;
|
|
350
|
-
extensions:
|
|
420
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
351
421
|
updatedAt: string;
|
|
352
422
|
queuedAt?: string;
|
|
353
|
-
status:
|
|
423
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
354
424
|
cardType: CardType;
|
|
355
425
|
contractType: ContractType;
|
|
356
426
|
feePercentage: number;
|
|
357
427
|
destinationMarketplace: OrderbookKind;
|
|
358
428
|
currencyOptions: Array<string>;
|
|
359
429
|
bannerUrl: string;
|
|
360
|
-
itemsAddress:
|
|
430
|
+
itemsAddress: viem30.Address;
|
|
361
431
|
filterSettings?: CollectionFilterSettings;
|
|
362
432
|
sortOrder?: number;
|
|
363
433
|
private: boolean;
|
|
@@ -372,18 +442,18 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
372
442
|
logoURI: string;
|
|
373
443
|
deployed: boolean;
|
|
374
444
|
bytecodeHash: string;
|
|
375
|
-
extensions:
|
|
445
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
376
446
|
updatedAt: string;
|
|
377
447
|
queuedAt?: string;
|
|
378
|
-
status:
|
|
448
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
379
449
|
cardType: CardType;
|
|
380
|
-
saleAddress:
|
|
450
|
+
saleAddress: viem30.Address;
|
|
381
451
|
bannerUrl: string;
|
|
382
|
-
itemsAddress:
|
|
452
|
+
itemsAddress: viem30.Address;
|
|
383
453
|
filterSettings?: CollectionFilterSettings;
|
|
384
454
|
sortOrder?: number;
|
|
385
455
|
private: boolean;
|
|
386
|
-
})[] |
|
|
456
|
+
})[] | _tanstack_react_query133.InitialDataFunction<({
|
|
387
457
|
chainId: number;
|
|
388
458
|
address: string;
|
|
389
459
|
source: string;
|
|
@@ -394,17 +464,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
394
464
|
logoURI: string;
|
|
395
465
|
deployed: boolean;
|
|
396
466
|
bytecodeHash: string;
|
|
397
|
-
extensions:
|
|
467
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
398
468
|
updatedAt: string;
|
|
399
469
|
queuedAt?: string;
|
|
400
|
-
status:
|
|
470
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
401
471
|
cardType: CardType;
|
|
402
472
|
contractType: ContractType;
|
|
403
473
|
feePercentage: number;
|
|
404
474
|
destinationMarketplace: OrderbookKind;
|
|
405
475
|
currencyOptions: Array<string>;
|
|
406
476
|
bannerUrl: string;
|
|
407
|
-
itemsAddress:
|
|
477
|
+
itemsAddress: viem30.Address;
|
|
408
478
|
filterSettings?: CollectionFilterSettings;
|
|
409
479
|
sortOrder?: number;
|
|
410
480
|
private: boolean;
|
|
@@ -419,14 +489,14 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
419
489
|
logoURI: string;
|
|
420
490
|
deployed: boolean;
|
|
421
491
|
bytecodeHash: string;
|
|
422
|
-
extensions:
|
|
492
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
423
493
|
updatedAt: string;
|
|
424
494
|
queuedAt?: string;
|
|
425
|
-
status:
|
|
495
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
426
496
|
cardType: CardType;
|
|
427
|
-
saleAddress:
|
|
497
|
+
saleAddress: viem30.Address;
|
|
428
498
|
bannerUrl: string;
|
|
429
|
-
itemsAddress:
|
|
499
|
+
itemsAddress: viem30.Address;
|
|
430
500
|
filterSettings?: CollectionFilterSettings;
|
|
431
501
|
sortOrder?: number;
|
|
432
502
|
private: boolean;
|
|
@@ -447,17 +517,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
447
517
|
logoURI: string;
|
|
448
518
|
deployed: boolean;
|
|
449
519
|
bytecodeHash: string;
|
|
450
|
-
extensions:
|
|
520
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
451
521
|
updatedAt: string;
|
|
452
522
|
queuedAt?: string;
|
|
453
|
-
status:
|
|
523
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
454
524
|
cardType: CardType;
|
|
455
525
|
contractType: ContractType;
|
|
456
526
|
feePercentage: number;
|
|
457
527
|
destinationMarketplace: OrderbookKind;
|
|
458
528
|
currencyOptions: Array<string>;
|
|
459
529
|
bannerUrl: string;
|
|
460
|
-
itemsAddress:
|
|
530
|
+
itemsAddress: viem30.Address;
|
|
461
531
|
filterSettings?: CollectionFilterSettings;
|
|
462
532
|
sortOrder?: number;
|
|
463
533
|
private: boolean;
|
|
@@ -472,14 +542,14 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
472
542
|
logoURI: string;
|
|
473
543
|
deployed: boolean;
|
|
474
544
|
bytecodeHash: string;
|
|
475
|
-
extensions:
|
|
545
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
476
546
|
updatedAt: string;
|
|
477
547
|
queuedAt?: string;
|
|
478
|
-
status:
|
|
548
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
479
549
|
cardType: CardType;
|
|
480
|
-
saleAddress:
|
|
550
|
+
saleAddress: viem30.Address;
|
|
481
551
|
bannerUrl: string;
|
|
482
|
-
itemsAddress:
|
|
552
|
+
itemsAddress: viem30.Address;
|
|
483
553
|
filterSettings?: CollectionFilterSettings;
|
|
484
554
|
sortOrder?: number;
|
|
485
555
|
private: boolean;
|
|
@@ -495,7 +565,7 @@ declare const listCollectionsOptions: ({
|
|
|
495
565
|
cardType?: CardType;
|
|
496
566
|
marketplaceConfig: MarketplaceConfig | undefined;
|
|
497
567
|
config: SdkConfig;
|
|
498
|
-
}) =>
|
|
568
|
+
}) => _tanstack_react_query133.UseQueryOptions<({
|
|
499
569
|
chainId: number;
|
|
500
570
|
address: string;
|
|
501
571
|
source: string;
|
|
@@ -506,17 +576,17 @@ declare const listCollectionsOptions: ({
|
|
|
506
576
|
logoURI: string;
|
|
507
577
|
deployed: boolean;
|
|
508
578
|
bytecodeHash: string;
|
|
509
|
-
extensions:
|
|
579
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
510
580
|
updatedAt: string;
|
|
511
581
|
queuedAt?: string;
|
|
512
|
-
status:
|
|
582
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
513
583
|
cardType: CardType;
|
|
514
584
|
contractType: ContractType;
|
|
515
585
|
feePercentage: number;
|
|
516
586
|
destinationMarketplace: OrderbookKind;
|
|
517
587
|
currencyOptions: Array<string>;
|
|
518
588
|
bannerUrl: string;
|
|
519
|
-
itemsAddress:
|
|
589
|
+
itemsAddress: viem30.Address;
|
|
520
590
|
filterSettings?: CollectionFilterSettings;
|
|
521
591
|
sortOrder?: number;
|
|
522
592
|
private: boolean;
|
|
@@ -531,14 +601,14 @@ declare const listCollectionsOptions: ({
|
|
|
531
601
|
logoURI: string;
|
|
532
602
|
deployed: boolean;
|
|
533
603
|
bytecodeHash: string;
|
|
534
|
-
extensions:
|
|
604
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
535
605
|
updatedAt: string;
|
|
536
606
|
queuedAt?: string;
|
|
537
|
-
status:
|
|
607
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
538
608
|
cardType: CardType;
|
|
539
|
-
saleAddress:
|
|
609
|
+
saleAddress: viem30.Address;
|
|
540
610
|
bannerUrl: string;
|
|
541
|
-
itemsAddress:
|
|
611
|
+
itemsAddress: viem30.Address;
|
|
542
612
|
filterSettings?: CollectionFilterSettings;
|
|
543
613
|
sortOrder?: number;
|
|
544
614
|
private: boolean;
|
|
@@ -553,17 +623,17 @@ declare const listCollectionsOptions: ({
|
|
|
553
623
|
logoURI: string;
|
|
554
624
|
deployed: boolean;
|
|
555
625
|
bytecodeHash: string;
|
|
556
|
-
extensions:
|
|
626
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
557
627
|
updatedAt: string;
|
|
558
628
|
queuedAt?: string;
|
|
559
|
-
status:
|
|
629
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
560
630
|
cardType: CardType;
|
|
561
631
|
contractType: ContractType;
|
|
562
632
|
feePercentage: number;
|
|
563
633
|
destinationMarketplace: OrderbookKind;
|
|
564
634
|
currencyOptions: Array<string>;
|
|
565
635
|
bannerUrl: string;
|
|
566
|
-
itemsAddress:
|
|
636
|
+
itemsAddress: viem30.Address;
|
|
567
637
|
filterSettings?: CollectionFilterSettings;
|
|
568
638
|
sortOrder?: number;
|
|
569
639
|
private: boolean;
|
|
@@ -578,18 +648,18 @@ declare const listCollectionsOptions: ({
|
|
|
578
648
|
logoURI: string;
|
|
579
649
|
deployed: boolean;
|
|
580
650
|
bytecodeHash: string;
|
|
581
|
-
extensions:
|
|
651
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
582
652
|
updatedAt: string;
|
|
583
653
|
queuedAt?: string;
|
|
584
|
-
status:
|
|
654
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
585
655
|
cardType: CardType;
|
|
586
|
-
saleAddress:
|
|
656
|
+
saleAddress: viem30.Address;
|
|
587
657
|
bannerUrl: string;
|
|
588
|
-
itemsAddress:
|
|
658
|
+
itemsAddress: viem30.Address;
|
|
589
659
|
filterSettings?: CollectionFilterSettings;
|
|
590
660
|
sortOrder?: number;
|
|
591
661
|
private: boolean;
|
|
592
|
-
})[], ("
|
|
662
|
+
})[], ("list" | "collections" | {
|
|
593
663
|
cardType: CardType | undefined;
|
|
594
664
|
marketplaceConfig: MarketplaceConfig | undefined;
|
|
595
665
|
config: SdkConfig;
|
|
@@ -605,17 +675,17 @@ declare const listCollectionsOptions: ({
|
|
|
605
675
|
logoURI: string;
|
|
606
676
|
deployed: boolean;
|
|
607
677
|
bytecodeHash: string;
|
|
608
|
-
extensions:
|
|
678
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
609
679
|
updatedAt: string;
|
|
610
680
|
queuedAt?: string;
|
|
611
|
-
status:
|
|
681
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
612
682
|
cardType: CardType;
|
|
613
683
|
contractType: ContractType;
|
|
614
684
|
feePercentage: number;
|
|
615
685
|
destinationMarketplace: OrderbookKind;
|
|
616
686
|
currencyOptions: Array<string>;
|
|
617
687
|
bannerUrl: string;
|
|
618
|
-
itemsAddress:
|
|
688
|
+
itemsAddress: viem30.Address;
|
|
619
689
|
filterSettings?: CollectionFilterSettings;
|
|
620
690
|
sortOrder?: number;
|
|
621
691
|
private: boolean;
|
|
@@ -630,18 +700,18 @@ declare const listCollectionsOptions: ({
|
|
|
630
700
|
logoURI: string;
|
|
631
701
|
deployed: boolean;
|
|
632
702
|
bytecodeHash: string;
|
|
633
|
-
extensions:
|
|
703
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
634
704
|
updatedAt: string;
|
|
635
705
|
queuedAt?: string;
|
|
636
|
-
status:
|
|
706
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
637
707
|
cardType: CardType;
|
|
638
|
-
saleAddress:
|
|
708
|
+
saleAddress: viem30.Address;
|
|
639
709
|
bannerUrl: string;
|
|
640
|
-
itemsAddress:
|
|
710
|
+
itemsAddress: viem30.Address;
|
|
641
711
|
filterSettings?: CollectionFilterSettings;
|
|
642
712
|
sortOrder?: number;
|
|
643
713
|
private: boolean;
|
|
644
|
-
})[] |
|
|
714
|
+
})[] | _tanstack_react_query133.InitialDataFunction<({
|
|
645
715
|
chainId: number;
|
|
646
716
|
address: string;
|
|
647
717
|
source: string;
|
|
@@ -652,17 +722,17 @@ declare const listCollectionsOptions: ({
|
|
|
652
722
|
logoURI: string;
|
|
653
723
|
deployed: boolean;
|
|
654
724
|
bytecodeHash: string;
|
|
655
|
-
extensions:
|
|
725
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
656
726
|
updatedAt: string;
|
|
657
727
|
queuedAt?: string;
|
|
658
|
-
status:
|
|
728
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
659
729
|
cardType: CardType;
|
|
660
730
|
contractType: ContractType;
|
|
661
731
|
feePercentage: number;
|
|
662
732
|
destinationMarketplace: OrderbookKind;
|
|
663
733
|
currencyOptions: Array<string>;
|
|
664
734
|
bannerUrl: string;
|
|
665
|
-
itemsAddress:
|
|
735
|
+
itemsAddress: viem30.Address;
|
|
666
736
|
filterSettings?: CollectionFilterSettings;
|
|
667
737
|
sortOrder?: number;
|
|
668
738
|
private: boolean;
|
|
@@ -677,20 +747,20 @@ declare const listCollectionsOptions: ({
|
|
|
677
747
|
logoURI: string;
|
|
678
748
|
deployed: boolean;
|
|
679
749
|
bytecodeHash: string;
|
|
680
|
-
extensions:
|
|
750
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
681
751
|
updatedAt: string;
|
|
682
752
|
queuedAt?: string;
|
|
683
|
-
status:
|
|
753
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
684
754
|
cardType: CardType;
|
|
685
|
-
saleAddress:
|
|
755
|
+
saleAddress: viem30.Address;
|
|
686
756
|
bannerUrl: string;
|
|
687
|
-
itemsAddress:
|
|
757
|
+
itemsAddress: viem30.Address;
|
|
688
758
|
filterSettings?: CollectionFilterSettings;
|
|
689
759
|
sortOrder?: number;
|
|
690
760
|
private: boolean;
|
|
691
761
|
})[]> | undefined;
|
|
692
762
|
} & {
|
|
693
|
-
queryKey: ("
|
|
763
|
+
queryKey: ("list" | "collections" | {
|
|
694
764
|
cardType: CardType | undefined;
|
|
695
765
|
marketplaceConfig: MarketplaceConfig | undefined;
|
|
696
766
|
config: SdkConfig;
|
|
@@ -706,17 +776,17 @@ declare const listCollectionsOptions: ({
|
|
|
706
776
|
logoURI: string;
|
|
707
777
|
deployed: boolean;
|
|
708
778
|
bytecodeHash: string;
|
|
709
|
-
extensions:
|
|
779
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
710
780
|
updatedAt: string;
|
|
711
781
|
queuedAt?: string;
|
|
712
|
-
status:
|
|
782
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
713
783
|
cardType: CardType;
|
|
714
784
|
contractType: ContractType;
|
|
715
785
|
feePercentage: number;
|
|
716
786
|
destinationMarketplace: OrderbookKind;
|
|
717
787
|
currencyOptions: Array<string>;
|
|
718
788
|
bannerUrl: string;
|
|
719
|
-
itemsAddress:
|
|
789
|
+
itemsAddress: viem30.Address;
|
|
720
790
|
filterSettings?: CollectionFilterSettings;
|
|
721
791
|
sortOrder?: number;
|
|
722
792
|
private: boolean;
|
|
@@ -731,14 +801,14 @@ declare const listCollectionsOptions: ({
|
|
|
731
801
|
logoURI: string;
|
|
732
802
|
deployed: boolean;
|
|
733
803
|
bytecodeHash: string;
|
|
734
|
-
extensions:
|
|
804
|
+
extensions: _0xsequence_metadata53.ContractInfoExtensions;
|
|
735
805
|
updatedAt: string;
|
|
736
806
|
queuedAt?: string;
|
|
737
|
-
status:
|
|
807
|
+
status: _0xsequence_metadata53.ResourceStatus;
|
|
738
808
|
cardType: CardType;
|
|
739
|
-
saleAddress:
|
|
809
|
+
saleAddress: viem30.Address;
|
|
740
810
|
bannerUrl: string;
|
|
741
|
-
itemsAddress:
|
|
811
|
+
itemsAddress: viem30.Address;
|
|
742
812
|
filterSettings?: CollectionFilterSettings;
|
|
743
813
|
sortOrder?: number;
|
|
744
814
|
private: boolean;
|
|
@@ -747,5 +817,5 @@ declare const listCollectionsOptions: ({
|
|
|
747
817
|
};
|
|
748
818
|
};
|
|
749
819
|
//#endregion
|
|
750
|
-
export {
|
|
751
|
-
//# sourceMappingURL=listCollections
|
|
820
|
+
export { collectionActiveListingsCurrenciesQueryOptions as A, CollectionActiveOffersCurrenciesQueryOptions as C, getCollectionActiveOffersCurrenciesQueryKey as D, fetchCollectionActiveOffersCurrencies as E, collectionQueryOptions as F, fetchCollection as I, getCollectionQueryKey as L, getCollectionActiveListingsCurrenciesQueryKey as M, CollectionQueryOptions as N, CollectionActiveListingsCurrenciesQueryOptions as O, FetchCollectionParams as P, getCollectionBalanceDetailsQueryKey as S, collectionActiveOffersCurrenciesQueryOptions as T, CollectionBalanceDetailsQueryOptions as _, listCollectionsOptions as a, collectionBalanceDetailsQueryOptions as b, ListCollectionActivitiesQueryOptions as c, listCollectionActivitiesQueryOptions as d, CollectionDetailsQueryOptions as f, getCollectionDetailsQueryKey as g, fetchCollectionDetails as h, getListCollectionsQueryKey as i, fetchCollectionActiveListingsCurrencies as j, FetchCollectionActiveListingsCurrenciesParams as k, fetchListCollectionActivities as l, collectionDetailsQueryOptions as m, ListCollectionsQueryOptions as n, listCollectionsQueryOptions as o, FetchCollectionDetailsParams as p, fetchListCollections as r, FetchListCollectionActivitiesParams as s, FetchListCollectionsParams as t, getListCollectionActivitiesQueryKey as u, CollectionBalanceFilter as v, FetchCollectionActiveOffersCurrenciesParams as w, fetchCollectionBalanceDetails as x, FetchCollectionBalanceDetailsParams as y };
|
|
821
|
+
//# sourceMappingURL=listCollections.d.ts.map
|