@0xsequence/marketplace-sdk 1.0.0 → 1.1.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/.storybook/main.ts +1 -1
- package/.storybook/preview.tsx +0 -1
- package/CHANGELOG.md +62 -13
- package/dist/BellIcon-IpHHEy8h.js +45 -0
- package/dist/BellIcon-IpHHEy8h.js.map +1 -0
- package/dist/{BellIcon-Cb9YEUzJ.js → CartIcon-C8zbor8H.js} +10 -49
- package/dist/CartIcon-C8zbor8H.js.map +1 -0
- package/dist/CollectibleCard-C2EWF0zo.d.ts +8 -0
- package/dist/{_internal-DslqcNC1.js → _internal-DkS2VUn5.js} +1 -1
- package/dist/{_internal-DslqcNC1.js.map → _internal-DkS2VUn5.js.map} +1 -1
- package/dist/{alien_swap-DJ98gZQp.js → alien_swap-BTJ7mSR-.js} +1 -1
- package/dist/{alien_swap-DJ98gZQp.js.map → alien_swap-BTJ7mSR-.js.map} +1 -1
- package/dist/{api-BmEQfSQa.js → api-DuLKn__v.js} +5 -3
- package/dist/api-DuLKn__v.js.map +1 -0
- package/dist/{aqua-xyz-n1PcCCZ0.js → aqua-xyz-BYJ9WSP_.js} +1 -1
- package/dist/{aqua-xyz-n1PcCCZ0.js.map → aqua-xyz-BYJ9WSP_.js.map} +1 -1
- package/dist/{aura-Bevk_YkS.js → aura-D7SUjgro.js} +1 -1
- package/dist/{aura-Bevk_YkS.js.map → aura-D7SUjgro.js.map} +1 -1
- package/dist/{blur-B5sHErx5.js → blur-BcnRFCaV.js} +1 -1
- package/dist/{blur-B5sHErx5.js.map → blur-BcnRFCaV.js.map} +1 -1
- package/dist/builder-api-BFuZNOaN.js.map +1 -1
- package/dist/builder.gen-B9wR2nvF.js.map +1 -1
- package/dist/{coinbase-D30W-lxA.js → coinbase-ChoX9Hw2.js} +1 -1
- package/dist/{coinbase-D30W-lxA.js.map → coinbase-ChoX9Hw2.js.map} +1 -1
- package/dist/components-CUv-wQr8.js +119 -0
- package/dist/components-CUv-wQr8.js.map +1 -0
- package/dist/{contracts-DPHFT2TA.js → contracts-D72LBOX3.js} +4 -5
- package/dist/{contracts-DPHFT2TA.js.map → contracts-D72LBOX3.js.map} +1 -1
- package/dist/{create-config-6uynwTeb.js → create-config-CIfejoCk.js} +6 -11
- package/dist/create-config-CIfejoCk.js.map +1 -0
- package/dist/{create-config-lLSrnkbb.d.ts → create-config-DV_dtaLt.d.ts} +24 -31
- package/dist/{element-C2NJexro.js → element-Dbcv5qya.js} +1 -1
- package/dist/{element-C2NJexro.js.map → element-Dbcv5qya.js.map} +1 -1
- package/dist/{filters-B8XS4tFH.d.ts → filters-zkMJaPey.d.ts} +6 -6
- package/dist/{foundation-QgY1lvUj.js → foundation-QPhUEUy8.js} +1 -1
- package/dist/{foundation-QgY1lvUj.js.map → foundation-QPhUEUy8.js.map} +1 -1
- package/dist/{index-ChSKFOMx.d.ts → index-B6aSbaw2.d.ts} +1 -1
- package/dist/{index-PSPpUxCE.d.ts → index-B8vaT3_s.d.ts} +4 -4
- package/dist/{index-DonXiSg2.d.ts → index-BaytncQc.d.ts} +100 -56
- package/dist/{index-CY5UEX4h.d.ts → index-BoNNplSx.d.ts} +2 -2
- package/dist/{index-QxxS6f9r.d.ts → index-Bv5XVLjH.d.ts} +1 -1
- package/dist/{index-CIkpYltz.d.ts → index-C768pAfu.d.ts} +3 -3
- package/dist/{index-DX0Vm8HY.d.ts → index-CM0ZTePs.d.ts} +1 -1
- package/dist/index-CMPUveNz.d.ts +64 -0
- package/dist/{index-ThUIs-Sy.d.ts → index-CQecU53t.d.ts} +28 -23
- package/dist/{index-CtF7EE2z.d.ts → index-CT8ZorFd.d.ts} +1 -1
- package/dist/{index-Dpyp7fQz.d.ts → index-CXscCUg7.d.ts} +12 -12
- package/dist/{index-ByW08-Z7.d.ts → index-D-UXGo5d.d.ts} +2 -2
- package/dist/{index-D71J5Ghd.d.ts → index-D6YMj82n.d.ts} +79 -79
- package/dist/{index-CQnGIGb5.d.ts → index-DJG0kiII.d.ts} +33 -33
- package/dist/{index-D2HohSwO.d.ts → index-DLUjc7Bx.d.ts} +52 -29
- package/dist/{index-C7xKVIr4.d.ts → index-DMBMM16q.d.ts} +37 -37
- package/dist/{index-DNU9xoGK.d.ts → index-DpeWm_vF.d.ts} +5 -5
- package/dist/{index-BuY_NKSX.d.ts → index-Yobo6icm.d.ts} +40 -28
- package/dist/{index-BGJXqdg6.d.ts → index-jGgfEHfQ.d.ts} +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +12 -11
- package/dist/{listCollectiblesPaginated--AgXjajA.d.ts → listCollectiblesPaginated-Bq0QSOjJ.d.ts} +28 -26
- package/dist/{listCollections-Bbzbz7qW.d.ts → listCollections-dTCq00l5.d.ts} +168 -123
- package/dist/{looks-rare-CMVPny4v.js → looks-rare-C7cQztTR.js} +1 -1
- package/dist/{looks-rare-CMVPny4v.js.map → looks-rare-C7cQztTR.js.map} +1 -1
- package/dist/{lowestListing-BQHfQpfg.d.ts → lowestListing-CB5Te-Q9.d.ts} +41 -17
- package/dist/{magic-eden-IrWp2ZXk.js → magic-eden-D3r7jiBG.js} +1 -1
- package/dist/{magic-eden-IrWp2ZXk.js.map → magic-eden-D3r7jiBG.js.map} +1 -1
- package/dist/{manifold-DeOE-p2G.js → manifold-DsX0CBP-.js} +1 -1
- package/dist/{manifold-DeOE-p2G.js.map → manifold-DsX0CBP-.js.map} +1 -1
- package/dist/{marketCurrencies-CmOMCCOr.d.ts → marketCurrencies-Bzj8X4TL.d.ts} +8 -8
- package/dist/{marketplace-B5Z8G03R.js → marketplace-BYY8OloA.js} +1 -1
- package/dist/{marketplace-B5Z8G03R.js.map → marketplace-BYY8OloA.js.map} +1 -1
- package/dist/{marketplace-logos-D8t86gsW.js → marketplace-logos-Csv2MBwf.js} +21 -21
- package/dist/marketplace-logos-Csv2MBwf.js.map +1 -0
- package/dist/{marketplace.gen-JzNYpM0U.js → marketplace.gen-w2YvbEEo.js} +2 -2
- package/dist/marketplace.gen-w2YvbEEo.js.map +1 -0
- package/dist/{marketplaceConfig-sNh-MA5M.js → marketplaceConfig-BTy75Mbf.js} +8 -9
- package/dist/marketplaceConfig-BTy75Mbf.js.map +1 -0
- package/dist/{mintify-DG3GrljJ.js → mintify-DiOoDmO1.js} +1 -1
- package/dist/{mintify-DG3GrljJ.js.map → mintify-DiOoDmO1.js.map} +1 -1
- package/dist/{network-DnBEe1Ur.js → network-DtmiMhcg.js} +2 -2
- package/dist/network-DtmiMhcg.js.map +1 -0
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js +15 -0
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +1 -0
- package/dist/{nftx-B3LH-ZYM.js → nftx-CP82jNra.js} +1 -1
- package/dist/{nftx-B3LH-ZYM.js.map → nftx-CP82jNra.js.map} +1 -1
- package/dist/{okx-CRFLrT3Z.js → okx-p9-4xRjs.js} +1 -1
- package/dist/{okx-CRFLrT3Z.js.map → okx-p9-4xRjs.js.map} +1 -1
- package/dist/{open-sea-cOpfl366.js → open-sea-D2GwAmKS.js} +1 -1
- package/dist/{open-sea-cOpfl366.js.map → open-sea-D2GwAmKS.js.map} +1 -1
- package/dist/{primary-sale-CLjXRrDj.js → primary-sale-DOmNDq2P.js} +1 -1
- package/dist/{primary-sale-CLjXRrDj.js.map → primary-sale-DOmNDq2P.js.map} +1 -1
- package/dist/{queries-BYT4GJw3.js → queries-EMA5CcwY.js} +208 -287
- package/dist/queries-EMA5CcwY.js.map +1 -0
- package/dist/{query-BTe7Wkrs.d.ts → query-BG-MA1MB.d.ts} +1 -1
- package/dist/{rarible-guwUx4cn.js → rarible-DqiiW9ki.js} +1 -1
- package/dist/{rarible-guwUx4cn.js.map → rarible-DqiiW9ki.js.map} +1 -1
- package/dist/react/_internal/api/index.d.ts +1 -1
- package/dist/react/_internal/api/index.js +4 -4
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +24 -21
- package/dist/react/_internal/index.d.ts +1 -1
- package/dist/react/_internal/index.js +8 -7
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +4 -3
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +24 -21
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +13 -12
- package/dist/react/hooks/data/collectibles/index.d.ts +4 -4
- package/dist/react/hooks/data/collectibles/index.js +24 -21
- package/dist/react/hooks/data/collections/index.d.ts +10 -10
- package/dist/react/hooks/data/collections/index.js +24 -21
- package/dist/react/hooks/data/index.d.ts +29 -29
- package/dist/react/hooks/data/index.js +25 -22
- package/dist/react/hooks/data/inventory/index.d.ts +28 -28
- package/dist/react/hooks/data/inventory/index.js +24 -21
- package/dist/react/hooks/data/market/index.d.ts +5 -11
- package/dist/react/hooks/data/market/index.js +24 -21
- package/dist/react/hooks/data/orders/index.d.ts +5 -11
- package/dist/react/hooks/data/orders/index.js +25 -22
- package/dist/react/hooks/data/primary-sales/index.d.ts +28 -28
- package/dist/react/hooks/data/primary-sales/index.js +24 -21
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +24 -21
- package/dist/react/hooks/index.d.ts +29 -29
- package/dist/react/hooks/index.js +25 -22
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +24 -21
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +24 -21
- package/dist/react/hooks/utils/index.d.ts +29 -29
- package/dist/react/hooks/utils/index.js +25 -22
- package/dist/react/index.d.ts +29 -29
- package/dist/react/index.js +25 -22
- package/dist/react/queries/index.d.ts +16 -16
- package/dist/react/queries/index.js +18 -17
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +9 -8
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +3 -0
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +22 -0
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +54 -0
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +29 -0
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +5 -5
- package/dist/react/ui/components/marketplace-collectible-card/index.js +24 -21
- 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 +9 -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 +13 -11
- package/dist/react/ui/index.d.ts +5 -5
- package/dist/react/ui/index.js +24 -21
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +24 -21
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react/utils/index.js +5 -5
- package/dist/{react-Ceq8mamy.js → react-BLJ4DkPx.js} +723 -807
- package/dist/react-BLJ4DkPx.js.map +1 -0
- package/dist/{react-CbqXKOpt.css → react-F03jPjPk.css} +1 -1
- package/dist/{react-CbqXKOpt.css.map → react-F03jPjPk.css.map} +1 -1
- package/dist/{sequence-Dt2Xo7Fa.js → sequence-Bbb-TFKg.js} +1 -1
- package/dist/{sequence-Dt2Xo7Fa.js.map → sequence-Bbb-TFKg.js.map} +1 -1
- package/dist/styles/index.css +46 -24
- package/dist/{sudo-swap-CGoARONs.js → sudo-swap-CEPIM3Js.js} +1 -1
- package/dist/{sudo-swap-CGoARONs.js.map → sudo-swap-CEPIM3Js.js.map} +1 -1
- package/dist/{super-rare-NeQtZjcn.js → super-rare-CMEn9PoO.js} +1 -1
- package/dist/{super-rare-NeQtZjcn.js.map → super-rare-CMEn9PoO.js.map} +1 -1
- package/dist/{token-D9gZVqbX.js → token-CcyLz8Z8.js} +1 -1
- package/dist/{token-D9gZVqbX.js.map → token-CcyLz8Z8.js.map} +1 -1
- package/dist/{tokenSupplies-DXtkRYNO.d.ts → tokenSupplies-C470zTT0.d.ts} +23 -23
- package/dist/{transaction-CC2KxNF6.js → transaction-DZUW5RHu.js} +2 -8
- package/dist/transaction-DZUW5RHu.js.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/{types-G2PWxiJR.js → types-B_-cnkcP.js} +1 -1
- package/dist/types-B_-cnkcP.js.map +1 -0
- package/dist/{types-BlCa0TVE.d.ts → types-D6LkVrF0.d.ts} +18 -10
- 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 +6 -6
- package/dist/utils/index.js +11 -10
- package/dist/{utils-CKJd-CRf.js → utils-BZEkdqWK.js} +7 -24
- package/dist/utils-BZEkdqWK.js.map +1 -0
- package/dist/{utils-wquIhK6T.js → utils-oVZxdK0o.js} +2 -2
- package/dist/utils-oVZxdK0o.js.map +1 -0
- package/dist/{waitForTransactionReceipt-DZxAuR9N.js → waitForTransactionReceipt-B08YZiDY.js} +3 -4
- package/dist/{waitForTransactionReceipt-DZxAuR9N.js.map → waitForTransactionReceipt-B08YZiDY.js.map} +1 -1
- package/dist/{x2y2-CQdg24VP.js → x2y2-DNe6JgtG.js} +1 -1
- package/dist/{x2y2-CQdg24VP.js.map → x2y2-DNe6JgtG.js.map} +1 -1
- package/dist/{zora-DdEydy4L.js → zora-w0Zqxxs4.js} +1 -1
- package/dist/{zora-DdEydy4L.js.map → zora-w0Zqxxs4.js.map} +1 -1
- package/package.json +35 -35
- package/src/react/_internal/api/marketplace.gen.ts +1 -1
- package/src/react/_internal/api/query-keys.ts +2 -0
- package/src/react/_internal/wagmi/__tests__/create-config.test.ts +19 -8
- package/src/react/_internal/wagmi/create-config.ts +6 -17
- package/src/react/hooks/config/__snapshots__/useMarketplaceConfig.test.tsx.snap +4 -4
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +2 -2
- package/src/react/hooks/data/collectibles/useTokenBalances.test.tsx +151 -0
- package/src/react/hooks/data/collectibles/useTokenBalances.tsx +47 -0
- package/src/react/hooks/data/collections/__snapshots__/useListCollections.test.tsx.snap +6 -6
- package/src/react/hooks/data/inventory/useInventory.test.tsx +3 -98
- package/src/react/hooks/data/inventory/useInventory.tsx +2 -2
- package/src/react/hooks/data/market/useListMarketCardData.tsx +1 -1
- package/src/react/hooks/data/orders/useListOffersForCollectible.tsx +70 -45
- package/src/react/hooks/data/primary-sales/useList1155ShopCardData.tsx +21 -37
- package/src/react/hooks/data/primary-sales/useList721ShopCardData.tsx +14 -3
- package/src/react/hooks/data/tokens/useSearchTokenMetadata.tsx +4 -1
- package/src/react/hooks/transactions/useCancelOrder.test.tsx +7 -4
- package/src/react/hooks/transactions/useCancelOrder.tsx +2 -1
- package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +2 -2
- package/src/react/hooks/transactions/useProcessStep.test.tsx +2 -2
- package/src/react/hooks/utils/__tests__/useEnsureCorrectChain.test.tsx +75 -0
- package/src/react/hooks/utils/index.ts +0 -1
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +31 -34
- package/src/react/providers/index.tsx +12 -14
- package/src/react/providers/modal-provider.tsx +2 -2
- package/src/react/queries/__tests__/balanceOfCollectible.laos.test.ts +3 -3
- package/src/react/queries/__tests__/inventory.laos.test.ts +6 -3
- package/src/react/queries/__tests__/tokenBalances.laos.test.ts +123 -0
- package/src/react/queries/balanceOfCollectible.ts +2 -1
- package/src/react/queries/filters.ts +23 -28
- package/src/react/queries/index.ts +1 -0
- package/src/react/queries/inventory.ts +63 -243
- package/src/react/queries/listCollectibles.ts +22 -48
- package/src/react/queries/listCollections.ts +10 -13
- package/src/react/queries/listOffersForCollectible.ts +101 -0
- package/src/react/queries/marketplaceConfig.ts +6 -2
- package/src/react/queries/tokenBalances.ts +85 -0
- package/src/react/ssr/__tests__/__snapshots__/create-ssr-client.test.ts.snap +4 -4
- package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +8 -8
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +6 -9
- package/src/react/ui/components/_internals/action-button/__tests__/NonOwnerActions.test.tsx +4 -4
- package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +6 -6
- package/src/react/ui/components/_internals/custom-select/__tests__/CustomSelect.test.tsx +1 -1
- package/src/react/ui/components/marketplace-collectible-card/CollectibleCard.tsx +4 -3
- package/src/react/ui/components/marketplace-collectible-card/CollectibleCardSkeleton.tsx +13 -2
- package/src/react/ui/components/marketplace-collectible-card/components/ActionButtonWrapper.tsx +4 -7
- package/src/react/ui/components/marketplace-collectible-card/components/BaseCard.tsx +14 -5
- package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +179 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/FooterName.tsx +103 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/PriceDisplay.tsx +80 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/SaleDetailsPill.tsx +29 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/TokenTypeBalancePill.tsx +30 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/index.ts +4 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/index.ts +2 -0
- package/src/react/ui/components/marketplace-collectible-card/types.ts +18 -6
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +11 -23
- package/src/react/ui/components/marketplace-collectible-card/variants/NonTradableInventoryCard.tsx +42 -0
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +15 -12
- package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +10 -10
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +3 -3
- package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx.bak +3 -3
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +6 -6
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +3 -3
- package/src/react/ui/modals/BuyModal/components/BuyModalRouter.tsx +5 -5
- package/src/react/ui/modals/BuyModal/components/ERC1155BuyModal.tsx +2 -2
- package/src/react/ui/modals/BuyModal/components/ERC1155QuantityModal.tsx +8 -8
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +2 -2
- package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +13 -2
- package/src/react/ui/modals/BuyModal/store.ts +6 -6
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +2 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +87 -89
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +2 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +1 -1
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +2 -1
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +2 -1
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.test.tsx +20 -9
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +2 -2
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/__tests__/SwitchChainErrorModal.test.tsx +80 -0
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/index.tsx +64 -0
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/store.ts +42 -0
- package/src/react/ui/modals/_internal/types.ts +0 -1
- package/src/styles/styles.ts +46 -24
- package/src/types/new-marketplace-types.ts +9 -18
- package/src/types/types.ts +1 -1
- package/test/globalSetup.ts +1 -1
- package/test/test-utils.tsx +1 -0
- package/dist/BellIcon-Cb9YEUzJ.js.map +0 -1
- package/dist/CollectibleCard-CYyWzk6u.d.ts +0 -8
- package/dist/api-BmEQfSQa.js.map +0 -1
- package/dist/create-config-6uynwTeb.js.map +0 -1
- package/dist/marketplace-logos-D8t86gsW.js.map +0 -1
- package/dist/marketplace.gen-JzNYpM0U.js.map +0 -1
- package/dist/marketplaceConfig-sNh-MA5M.js.map +0 -1
- package/dist/network-DnBEe1Ur.js.map +0 -1
- package/dist/queries-BYT4GJw3.js.map +0 -1
- package/dist/react-Ceq8mamy.js.map +0 -1
- package/dist/transaction-CC2KxNF6.js.map +0 -1
- package/dist/types-G2PWxiJR.js.map +0 -1
- package/dist/utils-CKJd-CRf.js.map +0 -1
- package/dist/utils-wquIhK6T.js.map +0 -1
- package/src/react/hooks/utils/useSwitchChainWithModal.ts +0 -38
- package/src/react/ui/components/marketplace-collectible-card/Footer.tsx +0 -238
- package/src/react/ui/modals/_internal/components/switchChainModal/__tests__/SwitchChainModal.test.tsx +0 -117
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +0 -124
- package/src/react/ui/modals/_internal/components/switchChainModal/store.ts +0 -71
- /package/dist/{abi-Wr_aTZFi.js → abi-DYsUABe6.js} +0 -0
- /package/dist/{index-q7f-WDBS.d.ts → index-Cg5cFzs-.d.ts} +0 -0
- /package/dist/{wagmi-BhP3mdhP.js → wagmi-Bseovd6Q.js} +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Collection, CollectionFilterSettings, ContractType, GetCollectionDetailArgs, ListCollectionActivitiesArgs, ListCollectionActivitiesReturn, MarketplaceConfig,
|
|
2
|
-
import { StandardQueryOptions } from "./query-
|
|
3
|
-
import * as
|
|
1
|
+
import { CardType, Collection, CollectionFilterSettings, ContractType, GetCollectionDetailArgs, ListCollectionActivitiesArgs, ListCollectionActivitiesReturn, MarketplaceConfig, OrderbookKind, SdkConfig, SortBy, ValuesOptional } from "./create-config-DV_dtaLt.js";
|
|
2
|
+
import { StandardQueryOptions } from "./query-BG-MA1MB.js";
|
|
3
|
+
import * as _tanstack_react_query214 from "@tanstack/react-query";
|
|
4
4
|
import { GetTokenBalancesDetailsReturn } from "@0xsequence/indexer";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _0xsequence_metadata76 from "@0xsequence/metadata";
|
|
6
|
+
import * as viem30 from "viem";
|
|
6
7
|
import { Address } from "viem";
|
|
7
8
|
|
|
8
9
|
//#region src/react/queries/collection.d.ts
|
|
@@ -14,15 +15,15 @@ interface FetchCollectionParams {
|
|
|
14
15
|
/**
|
|
15
16
|
* Fetches collection information from the metadata API
|
|
16
17
|
*/
|
|
17
|
-
declare function fetchCollection(params: FetchCollectionParams): Promise<
|
|
18
|
+
declare function fetchCollection(params: FetchCollectionParams): Promise<_0xsequence_metadata76.ContractInfo>;
|
|
18
19
|
type CollectionQueryOptions = ValuesOptional<FetchCollectionParams> & {
|
|
19
20
|
query?: StandardQueryOptions;
|
|
20
21
|
};
|
|
21
|
-
declare function collectionQueryOptions(params: CollectionQueryOptions):
|
|
22
|
-
queryFn?:
|
|
22
|
+
declare function collectionQueryOptions(params: CollectionQueryOptions): _tanstack_react_query214.OmitKeyof<_tanstack_react_query214.UseQueryOptions<_0xsequence_metadata76.ContractInfo, Error, _0xsequence_metadata76.ContractInfo, ("collections" | "detail" | CollectionQueryOptions)[]>, "queryFn"> & {
|
|
23
|
+
queryFn?: _tanstack_react_query214.QueryFunction<_0xsequence_metadata76.ContractInfo, ("collections" | "detail" | CollectionQueryOptions)[], never> | undefined;
|
|
23
24
|
} & {
|
|
24
25
|
queryKey: ("collections" | "detail" | CollectionQueryOptions)[] & {
|
|
25
|
-
[dataTagSymbol]:
|
|
26
|
+
[dataTagSymbol]: _0xsequence_metadata76.ContractInfo;
|
|
26
27
|
[dataTagErrorSymbol]: Error;
|
|
27
28
|
};
|
|
28
29
|
};
|
|
@@ -45,8 +46,8 @@ declare function fetchCollectionBalanceDetails(params: FetchCollectionBalanceDet
|
|
|
45
46
|
type CollectionBalanceDetailsQueryOptions = ValuesOptional<FetchCollectionBalanceDetailsParams> & {
|
|
46
47
|
query?: StandardQueryOptions;
|
|
47
48
|
};
|
|
48
|
-
declare function collectionBalanceDetailsQueryOptions(params: CollectionBalanceDetailsQueryOptions):
|
|
49
|
-
queryFn?:
|
|
49
|
+
declare function collectionBalanceDetailsQueryOptions(params: CollectionBalanceDetailsQueryOptions): _tanstack_react_query214.OmitKeyof<_tanstack_react_query214.UseQueryOptions<GetTokenBalancesDetailsReturn, Error, GetTokenBalancesDetailsReturn, (string | CollectionBalanceDetailsQueryOptions)[]>, "queryFn"> & {
|
|
50
|
+
queryFn?: _tanstack_react_query214.QueryFunction<GetTokenBalancesDetailsReturn, (string | CollectionBalanceDetailsQueryOptions)[], never> | undefined;
|
|
50
51
|
} & {
|
|
51
52
|
queryKey: (string | CollectionBalanceDetailsQueryOptions)[] & {
|
|
52
53
|
[dataTagSymbol]: GetTokenBalancesDetailsReturn;
|
|
@@ -67,8 +68,8 @@ declare function fetchCollectionDetails(params: FetchCollectionDetailsParams): P
|
|
|
67
68
|
type CollectionDetailsQueryOptions = ValuesOptional<FetchCollectionDetailsParams> & {
|
|
68
69
|
query?: StandardQueryOptions;
|
|
69
70
|
};
|
|
70
|
-
declare function collectionDetailsQueryOptions(params: CollectionDetailsQueryOptions):
|
|
71
|
-
queryFn?:
|
|
71
|
+
declare function collectionDetailsQueryOptions(params: CollectionDetailsQueryOptions): _tanstack_react_query214.OmitKeyof<_tanstack_react_query214.UseQueryOptions<Collection, Error, Collection, ("collections" | "detail" | CollectionDetailsQueryOptions)[]>, "queryFn"> & {
|
|
72
|
+
queryFn?: _tanstack_react_query214.QueryFunction<Collection, ("collections" | "detail" | CollectionDetailsQueryOptions)[], never> | undefined;
|
|
72
73
|
} & {
|
|
73
74
|
queryKey: ("collections" | "detail" | CollectionDetailsQueryOptions)[] & {
|
|
74
75
|
[dataTagSymbol]: Collection;
|
|
@@ -92,8 +93,8 @@ declare function fetchListCollectionActivities(params: FetchListCollectionActivi
|
|
|
92
93
|
type ListCollectionActivitiesQueryOptions = ValuesOptional<FetchListCollectionActivitiesParams> & {
|
|
93
94
|
query?: StandardQueryOptions;
|
|
94
95
|
};
|
|
95
|
-
declare function listCollectionActivitiesQueryOptions(params: ListCollectionActivitiesQueryOptions):
|
|
96
|
-
queryFn?:
|
|
96
|
+
declare function listCollectionActivitiesQueryOptions(params: ListCollectionActivitiesQueryOptions): _tanstack_react_query214.OmitKeyof<_tanstack_react_query214.UseQueryOptions<ListCollectionActivitiesReturn, Error, ListCollectionActivitiesReturn, ("collections" | "collectionActivities" | ListCollectionActivitiesQueryOptions)[]>, "queryFn"> & {
|
|
97
|
+
queryFn?: _tanstack_react_query214.QueryFunction<ListCollectionActivitiesReturn, ("collections" | "collectionActivities" | ListCollectionActivitiesQueryOptions)[], never> | undefined;
|
|
97
98
|
} & {
|
|
98
99
|
queryKey: ("collections" | "collectionActivities" | ListCollectionActivitiesQueryOptions)[] & {
|
|
99
100
|
[dataTagSymbol]: ListCollectionActivitiesReturn;
|
|
@@ -103,7 +104,7 @@ declare function listCollectionActivitiesQueryOptions(params: ListCollectionActi
|
|
|
103
104
|
//#endregion
|
|
104
105
|
//#region src/react/queries/listCollections.d.ts
|
|
105
106
|
interface FetchListCollectionsParams {
|
|
106
|
-
|
|
107
|
+
cardType?: CardType;
|
|
107
108
|
marketplaceConfig: MarketplaceConfig;
|
|
108
109
|
config: SdkConfig;
|
|
109
110
|
}
|
|
@@ -121,18 +122,20 @@ declare function fetchListCollections(params: FetchListCollectionsParams): Promi
|
|
|
121
122
|
logoURI: string;
|
|
122
123
|
deployed: boolean;
|
|
123
124
|
bytecodeHash: string;
|
|
124
|
-
extensions:
|
|
125
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
125
126
|
updatedAt: string;
|
|
126
127
|
queuedAt?: string;
|
|
127
|
-
status:
|
|
128
|
-
|
|
128
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
129
|
+
cardType: CardType;
|
|
129
130
|
contractType: ContractType;
|
|
130
131
|
feePercentage: number;
|
|
131
132
|
destinationMarketplace: OrderbookKind;
|
|
132
133
|
currencyOptions: Array<string>;
|
|
133
134
|
bannerUrl: string;
|
|
134
|
-
itemsAddress:
|
|
135
|
+
itemsAddress: viem30.Address;
|
|
135
136
|
filterSettings?: CollectionFilterSettings;
|
|
137
|
+
sortOrder?: number;
|
|
138
|
+
private: boolean;
|
|
136
139
|
} | {
|
|
137
140
|
chainId: number;
|
|
138
141
|
address: string;
|
|
@@ -144,20 +147,22 @@ declare function fetchListCollections(params: FetchListCollectionsParams): Promi
|
|
|
144
147
|
logoURI: string;
|
|
145
148
|
deployed: boolean;
|
|
146
149
|
bytecodeHash: string;
|
|
147
|
-
extensions:
|
|
150
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
148
151
|
updatedAt: string;
|
|
149
152
|
queuedAt?: string;
|
|
150
|
-
status:
|
|
151
|
-
|
|
152
|
-
saleAddress:
|
|
153
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
154
|
+
cardType: CardType;
|
|
155
|
+
saleAddress: viem30.Address;
|
|
153
156
|
bannerUrl: string;
|
|
154
|
-
itemsAddress:
|
|
157
|
+
itemsAddress: viem30.Address;
|
|
155
158
|
filterSettings?: CollectionFilterSettings;
|
|
159
|
+
sortOrder?: number;
|
|
160
|
+
private: boolean;
|
|
156
161
|
})[]>;
|
|
157
162
|
type ListCollectionsQueryOptions = ValuesOptional<FetchListCollectionsParams> & {
|
|
158
163
|
query?: StandardQueryOptions;
|
|
159
164
|
};
|
|
160
|
-
declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions):
|
|
165
|
+
declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions): _tanstack_react_query214.UseQueryOptions<({
|
|
161
166
|
chainId: number;
|
|
162
167
|
address: string;
|
|
163
168
|
source: string;
|
|
@@ -168,18 +173,20 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
168
173
|
logoURI: string;
|
|
169
174
|
deployed: boolean;
|
|
170
175
|
bytecodeHash: string;
|
|
171
|
-
extensions:
|
|
176
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
172
177
|
updatedAt: string;
|
|
173
178
|
queuedAt?: string;
|
|
174
|
-
status:
|
|
175
|
-
|
|
179
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
180
|
+
cardType: CardType;
|
|
176
181
|
contractType: ContractType;
|
|
177
182
|
feePercentage: number;
|
|
178
183
|
destinationMarketplace: OrderbookKind;
|
|
179
184
|
currencyOptions: Array<string>;
|
|
180
185
|
bannerUrl: string;
|
|
181
|
-
itemsAddress:
|
|
186
|
+
itemsAddress: viem30.Address;
|
|
182
187
|
filterSettings?: CollectionFilterSettings;
|
|
188
|
+
sortOrder?: number;
|
|
189
|
+
private: boolean;
|
|
183
190
|
} | {
|
|
184
191
|
chainId: number;
|
|
185
192
|
address: string;
|
|
@@ -191,15 +198,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
191
198
|
logoURI: string;
|
|
192
199
|
deployed: boolean;
|
|
193
200
|
bytecodeHash: string;
|
|
194
|
-
extensions:
|
|
201
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
195
202
|
updatedAt: string;
|
|
196
203
|
queuedAt?: string;
|
|
197
|
-
status:
|
|
198
|
-
|
|
199
|
-
saleAddress:
|
|
204
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
205
|
+
cardType: CardType;
|
|
206
|
+
saleAddress: viem30.Address;
|
|
200
207
|
bannerUrl: string;
|
|
201
|
-
itemsAddress:
|
|
208
|
+
itemsAddress: viem30.Address;
|
|
202
209
|
filterSettings?: CollectionFilterSettings;
|
|
210
|
+
sortOrder?: number;
|
|
211
|
+
private: boolean;
|
|
203
212
|
})[], Error, ({
|
|
204
213
|
chainId: number;
|
|
205
214
|
address: string;
|
|
@@ -211,18 +220,20 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
211
220
|
logoURI: string;
|
|
212
221
|
deployed: boolean;
|
|
213
222
|
bytecodeHash: string;
|
|
214
|
-
extensions:
|
|
223
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
215
224
|
updatedAt: string;
|
|
216
225
|
queuedAt?: string;
|
|
217
|
-
status:
|
|
218
|
-
|
|
226
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
227
|
+
cardType: CardType;
|
|
219
228
|
contractType: ContractType;
|
|
220
229
|
feePercentage: number;
|
|
221
230
|
destinationMarketplace: OrderbookKind;
|
|
222
231
|
currencyOptions: Array<string>;
|
|
223
232
|
bannerUrl: string;
|
|
224
|
-
itemsAddress:
|
|
233
|
+
itemsAddress: viem30.Address;
|
|
225
234
|
filterSettings?: CollectionFilterSettings;
|
|
235
|
+
sortOrder?: number;
|
|
236
|
+
private: boolean;
|
|
226
237
|
} | {
|
|
227
238
|
chainId: number;
|
|
228
239
|
address: string;
|
|
@@ -234,15 +245,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
234
245
|
logoURI: string;
|
|
235
246
|
deployed: boolean;
|
|
236
247
|
bytecodeHash: string;
|
|
237
|
-
extensions:
|
|
248
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
238
249
|
updatedAt: string;
|
|
239
250
|
queuedAt?: string;
|
|
240
|
-
status:
|
|
241
|
-
|
|
242
|
-
saleAddress:
|
|
251
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
252
|
+
cardType: CardType;
|
|
253
|
+
saleAddress: viem30.Address;
|
|
243
254
|
bannerUrl: string;
|
|
244
|
-
itemsAddress:
|
|
255
|
+
itemsAddress: viem30.Address;
|
|
245
256
|
filterSettings?: CollectionFilterSettings;
|
|
257
|
+
sortOrder?: number;
|
|
258
|
+
private: boolean;
|
|
246
259
|
})[], ("list" | "collections" | ListCollectionsQueryOptions)[]> & {
|
|
247
260
|
initialData?: ({
|
|
248
261
|
chainId: number;
|
|
@@ -255,18 +268,20 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
255
268
|
logoURI: string;
|
|
256
269
|
deployed: boolean;
|
|
257
270
|
bytecodeHash: string;
|
|
258
|
-
extensions:
|
|
271
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
259
272
|
updatedAt: string;
|
|
260
273
|
queuedAt?: string;
|
|
261
|
-
status:
|
|
262
|
-
|
|
274
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
275
|
+
cardType: CardType;
|
|
263
276
|
contractType: ContractType;
|
|
264
277
|
feePercentage: number;
|
|
265
278
|
destinationMarketplace: OrderbookKind;
|
|
266
279
|
currencyOptions: Array<string>;
|
|
267
280
|
bannerUrl: string;
|
|
268
|
-
itemsAddress:
|
|
281
|
+
itemsAddress: viem30.Address;
|
|
269
282
|
filterSettings?: CollectionFilterSettings;
|
|
283
|
+
sortOrder?: number;
|
|
284
|
+
private: boolean;
|
|
270
285
|
} | {
|
|
271
286
|
chainId: number;
|
|
272
287
|
address: string;
|
|
@@ -278,16 +293,18 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
278
293
|
logoURI: string;
|
|
279
294
|
deployed: boolean;
|
|
280
295
|
bytecodeHash: string;
|
|
281
|
-
extensions:
|
|
296
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
282
297
|
updatedAt: string;
|
|
283
298
|
queuedAt?: string;
|
|
284
|
-
status:
|
|
285
|
-
|
|
286
|
-
saleAddress:
|
|
299
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
300
|
+
cardType: CardType;
|
|
301
|
+
saleAddress: viem30.Address;
|
|
287
302
|
bannerUrl: string;
|
|
288
|
-
itemsAddress:
|
|
303
|
+
itemsAddress: viem30.Address;
|
|
289
304
|
filterSettings?: CollectionFilterSettings;
|
|
290
|
-
|
|
305
|
+
sortOrder?: number;
|
|
306
|
+
private: boolean;
|
|
307
|
+
})[] | _tanstack_react_query214.InitialDataFunction<({
|
|
291
308
|
chainId: number;
|
|
292
309
|
address: string;
|
|
293
310
|
source: string;
|
|
@@ -298,18 +315,20 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
298
315
|
logoURI: string;
|
|
299
316
|
deployed: boolean;
|
|
300
317
|
bytecodeHash: string;
|
|
301
|
-
extensions:
|
|
318
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
302
319
|
updatedAt: string;
|
|
303
320
|
queuedAt?: string;
|
|
304
|
-
status:
|
|
305
|
-
|
|
321
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
322
|
+
cardType: CardType;
|
|
306
323
|
contractType: ContractType;
|
|
307
324
|
feePercentage: number;
|
|
308
325
|
destinationMarketplace: OrderbookKind;
|
|
309
326
|
currencyOptions: Array<string>;
|
|
310
327
|
bannerUrl: string;
|
|
311
|
-
itemsAddress:
|
|
328
|
+
itemsAddress: viem30.Address;
|
|
312
329
|
filterSettings?: CollectionFilterSettings;
|
|
330
|
+
sortOrder?: number;
|
|
331
|
+
private: boolean;
|
|
313
332
|
} | {
|
|
314
333
|
chainId: number;
|
|
315
334
|
address: string;
|
|
@@ -321,15 +340,17 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
321
340
|
logoURI: string;
|
|
322
341
|
deployed: boolean;
|
|
323
342
|
bytecodeHash: string;
|
|
324
|
-
extensions:
|
|
343
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
325
344
|
updatedAt: string;
|
|
326
345
|
queuedAt?: string;
|
|
327
|
-
status:
|
|
328
|
-
|
|
329
|
-
saleAddress:
|
|
346
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
347
|
+
cardType: CardType;
|
|
348
|
+
saleAddress: viem30.Address;
|
|
330
349
|
bannerUrl: string;
|
|
331
|
-
itemsAddress:
|
|
350
|
+
itemsAddress: viem30.Address;
|
|
332
351
|
filterSettings?: CollectionFilterSettings;
|
|
352
|
+
sortOrder?: number;
|
|
353
|
+
private: boolean;
|
|
333
354
|
})[]> | undefined;
|
|
334
355
|
} & {
|
|
335
356
|
queryKey: ("list" | "collections" | ListCollectionsQueryOptions)[] & {
|
|
@@ -344,18 +365,20 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
344
365
|
logoURI: string;
|
|
345
366
|
deployed: boolean;
|
|
346
367
|
bytecodeHash: string;
|
|
347
|
-
extensions:
|
|
368
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
348
369
|
updatedAt: string;
|
|
349
370
|
queuedAt?: string;
|
|
350
|
-
status:
|
|
351
|
-
|
|
371
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
372
|
+
cardType: CardType;
|
|
352
373
|
contractType: ContractType;
|
|
353
374
|
feePercentage: number;
|
|
354
375
|
destinationMarketplace: OrderbookKind;
|
|
355
376
|
currencyOptions: Array<string>;
|
|
356
377
|
bannerUrl: string;
|
|
357
|
-
itemsAddress:
|
|
378
|
+
itemsAddress: viem30.Address;
|
|
358
379
|
filterSettings?: CollectionFilterSettings;
|
|
380
|
+
sortOrder?: number;
|
|
381
|
+
private: boolean;
|
|
359
382
|
} | {
|
|
360
383
|
chainId: number;
|
|
361
384
|
address: string;
|
|
@@ -367,28 +390,30 @@ declare function listCollectionsQueryOptions(params: ListCollectionsQueryOptions
|
|
|
367
390
|
logoURI: string;
|
|
368
391
|
deployed: boolean;
|
|
369
392
|
bytecodeHash: string;
|
|
370
|
-
extensions:
|
|
393
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
371
394
|
updatedAt: string;
|
|
372
395
|
queuedAt?: string;
|
|
373
|
-
status:
|
|
374
|
-
|
|
375
|
-
saleAddress:
|
|
396
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
397
|
+
cardType: CardType;
|
|
398
|
+
saleAddress: viem30.Address;
|
|
376
399
|
bannerUrl: string;
|
|
377
|
-
itemsAddress:
|
|
400
|
+
itemsAddress: viem30.Address;
|
|
378
401
|
filterSettings?: CollectionFilterSettings;
|
|
402
|
+
sortOrder?: number;
|
|
403
|
+
private: boolean;
|
|
379
404
|
})[];
|
|
380
405
|
[dataTagErrorSymbol]: Error;
|
|
381
406
|
};
|
|
382
407
|
};
|
|
383
408
|
declare const listCollectionsOptions: ({
|
|
384
|
-
|
|
409
|
+
cardType,
|
|
385
410
|
marketplaceConfig,
|
|
386
411
|
config
|
|
387
412
|
}: {
|
|
388
|
-
|
|
413
|
+
cardType?: CardType;
|
|
389
414
|
marketplaceConfig: MarketplaceConfig | undefined;
|
|
390
415
|
config: SdkConfig;
|
|
391
|
-
}) =>
|
|
416
|
+
}) => _tanstack_react_query214.UseQueryOptions<({
|
|
392
417
|
chainId: number;
|
|
393
418
|
address: string;
|
|
394
419
|
source: string;
|
|
@@ -399,18 +424,20 @@ declare const listCollectionsOptions: ({
|
|
|
399
424
|
logoURI: string;
|
|
400
425
|
deployed: boolean;
|
|
401
426
|
bytecodeHash: string;
|
|
402
|
-
extensions:
|
|
427
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
403
428
|
updatedAt: string;
|
|
404
429
|
queuedAt?: string;
|
|
405
|
-
status:
|
|
406
|
-
|
|
430
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
431
|
+
cardType: CardType;
|
|
407
432
|
contractType: ContractType;
|
|
408
433
|
feePercentage: number;
|
|
409
434
|
destinationMarketplace: OrderbookKind;
|
|
410
435
|
currencyOptions: Array<string>;
|
|
411
436
|
bannerUrl: string;
|
|
412
|
-
itemsAddress:
|
|
437
|
+
itemsAddress: viem30.Address;
|
|
413
438
|
filterSettings?: CollectionFilterSettings;
|
|
439
|
+
sortOrder?: number;
|
|
440
|
+
private: boolean;
|
|
414
441
|
} | {
|
|
415
442
|
chainId: number;
|
|
416
443
|
address: string;
|
|
@@ -422,15 +449,17 @@ declare const listCollectionsOptions: ({
|
|
|
422
449
|
logoURI: string;
|
|
423
450
|
deployed: boolean;
|
|
424
451
|
bytecodeHash: string;
|
|
425
|
-
extensions:
|
|
452
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
426
453
|
updatedAt: string;
|
|
427
454
|
queuedAt?: string;
|
|
428
|
-
status:
|
|
429
|
-
|
|
430
|
-
saleAddress:
|
|
455
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
456
|
+
cardType: CardType;
|
|
457
|
+
saleAddress: viem30.Address;
|
|
431
458
|
bannerUrl: string;
|
|
432
|
-
itemsAddress:
|
|
459
|
+
itemsAddress: viem30.Address;
|
|
433
460
|
filterSettings?: CollectionFilterSettings;
|
|
461
|
+
sortOrder?: number;
|
|
462
|
+
private: boolean;
|
|
434
463
|
})[], Error, ({
|
|
435
464
|
chainId: number;
|
|
436
465
|
address: string;
|
|
@@ -442,18 +471,20 @@ declare const listCollectionsOptions: ({
|
|
|
442
471
|
logoURI: string;
|
|
443
472
|
deployed: boolean;
|
|
444
473
|
bytecodeHash: string;
|
|
445
|
-
extensions:
|
|
474
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
446
475
|
updatedAt: string;
|
|
447
476
|
queuedAt?: string;
|
|
448
|
-
status:
|
|
449
|
-
|
|
477
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
478
|
+
cardType: CardType;
|
|
450
479
|
contractType: ContractType;
|
|
451
480
|
feePercentage: number;
|
|
452
481
|
destinationMarketplace: OrderbookKind;
|
|
453
482
|
currencyOptions: Array<string>;
|
|
454
483
|
bannerUrl: string;
|
|
455
|
-
itemsAddress:
|
|
484
|
+
itemsAddress: viem30.Address;
|
|
456
485
|
filterSettings?: CollectionFilterSettings;
|
|
486
|
+
sortOrder?: number;
|
|
487
|
+
private: boolean;
|
|
457
488
|
} | {
|
|
458
489
|
chainId: number;
|
|
459
490
|
address: string;
|
|
@@ -465,17 +496,19 @@ declare const listCollectionsOptions: ({
|
|
|
465
496
|
logoURI: string;
|
|
466
497
|
deployed: boolean;
|
|
467
498
|
bytecodeHash: string;
|
|
468
|
-
extensions:
|
|
499
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
469
500
|
updatedAt: string;
|
|
470
501
|
queuedAt?: string;
|
|
471
|
-
status:
|
|
472
|
-
|
|
473
|
-
saleAddress:
|
|
502
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
503
|
+
cardType: CardType;
|
|
504
|
+
saleAddress: viem30.Address;
|
|
474
505
|
bannerUrl: string;
|
|
475
|
-
itemsAddress:
|
|
506
|
+
itemsAddress: viem30.Address;
|
|
476
507
|
filterSettings?: CollectionFilterSettings;
|
|
508
|
+
sortOrder?: number;
|
|
509
|
+
private: boolean;
|
|
477
510
|
})[], ("list" | "collections" | {
|
|
478
|
-
|
|
511
|
+
cardType: CardType | undefined;
|
|
479
512
|
marketplaceConfig: MarketplaceConfig | undefined;
|
|
480
513
|
config: SdkConfig;
|
|
481
514
|
})[]> & {
|
|
@@ -490,18 +523,20 @@ declare const listCollectionsOptions: ({
|
|
|
490
523
|
logoURI: string;
|
|
491
524
|
deployed: boolean;
|
|
492
525
|
bytecodeHash: string;
|
|
493
|
-
extensions:
|
|
526
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
494
527
|
updatedAt: string;
|
|
495
528
|
queuedAt?: string;
|
|
496
|
-
status:
|
|
497
|
-
|
|
529
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
530
|
+
cardType: CardType;
|
|
498
531
|
contractType: ContractType;
|
|
499
532
|
feePercentage: number;
|
|
500
533
|
destinationMarketplace: OrderbookKind;
|
|
501
534
|
currencyOptions: Array<string>;
|
|
502
535
|
bannerUrl: string;
|
|
503
|
-
itemsAddress:
|
|
536
|
+
itemsAddress: viem30.Address;
|
|
504
537
|
filterSettings?: CollectionFilterSettings;
|
|
538
|
+
sortOrder?: number;
|
|
539
|
+
private: boolean;
|
|
505
540
|
} | {
|
|
506
541
|
chainId: number;
|
|
507
542
|
address: string;
|
|
@@ -513,16 +548,18 @@ declare const listCollectionsOptions: ({
|
|
|
513
548
|
logoURI: string;
|
|
514
549
|
deployed: boolean;
|
|
515
550
|
bytecodeHash: string;
|
|
516
|
-
extensions:
|
|
551
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
517
552
|
updatedAt: string;
|
|
518
553
|
queuedAt?: string;
|
|
519
|
-
status:
|
|
520
|
-
|
|
521
|
-
saleAddress:
|
|
554
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
555
|
+
cardType: CardType;
|
|
556
|
+
saleAddress: viem30.Address;
|
|
522
557
|
bannerUrl: string;
|
|
523
|
-
itemsAddress:
|
|
558
|
+
itemsAddress: viem30.Address;
|
|
524
559
|
filterSettings?: CollectionFilterSettings;
|
|
525
|
-
|
|
560
|
+
sortOrder?: number;
|
|
561
|
+
private: boolean;
|
|
562
|
+
})[] | _tanstack_react_query214.InitialDataFunction<({
|
|
526
563
|
chainId: number;
|
|
527
564
|
address: string;
|
|
528
565
|
source: string;
|
|
@@ -533,18 +570,20 @@ declare const listCollectionsOptions: ({
|
|
|
533
570
|
logoURI: string;
|
|
534
571
|
deployed: boolean;
|
|
535
572
|
bytecodeHash: string;
|
|
536
|
-
extensions:
|
|
573
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
537
574
|
updatedAt: string;
|
|
538
575
|
queuedAt?: string;
|
|
539
|
-
status:
|
|
540
|
-
|
|
576
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
577
|
+
cardType: CardType;
|
|
541
578
|
contractType: ContractType;
|
|
542
579
|
feePercentage: number;
|
|
543
580
|
destinationMarketplace: OrderbookKind;
|
|
544
581
|
currencyOptions: Array<string>;
|
|
545
582
|
bannerUrl: string;
|
|
546
|
-
itemsAddress:
|
|
583
|
+
itemsAddress: viem30.Address;
|
|
547
584
|
filterSettings?: CollectionFilterSettings;
|
|
585
|
+
sortOrder?: number;
|
|
586
|
+
private: boolean;
|
|
548
587
|
} | {
|
|
549
588
|
chainId: number;
|
|
550
589
|
address: string;
|
|
@@ -556,19 +595,21 @@ declare const listCollectionsOptions: ({
|
|
|
556
595
|
logoURI: string;
|
|
557
596
|
deployed: boolean;
|
|
558
597
|
bytecodeHash: string;
|
|
559
|
-
extensions:
|
|
598
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
560
599
|
updatedAt: string;
|
|
561
600
|
queuedAt?: string;
|
|
562
|
-
status:
|
|
563
|
-
|
|
564
|
-
saleAddress:
|
|
601
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
602
|
+
cardType: CardType;
|
|
603
|
+
saleAddress: viem30.Address;
|
|
565
604
|
bannerUrl: string;
|
|
566
|
-
itemsAddress:
|
|
605
|
+
itemsAddress: viem30.Address;
|
|
567
606
|
filterSettings?: CollectionFilterSettings;
|
|
607
|
+
sortOrder?: number;
|
|
608
|
+
private: boolean;
|
|
568
609
|
})[]> | undefined;
|
|
569
610
|
} & {
|
|
570
611
|
queryKey: ("list" | "collections" | {
|
|
571
|
-
|
|
612
|
+
cardType: CardType | undefined;
|
|
572
613
|
marketplaceConfig: MarketplaceConfig | undefined;
|
|
573
614
|
config: SdkConfig;
|
|
574
615
|
})[] & {
|
|
@@ -583,18 +624,20 @@ declare const listCollectionsOptions: ({
|
|
|
583
624
|
logoURI: string;
|
|
584
625
|
deployed: boolean;
|
|
585
626
|
bytecodeHash: string;
|
|
586
|
-
extensions:
|
|
627
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
587
628
|
updatedAt: string;
|
|
588
629
|
queuedAt?: string;
|
|
589
|
-
status:
|
|
590
|
-
|
|
630
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
631
|
+
cardType: CardType;
|
|
591
632
|
contractType: ContractType;
|
|
592
633
|
feePercentage: number;
|
|
593
634
|
destinationMarketplace: OrderbookKind;
|
|
594
635
|
currencyOptions: Array<string>;
|
|
595
636
|
bannerUrl: string;
|
|
596
|
-
itemsAddress:
|
|
637
|
+
itemsAddress: viem30.Address;
|
|
597
638
|
filterSettings?: CollectionFilterSettings;
|
|
639
|
+
sortOrder?: number;
|
|
640
|
+
private: boolean;
|
|
598
641
|
} | {
|
|
599
642
|
chainId: number;
|
|
600
643
|
address: string;
|
|
@@ -606,19 +649,21 @@ declare const listCollectionsOptions: ({
|
|
|
606
649
|
logoURI: string;
|
|
607
650
|
deployed: boolean;
|
|
608
651
|
bytecodeHash: string;
|
|
609
|
-
extensions:
|
|
652
|
+
extensions: _0xsequence_metadata76.ContractInfoExtensions;
|
|
610
653
|
updatedAt: string;
|
|
611
654
|
queuedAt?: string;
|
|
612
|
-
status:
|
|
613
|
-
|
|
614
|
-
saleAddress:
|
|
655
|
+
status: _0xsequence_metadata76.ResourceStatus;
|
|
656
|
+
cardType: CardType;
|
|
657
|
+
saleAddress: viem30.Address;
|
|
615
658
|
bannerUrl: string;
|
|
616
|
-
itemsAddress:
|
|
659
|
+
itemsAddress: viem30.Address;
|
|
617
660
|
filterSettings?: CollectionFilterSettings;
|
|
661
|
+
sortOrder?: number;
|
|
662
|
+
private: boolean;
|
|
618
663
|
})[];
|
|
619
664
|
[dataTagErrorSymbol]: Error;
|
|
620
665
|
};
|
|
621
666
|
};
|
|
622
667
|
//#endregion
|
|
623
668
|
export { CollectionBalanceDetailsQueryOptions, CollectionBalanceFilter, CollectionDetailsQueryOptions, CollectionQueryOptions, FetchCollectionBalanceDetailsParams, FetchCollectionDetailsParams, FetchCollectionParams, FetchListCollectionActivitiesParams, FetchListCollectionsParams, ListCollectionActivitiesQueryOptions, ListCollectionsQueryOptions, collectionBalanceDetailsQueryOptions, collectionDetailsQueryOptions, collectionQueryOptions, fetchCollection, fetchCollectionBalanceDetails, fetchCollectionDetails, fetchListCollectionActivities, fetchListCollections, listCollectionActivitiesQueryOptions, listCollectionsOptions, listCollectionsQueryOptions };
|
|
624
|
-
//# sourceMappingURL=listCollections-
|
|
669
|
+
//# sourceMappingURL=listCollections-dTCq00l5.d.ts.map
|