@0xsequence/marketplace-sdk 1.1.0 → 1.1.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/.changeset/honest-peas-arrive.md +5 -0
- package/.changeset/real-tips-stick.md +8 -0
- package/.changeset/tall-pandas-wear.md +8 -0
- package/CHANGELOG.md +24 -2
- package/dist/{BellIcon-IpHHEy8h.js → BellIcon-ByhygxBO.js} +2 -2
- package/dist/{BellIcon-IpHHEy8h.js.map → BellIcon-ByhygxBO.js.map} +1 -1
- package/dist/{CartIcon-C8zbor8H.js → CartIcon-Bt3rQYGk.js} +3 -3
- package/dist/{CartIcon-C8zbor8H.js.map → CartIcon-Bt3rQYGk.js.map} +1 -1
- package/dist/CollectibleCard-CVpdgXA8.d.ts +8 -0
- package/dist/_internal-DkS2VUn5.js.map +1 -1
- package/dist/abi-fa-o9gH3.js +134 -0
- package/dist/abi-fa-o9gH3.js.map +1 -0
- package/dist/{alien_swap-BTJ7mSR-.js → alien_swap-DoY6XfMA.js} +1 -1
- package/dist/{alien_swap-BTJ7mSR-.js.map → alien_swap-DoY6XfMA.js.map} +1 -1
- package/dist/{api-DuLKn__v.js → api-BoO0V5aJ.js} +8 -3
- package/dist/api-BoO0V5aJ.js.map +1 -0
- package/dist/{aqua-xyz-BYJ9WSP_.js → aqua-xyz-BBDxnG14.js} +1 -1
- package/dist/{aqua-xyz-BYJ9WSP_.js.map → aqua-xyz-BBDxnG14.js.map} +1 -1
- package/dist/{aura-D7SUjgro.js → aura-DGx2zwvF.js} +1 -1
- package/dist/{aura-D7SUjgro.js.map → aura-DGx2zwvF.js.map} +1 -1
- package/dist/{blur-BcnRFCaV.js → blur-D8GKrRrq.js} +1 -1
- package/dist/{blur-BcnRFCaV.js.map → blur-D8GKrRrq.js.map} +1 -1
- package/dist/{coinbase-ChoX9Hw2.js → coinbase-DOry4PXY.js} +1 -1
- package/dist/{coinbase-ChoX9Hw2.js.map → coinbase-DOry4PXY.js.map} +1 -1
- package/dist/collectibles-C_H8jMGH.js +358 -0
- package/dist/collectibles-C_H8jMGH.js.map +1 -0
- package/dist/collections-CKummc-R.js +249 -0
- package/dist/collections-CKummc-R.js.map +1 -0
- package/dist/{components-CUv-wQr8.js → components-CosnX7F9.js} +5 -5
- package/dist/{components-CUv-wQr8.js.map → components-CosnX7F9.js.map} +1 -1
- package/dist/{contracts-D72LBOX3.js → contracts-BP_0vX48.js} +3 -3
- package/dist/{contracts-D72LBOX3.js.map → contracts-BP_0vX48.js.map} +1 -1
- package/dist/{create-config-DV_dtaLt.d.ts → create-config-ZOB7i4ZJ.d.ts} +117 -12
- package/dist/{element-Dbcv5qya.js → element-ciybd_VF.js} +1 -1
- package/dist/{element-Dbcv5qya.js.map → element-ciybd_VF.js.map} +1 -1
- package/dist/filters-V-V8Dn8f.d.ts +60 -0
- package/dist/{foundation-QPhUEUy8.js → foundation-Bq4lRz4x.js} +1 -1
- package/dist/{foundation-QPhUEUy8.js.map → foundation-Bq4lRz4x.js.map} +1 -1
- package/dist/index-BOiHR01C.d.ts +106 -0
- package/dist/index-BZIJTQT0.d.ts +121 -0
- package/dist/index-BeRV-7AX.d.ts +55 -0
- package/dist/{index-BaytncQc.d.ts → index-Bsx6XsC2.d.ts} +58 -55
- package/dist/{index-jGgfEHfQ.d.ts → index-BtWMBHeP.d.ts} +13 -9
- package/dist/{index-CT8ZorFd.d.ts → index-Bxzjy0d1.d.ts} +1 -1
- package/dist/{index-B6aSbaw2.d.ts → index-C-745li7.d.ts} +1 -1
- package/dist/{index-BoNNplSx.d.ts → index-C4MUKshG.d.ts} +2 -2
- package/dist/{index-DMBMM16q.d.ts → index-CPzvNmq9.d.ts} +35 -35
- package/dist/{index-D-UXGo5d.d.ts → index-CS65jqOq.d.ts} +2 -2
- package/dist/index-CZUtOTjh.d.ts +1 -0
- package/dist/index-CnEbXm_t.d.ts +130 -0
- package/dist/{index-CQecU53t.d.ts → index-CxA34wP1.d.ts} +32 -23
- package/dist/{index-C768pAfu.d.ts → index-CxpFwGvR.d.ts} +3 -3
- package/dist/{index-Bv5XVLjH.d.ts → index-D9LPlmbC.d.ts} +1 -1
- package/dist/{index-DJG0kiII.d.ts → index-DFEnA6Wa.d.ts} +28 -17
- package/dist/{index-B8vaT3_s.d.ts → index-DNNUeZEq.d.ts} +4 -4
- package/dist/{index-CXscCUg7.d.ts → index-DUXfvhxs.d.ts} +12 -12
- package/dist/index-DW3njUfb.d.ts +1 -0
- package/dist/{index-CMPUveNz.d.ts → index-DWt6yrIG.d.ts} +7 -7
- package/dist/index-DewGsFz5.d.ts +1 -0
- package/dist/{index-DLUjc7Bx.d.ts → index-DmudgrsN.d.ts} +191 -12
- package/dist/{index-DpeWm_vF.d.ts → index-DqXd1EeB.d.ts} +5 -5
- package/dist/{index-CM0ZTePs.d.ts → index-DwKr18CI.d.ts} +1 -1
- package/dist/{index-D6YMj82n.d.ts → index-NlPMNcqh.d.ts} +100 -100
- package/dist/index-Stm5u0I0.d.ts +53 -0
- package/dist/index-U-zp70of.d.ts +74 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +8 -8
- package/dist/inventory-Dd7TazvZ.js +72 -0
- package/dist/inventory-Dd7TazvZ.js.map +1 -0
- package/dist/listBalances-BxpxBCvn.js +57 -0
- package/dist/listBalances-BxpxBCvn.js.map +1 -0
- package/dist/listCollectiblesPaginated-Cy2_qEZA.d.ts +327 -0
- package/dist/{listCollections-dTCq00l5.d.ts → listCollections-BB9FxKj2.d.ts} +193 -111
- package/dist/{looks-rare-C7cQztTR.js → looks-rare-6H--x3AM.js} +1 -1
- package/dist/{looks-rare-C7cQztTR.js.map → looks-rare-6H--x3AM.js.map} +1 -1
- package/dist/lowestListing-Cbsi6M1K.d.ts +465 -0
- package/dist/{magic-eden-D3r7jiBG.js → magic-eden-BoxEQ1Li.js} +1 -1
- package/dist/{magic-eden-D3r7jiBG.js.map → magic-eden-BoxEQ1Li.js.map} +1 -1
- package/dist/{manifold-DsX0CBP-.js → manifold-DycKsljb.js} +1 -1
- package/dist/{manifold-DsX0CBP-.js.map → manifold-DycKsljb.js.map} +1 -1
- package/dist/market-C3HV-awQ.js +209 -0
- package/dist/market-C3HV-awQ.js.map +1 -0
- package/dist/{marketCurrencies-Bzj8X4TL.d.ts → marketCurrencies-Bpw1bIO0.d.ts} +46 -15
- package/dist/marketCurrencies-sKrTX0og.js +53 -0
- package/dist/marketCurrencies-sKrTX0og.js.map +1 -0
- package/dist/{marketplace-BYY8OloA.js → marketplace-NQB-sEQL.js} +1 -1
- package/dist/{marketplace-BYY8OloA.js.map → marketplace-NQB-sEQL.js.map} +1 -1
- package/dist/{marketplace-logos-Csv2MBwf.js → marketplace-logos-D4dS1Foy.js} +21 -21
- package/dist/{marketplace-logos-Csv2MBwf.js.map → marketplace-logos-D4dS1Foy.js.map} +1 -1
- package/dist/{marketplace.gen-w2YvbEEo.js → marketplace.gen-ksUafDqS.js} +56 -5
- package/dist/marketplace.gen-ksUafDqS.js.map +1 -0
- package/dist/{marketplaceConfig-BTy75Mbf.js → marketplaceConfig-UHQMM9fq.js} +3 -3
- package/dist/marketplaceConfig-UHQMM9fq.js.map +1 -0
- package/dist/{mintify-DiOoDmO1.js → mintify-Dyqyo8jQ.js} +1 -1
- package/dist/{mintify-DiOoDmO1.js.map → mintify-Dyqyo8jQ.js.map} +1 -1
- package/dist/{nftx-CP82jNra.js → nftx-2LbFjj9Q.js} +1 -1
- package/dist/{nftx-CP82jNra.js.map → nftx-2LbFjj9Q.js.map} +1 -1
- package/dist/{okx-p9-4xRjs.js → okx-CBEWJNsR.js} +1 -1
- package/dist/{okx-p9-4xRjs.js.map → okx-CBEWJNsR.js.map} +1 -1
- package/dist/{open-sea-D2GwAmKS.js → open-sea-Dxntz_PA.js} +1 -1
- package/dist/{open-sea-D2GwAmKS.js.map → open-sea-Dxntz_PA.js.map} +1 -1
- package/dist/orders-DnFfZAXV.js +462 -0
- package/dist/orders-DnFfZAXV.js.map +1 -0
- package/dist/{primary-sale-DOmNDq2P.js → primary-sale-1u4QlPdA.js} +1 -1
- package/dist/{primary-sale-DOmNDq2P.js.map → primary-sale-1u4QlPdA.js.map} +1 -1
- package/dist/primary-sales-Dmsi6bqj.js +114 -0
- package/dist/primary-sales-Dmsi6bqj.js.map +1 -0
- package/dist/{query-BG-MA1MB.d.ts → query-BWbCsXLY.d.ts} +1 -1
- package/dist/{rarible-DqiiW9ki.js → rarible-CS0SupHr.js} +1 -1
- package/dist/{rarible-DqiiW9ki.js.map → rarible-CS0SupHr.js.map} +1 -1
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +3 -3
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +28 -17
- package/dist/react/_internal/index.d.ts +2 -2
- package/dist/react/_internal/index.js +3 -3
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +28 -17
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +7 -7
- package/dist/react/hooks/data/collectibles/index.d.ts +10 -4
- package/dist/react/hooks/data/collectibles/index.js +28 -17
- package/dist/react/hooks/data/collections/index.d.ts +10 -10
- package/dist/react/hooks/data/collections/index.js +28 -17
- package/dist/react/hooks/data/index.d.ts +37 -29
- package/dist/react/hooks/data/index.js +29 -18
- package/dist/react/hooks/data/inventory/index.d.ts +36 -28
- package/dist/react/hooks/data/inventory/index.js +28 -17
- package/dist/react/hooks/data/market/index.d.ts +11 -5
- package/dist/react/hooks/data/market/index.js +28 -17
- package/dist/react/hooks/data/orders/index.d.ts +11 -5
- package/dist/react/hooks/data/orders/index.js +29 -18
- package/dist/react/hooks/data/primary-sales/index.d.ts +36 -28
- package/dist/react/hooks/data/primary-sales/index.js +28 -17
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +28 -17
- package/dist/react/hooks/index.d.ts +37 -29
- package/dist/react/hooks/index.js +29 -18
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +28 -17
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +28 -17
- package/dist/react/hooks/utils/index.d.ts +36 -28
- package/dist/react/hooks/utils/index.js +28 -17
- package/dist/react/index.d.ts +37 -29
- package/dist/react/index.js +29 -18
- package/dist/react/queries/collectibles/index.d.ts +11 -0
- package/dist/react/queries/collectibles/index.js +23 -0
- package/dist/react/queries/collections/index.d.ts +11 -0
- package/dist/react/queries/collections/index.js +20 -0
- package/dist/react/queries/index.d.ts +24 -16
- package/dist/react/queries/index.js +22 -11
- package/dist/react/queries/inventory/index.d.ts +3 -0
- package/dist/react/queries/inventory/index.js +22 -0
- package/dist/react/queries/market/index.d.ts +6 -0
- package/dist/react/queries/market/index.js +22 -0
- package/dist/react/queries/orders/index.d.ts +11 -0
- package/dist/react/queries/orders/index.js +13 -0
- package/dist/react/queries/primary-sales/index.d.ts +4 -0
- package/dist/react/queries/primary-sales/index.js +13 -0
- package/dist/react/queries/tokens/index.d.ts +5 -0
- package/dist/react/queries/tokens/index.js +14 -0
- package/dist/react/queries/utils/index.d.ts +4 -0
- package/dist/react/queries/utils/index.js +22 -0
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +3 -3
- 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 +11 -11
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +5 -5
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +28 -17
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +28 -17
- 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 +3 -3
- 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 +9 -9
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +28 -17
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +28 -17
- package/dist/react/utils/index.d.ts +3 -3
- package/dist/react/utils/index.js +3 -3
- package/dist/{react-BLJ4DkPx.js → react-DE852KeT.js} +1365 -172
- package/dist/react-DE852KeT.js.map +1 -0
- package/dist/{sequence-Bbb-TFKg.js → sequence-paCCener.js} +1 -1
- package/dist/{sequence-Bbb-TFKg.js.map → sequence-paCCener.js.map} +1 -1
- package/dist/styles/index.css +154 -0
- package/dist/{sudo-swap-CEPIM3Js.js → sudo-swap-9rH2EgfT.js} +1 -1
- package/dist/{sudo-swap-CEPIM3Js.js.map → sudo-swap-9rH2EgfT.js.map} +1 -1
- package/dist/{super-rare-CMEn9PoO.js → super-rare-DHIuWtRw.js} +1 -1
- package/dist/{super-rare-CMEn9PoO.js.map → super-rare-DHIuWtRw.js.map} +1 -1
- package/dist/{token-CcyLz8Z8.js → token-Cv7l2ZaL.js} +1 -1
- package/dist/{token-CcyLz8Z8.js.map → token-Cv7l2ZaL.js.map} +1 -1
- package/dist/tokenBalances-ibDerNmM.js +63 -0
- package/dist/tokenBalances-ibDerNmM.js.map +1 -0
- package/dist/tokenSupplies-Bfe8RHzI.d.ts +272 -0
- package/dist/tokens-cGxMadd8.js +194 -0
- package/dist/tokens-cGxMadd8.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/{types-D6LkVrF0.d.ts → types-D2TJ1dwv.d.ts} +3 -2
- package/dist/utils/abi/index.d.ts +5 -5
- package/dist/utils/abi/index.js +5 -5
- 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 +8 -8
- package/dist/utils-BCgNhBFR.js +112 -0
- package/dist/utils-BCgNhBFR.js.map +1 -0
- package/dist/{utils-BZEkdqWK.js → utils-BfpDVibN.js} +3 -3
- package/dist/{utils-BZEkdqWK.js.map → utils-BfpDVibN.js.map} +1 -1
- package/dist/{utils-oVZxdK0o.js → utils-BqxcalL2.js} +2 -2
- package/dist/{utils-oVZxdK0o.js.map → utils-BqxcalL2.js.map} +1 -1
- package/dist/waitForTransactionReceipt-DieAnV52.js +25 -0
- package/dist/waitForTransactionReceipt-DieAnV52.js.map +1 -0
- package/dist/{x2y2-DNe6JgtG.js → x2y2-45WDooeh.js} +1 -1
- package/dist/{x2y2-DNe6JgtG.js.map → x2y2-45WDooeh.js.map} +1 -1
- package/dist/{zora-w0Zqxxs4.js → zora-CbeBoLvQ.js} +1 -1
- package/dist/{zora-w0Zqxxs4.js.map → zora-CbeBoLvQ.js.map} +1 -1
- package/package.json +10 -5
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +2 -0
- package/src/react/_internal/api/marketplace.gen.ts +1730 -2383
- package/src/react/_internal/api/query-keys.ts +14 -0
- package/src/react/_internal/api/services.ts +1 -1
- package/src/react/_internal/databeat/types.ts +1 -0
- package/src/react/_internal/types.ts +14 -0
- package/src/react/_internal/utils.ts +3 -0
- package/src/react/hooks/config/useMarketplaceConfig.tsx +1 -1
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +1 -1
- package/src/react/hooks/data/collectibles/useCollectible.tsx +1 -1
- package/src/react/hooks/data/collectibles/useCountOfCollectables.tsx +1 -1
- package/src/react/hooks/data/collectibles/useListCollectibleActivities.tsx +1 -1
- package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -1
- package/src/react/hooks/data/collectibles/useListCollectiblesPaginated.tsx +1 -1
- package/src/react/hooks/data/collectibles/useTokenBalances.tsx +1 -1
- package/src/react/hooks/data/collections/useCollection.tsx +1 -1
- package/src/react/hooks/data/collections/useCollectionBalanceDetails.tsx +1 -1
- package/src/react/hooks/data/collections/useCollectionDetails.ts +1 -1
- package/src/react/hooks/data/collections/useListCollectionActivities.tsx +1 -1
- package/src/react/hooks/data/collections/useListCollections.tsx +1 -1
- package/src/react/hooks/data/inventory/useInventory.tsx +1 -1
- package/src/react/hooks/data/market/useCurrency.tsx +1 -1
- package/src/react/hooks/data/market/useListMarketCardData.tsx +7 -0
- package/src/react/hooks/data/market/useMarketCurrencies.tsx +1 -1
- package/src/react/hooks/data/orders/index.ts +4 -0
- package/src/react/hooks/data/orders/useCountItemsOrdersForCollection.tsx +90 -0
- package/src/react/hooks/data/orders/useCountListingsForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useCountOffersForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useFloorOrder.tsx +1 -1
- package/src/react/hooks/data/orders/useGetCountOfFilteredOrders.tsx +39 -0
- package/src/react/hooks/data/orders/useHighestOffer.tsx +1 -1
- package/src/react/hooks/data/orders/useListItemsOrdersForCollection.tsx +93 -0
- package/src/react/hooks/data/orders/useListItemsOrdersForCollectionPaginated.tsx +108 -0
- package/src/react/hooks/data/orders/useListListingsForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useListOffersForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useLowestListing.tsx +1 -1
- package/src/react/hooks/data/primary-sales/useGetCountOfPrimarySaleItems.tsx +2 -2
- package/src/react/hooks/data/primary-sales/useListPrimarySaleItems.tsx +1 -1
- package/src/react/hooks/data/tokens/useGetTokenRanges.tsx +2 -2
- package/src/react/hooks/data/tokens/useListBalances.tsx +2 -2
- package/src/react/hooks/data/tokens/useListTokenMetadata.tsx +1 -1
- package/src/react/hooks/data/tokens/useSearchTokenMetadata.tsx +1 -1
- package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -1
- package/src/react/hooks/transactions/useGenerateCancelTransaction.test.tsx +1 -0
- package/src/react/hooks/transactions/useGenerateListingTransaction.test.tsx +13 -0
- package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +1 -0
- package/src/react/hooks/transactions/useGenerateSellTransaction.test.tsx +6 -0
- package/src/react/hooks/ui/useFilterState.tsx +72 -2
- package/src/react/hooks/ui/useFilters.tsx +1 -1
- package/src/react/hooks/utils/useCheckoutOptions.tsx +2 -2
- package/src/react/hooks/utils/useCheckoutOptionsSalesContract.tsx +1 -1
- package/src/react/hooks/utils/useComparePrices.tsx +1 -1
- package/src/react/hooks/utils/useConvertPriceToUSD.tsx +1 -1
- package/src/react/providers/analytics-provider.tsx +45 -0
- package/src/react/providers/index.tsx +30 -41
- package/src/react/providers/modal-provider.tsx +13 -2
- package/src/react/queries/{__tests__ → collectibles/__tests__}/balanceOfCollectible.laos.test.ts +1 -1
- package/src/react/queries/{__tests__ → collectibles/__tests__}/tokenBalances.laos.test.ts +1 -1
- package/src/react/queries/{balanceOfCollectible.ts → collectibles/balanceOfCollectible.ts} +24 -3
- package/src/react/queries/{collectible.ts → collectibles/collectible.ts} +20 -5
- package/src/react/queries/{countOfCollectables.ts → collectibles/countOfCollectables.ts} +32 -6
- package/src/react/queries/collectibles/index.ts +7 -0
- package/src/react/queries/{listCollectibleActivities.ts → collectibles/listCollectibleActivities.ts} +29 -5
- package/src/react/queries/{listCollectibles.ts → collectibles/listCollectibles.ts} +28 -9
- package/src/react/queries/{listCollectiblesPaginated.ts → collectibles/listCollectiblesPaginated.ts} +22 -5
- package/src/react/queries/{tokenBalances.ts → collectibles/tokenBalances.ts} +21 -3
- package/src/react/queries/{collection.ts → collections/collection.ts} +19 -5
- package/src/react/queries/{collectionBalanceDetails.ts → collections/collectionBalanceDetails.ts} +19 -4
- package/src/react/queries/{collectionDetails.ts → collections/collectionDetails.ts} +21 -6
- package/src/react/queries/collections/index.ts +5 -0
- package/src/react/queries/{listCollectionActivities.ts → collections/listCollectionActivities.ts} +28 -6
- package/src/react/queries/{listCollections.ts → collections/listCollections.ts} +17 -6
- package/src/react/queries/index.ts +7 -34
- package/src/react/queries/{__tests__ → inventory/__tests__}/inventory.laos.test.ts +4 -4
- package/src/react/queries/inventory/index.ts +1 -0
- package/src/react/queries/{inventory.ts → inventory/inventory.ts} +11 -5
- package/src/react/queries/{checkoutOptions.ts → market/checkoutOptions.ts} +28 -6
- package/src/react/queries/{checkoutOptionsSalesContract.ts → market/checkoutOptionsSalesContract.ts} +24 -5
- package/src/react/queries/{currency.ts → market/currency.ts} +13 -4
- package/src/react/queries/{filters.ts → market/filters.ts} +25 -6
- package/src/react/queries/market/index.ts +6 -0
- package/src/react/queries/{marketCurrencies.ts → market/marketCurrencies.ts} +24 -5
- package/src/react/queries/{marketplaceConfig.ts → market/marketplaceConfig.ts} +5 -5
- package/src/react/queries/orders/countItemsOrdersForCollection.ts +86 -0
- package/src/react/queries/{countListingsForCollectible.ts → orders/countListingsForCollectible.ts} +23 -6
- package/src/react/queries/{countOffersForCollectible.ts → orders/countOffersForCollectible.ts} +23 -6
- package/src/react/queries/{floorOrder.ts → orders/floorOrder.ts} +15 -4
- package/src/react/queries/orders/getCountOfFilteredOrders.ts +88 -0
- package/src/react/queries/{highestOffer.ts → orders/highestOffer.ts} +16 -4
- package/src/react/queries/orders/index.ts +11 -0
- package/src/react/queries/orders/listItemsOrdersForCollection.ts +90 -0
- package/src/react/queries/orders/listItemsOrdersForCollectionPaginated.ts +90 -0
- package/src/react/queries/{listListingsForCollectible.ts → orders/listListingsForCollectible.ts} +20 -5
- package/src/react/queries/{listOffersForCollectible.ts → orders/listOffersForCollectible.ts} +20 -5
- package/src/react/queries/{lowestListing.ts → orders/lowestListing.ts} +16 -4
- package/src/react/queries/{countOfPrimarySaleItems.ts → primary-sales/countOfPrimarySaleItems.ts} +17 -3
- package/src/react/queries/primary-sales/index.ts +3 -0
- package/src/react/queries/{primarySaleItems.ts → primary-sales/primarySaleItems.ts} +18 -4
- package/src/react/queries/{primarySaleItemsCount.ts → primary-sales/primarySaleItemsCount.ts} +19 -4
- package/src/react/queries/{getTokenRanges.ts → tokens/getTokenRanges.ts} +17 -4
- package/src/react/queries/tokens/index.ts +5 -0
- package/src/react/queries/{listBalances.ts → tokens/listBalances.ts} +18 -3
- package/src/react/queries/{listTokenMetadata.ts → tokens/listTokenMetadata.ts} +18 -4
- package/src/react/queries/{searchTokenMetadata.ts → tokens/searchTokenMetadata.ts} +18 -4
- package/src/react/queries/{tokenSupplies.ts → tokens/tokenSupplies.ts} +16 -4
- package/src/react/queries/{comparePrices.ts → utils/comparePrices.ts} +16 -4
- package/src/react/queries/{convertPriceToUSD.ts → utils/convertPriceToUSD.ts} +18 -5
- package/src/react/queries/utils/index.ts +2 -0
- package/src/react/ssr/create-ssr-client.ts +1 -1
- package/src/react/ui/components/_internals/ErrorLogBox.tsx +85 -0
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +4 -0
- package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +4 -0
- package/src/react/ui/components/marketplace-collectible-card/components/ActionButtonWrapper.tsx +3 -0
- package/src/react/ui/components/marketplace-collectible-card/types.ts +1 -0
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +3 -0
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +2 -0
- package/src/react/ui/modals/BuyModal/components/ERC1155BuyModal.tsx +65 -3
- package/src/react/ui/modals/BuyModal/components/ERC721BuyModal.tsx +31 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC721SalePaymentParams.test.tsx +20 -1
- package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +7 -2
- package/src/react/ui/modals/BuyModal/hooks/useERC721SalePaymentParams.ts +12 -3
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +11 -2
- package/src/react/ui/modals/BuyModal/store.ts +3 -0
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +63 -24
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +4 -0
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +18 -12
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +4 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +1 -0
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +55 -8
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +10 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +4 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +15 -26
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +1 -0
- package/src/react/ui/modals/SellModal/Modal.tsx +21 -3
- package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +2 -0
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +3 -1
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +13 -7
- package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +9 -0
- package/src/react/ui/modals/_internal/components/calendarDropdown/TimeSelector.tsx +105 -0
- package/src/react/ui/modals/_internal/components/calendarDropdown/index.tsx +45 -12
- package/src/react/ui/modals/_internal/components/calendarDropdown/overrides.css +39 -0
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +31 -10
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +18 -9
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +51 -1
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +58 -10
- package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +481 -0
- package/src/react/utils/waitForTransactionReceipt.ts +26 -32
- package/src/styles/index.css +1 -0
- package/src/styles/styles.ts +155 -1
- package/src/types/index.ts +1 -1
- package/src/utils/abi/index.ts +1 -0
- package/src/utils/abi/mainModule.ts +158 -0
- package/dist/CollectibleCard-C2EWF0zo.d.ts +0 -8
- package/dist/api-DuLKn__v.js.map +0 -1
- package/dist/filters-zkMJaPey.d.ts +0 -31
- package/dist/index-Yobo6icm.d.ts +0 -234
- package/dist/listCollectiblesPaginated-Bq0QSOjJ.d.ts +0 -168
- package/dist/lowestListing-CB5Te-Q9.d.ts +0 -168
- package/dist/marketplace.gen-w2YvbEEo.js.map +0 -1
- package/dist/marketplaceConfig-BTy75Mbf.js.map +0 -1
- package/dist/queries-EMA5CcwY.js +0 -1399
- package/dist/queries-EMA5CcwY.js.map +0 -1
- package/dist/react-BLJ4DkPx.js.map +0 -1
- package/dist/react-F03jPjPk.css +0 -80
- package/dist/react-F03jPjPk.css.map +0 -1
- package/dist/tokenSupplies-C470zTT0.d.ts +0 -147
- package/dist/waitForTransactionReceipt-B08YZiDY.js +0 -26
- package/dist/waitForTransactionReceipt-B08YZiDY.js.map +0 -1
- /package/dist/{index-Cg5cFzs-.d.ts → index-6wsMChsg.d.ts} +0 -0
- /package/dist/{abi-DYsUABe6.js → queries-KOcILNJO.js} +0 -0
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { CheckoutOptionsItem, CheckoutOptionsMarketplaceReturn, CheckoutOptionsSalesContractReturn, CollectiblePrimarySaleItem, ContractType, GetCountOfPrimarySaleItemsReturn, ListPrimarySaleItemsReturn, MarketplaceKind, MarketplaceSdkContext, Optional, PrimarySaleItem, QueryArg, SdkConfig, TokenMetadata as TokenMetadata$1 } from "./create-config-
|
|
2
|
-
import {
|
|
1
|
+
import { CheckoutOptionsItem, CheckoutOptionsMarketplaceReturn, CheckoutOptionsSalesContractReturn, CollectiblePrimarySaleItem, ContractType, GetCountOfPrimarySaleItemsReturn, ListPrimarySaleItemsReturn, MarketplaceKind, MarketplaceSdkContext, Optional, PrimarySaleItem, QueryArg, SdkConfig, TokenMetadata as TokenMetadata$1 } from "./create-config-ZOB7i4ZJ.js";
|
|
2
|
+
import { CollectiblesResponse, UseInventoryArgs } from "./index-Stm5u0I0.js";
|
|
3
|
+
import { CheckoutOptionsQueryOptions, CheckoutOptionsSalesContractQueryOptions, fetchCheckoutOptions, fetchCheckoutOptionsSalesContract } from "./index-BZIJTQT0.js";
|
|
4
|
+
import { ListPrimarySaleItemsQueryOptions, UseCountOfPrimarySaleItemsArgs } from "./index-CnEbXm_t.js";
|
|
5
|
+
import { ComparePricesQueryOptions, ComparePricesReturn, ConvertPriceToUSDQueryOptions, ConvertPriceToUSDReturn } from "./index-BOiHR01C.js";
|
|
3
6
|
import * as react0 from "react";
|
|
4
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query310 from "@tanstack/react-query";
|
|
5
8
|
import { skipToken } from "@tanstack/react-query";
|
|
6
|
-
import * as
|
|
9
|
+
import * as _0xsequence_indexer14 from "@0xsequence/indexer";
|
|
7
10
|
import { TokenMetadata } from "@0xsequence/metadata";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
11
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
12
|
+
import * as viem59 from "viem";
|
|
10
13
|
import { Address, Hex } from "viem";
|
|
11
14
|
|
|
12
15
|
//#region src/react/hooks/data/primary-sales/useCountOfPrimarySaleItems.d.ts
|
|
13
|
-
declare function useCountOfPrimarySaleItems(args: UseCountOfPrimarySaleItemsArgs):
|
|
16
|
+
declare function useCountOfPrimarySaleItems(args: UseCountOfPrimarySaleItemsArgs): _tanstack_react_query310.UseQueryResult<number, Error>;
|
|
14
17
|
//#endregion
|
|
15
18
|
//#region src/react/hooks/data/primary-sales/useErc721SalesData.d.ts
|
|
16
19
|
interface UseErc721CollectionDataProps {
|
|
@@ -71,7 +74,7 @@ type UseGetCountParams = Optional<ListPrimarySaleItemsQueryOptions, 'config'>;
|
|
|
71
74
|
* })
|
|
72
75
|
* ```
|
|
73
76
|
*/
|
|
74
|
-
declare function useGetCountOfPrimarySaleItems(params: UseGetCountParams):
|
|
77
|
+
declare function useGetCountOfPrimarySaleItems(params: UseGetCountParams): _tanstack_react_query310.UseQueryResult<GetCountOfPrimarySaleItemsReturn, Error>;
|
|
75
78
|
//#endregion
|
|
76
79
|
//#region src/react/hooks/data/primary-sales/useList721ShopCardData.d.ts
|
|
77
80
|
interface UseList721ShopCardDataProps {
|
|
@@ -132,7 +135,7 @@ declare function useList721ShopCardData({
|
|
|
132
135
|
saleEndsAt: undefined;
|
|
133
136
|
cardType: "shop";
|
|
134
137
|
})[];
|
|
135
|
-
saleDetailsError:
|
|
138
|
+
saleDetailsError: viem59.ReadContractErrorType | null;
|
|
136
139
|
saleDetails: {
|
|
137
140
|
supplyCap: bigint;
|
|
138
141
|
cost: bigint;
|
|
@@ -149,7 +152,7 @@ declare function useList721ShopCardData({
|
|
|
149
152
|
merkleRoot: `0x${string}`;
|
|
150
153
|
} | undefined;
|
|
151
154
|
isLoading: boolean;
|
|
152
|
-
tokenSuppliesData:
|
|
155
|
+
tokenSuppliesData: _tanstack_react_query310.InfiniteData<_0xsequence_indexer14.GetTokenSuppliesReturn, unknown> | undefined;
|
|
153
156
|
};
|
|
154
157
|
//#endregion
|
|
155
158
|
//#region src/react/hooks/data/primary-sales/useList1155ShopCardData.d.ts
|
|
@@ -196,7 +199,7 @@ declare function useList1155ShopCardData({
|
|
|
196
199
|
};
|
|
197
200
|
//#endregion
|
|
198
201
|
//#region src/react/hooks/data/inventory/useInventory.d.ts
|
|
199
|
-
declare function useInventory(args: UseInventoryArgs):
|
|
202
|
+
declare function useInventory(args: UseInventoryArgs): _tanstack_react_query310.UseQueryResult<CollectiblesResponse, Error>;
|
|
200
203
|
//#endregion
|
|
201
204
|
//#region src/types/waas-types.d.ts
|
|
202
205
|
type FeeOption = {
|
|
@@ -354,7 +357,7 @@ type UseCheckoutOptionsParams = Optional<CheckoutOptionsQueryOptions, 'config' |
|
|
|
354
357
|
* })
|
|
355
358
|
* ```
|
|
356
359
|
*/
|
|
357
|
-
declare function useCheckoutOptions(params: UseCheckoutOptionsParams):
|
|
360
|
+
declare function useCheckoutOptions(params: UseCheckoutOptionsParams): _tanstack_react_query310.UseQueryResult<CheckoutOptionsMarketplaceReturn, Error>;
|
|
358
361
|
type UseCheckoutOptionsArgs = {
|
|
359
362
|
chainId: number;
|
|
360
363
|
orders: Array<{
|
|
@@ -412,7 +415,7 @@ type UseCheckoutOptionsSalesContractParams = Optional<CheckoutOptionsSalesContra
|
|
|
412
415
|
* )
|
|
413
416
|
* ```
|
|
414
417
|
*/
|
|
415
|
-
declare function useCheckoutOptionsSalesContract(params: UseCheckoutOptionsSalesContractParams | typeof skipToken):
|
|
418
|
+
declare function useCheckoutOptionsSalesContract(params: UseCheckoutOptionsSalesContractParams | typeof skipToken): _tanstack_react_query310.UseQueryResult<CheckoutOptionsSalesContractReturn, Error>;
|
|
416
419
|
type UseCheckoutOptionsSalesContractArgs = {
|
|
417
420
|
chainId: number;
|
|
418
421
|
contractAddress: string;
|
|
@@ -472,7 +475,7 @@ type UseComparePricesParams = Optional<ComparePricesQueryOptions, 'config'>;
|
|
|
472
475
|
* })
|
|
473
476
|
* ```
|
|
474
477
|
*/
|
|
475
|
-
declare function useComparePrices(params: UseComparePricesParams):
|
|
478
|
+
declare function useComparePrices(params: UseComparePricesParams): _tanstack_react_query310.UseQueryResult<ComparePricesReturn, Error>;
|
|
476
479
|
type UseComparePricesArgs = {
|
|
477
480
|
chainId: number;
|
|
478
481
|
priceAmountRaw: string;
|
|
@@ -535,7 +538,7 @@ type UseConvertPriceToUSDParams = Optional<ConvertPriceToUSDQueryOptions, 'confi
|
|
|
535
538
|
* })
|
|
536
539
|
* ```
|
|
537
540
|
*/
|
|
538
|
-
declare function useConvertPriceToUSD(params: UseConvertPriceToUSDParams):
|
|
541
|
+
declare function useConvertPriceToUSD(params: UseConvertPriceToUSDParams): _tanstack_react_query310.UseQueryResult<ConvertPriceToUSDReturn, Error>;
|
|
539
542
|
type UseConvertPriceToUSDArgs = {
|
|
540
543
|
chainId: number;
|
|
541
544
|
currencyAddress: Address;
|
|
@@ -566,13 +569,13 @@ declare const useEnsureCorrectChain: () => {
|
|
|
566
569
|
} | undefined | undefined;
|
|
567
570
|
blockTime?: number | undefined | undefined;
|
|
568
571
|
contracts?: {
|
|
569
|
-
[x: string]:
|
|
570
|
-
[sourceId: number]:
|
|
572
|
+
[x: string]: viem59.ChainContract | {
|
|
573
|
+
[sourceId: number]: viem59.ChainContract | undefined;
|
|
571
574
|
} | undefined;
|
|
572
|
-
ensRegistry?:
|
|
573
|
-
ensUniversalResolver?:
|
|
574
|
-
multicall3?:
|
|
575
|
-
erc6492Verifier?:
|
|
575
|
+
ensRegistry?: viem59.ChainContract | undefined;
|
|
576
|
+
ensUniversalResolver?: viem59.ChainContract | undefined;
|
|
577
|
+
multicall3?: viem59.ChainContract | undefined;
|
|
578
|
+
erc6492Verifier?: viem59.ChainContract | undefined;
|
|
576
579
|
} | undefined;
|
|
577
580
|
ensTlds?: readonly string[] | undefined;
|
|
578
581
|
id: number;
|
|
@@ -596,9 +599,9 @@ declare const useEnsureCorrectChain: () => {
|
|
|
596
599
|
sourceId?: number | undefined | undefined;
|
|
597
600
|
testnet?: boolean | undefined | undefined;
|
|
598
601
|
custom?: Record<string, unknown> | undefined;
|
|
599
|
-
fees?:
|
|
600
|
-
formatters?:
|
|
601
|
-
serializers?:
|
|
602
|
+
fees?: viem59.ChainFees<viem59.ChainFormatters | undefined> | undefined;
|
|
603
|
+
formatters?: viem59.ChainFormatters | undefined;
|
|
604
|
+
serializers?: viem59.ChainSerializers<viem59.ChainFormatters | undefined, viem59.TransactionSerializable> | undefined;
|
|
602
605
|
}>;
|
|
603
606
|
currentChainId: number | undefined;
|
|
604
607
|
};
|
|
@@ -641,7 +644,7 @@ declare const useEnsureCorrectChain: () => {
|
|
|
641
644
|
* ```
|
|
642
645
|
*/
|
|
643
646
|
declare const useGetReceiptFromHash: () => {
|
|
644
|
-
waitForReceipt: (transactionHash: Hex) => Promise<
|
|
647
|
+
waitForReceipt: (transactionHash: Hex) => Promise<viem59.TransactionReceipt>;
|
|
645
648
|
};
|
|
646
649
|
//#endregion
|
|
647
650
|
//#region src/react/hooks/utils/useRoyalty.d.ts
|
|
@@ -699,7 +702,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
699
702
|
percentage: bigint;
|
|
700
703
|
recipient: Address;
|
|
701
704
|
} | null;
|
|
702
|
-
error:
|
|
705
|
+
error: viem59.ReadContractErrorType;
|
|
703
706
|
isError: true;
|
|
704
707
|
isPending: false;
|
|
705
708
|
isLoading: false;
|
|
@@ -711,7 +714,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
711
714
|
dataUpdatedAt: number;
|
|
712
715
|
errorUpdatedAt: number;
|
|
713
716
|
failureCount: number;
|
|
714
|
-
failureReason:
|
|
717
|
+
failureReason: viem59.ReadContractErrorType | null;
|
|
715
718
|
errorUpdateCount: number;
|
|
716
719
|
isFetched: boolean;
|
|
717
720
|
isFetchedAfterMount: boolean;
|
|
@@ -721,10 +724,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
721
724
|
isRefetching: boolean;
|
|
722
725
|
isStale: boolean;
|
|
723
726
|
isEnabled: boolean;
|
|
724
|
-
refetch: (options?:
|
|
725
|
-
fetchStatus:
|
|
727
|
+
refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
|
|
728
|
+
fetchStatus: _tanstack_react_query310.FetchStatus;
|
|
726
729
|
promise: Promise<readonly [`0x${string}`, bigint]>;
|
|
727
|
-
queryKey:
|
|
730
|
+
queryKey: _tanstack_react_query310.QueryKey;
|
|
728
731
|
} | {
|
|
729
732
|
data: {
|
|
730
733
|
percentage: bigint;
|
|
@@ -742,7 +745,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
742
745
|
dataUpdatedAt: number;
|
|
743
746
|
errorUpdatedAt: number;
|
|
744
747
|
failureCount: number;
|
|
745
|
-
failureReason:
|
|
748
|
+
failureReason: viem59.ReadContractErrorType | null;
|
|
746
749
|
errorUpdateCount: number;
|
|
747
750
|
isFetched: boolean;
|
|
748
751
|
isFetchedAfterMount: boolean;
|
|
@@ -752,16 +755,16 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
752
755
|
isRefetching: boolean;
|
|
753
756
|
isStale: boolean;
|
|
754
757
|
isEnabled: boolean;
|
|
755
|
-
refetch: (options?:
|
|
756
|
-
fetchStatus:
|
|
758
|
+
refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
|
|
759
|
+
fetchStatus: _tanstack_react_query310.FetchStatus;
|
|
757
760
|
promise: Promise<readonly [`0x${string}`, bigint]>;
|
|
758
|
-
queryKey:
|
|
761
|
+
queryKey: _tanstack_react_query310.QueryKey;
|
|
759
762
|
} | {
|
|
760
763
|
data: {
|
|
761
764
|
percentage: bigint;
|
|
762
765
|
recipient: Address;
|
|
763
766
|
} | null;
|
|
764
|
-
error:
|
|
767
|
+
error: viem59.ReadContractErrorType;
|
|
765
768
|
isError: true;
|
|
766
769
|
isPending: false;
|
|
767
770
|
isLoading: false;
|
|
@@ -773,7 +776,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
773
776
|
dataUpdatedAt: number;
|
|
774
777
|
errorUpdatedAt: number;
|
|
775
778
|
failureCount: number;
|
|
776
|
-
failureReason:
|
|
779
|
+
failureReason: viem59.ReadContractErrorType | null;
|
|
777
780
|
errorUpdateCount: number;
|
|
778
781
|
isFetched: boolean;
|
|
779
782
|
isFetchedAfterMount: boolean;
|
|
@@ -783,10 +786,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
783
786
|
isRefetching: boolean;
|
|
784
787
|
isStale: boolean;
|
|
785
788
|
isEnabled: boolean;
|
|
786
|
-
refetch: (options?:
|
|
787
|
-
fetchStatus:
|
|
789
|
+
refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
|
|
790
|
+
fetchStatus: _tanstack_react_query310.FetchStatus;
|
|
788
791
|
promise: Promise<readonly [`0x${string}`, bigint]>;
|
|
789
|
-
queryKey:
|
|
792
|
+
queryKey: _tanstack_react_query310.QueryKey;
|
|
790
793
|
} | {
|
|
791
794
|
data: {
|
|
792
795
|
percentage: bigint;
|
|
@@ -804,7 +807,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
804
807
|
dataUpdatedAt: number;
|
|
805
808
|
errorUpdatedAt: number;
|
|
806
809
|
failureCount: number;
|
|
807
|
-
failureReason:
|
|
810
|
+
failureReason: viem59.ReadContractErrorType | null;
|
|
808
811
|
errorUpdateCount: number;
|
|
809
812
|
isFetched: boolean;
|
|
810
813
|
isFetchedAfterMount: boolean;
|
|
@@ -814,10 +817,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
814
817
|
isRefetching: boolean;
|
|
815
818
|
isStale: boolean;
|
|
816
819
|
isEnabled: boolean;
|
|
817
|
-
refetch: (options?:
|
|
818
|
-
fetchStatus:
|
|
820
|
+
refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
|
|
821
|
+
fetchStatus: _tanstack_react_query310.FetchStatus;
|
|
819
822
|
promise: Promise<readonly [`0x${string}`, bigint]>;
|
|
820
|
-
queryKey:
|
|
823
|
+
queryKey: _tanstack_react_query310.QueryKey;
|
|
821
824
|
} | {
|
|
822
825
|
data: {
|
|
823
826
|
percentage: bigint;
|
|
@@ -834,7 +837,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
834
837
|
dataUpdatedAt: number;
|
|
835
838
|
errorUpdatedAt: number;
|
|
836
839
|
failureCount: number;
|
|
837
|
-
failureReason:
|
|
840
|
+
failureReason: viem59.ReadContractErrorType | null;
|
|
838
841
|
errorUpdateCount: number;
|
|
839
842
|
isFetched: boolean;
|
|
840
843
|
isFetchedAfterMount: boolean;
|
|
@@ -845,10 +848,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
845
848
|
isRefetching: boolean;
|
|
846
849
|
isStale: boolean;
|
|
847
850
|
isEnabled: boolean;
|
|
848
|
-
refetch: (options?:
|
|
849
|
-
fetchStatus:
|
|
851
|
+
refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
|
|
852
|
+
fetchStatus: _tanstack_react_query310.FetchStatus;
|
|
850
853
|
promise: Promise<readonly [`0x${string}`, bigint]>;
|
|
851
|
-
queryKey:
|
|
854
|
+
queryKey: _tanstack_react_query310.QueryKey;
|
|
852
855
|
} | {
|
|
853
856
|
data: {
|
|
854
857
|
percentage: bigint;
|
|
@@ -866,7 +869,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
866
869
|
dataUpdatedAt: number;
|
|
867
870
|
errorUpdatedAt: number;
|
|
868
871
|
failureCount: number;
|
|
869
|
-
failureReason:
|
|
872
|
+
failureReason: viem59.ReadContractErrorType | null;
|
|
870
873
|
errorUpdateCount: number;
|
|
871
874
|
isFetched: boolean;
|
|
872
875
|
isFetchedAfterMount: boolean;
|
|
@@ -876,10 +879,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
|
|
|
876
879
|
isRefetching: boolean;
|
|
877
880
|
isStale: boolean;
|
|
878
881
|
isEnabled: boolean;
|
|
879
|
-
refetch: (options?:
|
|
880
|
-
fetchStatus:
|
|
882
|
+
refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
|
|
883
|
+
fetchStatus: _tanstack_react_query310.FetchStatus;
|
|
881
884
|
promise: Promise<readonly [`0x${string}`, bigint]>;
|
|
882
|
-
queryKey:
|
|
885
|
+
queryKey: _tanstack_react_query310.QueryKey;
|
|
883
886
|
};
|
|
884
887
|
//#endregion
|
|
885
888
|
//#region src/react/providers/index.d.ts
|
|
@@ -893,12 +896,12 @@ declare function MarketplaceProvider({
|
|
|
893
896
|
config,
|
|
894
897
|
children,
|
|
895
898
|
openConnectModal
|
|
896
|
-
}: MarketplaceSdkProviderProps):
|
|
899
|
+
}: MarketplaceSdkProviderProps): react_jsx_runtime35.JSX.Element;
|
|
897
900
|
declare function MarketplaceQueryClientProvider({
|
|
898
901
|
children
|
|
899
902
|
}: {
|
|
900
903
|
children: React.ReactNode;
|
|
901
|
-
}):
|
|
904
|
+
}): react_jsx_runtime35.JSX.Element;
|
|
902
905
|
//#endregion
|
|
903
906
|
//#region src/react/hooks/data/primary-sales/useListPrimarySaleItems.d.ts
|
|
904
907
|
type UseListPrimarySaleItemsParams = Optional<ListPrimarySaleItemsQueryOptions, 'config'>;
|
|
@@ -940,7 +943,7 @@ type UseListPrimarySaleItemsParams = Optional<ListPrimarySaleItemsQueryOptions,
|
|
|
940
943
|
* })
|
|
941
944
|
* ```
|
|
942
945
|
*/
|
|
943
|
-
declare function useListPrimarySaleItems(params: UseListPrimarySaleItemsParams):
|
|
946
|
+
declare function useListPrimarySaleItems(params: UseListPrimarySaleItemsParams): _tanstack_react_query310.UseInfiniteQueryResult<_tanstack_react_query310.InfiniteData<ListPrimarySaleItemsReturn, unknown>, Error>;
|
|
944
947
|
//#endregion
|
|
945
948
|
export { MarketplaceProvider, MarketplaceQueryClientProvider, MarketplaceSdkContext$1 as MarketplaceSdkContext, MarketplaceSdkProviderProps, UseCheckoutOptionsArgs, UseCheckoutOptionsParams, UseCheckoutOptionsReturn, UseCheckoutOptionsSalesContractArgs, UseCheckoutOptionsSalesContractParams, UseCheckoutOptionsSalesContractReturn, UseComparePricesArgs, UseComparePricesParams, UseComparePricesReturn, UseConvertPriceToUSDArgs, UseConvertPriceToUSDParams, UseConvertPriceToUSDReturn, UseGetCountParams, UseListPrimarySaleItemsParams, UseRoyaltyArgs, useAutoSelectFeeOption, useCheckoutOptions, useCheckoutOptionsSalesContract, useComparePrices, useConvertPriceToUSD, useCountOfPrimarySaleItems, useEnsureCorrectChain, useErc721SaleDetails, useGetCountOfPrimarySaleItems, useGetReceiptFromHash, useInventory, useList1155ShopCardData, useList721ShopCardData, useListPrimarySaleItems, useRoyalty };
|
|
946
|
-
//# sourceMappingURL=index-
|
|
949
|
+
//# sourceMappingURL=index-Bsx6XsC2.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CollectibleCardAction, CollectibleOrder, ContractType, Currency, CurrencyStatus, ListCollectiblesReturn, Optional, OrderbookKind, PropertyFilter } from "./create-config-
|
|
2
|
-
import { CurrencyQueryOptions, MarketCurrenciesQueryOptions } from "./marketCurrencies-
|
|
3
|
-
import { MarketCollectibleCardProps } from "./types-
|
|
4
|
-
import * as
|
|
1
|
+
import { CollectibleCardAction, CollectibleOrder, ContractType, Currency, CurrencyStatus, ListCollectiblesReturn, Optional, OrderbookKind, PriceFilter, PropertyFilter } from "./create-config-ZOB7i4ZJ.js";
|
|
2
|
+
import { CurrencyQueryOptions, MarketCurrenciesQueryOptions } from "./marketCurrencies-Bpw1bIO0.js";
|
|
3
|
+
import { MarketCollectibleCardProps } from "./types-D2TJ1dwv.js";
|
|
4
|
+
import * as _tanstack_react_query325 from "@tanstack/react-query";
|
|
5
5
|
import { Address } from "viem";
|
|
6
6
|
|
|
7
7
|
//#region src/react/hooks/data/market/useCurrency.d.ts
|
|
@@ -40,7 +40,7 @@ type UseCurrencyParams = Optional<CurrencyQueryOptions, 'config'>;
|
|
|
40
40
|
* })
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
declare function useCurrency(params: UseCurrencyParams):
|
|
43
|
+
declare function useCurrency(params: UseCurrencyParams): _tanstack_react_query325.UseQueryResult<Currency | undefined, Error>;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/react/hooks/data/market/useListMarketCardData.d.ts
|
|
46
46
|
interface UseListMarketCardDataProps {
|
|
@@ -51,10 +51,12 @@ interface UseListMarketCardDataProps {
|
|
|
51
51
|
filterOptions?: PropertyFilter[];
|
|
52
52
|
searchText?: string;
|
|
53
53
|
showListedOnly?: boolean;
|
|
54
|
+
priceFilters?: PriceFilter[];
|
|
54
55
|
onCollectibleClick?: (tokenId: string) => void;
|
|
55
56
|
onCannotPerformAction?: (action: CollectibleCardAction) => void;
|
|
56
57
|
prioritizeOwnerActions?: boolean;
|
|
57
58
|
assetSrcPrefixUrl?: string;
|
|
59
|
+
hideQuantitySelector?: boolean;
|
|
58
60
|
}
|
|
59
61
|
declare function useListMarketCardData({
|
|
60
62
|
collectionAddress,
|
|
@@ -64,17 +66,19 @@ declare function useListMarketCardData({
|
|
|
64
66
|
filterOptions,
|
|
65
67
|
searchText,
|
|
66
68
|
showListedOnly,
|
|
69
|
+
priceFilters,
|
|
67
70
|
onCollectibleClick,
|
|
68
71
|
onCannotPerformAction,
|
|
69
72
|
prioritizeOwnerActions,
|
|
70
|
-
assetSrcPrefixUrl
|
|
73
|
+
assetSrcPrefixUrl,
|
|
74
|
+
hideQuantitySelector
|
|
71
75
|
}: UseListMarketCardDataProps): {
|
|
72
76
|
collectibleCards: MarketCollectibleCardProps[];
|
|
73
77
|
isLoading: boolean;
|
|
74
78
|
error: Error | null;
|
|
75
79
|
hasNextPage: boolean;
|
|
76
80
|
isFetchingNextPage: boolean;
|
|
77
|
-
fetchNextPage: (options?:
|
|
81
|
+
fetchNextPage: (options?: _tanstack_react_query325.FetchNextPageOptions) => Promise<_tanstack_react_query325.InfiniteQueryObserverResult<_tanstack_react_query325.InfiniteData<ListCollectiblesReturn, unknown>, Error>>;
|
|
78
82
|
allCollectibles: CollectibleOrder[];
|
|
79
83
|
};
|
|
80
84
|
//#endregion
|
|
@@ -111,7 +115,7 @@ type UseMarketCurrenciesParams = Optional<MarketCurrenciesQueryOptions, 'config'
|
|
|
111
115
|
* })
|
|
112
116
|
* ```
|
|
113
117
|
*/
|
|
114
|
-
declare function useMarketCurrencies(params: UseMarketCurrenciesParams):
|
|
118
|
+
declare function useMarketCurrencies(params: UseMarketCurrenciesParams): _tanstack_react_query325.UseQueryResult<{
|
|
115
119
|
contractAddress: string;
|
|
116
120
|
chainId: number;
|
|
117
121
|
status: CurrencyStatus;
|
|
@@ -128,4 +132,4 @@ declare function useMarketCurrencies(params: UseMarketCurrenciesParams): _tansta
|
|
|
128
132
|
}[], Error>;
|
|
129
133
|
//#endregion
|
|
130
134
|
export { UseCurrencyParams, UseMarketCurrenciesParams, useCurrency, useListMarketCardData, useMarketCurrencies };
|
|
131
|
-
//# sourceMappingURL=index-
|
|
135
|
+
//# sourceMappingURL=index-BtWMBHeP.d.ts.map
|
|
@@ -4,4 +4,4 @@ declare const SEQUENCE_MARKET_V2_ADDRESS = "0xfdb42A198a932C8D3B506Ffa5e855bC4b3
|
|
|
4
4
|
declare const DEFAULT_MARKETPLACE_FEE_PERCENTAGE = 2.5;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { DEFAULT_MARKETPLACE_FEE_PERCENTAGE, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS };
|
|
7
|
-
//# sourceMappingURL=index-
|
|
7
|
+
//# sourceMappingURL=index-C-745li7.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContractType } from "./create-config-
|
|
1
|
+
import { ContractType } from "./create-config-ZOB7i4ZJ.js";
|
|
2
2
|
|
|
3
3
|
//#region src/react/ui/components/marketplace-collectible-card/utils/formatPrice.d.ts
|
|
4
4
|
declare const OVERFLOW_PRICE = 100000000;
|
|
@@ -21,4 +21,4 @@ declare const getSupplyStatusText: ({
|
|
|
21
21
|
}) => string;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { OVERFLOW_PRICE, UNDERFLOW_PRICE, formatPriceNumber, getSupplyStatusText };
|
|
24
|
-
//# sourceMappingURL=index-
|
|
24
|
+
//# sourceMappingURL=index-C4MUKshG.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContractType, CreateReq, GenerateCancelTransactionArgs, GenerateListingTransactionArgs, GenerateOfferTransactionArgs, GenerateSellTransactionArgs, MarketplaceKind, ModalCallbacks, SdkConfig, Step, WalletKind } from "./create-config-
|
|
2
|
-
import * as
|
|
1
|
+
import { ContractType, CreateReq, GenerateCancelTransactionArgs, GenerateListingTransactionArgs, GenerateOfferTransactionArgs, GenerateSellTransactionArgs, MarketplaceKind, ModalCallbacks, SdkConfig, Step, WalletKind } from "./create-config-ZOB7i4ZJ.js";
|
|
2
|
+
import * as _tanstack_react_query65 from "@tanstack/react-query";
|
|
3
3
|
import { Address, Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/react/hooks/transactions/useCancelOrder.d.ts
|
|
@@ -76,8 +76,8 @@ interface UseGenerateCancelTransactionArgs {
|
|
|
76
76
|
}
|
|
77
77
|
declare const generateCancelTransaction: (args: GenerateCancelTransactionArgsWithNumberChainId, config: SdkConfig) => Promise<Step[]>;
|
|
78
78
|
declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactionArgs) => {
|
|
79
|
-
generateCancelTransaction:
|
|
80
|
-
generateCancelTransactionAsync:
|
|
79
|
+
generateCancelTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
80
|
+
generateCancelTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
81
81
|
data: undefined;
|
|
82
82
|
variables: undefined;
|
|
83
83
|
error: null;
|
|
@@ -93,8 +93,8 @@ declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactio
|
|
|
93
93
|
isPaused: boolean;
|
|
94
94
|
submittedAt: number;
|
|
95
95
|
} | {
|
|
96
|
-
generateCancelTransaction:
|
|
97
|
-
generateCancelTransactionAsync:
|
|
96
|
+
generateCancelTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
97
|
+
generateCancelTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
98
98
|
data: undefined;
|
|
99
99
|
variables: GenerateCancelTransactionArgsWithNumberChainId;
|
|
100
100
|
error: null;
|
|
@@ -110,8 +110,8 @@ declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactio
|
|
|
110
110
|
isPaused: boolean;
|
|
111
111
|
submittedAt: number;
|
|
112
112
|
} | {
|
|
113
|
-
generateCancelTransaction:
|
|
114
|
-
generateCancelTransactionAsync:
|
|
113
|
+
generateCancelTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
114
|
+
generateCancelTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
115
115
|
data: undefined;
|
|
116
116
|
error: Error;
|
|
117
117
|
variables: GenerateCancelTransactionArgsWithNumberChainId;
|
|
@@ -127,8 +127,8 @@ declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactio
|
|
|
127
127
|
isPaused: boolean;
|
|
128
128
|
submittedAt: number;
|
|
129
129
|
} | {
|
|
130
|
-
generateCancelTransaction:
|
|
131
|
-
generateCancelTransactionAsync:
|
|
130
|
+
generateCancelTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
131
|
+
generateCancelTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
|
|
132
132
|
data: Step[];
|
|
133
133
|
error: null;
|
|
134
134
|
variables: GenerateCancelTransactionArgsWithNumberChainId;
|
|
@@ -162,8 +162,8 @@ type GenerateListingTransactionArgsWithNumberChainId = Omit<GenerateListingTrans
|
|
|
162
162
|
};
|
|
163
163
|
declare const generateListingTransaction: (params: GenerateListingTransactionArgsWithNumberChainId, config: SdkConfig) => Promise<Step[]>;
|
|
164
164
|
declare const useGenerateListingTransaction: (params: UseGenerateListingTransactionArgs) => {
|
|
165
|
-
generateListingTransaction:
|
|
166
|
-
generateListingTransactionAsync:
|
|
165
|
+
generateListingTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
166
|
+
generateListingTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
167
167
|
data: undefined;
|
|
168
168
|
variables: undefined;
|
|
169
169
|
error: null;
|
|
@@ -179,8 +179,8 @@ declare const useGenerateListingTransaction: (params: UseGenerateListingTransact
|
|
|
179
179
|
isPaused: boolean;
|
|
180
180
|
submittedAt: number;
|
|
181
181
|
} | {
|
|
182
|
-
generateListingTransaction:
|
|
183
|
-
generateListingTransactionAsync:
|
|
182
|
+
generateListingTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
183
|
+
generateListingTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
184
184
|
data: undefined;
|
|
185
185
|
variables: Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">;
|
|
186
186
|
error: null;
|
|
@@ -196,8 +196,8 @@ declare const useGenerateListingTransaction: (params: UseGenerateListingTransact
|
|
|
196
196
|
isPaused: boolean;
|
|
197
197
|
submittedAt: number;
|
|
198
198
|
} | {
|
|
199
|
-
generateListingTransaction:
|
|
200
|
-
generateListingTransactionAsync:
|
|
199
|
+
generateListingTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
200
|
+
generateListingTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
201
201
|
data: undefined;
|
|
202
202
|
error: Error;
|
|
203
203
|
variables: Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">;
|
|
@@ -213,8 +213,8 @@ declare const useGenerateListingTransaction: (params: UseGenerateListingTransact
|
|
|
213
213
|
isPaused: boolean;
|
|
214
214
|
submittedAt: number;
|
|
215
215
|
} | {
|
|
216
|
-
generateListingTransaction:
|
|
217
|
-
generateListingTransactionAsync:
|
|
216
|
+
generateListingTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
217
|
+
generateListingTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
218
218
|
data: Step[];
|
|
219
219
|
error: null;
|
|
220
220
|
variables: Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">;
|
|
@@ -248,8 +248,8 @@ type GenerateOfferTransactionArgsWithNumberChainId = Omit<GenerateOfferTransacti
|
|
|
248
248
|
};
|
|
249
249
|
declare const generateOfferTransaction: (params: GenerateOfferTransactionArgsWithNumberChainId, config: SdkConfig, walletKind?: WalletKind) => Promise<Step[]>;
|
|
250
250
|
declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionArgs) => {
|
|
251
|
-
generateOfferTransaction:
|
|
252
|
-
generateOfferTransactionAsync:
|
|
251
|
+
generateOfferTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
252
|
+
generateOfferTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
253
253
|
data: undefined;
|
|
254
254
|
variables: undefined;
|
|
255
255
|
error: null;
|
|
@@ -265,8 +265,8 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
|
|
|
265
265
|
isPaused: boolean;
|
|
266
266
|
submittedAt: number;
|
|
267
267
|
} | {
|
|
268
|
-
generateOfferTransaction:
|
|
269
|
-
generateOfferTransactionAsync:
|
|
268
|
+
generateOfferTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
269
|
+
generateOfferTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
270
270
|
data: undefined;
|
|
271
271
|
variables: Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">;
|
|
272
272
|
error: null;
|
|
@@ -282,8 +282,8 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
|
|
|
282
282
|
isPaused: boolean;
|
|
283
283
|
submittedAt: number;
|
|
284
284
|
} | {
|
|
285
|
-
generateOfferTransaction:
|
|
286
|
-
generateOfferTransactionAsync:
|
|
285
|
+
generateOfferTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
286
|
+
generateOfferTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
287
287
|
data: undefined;
|
|
288
288
|
error: Error;
|
|
289
289
|
variables: Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">;
|
|
@@ -299,8 +299,8 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
|
|
|
299
299
|
isPaused: boolean;
|
|
300
300
|
submittedAt: number;
|
|
301
301
|
} | {
|
|
302
|
-
generateOfferTransaction:
|
|
303
|
-
generateOfferTransactionAsync:
|
|
302
|
+
generateOfferTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
303
|
+
generateOfferTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
304
304
|
data: Step[];
|
|
305
305
|
error: null;
|
|
306
306
|
variables: Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">;
|
|
@@ -327,8 +327,8 @@ type GenerateSellTransactionArgsWithNumberChainId = Omit<GenerateSellTransaction
|
|
|
327
327
|
};
|
|
328
328
|
declare const generateSellTransaction: (args: GenerateSellTransactionArgsWithNumberChainId, config: SdkConfig) => Promise<Step[]>;
|
|
329
329
|
declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArgs) => {
|
|
330
|
-
generateSellTransaction:
|
|
331
|
-
generateSellTransactionAsync:
|
|
330
|
+
generateSellTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
331
|
+
generateSellTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
332
332
|
data: undefined;
|
|
333
333
|
variables: undefined;
|
|
334
334
|
error: null;
|
|
@@ -344,8 +344,8 @@ declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArg
|
|
|
344
344
|
isPaused: boolean;
|
|
345
345
|
submittedAt: number;
|
|
346
346
|
} | {
|
|
347
|
-
generateSellTransaction:
|
|
348
|
-
generateSellTransactionAsync:
|
|
347
|
+
generateSellTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
348
|
+
generateSellTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
349
349
|
data: undefined;
|
|
350
350
|
variables: Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">;
|
|
351
351
|
error: null;
|
|
@@ -361,8 +361,8 @@ declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArg
|
|
|
361
361
|
isPaused: boolean;
|
|
362
362
|
submittedAt: number;
|
|
363
363
|
} | {
|
|
364
|
-
generateSellTransaction:
|
|
365
|
-
generateSellTransactionAsync:
|
|
364
|
+
generateSellTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
365
|
+
generateSellTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
366
366
|
data: undefined;
|
|
367
367
|
error: Error;
|
|
368
368
|
variables: Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">;
|
|
@@ -378,8 +378,8 @@ declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArg
|
|
|
378
378
|
isPaused: boolean;
|
|
379
379
|
submittedAt: number;
|
|
380
380
|
} | {
|
|
381
|
-
generateSellTransaction:
|
|
382
|
-
generateSellTransactionAsync:
|
|
381
|
+
generateSellTransaction: _tanstack_react_query65.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
382
|
+
generateSellTransactionAsync: _tanstack_react_query65.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
|
|
383
383
|
data: Step[];
|
|
384
384
|
error: null;
|
|
385
385
|
variables: Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">;
|
|
@@ -444,4 +444,4 @@ declare const useTransferTokens: () => {
|
|
|
444
444
|
};
|
|
445
445
|
//#endregion
|
|
446
446
|
export { CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, useCancelOrder, useCancelTransactionSteps, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useOrderSteps, useProcessStep, useTransferTokens };
|
|
447
|
-
//# sourceMappingURL=index-
|
|
447
|
+
//# sourceMappingURL=index-CPzvNmq9.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MarketplaceKind } from "./create-config-
|
|
1
|
+
import { MarketplaceKind } from "./create-config-ZOB7i4ZJ.js";
|
|
2
2
|
import * as _0xsequence_network0 from "@0xsequence/network";
|
|
3
3
|
import { NetworkConfig } from "@0xsequence/network";
|
|
4
4
|
import { ComponentType } from "react";
|
|
@@ -102,4 +102,4 @@ declare const calculateEarningsAfterFees: (amount: bigint, decimals: number, fee
|
|
|
102
102
|
declare const formatPriceWithFee: (amount: bigint, decimals: number, feePercentage: number) => string;
|
|
103
103
|
//#endregion
|
|
104
104
|
export { calculateEarningsAfterFees, calculatePriceDifferencePercentage, cn$1 as cn, compareAddress, formatPrice, formatPriceWithFee, getMarketplaceDetails, getNetwork, getPresentableChainName, networkToWagmiChain, truncateEnd, truncateMiddle };
|
|
105
|
-
//# sourceMappingURL=index-
|
|
105
|
+
//# sourceMappingURL=index-CS65jqOq.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|