@0xsequence/marketplace-sdk 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -1
- package/dist/{BellIcon-DMKEumAz.js → BellIcon.js} +4 -4
- package/dist/BellIcon.js.map +1 -0
- package/dist/{CartIcon-UyB4NYKt.js → CartIcon.js} +7 -7
- package/dist/CartIcon.js.map +1 -0
- package/dist/CollectibleCard.d.ts +8 -0
- package/dist/{_internal-DkS2VUn5.js → _internal.js} +2 -2
- package/dist/_internal.js.map +1 -0
- package/dist/{abi-fa-o9gH3.js → abi.js} +2 -2
- package/dist/abi.js.map +1 -0
- package/dist/{alien_swap-Cq8LuElo.js → alien_swap.js} +1 -1
- package/dist/alien_swap.js.map +1 -0
- package/dist/{api-GwTR0dBA.js → api.js} +10 -20
- package/dist/api.js.map +1 -0
- package/dist/{aqua-xyz-0yye_c-Z.js → aqua-xyz.js} +1 -1
- package/dist/aqua-xyz.js.map +1 -0
- package/dist/{aura-TaxFvTFQ.js → aura.js} +1 -1
- package/dist/aura.js.map +1 -0
- package/dist/{blur-BupOTobO.js → blur.js} +1 -1
- package/dist/blur.js.map +1 -0
- package/dist/{builder-api-m4JAA6ee.js → builder-api.js} +3 -3
- package/dist/builder-api.js.map +1 -0
- package/dist/{builder.gen--XD71cNL.js → builder.gen.js} +3 -6
- package/dist/builder.gen.js.map +1 -0
- package/dist/{coinbase-DTgZ4wDT.js → coinbase.js} +1 -1
- package/dist/coinbase.js.map +1 -0
- package/dist/{collectibles-CZ6i8sXK.js → collectibles.js} +13 -18
- package/dist/collectibles.js.map +1 -0
- package/dist/{collections-5NcU-7ZR.js → collections.js} +17 -28
- package/dist/collections.js.map +1 -0
- package/dist/{components-CY8kx2kb.js → components.js} +15 -21
- package/dist/components.js.map +1 -0
- package/dist/{contracts-DRJHF89h.js → contracts.js} +5 -6
- package/dist/contracts.js.map +1 -0
- package/dist/{create-config-CFBeD8CB.d.ts → create-config.d.ts} +6 -6
- package/dist/{create-config-BxyfYCEk.js → create-config.js} +11 -15
- package/dist/create-config.js.map +1 -0
- package/dist/{element-D4dDznlu.js → element.js} +1 -1
- package/dist/element.js.map +1 -0
- package/dist/{filters-B5niI_fX.d.ts → filters.d.ts} +7 -7
- package/dist/{foundation-GHZOKAzN.js → foundation.js} +1 -1
- package/dist/foundation.js.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/{index-BkZ7SPLc.d.ts → index10.d.ts} +13 -18
- package/dist/{index-DASjaiJL.d.ts → index11.d.ts} +25 -33
- package/dist/{index-j3nuJWyJ.d.ts → index12.d.ts} +9 -11
- package/dist/{index-CbERNN3s.d.ts → index13.d.ts} +16 -26
- package/dist/{index-UXRoZmd_.d.ts → index14.d.ts} +9 -9
- package/dist/{index-BtDAHMW_.d.ts → index16.d.ts} +8 -8
- package/dist/{index-BIuYTMc2.d.ts → index17.d.ts} +9 -10
- package/dist/{index-DVI_vggD.d.ts → index19.d.ts} +14 -17
- package/dist/{index-nVb7o0hc.d.ts → index2.d.ts} +2 -2
- package/dist/{index-C-c_M_sE.d.ts → index21.d.ts} +9 -10
- package/dist/{index-BYQOPS8e.d.ts → index23.d.ts} +64 -77
- package/dist/{index-DqxQeYT2.d.ts → index24.d.ts} +36 -39
- package/dist/{index-DxAReMEO.d.ts → index25.d.ts} +34 -34
- package/dist/{index-DIc8OqWV.d.ts → index26.d.ts} +14 -8
- package/dist/{index-BnUku_aF.d.ts → index27.d.ts} +101 -108
- package/dist/{index-CNIiC8Z_.d.ts → index28.d.ts} +6 -9
- package/dist/{index-BNrz99xy.d.ts → index29.d.ts} +3 -3
- package/dist/{index-8scPf0CS.d.ts → index3.d.ts} +2 -2
- package/dist/{index-DD7Vc4cE.d.ts → index4.d.ts} +2 -2
- package/dist/{index-isFvc5gd.d.ts → index5.d.ts} +2 -2
- package/dist/{index-pbE88Tt7.d.ts → index6.d.ts} +2 -2
- package/dist/{index-Dsf9FRtr.d.ts → index7.d.ts} +3 -3
- package/dist/index8.d.ts +18 -0
- package/dist/{index-CsfxsN0t.d.ts → index9.d.ts} +4 -4
- package/dist/{inventory--t6Zu55O.js → inventory.js} +11 -18
- package/dist/inventory.js.map +1 -0
- package/dist/{listCollectiblesPaginated-BlE5mSzh.d.ts → listCollectiblesPaginated.d.ts} +27 -32
- package/dist/{listCollections-DWyqFSQ3.d.ts → listCollections.d.ts} +102 -109
- package/dist/{looks-rare-2HBhMpOf.js → looks-rare.js} +1 -1
- package/dist/looks-rare.js.map +1 -0
- package/dist/{lowestListing-DsunDO1c.d.ts → lowestListing.d.ts} +28 -38
- package/dist/{magic-eden-BYdTp-uk.js → magic-eden.js} +1 -1
- package/dist/magic-eden.js.map +1 -0
- package/dist/{manifold-yE0x6ZmO.js → manifold.js} +1 -1
- package/dist/manifold.js.map +1 -0
- package/dist/{market-DuBpFsDg.js → market.js} +19 -31
- package/dist/market.js.map +1 -0
- package/dist/{marketCurrencies-BgwmbGFk.d.ts → marketCurrencies.d.ts} +9 -10
- package/dist/{marketCurrencies-Bolonndy.js → marketCurrencies.js} +10 -13
- package/dist/marketCurrencies.js.map +1 -0
- package/dist/{marketplace-logos-Cz9RrtQo.js → marketplace-logos.js} +23 -23
- package/dist/marketplace-logos.js.map +1 -0
- package/dist/{marketplace.gen-906FrJQJ.js → marketplace.gen.js} +4 -7
- package/dist/marketplace.gen.js.map +1 -0
- package/dist/{marketplace-NQB-sEQL.js → marketplace.js} +2 -2
- package/dist/marketplace.js.map +1 -0
- package/dist/{marketplaceConfig-Bqjo7NYO.js → marketplaceConfig.js} +4 -8
- package/dist/marketplaceConfig.js.map +1 -0
- package/dist/{mintify-BXQx3mZB.js → mintify.js} +1 -1
- package/dist/mintify.js.map +1 -0
- package/dist/{network-DwdZ_5-7.js → network.js} +3 -3
- package/dist/network.js.map +1 -0
- package/dist/{networkconfigToWagmiChain-Ct-hGq8M.js → networkconfigToWagmiChain.js} +2 -2
- package/dist/networkconfigToWagmiChain.js.map +1 -0
- package/dist/{nftx-B929_3Ce.js → nftx.js} +1 -1
- package/dist/nftx.js.map +1 -0
- package/dist/{okx-sZ0-Udny.js → okx.js} +1 -1
- package/dist/okx.js.map +1 -0
- package/dist/{open-sea-DO9PhTrz.js → open-sea.js} +1 -1
- package/dist/open-sea.js.map +1 -0
- package/dist/{orders-DH76ym2e.js → orders.js} +17 -24
- package/dist/orders.js.map +1 -0
- package/dist/{primary-sale-1u4QlPdA.js → primary-sale.js} +2 -2
- package/dist/primary-sale.js.map +1 -0
- package/dist/{primary-sales-CECrqatg.js → primary-sales.js} +8 -12
- package/dist/primary-sales.js.map +1 -0
- package/dist/{query-brXxOcH0.d.ts → query.d.ts} +2 -2
- package/dist/{rarible-Ccb2hs7y.js → rarible.js} +1 -1
- package/dist/rarible.js.map +1 -0
- package/dist/react/_internal/api/index.d.ts +1 -1
- package/dist/react/_internal/api/index.js +6 -6
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +37 -37
- package/dist/react/_internal/index.d.ts +1 -1
- package/dist/react/_internal/index.js +10 -10
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +5 -5
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +37 -37
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +15 -15
- package/dist/react/hooks/data/collectibles/index.d.ts +4 -10
- package/dist/react/hooks/data/collectibles/index.js +37 -37
- package/dist/react/hooks/data/collections/index.d.ts +10 -10
- package/dist/react/hooks/data/collections/index.js +37 -37
- package/dist/react/hooks/data/index.d.ts +36 -36
- package/dist/react/hooks/data/index.js +37 -37
- package/dist/react/hooks/data/inventory/index.d.ts +36 -36
- package/dist/react/hooks/data/inventory/index.js +37 -37
- package/dist/react/hooks/data/market/index.d.ts +5 -11
- package/dist/react/hooks/data/market/index.js +37 -37
- package/dist/react/hooks/data/orders/index.d.ts +4 -10
- package/dist/react/hooks/data/orders/index.js +37 -37
- package/dist/react/hooks/data/primary-sales/index.d.ts +36 -36
- package/dist/react/hooks/data/primary-sales/index.js +37 -37
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +37 -37
- package/dist/react/hooks/index.d.ts +36 -36
- package/dist/react/hooks/index.js +37 -37
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +37 -37
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +37 -37
- package/dist/react/hooks/utils/index.d.ts +36 -36
- package/dist/react/hooks/utils/index.js +37 -37
- package/dist/react/index.d.ts +36 -36
- package/dist/react/index.js +37 -37
- package/dist/react/queries/collectibles/index.d.ts +4 -10
- package/dist/react/queries/collectibles/index.js +20 -20
- package/dist/react/queries/collections/index.d.ts +10 -10
- package/dist/react/queries/collections/index.js +18 -18
- package/dist/react/queries/index.d.ts +23 -23
- package/dist/react/queries/index.js +29 -29
- package/dist/react/queries/inventory/index.d.ts +2 -2
- package/dist/react/queries/inventory/index.js +20 -20
- package/dist/react/queries/market/index.d.ts +5 -5
- package/dist/react/queries/market/index.js +20 -20
- package/dist/react/queries/orders/index.d.ts +4 -10
- package/dist/react/queries/orders/index.js +11 -11
- package/dist/react/queries/primary-sales/index.d.ts +3 -3
- package/dist/react/queries/primary-sales/index.js +11 -11
- package/dist/react/queries/tokens/index.d.ts +4 -4
- package/dist/react/queries/tokens/index.js +11 -11
- package/dist/react/queries/utils/index.d.ts +3 -3
- package/dist/react/queries/utils/index.js +20 -20
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +13 -16
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +20 -20
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +5 -5
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +37 -37
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
- package/dist/react/ui/components/marketplace-collectible-card/index.js +37 -37
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +11 -11
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +14 -14
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +37 -37
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +37 -37
- package/dist/react/utils/index.d.ts +1 -1
- package/dist/react/utils/index.js +7 -7
- package/dist/{react-CBsgOdVP.js → react.js} +665 -744
- package/dist/react.js.map +1 -0
- package/dist/{sequence-CRdb1yEs.js → sequence.js} +1 -1
- package/dist/sequence.js.map +1 -0
- package/dist/{src-Dz2CfBL0.js → src.js} +2 -2
- package/dist/src.js.map +1 -0
- package/dist/styles/index.css +1 -1
- package/dist/{sudo-swap-BIklG2gq.js → sudo-swap.js} +1 -1
- package/dist/sudo-swap.js.map +1 -0
- package/dist/{super-rare-h8645_5E.js → super-rare.js} +1 -1
- package/dist/super-rare.js.map +1 -0
- package/dist/{token-Cv7l2ZaL.js → token.js} +2 -2
- package/dist/token.js.map +1 -0
- package/dist/{tokenBalances-CouzNX4j.js → tokenBalances.js} +4 -5
- package/dist/tokenBalances.js.map +1 -0
- package/dist/{tokenSupplies-C3zJll0M.d.ts → tokenSupplies.d.ts} +27 -31
- package/dist/{tokens-BvIRUCGG.js → tokens.js} +10 -16
- package/dist/tokens.js.map +1 -0
- package/dist/{transaction-DZUW5RHu.js → transaction.js} +2 -2
- package/dist/transaction.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +3 -3
- package/dist/{types-CMDwfhfR.d.ts → types.d.ts} +6 -6
- package/dist/{types-B_-cnkcP.js → types.js} +2 -2
- package/dist/types.js.map +1 -0
- package/dist/utils/abi/index.d.ts +4 -4
- package/dist/utils/abi/index.js +4 -4
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/marketplace/index.js +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.js +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/abi/token/index.js +1 -1
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/index.js +12 -12
- package/dist/{utils-9ToOvt-c.js → utils.js} +9 -14
- package/dist/utils.js.map +1 -0
- package/dist/{utils-BCYTEOvy.js → utils2.js} +12 -16
- package/dist/utils2.js.map +1 -0
- package/dist/{utils-B6di6O-C.js → utils3.js} +3 -3
- package/dist/utils3.js.map +1 -0
- package/dist/{waitForTransactionReceipt-CbSeUSXe.js → waitForTransactionReceipt.js} +5 -6
- package/dist/waitForTransactionReceipt.js.map +1 -0
- package/dist/{x2y2-OvF__ugj.js → x2y2.js} +1 -1
- package/dist/x2y2.js.map +1 -0
- package/dist/{zora-DzCeu-eE.js → zora.js} +1 -1
- package/dist/zora.js.map +1 -0
- package/package.json +27 -27
- package/src/react/_internal/api/marketplace.gen.ts +1 -1
- package/src/react/_internal/wagmi/get-connectors.ts +12 -1
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +152 -141
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +44 -60
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +381 -0
- package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +257 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +1 -1
- package/src/react/ui/modals/TransferModal/index.tsx +24 -2
- package/src/styles/styles.ts +2 -2
- package/tsdown.config.ts +1 -0
- package/dist/BellIcon-DMKEumAz.js.map +0 -1
- package/dist/CartIcon-UyB4NYKt.js.map +0 -1
- package/dist/CollectibleCard-z05qWzKE.d.ts +0 -8
- package/dist/_internal-DkS2VUn5.js.map +0 -1
- package/dist/abi-fa-o9gH3.js.map +0 -1
- package/dist/alien_swap-Cq8LuElo.js.map +0 -1
- package/dist/api-GwTR0dBA.js.map +0 -1
- package/dist/aqua-xyz-0yye_c-Z.js.map +0 -1
- package/dist/aura-TaxFvTFQ.js.map +0 -1
- package/dist/blur-BupOTobO.js.map +0 -1
- package/dist/builder-api-m4JAA6ee.js.map +0 -1
- package/dist/builder.gen--XD71cNL.js.map +0 -1
- package/dist/coinbase-DTgZ4wDT.js.map +0 -1
- package/dist/collectibles-CZ6i8sXK.js.map +0 -1
- package/dist/collections-5NcU-7ZR.js.map +0 -1
- package/dist/components-CY8kx2kb.js.map +0 -1
- package/dist/contracts-DRJHF89h.js.map +0 -1
- package/dist/create-config-BxyfYCEk.js.map +0 -1
- package/dist/element-D4dDznlu.js.map +0 -1
- package/dist/foundation-GHZOKAzN.js.map +0 -1
- package/dist/index-9qsplZ8r.d.ts +0 -18
- package/dist/inventory--t6Zu55O.js.map +0 -1
- package/dist/looks-rare-2HBhMpOf.js.map +0 -1
- package/dist/magic-eden-BYdTp-uk.js.map +0 -1
- package/dist/manifold-yE0x6ZmO.js.map +0 -1
- package/dist/market-DuBpFsDg.js.map +0 -1
- package/dist/marketCurrencies-Bolonndy.js.map +0 -1
- package/dist/marketplace-NQB-sEQL.js.map +0 -1
- package/dist/marketplace-logos-Cz9RrtQo.js.map +0 -1
- package/dist/marketplace.gen-906FrJQJ.js.map +0 -1
- package/dist/marketplaceConfig-Bqjo7NYO.js.map +0 -1
- package/dist/mintify-BXQx3mZB.js.map +0 -1
- package/dist/network-DwdZ_5-7.js.map +0 -1
- package/dist/networkconfigToWagmiChain-Ct-hGq8M.js.map +0 -1
- package/dist/nftx-B929_3Ce.js.map +0 -1
- package/dist/okx-sZ0-Udny.js.map +0 -1
- package/dist/open-sea-DO9PhTrz.js.map +0 -1
- package/dist/orders-DH76ym2e.js.map +0 -1
- package/dist/primary-sale-1u4QlPdA.js.map +0 -1
- package/dist/primary-sales-CECrqatg.js.map +0 -1
- package/dist/rarible-Ccb2hs7y.js.map +0 -1
- package/dist/react-CBsgOdVP.js.map +0 -1
- package/dist/sequence-CRdb1yEs.js.map +0 -1
- package/dist/src-Dz2CfBL0.js.map +0 -1
- package/dist/sudo-swap-BIklG2gq.js.map +0 -1
- package/dist/super-rare-h8645_5E.js.map +0 -1
- package/dist/token-Cv7l2ZaL.js.map +0 -1
- package/dist/tokenBalances-CouzNX4j.js.map +0 -1
- package/dist/tokens-BvIRUCGG.js.map +0 -1
- package/dist/transaction-DZUW5RHu.js.map +0 -1
- package/dist/types-B_-cnkcP.js.map +0 -1
- package/dist/utils-9ToOvt-c.js.map +0 -1
- package/dist/utils-B6di6O-C.js.map +0 -1
- package/dist/utils-BCYTEOvy.js.map +0 -1
- package/dist/waitForTransactionReceipt-CbSeUSXe.js.map +0 -1
- package/dist/x2y2-OvF__ugj.js.map +0 -1
- package/dist/zora-DzCeu-eE.js.map +0 -1
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155Checkout.test.tsx +0 -395
- package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +0 -103
- /package/dist/{index-CCggO_hw.d.ts → index15.d.ts} +0 -0
- /package/dist/{index-CKefEBrI.d.ts → index18.d.ts} +0 -0
- /package/dist/{index-DgsCqh_P.d.ts → index20.d.ts} +0 -0
- /package/dist/{index-xpO4AQyS.d.ts → index22.d.ts} +0 -0
- /package/dist/{queries-CyajGg_O.js → queries.js} +0 -0
- /package/dist/{wagmi-Bseovd6Q.js → wagmi.js} +0 -0
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
import { CardType, Collection, CollectionFilterSettings,
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as _tanstack_react_query312 from "@tanstack/react-query";
|
|
8
|
-
import * as _tanstack_react_query313 from "@tanstack/react-query";
|
|
9
|
-
import * as _tanstack_react_query317 from "@tanstack/react-query";
|
|
10
|
-
import * as _tanstack_react_query318 from "@tanstack/react-query";
|
|
11
|
-
import * as _0xsequence_indexer25 from "@0xsequence/indexer";
|
|
12
|
-
import * as _0xsequence_metadata135 from "@0xsequence/metadata";
|
|
13
|
-
import * as _0xsequence_metadata136 from "@0xsequence/metadata";
|
|
14
|
-
import * as viem60 from "viem";
|
|
1
|
+
import { G as SdkConfig, K as CardType, Lt as ContractType, Mt as Collection, a as CollectionFilterSettings, ii as OrderbookKind, kr as ListCollectionActivitiesReturn, qt as Currency, w as Optional } from "./create-config.js";
|
|
2
|
+
import { C as CollectionActiveOffersCurrenciesQueryOptions, N as CollectionQueryOptions, O as CollectionActiveListingsCurrenciesQueryOptions, _ as CollectionBalanceDetailsQueryOptions, c as ListCollectionActivitiesQueryOptions, f as CollectionDetailsQueryOptions, l as fetchListCollectionActivities, n as ListCollectionsQueryOptions, v as CollectionBalanceFilter, x as fetchCollectionBalanceDetails } from "./listCollections.js";
|
|
3
|
+
import * as _tanstack_react_query79 from "@tanstack/react-query";
|
|
4
|
+
import * as _0xsequence_indexer11 from "@0xsequence/indexer";
|
|
5
|
+
import * as _0xsequence_metadata4 from "@0xsequence/metadata";
|
|
6
|
+
import * as viem0 from "viem";
|
|
15
7
|
|
|
16
8
|
//#region src/react/hooks/data/collections/useCollection.d.ts
|
|
17
9
|
type UseCollectionParams = Optional<CollectionQueryOptions, 'config'>;
|
|
@@ -50,7 +42,7 @@ type UseCollectionParams = Optional<CollectionQueryOptions, 'config'>;
|
|
|
50
42
|
* })
|
|
51
43
|
* ```
|
|
52
44
|
*/
|
|
53
|
-
declare function useCollection(params: UseCollectionParams):
|
|
45
|
+
declare function useCollection(params: UseCollectionParams): _tanstack_react_query79.UseQueryResult<_0xsequence_metadata4.ContractInfo, Error>;
|
|
54
46
|
//#endregion
|
|
55
47
|
//#region src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.d.ts
|
|
56
48
|
type UseCollectionActiveListingsCurrenciesParams = Optional<CollectionActiveListingsCurrenciesQueryOptions, 'config'>;
|
|
@@ -89,7 +81,7 @@ type UseCollectionActiveListingsCurrenciesParams = Optional<CollectionActiveList
|
|
|
89
81
|
* })
|
|
90
82
|
* ```
|
|
91
83
|
*/
|
|
92
|
-
declare function useCollectionActiveListingsCurrencies(params: UseCollectionActiveListingsCurrenciesParams):
|
|
84
|
+
declare function useCollectionActiveListingsCurrencies(params: UseCollectionActiveListingsCurrenciesParams): _tanstack_react_query79.UseQueryResult<Currency[], Error>;
|
|
93
85
|
//#endregion
|
|
94
86
|
//#region src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.d.ts
|
|
95
87
|
type UseCollectionActiveOffersCurrenciesParams = Optional<CollectionActiveOffersCurrenciesQueryOptions, 'config'>;
|
|
@@ -128,7 +120,7 @@ type UseCollectionActiveOffersCurrenciesParams = Optional<CollectionActiveOffers
|
|
|
128
120
|
* })
|
|
129
121
|
* ```
|
|
130
122
|
*/
|
|
131
|
-
declare function useCollectionActiveOffersCurrencies(params: UseCollectionActiveOffersCurrenciesParams):
|
|
123
|
+
declare function useCollectionActiveOffersCurrencies(params: UseCollectionActiveOffersCurrenciesParams): _tanstack_react_query79.UseQueryResult<Currency[], Error>;
|
|
132
124
|
//#endregion
|
|
133
125
|
//#region src/react/hooks/data/collections/useCollectionBalanceDetails.d.ts
|
|
134
126
|
type UseCollectionBalanceDetailsParams = Optional<CollectionBalanceDetailsQueryOptions, 'config'>;
|
|
@@ -183,7 +175,7 @@ type UseCollectionBalanceDetailsParams = Optional<CollectionBalanceDetailsQueryO
|
|
|
183
175
|
* })
|
|
184
176
|
* ```
|
|
185
177
|
*/
|
|
186
|
-
declare function useCollectionBalanceDetails(params: UseCollectionBalanceDetailsParams):
|
|
178
|
+
declare function useCollectionBalanceDetails(params: UseCollectionBalanceDetailsParams): _tanstack_react_query79.UseQueryResult<_0xsequence_indexer11.GetTokenBalancesDetailsReturn, Error>;
|
|
187
179
|
type UseCollectionBalanceDetailsArgs = {
|
|
188
180
|
chainId: number;
|
|
189
181
|
filter: CollectionBalanceFilter;
|
|
@@ -230,7 +222,7 @@ type UseCollectionDetailsParams = Optional<CollectionDetailsQueryOptions, 'confi
|
|
|
230
222
|
* })
|
|
231
223
|
* ```
|
|
232
224
|
*/
|
|
233
|
-
declare function useCollectionDetails(params: UseCollectionDetailsParams):
|
|
225
|
+
declare function useCollectionDetails(params: UseCollectionDetailsParams): _tanstack_react_query79.UseQueryResult<Collection, Error>;
|
|
234
226
|
//#endregion
|
|
235
227
|
//#region src/react/hooks/data/collections/useCollectionDetailsPolling.d.ts
|
|
236
228
|
type UseCollectionDetailsPolling = {
|
|
@@ -240,11 +232,11 @@ type UseCollectionDetailsPolling = {
|
|
|
240
232
|
enabled?: boolean;
|
|
241
233
|
};
|
|
242
234
|
};
|
|
243
|
-
declare const collectionDetailsPollingOptions: (args: UseCollectionDetailsPolling, config: SdkConfig) =>
|
|
235
|
+
declare const collectionDetailsPollingOptions: (args: UseCollectionDetailsPolling, config: SdkConfig) => _tanstack_react_query79.OmitKeyof<_tanstack_react_query79.UseQueryOptions<Collection, Error, Collection, readonly ["collections", "detail", {
|
|
244
236
|
chainId: string;
|
|
245
237
|
contractAddress: string | undefined;
|
|
246
238
|
}]>, "queryFn"> & {
|
|
247
|
-
queryFn?:
|
|
239
|
+
queryFn?: _tanstack_react_query79.QueryFunction<Collection, readonly ["collections", "detail", {
|
|
248
240
|
chainId: string;
|
|
249
241
|
contractAddress: string | undefined;
|
|
250
242
|
}], never> | undefined;
|
|
@@ -257,7 +249,7 @@ declare const collectionDetailsPollingOptions: (args: UseCollectionDetailsPollin
|
|
|
257
249
|
[dataTagErrorSymbol]: Error;
|
|
258
250
|
};
|
|
259
251
|
};
|
|
260
|
-
declare const useCollectionDetailsPolling: (args: UseCollectionDetailsPolling) =>
|
|
252
|
+
declare const useCollectionDetailsPolling: (args: UseCollectionDetailsPolling) => _tanstack_react_query79.UseQueryResult<Collection, Error>;
|
|
261
253
|
//#endregion
|
|
262
254
|
//#region src/react/hooks/data/collections/useListCollectionActivities.d.ts
|
|
263
255
|
type UseListCollectionActivitiesParams = Optional<ListCollectionActivitiesQueryOptions, 'config'>;
|
|
@@ -308,7 +300,7 @@ type UseListCollectionActivitiesParams = Optional<ListCollectionActivitiesQueryO
|
|
|
308
300
|
* })
|
|
309
301
|
* ```
|
|
310
302
|
*/
|
|
311
|
-
declare function useListCollectionActivities(params: UseListCollectionActivitiesParams):
|
|
303
|
+
declare function useListCollectionActivities(params: UseListCollectionActivitiesParams): _tanstack_react_query79.UseQueryResult<ListCollectionActivitiesReturn, Error>;
|
|
312
304
|
type UseListCollectionActivitiesArgs = UseListCollectionActivitiesParams;
|
|
313
305
|
type UseListCollectionActivitiesReturn = Awaited<ReturnType<typeof fetchListCollectionActivities>>;
|
|
314
306
|
//#endregion
|
|
@@ -353,7 +345,7 @@ type UseListCollectionsParams = Optional<ListCollectionsQueryOptions, 'config' |
|
|
|
353
345
|
* });
|
|
354
346
|
* ```
|
|
355
347
|
*/
|
|
356
|
-
declare function useListCollections(params?: UseListCollectionsParams):
|
|
348
|
+
declare function useListCollections(params?: UseListCollectionsParams): _tanstack_react_query79.UseQueryResult<({
|
|
357
349
|
chainId: number;
|
|
358
350
|
address: string;
|
|
359
351
|
source: string;
|
|
@@ -364,17 +356,17 @@ declare function useListCollections(params?: UseListCollectionsParams): _tanstac
|
|
|
364
356
|
logoURI: string;
|
|
365
357
|
deployed: boolean;
|
|
366
358
|
bytecodeHash: string;
|
|
367
|
-
extensions:
|
|
359
|
+
extensions: _0xsequence_metadata4.ContractInfoExtensions;
|
|
368
360
|
updatedAt: string;
|
|
369
361
|
queuedAt?: string;
|
|
370
|
-
status:
|
|
362
|
+
status: _0xsequence_metadata4.ResourceStatus;
|
|
371
363
|
cardType: CardType;
|
|
372
364
|
contractType: ContractType;
|
|
373
365
|
feePercentage: number;
|
|
374
366
|
destinationMarketplace: OrderbookKind;
|
|
375
367
|
currencyOptions: Array<string>;
|
|
376
368
|
bannerUrl: string;
|
|
377
|
-
itemsAddress:
|
|
369
|
+
itemsAddress: viem0.Address;
|
|
378
370
|
filterSettings?: CollectionFilterSettings;
|
|
379
371
|
sortOrder?: number;
|
|
380
372
|
private: boolean;
|
|
@@ -389,18 +381,18 @@ declare function useListCollections(params?: UseListCollectionsParams): _tanstac
|
|
|
389
381
|
logoURI: string;
|
|
390
382
|
deployed: boolean;
|
|
391
383
|
bytecodeHash: string;
|
|
392
|
-
extensions:
|
|
384
|
+
extensions: _0xsequence_metadata4.ContractInfoExtensions;
|
|
393
385
|
updatedAt: string;
|
|
394
386
|
queuedAt?: string;
|
|
395
|
-
status:
|
|
387
|
+
status: _0xsequence_metadata4.ResourceStatus;
|
|
396
388
|
cardType: CardType;
|
|
397
|
-
saleAddress:
|
|
389
|
+
saleAddress: viem0.Address;
|
|
398
390
|
bannerUrl: string;
|
|
399
|
-
itemsAddress:
|
|
391
|
+
itemsAddress: viem0.Address;
|
|
400
392
|
filterSettings?: CollectionFilterSettings;
|
|
401
393
|
sortOrder?: number;
|
|
402
394
|
private: boolean;
|
|
403
395
|
})[], Error>;
|
|
404
396
|
//#endregion
|
|
405
|
-
export { UseCollectionActiveListingsCurrenciesParams,
|
|
406
|
-
//# sourceMappingURL=
|
|
397
|
+
export { UseCollectionActiveListingsCurrenciesParams as _, UseListCollectionActivitiesReturn as a, useCollection as b, useCollectionDetailsPolling as c, UseCollectionBalanceDetailsArgs as d, UseCollectionBalanceDetailsParams as f, useCollectionActiveOffersCurrencies as g, UseCollectionActiveOffersCurrenciesParams as h, UseListCollectionActivitiesParams as i, UseCollectionDetailsParams as l, useCollectionBalanceDetails as m, useListCollections as n, useListCollectionActivities as o, UseCollectionBalanceDetailsReturn as p, UseListCollectionActivitiesArgs as r, collectionDetailsPollingOptions as s, UseListCollectionsParams as t, useCollectionDetails as u, useCollectionActiveListingsCurrencies as v, UseCollectionParams as y };
|
|
398
|
+
//# sourceMappingURL=index11.d.ts.map
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { MarketCollectibleCardProps } from "./types
|
|
4
|
-
import * as
|
|
5
|
-
import * as _tanstack_react_query50 from "@tanstack/react-query";
|
|
6
|
-
import * as _tanstack_react_query56 from "@tanstack/react-query";
|
|
1
|
+
import { Cr as ListCollectiblesReturn, Dt as CollectibleOrder, Jt as CurrencyStatus, Lt as ContractType, bi as PropertyFilter, ii as OrderbookKind, li as PriceFilter, q as CollectibleCardAction, qt as Currency, w as Optional } from "./create-config.js";
|
|
2
|
+
import { n as MarketCurrenciesQueryOptions, o as CurrencyQueryOptions } from "./marketCurrencies.js";
|
|
3
|
+
import { r as MarketCollectibleCardProps } from "./types.js";
|
|
4
|
+
import * as _tanstack_react_query159 from "@tanstack/react-query";
|
|
7
5
|
import { Address } from "viem";
|
|
8
6
|
|
|
9
7
|
//#region src/react/hooks/data/market/useCurrency.d.ts
|
|
@@ -42,7 +40,7 @@ type UseCurrencyParams = Optional<CurrencyQueryOptions, 'config'>;
|
|
|
42
40
|
* })
|
|
43
41
|
* ```
|
|
44
42
|
*/
|
|
45
|
-
declare function useCurrency(params: UseCurrencyParams):
|
|
43
|
+
declare function useCurrency(params: UseCurrencyParams): _tanstack_react_query159.UseQueryResult<Currency | undefined, Error>;
|
|
46
44
|
//#endregion
|
|
47
45
|
//#region src/react/hooks/data/market/useListMarketCardData.d.ts
|
|
48
46
|
interface UseListMarketCardDataProps {
|
|
@@ -80,7 +78,7 @@ declare function useListMarketCardData({
|
|
|
80
78
|
error: Error | null;
|
|
81
79
|
hasNextPage: boolean;
|
|
82
80
|
isFetchingNextPage: boolean;
|
|
83
|
-
fetchNextPage: (options?:
|
|
81
|
+
fetchNextPage: (options?: _tanstack_react_query159.FetchNextPageOptions) => Promise<_tanstack_react_query159.InfiniteQueryObserverResult<_tanstack_react_query159.InfiniteData<ListCollectiblesReturn, unknown>, Error>>;
|
|
84
82
|
allCollectibles: CollectibleOrder[];
|
|
85
83
|
};
|
|
86
84
|
//#endregion
|
|
@@ -117,7 +115,7 @@ type UseMarketCurrenciesParams = Optional<MarketCurrenciesQueryOptions, 'config'
|
|
|
117
115
|
* })
|
|
118
116
|
* ```
|
|
119
117
|
*/
|
|
120
|
-
declare function useMarketCurrencies(params: UseMarketCurrenciesParams):
|
|
118
|
+
declare function useMarketCurrencies(params: UseMarketCurrenciesParams): _tanstack_react_query159.UseQueryResult<{
|
|
121
119
|
contractAddress: string;
|
|
122
120
|
chainId: number;
|
|
123
121
|
status: CurrencyStatus;
|
|
@@ -135,5 +133,5 @@ declare function useMarketCurrencies(params: UseMarketCurrenciesParams): _tansta
|
|
|
135
133
|
deletedAt?: string;
|
|
136
134
|
}[], Error>;
|
|
137
135
|
//#endregion
|
|
138
|
-
export {
|
|
139
|
-
//# sourceMappingURL=
|
|
136
|
+
export { useCurrency as a, UseCurrencyParams as i, useMarketCurrencies as n, useListMarketCardData as r, UseMarketCurrenciesParams as t };
|
|
137
|
+
//# sourceMappingURL=index12.d.ts.map
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import * as _tanstack_react_query320 from "@tanstack/react-query";
|
|
5
|
-
import * as _tanstack_react_query321 from "@tanstack/react-query";
|
|
6
|
-
import * as _tanstack_react_query322 from "@tanstack/react-query";
|
|
7
|
-
import * as _tanstack_react_query323 from "@tanstack/react-query";
|
|
8
|
-
import * as _tanstack_react_query364 from "@tanstack/react-query";
|
|
9
|
-
import * as _tanstack_react_query365 from "@tanstack/react-query";
|
|
10
|
-
import * as _tanstack_react_query367 from "@tanstack/react-query";
|
|
11
|
-
import * as _tanstack_react_query368 from "@tanstack/react-query";
|
|
12
|
-
import * as _tanstack_react_query369 from "@tanstack/react-query";
|
|
13
|
-
import * as _tanstack_react_query370 from "@tanstack/react-query";
|
|
1
|
+
import { $r as Order, Dt as CollectibleOrder, Ur as ListOrdersWithCollectiblesReturn, w as Optional, xr as ListCollectibleOffersReturn, yr as ListCollectibleListingsReturn } from "./create-config.js";
|
|
2
|
+
import { B as CountOffersForCollectibleQueryOptions, E as HighestOfferQueryOptions, G as CountListingsForCollectibleQueryOptions, I as FloorOrderQueryOptions, S as fetchListItemsOrdersForCollection, X as CountItemsOrdersForCollectionQueryOptions, _ as ListItemsOrdersForCollectionPaginatedQueryOptions, f as ListListingsForCollectibleQueryOptions, j as GetCountOfFilteredOrdersQueryOptions, n as LowestListingQueryOptions, p as fetchListListingsForCollectible, s as ListOffersForCollectibleQueryOptions, v as fetchListItemsOrdersForCollectionPaginated, x as ListItemsOrdersForCollectionQueryOptions } from "./lowestListing.js";
|
|
3
|
+
import * as _tanstack_react_query315 from "@tanstack/react-query";
|
|
14
4
|
|
|
15
5
|
//#region src/react/hooks/data/orders/useCountItemsOrdersForCollection.d.ts
|
|
16
6
|
type UseCountItemsOrdersForCollectionParams = Optional<CountItemsOrdersForCollectionQueryOptions, 'config'>;
|
|
@@ -65,7 +55,7 @@ type UseCountItemsOrdersForCollectionParams = Optional<CountItemsOrdersForCollec
|
|
|
65
55
|
* return <div>Showing {orders?.pages[0]?.listings.length ?? 0} of {totalCount} orders</div>
|
|
66
56
|
* ```
|
|
67
57
|
*/
|
|
68
|
-
declare function useCountItemsOrdersForCollection(params: UseCountItemsOrdersForCollectionParams):
|
|
58
|
+
declare function useCountItemsOrdersForCollection(params: UseCountItemsOrdersForCollectionParams): _tanstack_react_query315.UseQueryResult<number, Error>;
|
|
69
59
|
//#endregion
|
|
70
60
|
//#region src/react/hooks/data/orders/useCountListingsForCollectible.d.ts
|
|
71
61
|
type UseCountListingsForCollectibleParams = Optional<CountListingsForCollectibleQueryOptions, 'config'>;
|
|
@@ -105,7 +95,7 @@ type UseCountListingsForCollectibleParams = Optional<CountListingsForCollectible
|
|
|
105
95
|
* })
|
|
106
96
|
* ```
|
|
107
97
|
*/
|
|
108
|
-
declare function useCountListingsForCollectible(params: UseCountListingsForCollectibleParams):
|
|
98
|
+
declare function useCountListingsForCollectible(params: UseCountListingsForCollectibleParams): _tanstack_react_query315.UseQueryResult<number, Error>;
|
|
109
99
|
//#endregion
|
|
110
100
|
//#region src/react/hooks/data/orders/useCountOffersForCollectible.d.ts
|
|
111
101
|
type UseCountOffersForCollectibleParams = Optional<CountOffersForCollectibleQueryOptions, 'config'>;
|
|
@@ -145,7 +135,7 @@ type UseCountOffersForCollectibleParams = Optional<CountOffersForCollectibleQuer
|
|
|
145
135
|
* })
|
|
146
136
|
* ```
|
|
147
137
|
*/
|
|
148
|
-
declare function useCountOffersForCollectible(params: UseCountOffersForCollectibleParams):
|
|
138
|
+
declare function useCountOffersForCollectible(params: UseCountOffersForCollectibleParams): _tanstack_react_query315.UseQueryResult<number, Error>;
|
|
149
139
|
//#endregion
|
|
150
140
|
//#region src/react/hooks/data/orders/useFloorOrder.d.ts
|
|
151
141
|
type UseFloorOrderParams = Optional<FloorOrderQueryOptions, 'config'>;
|
|
@@ -188,11 +178,11 @@ type UseFloorOrderParams = Optional<FloorOrderQueryOptions, 'config'>;
|
|
|
188
178
|
* })
|
|
189
179
|
* ```
|
|
190
180
|
*/
|
|
191
|
-
declare function useFloorOrder(params: UseFloorOrderParams):
|
|
181
|
+
declare function useFloorOrder(params: UseFloorOrderParams): _tanstack_react_query315.UseQueryResult<CollectibleOrder, Error>;
|
|
192
182
|
//#endregion
|
|
193
183
|
//#region src/react/hooks/data/orders/useGetCountOfFilteredOrders.d.ts
|
|
194
184
|
type UseGetCountOfFilteredOrdersParams = Optional<GetCountOfFilteredOrdersQueryOptions, 'config'>;
|
|
195
|
-
declare function useGetCountOfFilteredOrders(params: UseGetCountOfFilteredOrdersParams):
|
|
185
|
+
declare function useGetCountOfFilteredOrders(params: UseGetCountOfFilteredOrdersParams): _tanstack_react_query315.UseQueryResult<number, Error>;
|
|
196
186
|
//#endregion
|
|
197
187
|
//#region src/react/hooks/data/orders/useHighestOffer.d.ts
|
|
198
188
|
type UseHighestOfferParams = Optional<HighestOfferQueryOptions, 'config'>;
|
|
@@ -234,7 +224,7 @@ type UseHighestOfferParams = Optional<HighestOfferQueryOptions, 'config'>;
|
|
|
234
224
|
* })
|
|
235
225
|
* ```
|
|
236
226
|
*/
|
|
237
|
-
declare function useHighestOffer(params: UseHighestOfferParams):
|
|
227
|
+
declare function useHighestOffer(params: UseHighestOfferParams): _tanstack_react_query315.UseQueryResult<Order | null, Error>;
|
|
238
228
|
//#endregion
|
|
239
229
|
//#region src/react/hooks/data/orders/useListItemsOrdersForCollection.d.ts
|
|
240
230
|
type UseListItemsOrdersForCollectionParams = Optional<ListItemsOrdersForCollectionQueryOptions, 'config'>;
|
|
@@ -285,7 +275,7 @@ type UseListItemsOrdersForCollectionParams = Optional<ListItemsOrdersForCollecti
|
|
|
285
275
|
* const allListings = data?.pages.flatMap(page => page.listings) ?? []
|
|
286
276
|
* ```
|
|
287
277
|
*/
|
|
288
|
-
declare function useListItemsOrdersForCollection(params: UseListItemsOrdersForCollectionParams):
|
|
278
|
+
declare function useListItemsOrdersForCollection(params: UseListItemsOrdersForCollectionParams): _tanstack_react_query315.UseInfiniteQueryResult<_tanstack_react_query315.InfiniteData<ListOrdersWithCollectiblesReturn, unknown>, Error>;
|
|
289
279
|
type UseListItemsOrdersForCollectionArgs = UseListItemsOrdersForCollectionParams;
|
|
290
280
|
type UseListItemsOrdersForCollectionReturn = Awaited<ReturnType<typeof fetchListItemsOrdersForCollection>>;
|
|
291
281
|
//#endregion
|
|
@@ -352,7 +342,7 @@ type UseListItemsOrdersForCollectionPaginatedParams = Optional<ListItemsOrdersFo
|
|
|
352
342
|
* const hasMorePages = data?.page?.more;
|
|
353
343
|
* ```
|
|
354
344
|
*/
|
|
355
|
-
declare function useListItemsOrdersForCollectionPaginated(params: UseListItemsOrdersForCollectionPaginatedParams):
|
|
345
|
+
declare function useListItemsOrdersForCollectionPaginated(params: UseListItemsOrdersForCollectionPaginatedParams): _tanstack_react_query315.UseQueryResult<ListOrdersWithCollectiblesReturn, Error>;
|
|
356
346
|
type UseListItemsOrdersForCollectionPaginatedArgs = UseListItemsOrdersForCollectionPaginatedParams;
|
|
357
347
|
type UseListItemsOrdersForCollectionPaginatedReturn = Awaited<ReturnType<typeof fetchListItemsOrdersForCollectionPaginated>>;
|
|
358
348
|
//#endregion
|
|
@@ -412,7 +402,7 @@ type UseListListingsForCollectibleParams = Optional<ListListingsForCollectibleQu
|
|
|
412
402
|
* })
|
|
413
403
|
* ```
|
|
414
404
|
*/
|
|
415
|
-
declare function useListListingsForCollectible(params: UseListListingsForCollectibleParams):
|
|
405
|
+
declare function useListListingsForCollectible(params: UseListListingsForCollectibleParams): _tanstack_react_query315.UseQueryResult<ListCollectibleListingsReturn, Error>;
|
|
416
406
|
type UseListListingsForCollectibleArgs = UseListListingsForCollectibleParams;
|
|
417
407
|
type UseListListingsForCollectibleReturn = Awaited<ReturnType<typeof fetchListListingsForCollectible>>;
|
|
418
408
|
//#endregion
|
|
@@ -456,7 +446,7 @@ type UseListOffersForCollectibleParams = Optional<ListOffersForCollectibleQueryO
|
|
|
456
446
|
* })
|
|
457
447
|
* ```
|
|
458
448
|
*/
|
|
459
|
-
declare function useListOffersForCollectible(params: UseListOffersForCollectibleParams):
|
|
449
|
+
declare function useListOffersForCollectible(params: UseListOffersForCollectibleParams): _tanstack_react_query315.UseQueryResult<ListCollectibleOffersReturn, Error>;
|
|
460
450
|
type UseListOffersForCollectibleArgs = UseListOffersForCollectibleParams;
|
|
461
451
|
//#endregion
|
|
462
452
|
//#region src/react/hooks/data/orders/useLowestListing.d.ts
|
|
@@ -499,7 +489,7 @@ type UseLowestListingParams = Optional<LowestListingQueryOptions, 'config'>;
|
|
|
499
489
|
* })
|
|
500
490
|
* ```
|
|
501
491
|
*/
|
|
502
|
-
declare function useLowestListing(params: UseLowestListingParams):
|
|
492
|
+
declare function useLowestListing(params: UseLowestListingParams): _tanstack_react_query315.UseQueryResult<Order | null | undefined, Error>;
|
|
503
493
|
//#endregion
|
|
504
|
-
export {
|
|
505
|
-
//# sourceMappingURL=
|
|
494
|
+
export { useFloorOrder as C, useCountListingsForCollectible as D, UseCountListingsForCollectibleParams as E, UseCountItemsOrdersForCollectionParams as O, UseFloorOrderParams as S, useCountOffersForCollectible as T, useListItemsOrdersForCollection as _, useListOffersForCollectible as a, UseGetCountOfFilteredOrdersParams as b, UseListListingsForCollectibleReturn as c, UseListItemsOrdersForCollectionPaginatedParams as d, UseListItemsOrdersForCollectionPaginatedReturn as f, UseListItemsOrdersForCollectionReturn as g, UseListItemsOrdersForCollectionParams as h, UseListOffersForCollectibleParams as i, useCountItemsOrdersForCollection as k, useListListingsForCollectible as l, UseListItemsOrdersForCollectionArgs as m, useLowestListing as n, UseListListingsForCollectibleArgs as o, useListItemsOrdersForCollectionPaginated as p, UseListOffersForCollectibleArgs as r, UseListListingsForCollectibleParams as s, UseLowestListingParams as t, UseListItemsOrdersForCollectionPaginatedArgs as u, UseHighestOfferParams as v, UseCountOffersForCollectibleParams as w, useGetCountOfFilteredOrders as x, useHighestOffer as y };
|
|
495
|
+
//# sourceMappingURL=index13.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SdkConfig } from "./create-config
|
|
2
|
-
import * as
|
|
1
|
+
import { G as SdkConfig } from "./create-config.js";
|
|
2
|
+
import * as _tanstack_react_query5 from "@tanstack/react-query";
|
|
3
3
|
import { UseQueryParameters } from "wagmi/query";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _0xsequence_indexer0 from "@0xsequence/indexer";
|
|
5
5
|
import { Address } from "viem";
|
|
6
6
|
|
|
7
7
|
//#region src/react/queries/collectibles/tokenBalances.d.ts
|
|
@@ -21,7 +21,7 @@ type UseTokenBalancesArgs = {
|
|
|
21
21
|
*/
|
|
22
22
|
declare function fetchTokenBalances(args: Omit<UseTokenBalancesArgs, 'userAddress'> & {
|
|
23
23
|
userAddress: Address;
|
|
24
|
-
}, config: SdkConfig): Promise<
|
|
24
|
+
}, config: SdkConfig): Promise<_0xsequence_indexer0.TokenBalance[]>;
|
|
25
25
|
declare function getTokenBalancesQueryKey(args: UseTokenBalancesArgs): readonly ["collectable", "collectable", "details", "userBalances", {
|
|
26
26
|
chainId: number;
|
|
27
27
|
accountAddress: `0x${string}` | undefined;
|
|
@@ -39,7 +39,7 @@ declare function getTokenBalancesQueryKey(args: UseTokenBalancesArgs): readonly
|
|
|
39
39
|
* @param config - SDK configuration
|
|
40
40
|
* @returns Query options configuration
|
|
41
41
|
*/
|
|
42
|
-
declare function tokenBalancesOptions(args: UseTokenBalancesArgs, config: SdkConfig):
|
|
42
|
+
declare function tokenBalancesOptions(args: UseTokenBalancesArgs, config: SdkConfig): _tanstack_react_query5.UseQueryOptions<_0xsequence_indexer0.TokenBalance[], Error, _0xsequence_indexer0.TokenBalance[], readonly ["collectable", "collectable", "details", "userBalances", {
|
|
43
43
|
chainId: number;
|
|
44
44
|
accountAddress: `0x${string}` | undefined;
|
|
45
45
|
contractAddress: `0x${string}`;
|
|
@@ -49,7 +49,7 @@ declare function tokenBalancesOptions(args: UseTokenBalancesArgs, config: SdkCon
|
|
|
49
49
|
includeContracts: `0x${string}`[];
|
|
50
50
|
} | undefined;
|
|
51
51
|
}]> & {
|
|
52
|
-
initialData?:
|
|
52
|
+
initialData?: _0xsequence_indexer0.TokenBalance[] | _tanstack_react_query5.InitialDataFunction<_0xsequence_indexer0.TokenBalance[]> | undefined;
|
|
53
53
|
} & {
|
|
54
54
|
queryKey: readonly ["collectable", "collectable", "details", "userBalances", {
|
|
55
55
|
chainId: number;
|
|
@@ -61,10 +61,10 @@ declare function tokenBalancesOptions(args: UseTokenBalancesArgs, config: SdkCon
|
|
|
61
61
|
includeContracts: `0x${string}`[];
|
|
62
62
|
} | undefined;
|
|
63
63
|
}] & {
|
|
64
|
-
[dataTagSymbol]:
|
|
64
|
+
[dataTagSymbol]: _0xsequence_indexer0.TokenBalance[];
|
|
65
65
|
[dataTagErrorSymbol]: Error;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
//#endregion
|
|
69
|
-
export {
|
|
70
|
-
//# sourceMappingURL=
|
|
69
|
+
export { tokenBalancesOptions as i, fetchTokenBalances as n, getTokenBalancesQueryKey as r, UseTokenBalancesArgs as t };
|
|
70
|
+
//# sourceMappingURL=index14.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { G as SdkConfig, Jr as MetadataStatus, Lt as ContractType, oi as Page$1 } from "./create-config.js";
|
|
2
|
+
import * as _tanstack_react_query396 from "@tanstack/react-query";
|
|
3
3
|
import { ContractInfo } from "@0xsequence/indexer";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
|
|
@@ -33,12 +33,12 @@ interface CollectibleWithBalance {
|
|
|
33
33
|
}
|
|
34
34
|
interface CollectiblesResponse {
|
|
35
35
|
collectibles: CollectibleWithBalance[];
|
|
36
|
-
page: Page;
|
|
36
|
+
page: Page$1;
|
|
37
37
|
isTradable: boolean;
|
|
38
38
|
}
|
|
39
|
-
declare function fetchInventory(args: GetInventoryArgs, config: SdkConfig, page: Page): Promise<CollectiblesResponse>;
|
|
40
|
-
declare function inventoryOptions(args: UseInventoryArgs, config: SdkConfig):
|
|
41
|
-
queryFn?:
|
|
39
|
+
declare function fetchInventory(args: GetInventoryArgs, config: SdkConfig, page: Page$1): Promise<CollectiblesResponse>;
|
|
40
|
+
declare function inventoryOptions(args: UseInventoryArgs, config: SdkConfig): _tanstack_react_query396.OmitKeyof<_tanstack_react_query396.UseQueryOptions<CollectiblesResponse, Error, CollectiblesResponse, (string | number)[]>, "queryFn"> & {
|
|
41
|
+
queryFn?: _tanstack_react_query396.QueryFunction<CollectiblesResponse, (string | number)[], never> | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
queryKey: (string | number)[] & {
|
|
44
44
|
[dataTagSymbol]: CollectiblesResponse;
|
|
@@ -46,5 +46,5 @@ declare function inventoryOptions(args: UseInventoryArgs, config: SdkConfig): _t
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
|
-
export {
|
|
50
|
-
//# sourceMappingURL=
|
|
49
|
+
export { inventoryOptions as i, UseInventoryArgs as n, fetchInventory as r, CollectiblesResponse as t };
|
|
50
|
+
//# sourceMappingURL=index16.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StandardQueryOptions } from "./query
|
|
3
|
-
import * as
|
|
4
|
-
import * as _tanstack_react_query383 from "@tanstack/react-query";
|
|
1
|
+
import { Ct as CheckoutOptionsMarketplaceReturn, G as SdkConfig, Tt as CheckoutOptionsSalesContractReturn, bt as CheckoutOptionsItem, j as ValuesOptional, qr as MarketplaceKind, wt as CheckoutOptionsSalesContractArgs, xt as CheckoutOptionsMarketplaceArgs } from "./create-config.js";
|
|
2
|
+
import { n as StandardQueryOptions } from "./query.js";
|
|
3
|
+
import * as _tanstack_react_query399 from "@tanstack/react-query";
|
|
5
4
|
import { Address } from "viem";
|
|
6
5
|
|
|
7
6
|
//#region src/react/queries/market/checkoutOptions.d.ts
|
|
@@ -32,7 +31,7 @@ declare function getCheckoutOptionsQueryKey(params: CheckoutOptionsQueryOptions)
|
|
|
32
31
|
}[] | undefined;
|
|
33
32
|
additionalFee: number | undefined;
|
|
34
33
|
}];
|
|
35
|
-
declare function checkoutOptionsQueryOptions(params: CheckoutOptionsQueryOptions):
|
|
34
|
+
declare function checkoutOptionsQueryOptions(params: CheckoutOptionsQueryOptions): _tanstack_react_query399.OmitKeyof<_tanstack_react_query399.UseQueryOptions<CheckoutOptionsMarketplaceReturn, Error, CheckoutOptionsMarketplaceReturn, readonly ["checkouts", "options", {
|
|
36
35
|
chainId: string;
|
|
37
36
|
wallet: `0x${string}` | undefined;
|
|
38
37
|
orders: {
|
|
@@ -42,7 +41,7 @@ declare function checkoutOptionsQueryOptions(params: CheckoutOptionsQueryOptions
|
|
|
42
41
|
}[] | undefined;
|
|
43
42
|
additionalFee: number | undefined;
|
|
44
43
|
}]>, "queryFn"> & {
|
|
45
|
-
queryFn?:
|
|
44
|
+
queryFn?: _tanstack_react_query399.QueryFunction<CheckoutOptionsMarketplaceReturn, readonly ["checkouts", "options", {
|
|
46
45
|
chainId: string;
|
|
47
46
|
wallet: `0x${string}` | undefined;
|
|
48
47
|
orders: {
|
|
@@ -91,14 +90,14 @@ declare function getCheckoutOptionsSalesContractQueryKey(params: CheckoutOptions
|
|
|
91
90
|
collectionAddress: string | undefined;
|
|
92
91
|
items: CheckoutOptionsItem[] | undefined;
|
|
93
92
|
}];
|
|
94
|
-
declare function checkoutOptionsSalesContractQueryOptions(params: CheckoutOptionsSalesContractQueryOptions):
|
|
93
|
+
declare function checkoutOptionsSalesContractQueryOptions(params: CheckoutOptionsSalesContractQueryOptions): _tanstack_react_query399.OmitKeyof<_tanstack_react_query399.UseQueryOptions<CheckoutOptionsSalesContractReturn, Error, CheckoutOptionsSalesContractReturn, readonly ["checkouts", "options", "salesContract", {
|
|
95
94
|
chainId: string;
|
|
96
95
|
wallet: `0x${string}` | undefined;
|
|
97
96
|
contractAddress: string | undefined;
|
|
98
97
|
collectionAddress: string | undefined;
|
|
99
98
|
items: CheckoutOptionsItem[] | undefined;
|
|
100
99
|
}]>, "queryFn"> & {
|
|
101
|
-
queryFn?:
|
|
100
|
+
queryFn?: _tanstack_react_query399.QueryFunction<CheckoutOptionsSalesContractReturn, readonly ["checkouts", "options", "salesContract", {
|
|
102
101
|
chainId: string;
|
|
103
102
|
wallet: `0x${string}` | undefined;
|
|
104
103
|
contractAddress: string | undefined;
|
|
@@ -118,5 +117,5 @@ declare function checkoutOptionsSalesContractQueryOptions(params: CheckoutOption
|
|
|
118
117
|
};
|
|
119
118
|
};
|
|
120
119
|
//#endregion
|
|
121
|
-
export {
|
|
122
|
-
//# sourceMappingURL=
|
|
120
|
+
export { getCheckoutOptionsSalesContractQueryKey as a, checkoutOptionsQueryOptions as c, fetchCheckoutOptionsSalesContract as i, fetchCheckoutOptions as l, FetchCheckoutOptionsSalesContractParams as n, CheckoutOptionsQueryOptions as o, checkoutOptionsSalesContractQueryOptions as r, FetchCheckoutOptionsParams as s, CheckoutOptionsSalesContractQueryOptions as t, getCheckoutOptionsQueryKey as u };
|
|
121
|
+
//# sourceMappingURL=index17.d.ts.map
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StandardQueryOptions } from "./query
|
|
3
|
-
import * as
|
|
4
|
-
import * as _tanstack_react_query374 from "@tanstack/react-query";
|
|
5
|
-
import * as _tanstack_react_query359 from "@tanstack/react-query";
|
|
6
|
-
import * as _tanstack_react_query377 from "@tanstack/react-query";
|
|
1
|
+
import { G as SdkConfig, Gr as ListPrimarySaleItemsReturn, Ot as CollectiblePrimarySaleItem, Xn as GetCountOfPrimarySaleItemsReturn, Yn as GetCountOfPrimarySaleItemsArgs, j as ValuesOptional, mi as PrimarySaleItemsFilter, oi as Page, ur as GetPrimarySaleItemArgs } from "./create-config.js";
|
|
2
|
+
import { n as StandardQueryOptions } from "./query.js";
|
|
3
|
+
import * as _tanstack_react_query385 from "@tanstack/react-query";
|
|
7
4
|
import { Address } from "viem";
|
|
8
5
|
|
|
9
6
|
//#region src/react/queries/primary-sales/countOfPrimarySaleItems.d.ts
|
|
@@ -21,12 +18,12 @@ declare function getCountOfPrimarySaleItemsQueryKey(args: UseCountOfPrimarySaleI
|
|
|
21
18
|
primarySaleContractAddress: `0x${string}`;
|
|
22
19
|
filter: PrimarySaleItemsFilter | undefined;
|
|
23
20
|
}];
|
|
24
|
-
declare function countOfPrimarySaleItemsOptions(args: UseCountOfPrimarySaleItemsArgs, config: SdkConfig):
|
|
21
|
+
declare function countOfPrimarySaleItemsOptions(args: UseCountOfPrimarySaleItemsArgs, config: SdkConfig): _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseQueryOptions<number, Error, number, readonly ["primarySaleItemsCount", {
|
|
25
22
|
chainId: string;
|
|
26
23
|
primarySaleContractAddress: `0x${string}`;
|
|
27
24
|
filter: PrimarySaleItemsFilter | undefined;
|
|
28
25
|
}]>, "queryFn"> & {
|
|
29
|
-
queryFn?:
|
|
26
|
+
queryFn?: _tanstack_react_query385.QueryFunction<number, readonly ["primarySaleItemsCount", {
|
|
30
27
|
chainId: string;
|
|
31
28
|
primarySaleContractAddress: `0x${string}`;
|
|
32
29
|
filter: PrimarySaleItemsFilter | undefined;
|
|
@@ -59,12 +56,12 @@ declare function getPrimarySaleItemQueryKey(params: PrimarySaleItemQueryOptions)
|
|
|
59
56
|
primarySaleContractAddress: string | undefined;
|
|
60
57
|
tokenId: string | undefined;
|
|
61
58
|
}];
|
|
62
|
-
declare function primarySaleItemQueryOptions(params: PrimarySaleItemQueryOptions):
|
|
59
|
+
declare function primarySaleItemQueryOptions(params: PrimarySaleItemQueryOptions): _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseQueryOptions<CollectiblePrimarySaleItem, Error, CollectiblePrimarySaleItem, readonly ["primarySaleItem", {
|
|
63
60
|
chainId: string;
|
|
64
61
|
primarySaleContractAddress: string | undefined;
|
|
65
62
|
tokenId: string | undefined;
|
|
66
63
|
}]>, "queryFn"> & {
|
|
67
|
-
queryFn?:
|
|
64
|
+
queryFn?: _tanstack_react_query385.QueryFunction<CollectiblePrimarySaleItem, readonly ["primarySaleItem", {
|
|
68
65
|
chainId: string;
|
|
69
66
|
primarySaleContractAddress: string | undefined;
|
|
70
67
|
tokenId: string | undefined;
|
|
@@ -100,7 +97,7 @@ declare function getListPrimarySaleItemsQueryKey(params: ListPrimarySaleItemsQue
|
|
|
100
97
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
101
98
|
filter: PrimarySaleItemsFilter | undefined;
|
|
102
99
|
}];
|
|
103
|
-
declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQueryOptions) =>
|
|
100
|
+
declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQueryOptions) => _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseInfiniteQueryOptions<ListPrimarySaleItemsReturn, Error, _tanstack_react_query385.InfiniteData<ListPrimarySaleItemsReturn, unknown>, readonly ["listPrimarySaleItems", {
|
|
104
101
|
chainId: string;
|
|
105
102
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
106
103
|
filter: PrimarySaleItemsFilter | undefined;
|
|
@@ -108,7 +105,7 @@ declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQue
|
|
|
108
105
|
page: number;
|
|
109
106
|
pageSize: number;
|
|
110
107
|
}>, "queryFn"> & {
|
|
111
|
-
queryFn?:
|
|
108
|
+
queryFn?: _tanstack_react_query385.QueryFunction<ListPrimarySaleItemsReturn, readonly ["listPrimarySaleItems", {
|
|
112
109
|
chainId: string;
|
|
113
110
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
114
111
|
filter: PrimarySaleItemsFilter | undefined;
|
|
@@ -122,7 +119,7 @@ declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQue
|
|
|
122
119
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
123
120
|
filter: PrimarySaleItemsFilter | undefined;
|
|
124
121
|
}] & {
|
|
125
|
-
[dataTagSymbol]:
|
|
122
|
+
[dataTagSymbol]: _tanstack_react_query385.InfiniteData<ListPrimarySaleItemsReturn, unknown>;
|
|
126
123
|
[dataTagErrorSymbol]: Error;
|
|
127
124
|
};
|
|
128
125
|
};
|
|
@@ -146,12 +143,12 @@ declare function getPrimarySaleItemsCountQueryKey(args: PrimarySaleItemsCountQue
|
|
|
146
143
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
147
144
|
filter: PrimarySaleItemsFilter | undefined;
|
|
148
145
|
}];
|
|
149
|
-
declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQueryOptions) =>
|
|
146
|
+
declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQueryOptions) => _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseQueryOptions<GetCountOfPrimarySaleItemsReturn, Error, GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
|
|
150
147
|
chainId: string;
|
|
151
148
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
152
149
|
filter: PrimarySaleItemsFilter | undefined;
|
|
153
150
|
}]>, "queryFn"> & {
|
|
154
|
-
queryFn?:
|
|
151
|
+
queryFn?: _tanstack_react_query385.QueryFunction<GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
|
|
155
152
|
chainId: string;
|
|
156
153
|
primarySaleContractAddress: `0x${string}` | undefined;
|
|
157
154
|
filter: PrimarySaleItemsFilter | undefined;
|
|
@@ -167,5 +164,5 @@ declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQue
|
|
|
167
164
|
};
|
|
168
165
|
};
|
|
169
166
|
//#endregion
|
|
170
|
-
export {
|
|
171
|
-
//# sourceMappingURL=
|
|
167
|
+
export { countOfPrimarySaleItemsOptions as _, primarySaleItemsCountQueryOptions as a, fetchPrimarySaleItems as c, FetchPrimarySaleItemParams as d, PrimarySaleItemQueryOptions as f, UseCountOfPrimarySaleItemsArgs as g, primarySaleItemQueryOptions as h, getPrimarySaleItemsCountQueryKey as i, getListPrimarySaleItemsQueryKey as l, getPrimarySaleItemQueryKey as m, PrimarySaleItemsCountQueryOptions as n, FetchPrimarySaleItemsParams as o, fetchPrimarySaleItem as p, fetchPrimarySaleItemsCount as r, ListPrimarySaleItemsQueryOptions as s, FetchPrimarySaleItemsCountParams as t, listPrimarySaleItemsQueryOptions as u, fetchCountOfPrimarySaleItems as v, getCountOfPrimarySaleItemsQueryKey as y };
|
|
168
|
+
//# sourceMappingURL=index19.d.ts.map
|
|
@@ -3,5 +3,5 @@ declare const SEQUENCE_MARKET_V1_ADDRESS = "0xB537a160472183f2150d42EB1c3DD6684A
|
|
|
3
3
|
declare const SEQUENCE_MARKET_V2_ADDRESS = "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712";
|
|
4
4
|
declare const DEFAULT_MARKETPLACE_FEE_PERCENTAGE = 2.5;
|
|
5
5
|
//#endregion
|
|
6
|
-
export {
|
|
7
|
-
//# sourceMappingURL=
|
|
6
|
+
export { SEQUENCE_MARKET_V1_ADDRESS as n, SEQUENCE_MARKET_V2_ADDRESS as r, DEFAULT_MARKETPLACE_FEE_PERCENTAGE as t };
|
|
7
|
+
//# sourceMappingURL=index2.d.ts.map
|