@0xsequence/marketplace-sdk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ctirc +32 -0
- package/dist/{chunk-TZGLKJRF.js → chunk-4E34HVSA.js} +2 -2
- package/dist/chunk-5EOVZAKT.js +1325 -0
- package/dist/chunk-5EOVZAKT.js.map +1 -0
- package/dist/{chunk-RNUHUVLC.js → chunk-6JWGELXL.js} +1 -1
- package/dist/chunk-6JWGELXL.js.map +1 -0
- package/dist/{chunk-SNOEEUPZ.js → chunk-CSN7YD5Q.js} +2 -2
- package/dist/chunk-CSN7YD5Q.js.map +1 -0
- package/dist/{chunk-G3YU4NQ2.js → chunk-FCQCNLFZ.js} +1 -1
- package/dist/chunk-FCQCNLFZ.js.map +1 -0
- package/dist/{chunk-HGBEC3WX.js → chunk-GZIA25G4.js} +1 -1
- package/dist/chunk-GZIA25G4.js.map +1 -0
- package/dist/{chunk-GNB736ZE.js → chunk-MD4JHPMH.js} +318 -261
- package/dist/chunk-MD4JHPMH.js.map +1 -0
- package/dist/{chunk-EDTC7UES.js → chunk-NII6JJGH.js} +9 -4
- package/dist/chunk-NII6JJGH.js.map +1 -0
- package/dist/{chunk-BBB3XUB4.js → chunk-PE2LLUTJ.js} +1 -1
- package/dist/chunk-PE2LLUTJ.js.map +1 -0
- package/dist/{chunk-7CL54NCX.js → chunk-Q2BVDQ3G.js} +1 -1
- package/dist/chunk-Q2BVDQ3G.js.map +1 -0
- package/dist/{chunk-3TYUQEFM.js → chunk-VEX7FDL6.js} +2 -2
- package/dist/chunk-VEX7FDL6.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/react/_internal/api/index.d.ts +1 -1
- package/dist/react/_internal/api/index.js +1 -1
- package/dist/react/_internal/index.d.ts +2 -2
- package/dist/react/_internal/index.js +8 -8
- package/dist/react/_internal/wagmi/index.d.ts +2 -2
- package/dist/react/_internal/wagmi/index.js +1 -1
- package/dist/react/hooks/index.d.ts +336 -10
- package/dist/react/hooks/index.js +26 -20
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +34 -28
- package/dist/react/ssr/index.d.ts +24 -24
- package/dist/react/ssr/index.js +11 -4
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/icons/index.js +2 -2
- package/dist/react/ui/index.d.ts +43 -38
- package/dist/react/ui/index.js +9 -9
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +4 -4
- package/dist/{services-BIwQ1C1c.d.ts → services-Dei25J6_.d.ts} +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/types/index.js +3 -3
- package/dist/utils/abi/clients/index.js +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +18 -25
- package/src/react/_internal/api/marketplace.gen.ts +4 -1
- package/src/react/_internal/types.ts +1 -1
- package/src/react/_internal/wagmi/create-config.ts +9 -3
- package/src/react/_internal/wagmi/embedded.ts +1 -1
- package/src/react/_internal/wagmi/universal.ts +1 -1
- package/src/react/hooks/index.ts +2 -0
- package/src/react/hooks/options/marketplaceConfigOptions.ts +2 -2
- package/src/react/hooks/useBalanceOfCollectible.tsx +10 -9
- package/src/react/hooks/useCheckoutOptions.tsx +63 -0
- package/src/react/hooks/useCollectible.tsx +4 -4
- package/src/react/hooks/useCollection.tsx +30 -30
- package/src/react/hooks/useCountOfCollectables.tsx +52 -52
- package/src/react/hooks/useCurrencies.tsx +60 -60
- package/src/react/hooks/useFilters.tsx +4 -4
- package/src/react/hooks/useFloorOrder.tsx +4 -4
- package/src/react/hooks/useGenerateListingTransaction.tsx +8 -7
- package/src/react/hooks/useGenerateOfferTransaction.tsx +5 -5
- package/src/react/hooks/useGenerateSellTransaction.tsx +4 -4
- package/src/react/hooks/useHighestOffer.tsx +4 -4
- package/src/react/hooks/useListBalances.tsx +4 -4
- package/src/react/hooks/useListCollectibles.tsx +4 -4
- package/src/react/hooks/useListOffersForCollectible.tsx +5 -4
- package/src/react/hooks/useLowestListing.tsx +4 -4
- package/src/react/hooks/useRoyaltyPercentage.tsx +6 -6
- package/src/react/hooks/useTransferTokens.tsx +1 -1
- package/src/react/provider.tsx +1 -1
- package/src/react/ssr/create-ssr-client.ts +1 -1
- package/src/react/ui/modals/CreateListingModal/_store.ts +37 -38
- package/src/react/ui/modals/CreateListingModal/index.tsx +152 -131
- package/src/react/ui/modals/MakeOfferModal/_store.ts +35 -37
- package/src/react/ui/modals/MakeOfferModal/index.tsx +25 -4
- package/src/react/ui/modals/SellModal/_store.ts +48 -51
- package/src/react/ui/modals/SellModal/index.tsx +27 -6
- package/src/react/ui/modals/SuccessfulPurchaseModal/_store.ts +1 -1
- package/src/react/ui/modals/SuccessfulPurchaseModal/index.tsx +14 -14
- package/src/react/ui/modals/TransferModal/_store.ts +11 -11
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +92 -90
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +114 -0
- package/src/react/ui/modals/TransferModal/_views/followWalletInstructions/index.tsx +0 -96
- package/src/react/ui/modals/TransferModal/index.tsx +24 -3
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +1 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -3
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +2 -2
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +4 -4
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +4 -4
- package/src/react/ui/modals/_internal/components/switchChainModal/store.ts +4 -4
- package/src/react/ui/modals/_internal/components/tokenPreview/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +5 -3
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +3 -3
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +35 -2
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +10 -2
- package/src/types/api-types.ts +2 -2
- package/src/types/callbacks.ts +51 -0
- package/src/types/types.ts +1 -1
- package/src/utils/get-public-rpc-client.ts +1 -1
- package/tsconfig.json +24 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/tsup.config.ts +35 -0
- package/README.md +0 -8
- package/dist/chunk-3TYUQEFM.js.map +0 -1
- package/dist/chunk-7CL54NCX.js.map +0 -1
- package/dist/chunk-BBB3XUB4.js.map +0 -1
- package/dist/chunk-EDTC7UES.js.map +0 -1
- package/dist/chunk-G3YU4NQ2.js.map +0 -1
- package/dist/chunk-GNB736ZE.js.map +0 -1
- package/dist/chunk-HGBEC3WX.js.map +0 -1
- package/dist/chunk-ITJEOCDV.js +0 -1006
- package/dist/chunk-ITJEOCDV.js.map +0 -1
- package/dist/chunk-M4MXVMAM.js +0 -271
- package/dist/chunk-M4MXVMAM.js.map +0 -1
- package/dist/chunk-RNUHUVLC.js.map +0 -1
- package/dist/chunk-SNOEEUPZ.js.map +0 -1
- package/dist/{chunk-TZGLKJRF.js.map → chunk-4E34HVSA.js.map} +0 -0
- package/dist/{create-config-Cto2ehcz.d.ts → create-config-CgtmCzvb.d.ts} +1 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ERC20,
|
|
12
12
|
ERC721,
|
|
13
13
|
getPublicRpcClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6JWGELXL.js";
|
|
15
15
|
import {
|
|
16
16
|
EIP2981_ABI
|
|
17
17
|
} from "./chunk-DBFOPEV6.js";
|
|
@@ -21,7 +21,8 @@ import {
|
|
|
21
21
|
ERC20_ABI,
|
|
22
22
|
ERC721_ABI
|
|
23
23
|
} from "./chunk-O5JXKTWP.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-Q2BVDQ3G.js";
|
|
25
|
+
import "./chunk-NII6JJGH.js";
|
|
25
26
|
import {
|
|
26
27
|
CollectibleStatus,
|
|
27
28
|
CollectionStatus,
|
|
@@ -38,8 +39,7 @@ import {
|
|
|
38
39
|
StepType,
|
|
39
40
|
TransactionCrypto,
|
|
40
41
|
WalletKind
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-EDTC7UES.js";
|
|
42
|
+
} from "./chunk-GZIA25G4.js";
|
|
43
43
|
|
|
44
44
|
// src/consts.ts
|
|
45
45
|
var SEQUENCE_MARKET_V1_ADDRESS = "0xB537a160472183f2150d42EB1c3DD6684A55f74c";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { g as getQueryClient } from '../../../get-query-client-D46hbjk6.js';
|
|
2
|
-
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../../services-
|
|
2
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../../services-Dei25J6_.js';
|
|
3
3
|
export { q as Activity, y as AdditionalFee, $ as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bb as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bc as CheckoutOptionsMarketplaceReturn, bd as CheckoutOptionsSalesContractArgs, be as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, l as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, d as CollectionStatus, C as ContractType, a0 as CreateCollectionArgs, a1 as CreateCollectionReturn, ac as CreateCurrenciesArgs, ad as CreateCurrenciesReturn, aa as CreateCurrencyArgs, ab as CreateCurrencyReturn, D as CreateReq, w as Currency, a6 as DeleteCollectionArgs, a7 as DeleteCollectionReturn, ai as DeleteCurrencyArgs, aj as DeleteCurrencyReturn, I as Domain, aT as ExecuteArgs, aU as ExecuteReturn, E as ExecuteType, n as FeeBreakdown, bE as Fetch, F as Filter, aL as GenerateBuyTransactionArgs, aM as GenerateBuyTransactionReturn, aP as GenerateListingTransactionArgs, aQ as GenerateListingTransactionReturn, aR as GenerateOfferTransactionArgs, aS as GenerateOfferTransactionReturn, aN as GenerateSellTransactionArgs, aO as GenerateSellTransactionReturn, al as GetCollectibleArgs, aF as GetCollectibleHighestListingArgs, aG as GetCollectibleHighestListingReturn, aB as GetCollectibleHighestOfferArgs, aC as GetCollectibleHighestOfferReturn, aD as GetCollectibleLowestListingArgs, aE as GetCollectibleLowestListingReturn, az as GetCollectibleLowestOfferArgs, aA as GetCollectibleLowestOfferReturn, am as GetCollectibleReturn, a2 as GetCollectionArgs, a3 as GetCollectionReturn, aX as GetCountOfAllCollectiblesArgs, aY as GetCountOfAllCollectiblesReturn, aZ as GetCountOfFilteredCollectiblesArgs, a_ as GetCountOfFilteredCollectiblesReturn, a$ as GetFloorOrderArgs, b0 as GetFloorOrderReturn, at as GetHighestPriceListingForCollectibleArgs, au as GetHighestPriceListingForCollectibleReturn, ap as GetHighestPriceOfferForCollectibleArgs, aq as GetHighestPriceOfferForCollectibleReturn, ar as GetLowestPriceListingForCollectibleArgs, as as GetLowestPriceListingForCollectibleReturn, an as GetLowestPriceOfferForCollectibleArgs, ao as GetLowestPriceOfferForCollectibleReturn, b9 as GetOrdersArgs, G as GetOrdersInput, ba as GetOrdersReturn, bw as InvalidArgumentError, bA as InvalidTierError, aH as ListCollectibleListingsArgs, aI as ListCollectibleListingsReturn, aJ as ListCollectibleOffersArgs, aK as ListCollectibleOffersReturn, aV as ListCollectiblesArgs, aW as ListCollectiblesReturn, b3 as ListCollectiblesWithHighestOfferArgs, b4 as ListCollectiblesWithHighestOfferReturn, b1 as ListCollectiblesWithLowestListingArgs, b2 as ListCollectiblesWithLowestListingReturn, a4 as ListCollectionsArgs, a5 as ListCollectionsReturn, ag as ListCurrenciesArgs, ah as ListCurrenciesReturn, av as ListListingsForCollectibleArgs, aw as ListListingsForCollectibleReturn, ax as ListOffersForCollectibleArgs, ay as ListOffersForCollectibleReturn, ak as Marketplace, M as MarketplaceKind, bu as MethodNotFoundError, bx as NotFoundError, bC as NotImplementedError, m as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bs as PermissionDeniedError, B as PostRequest, u as Project, bB as ProjectLimitReachedError, bz as ProjectNotFoundError, e as ProjectStatus, k as PropertyFilter, P as PropertyType, bt as SessionExpiredError, H as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, a8 as SyncCollectionArgs, a9 as SyncCollectionReturn, b5 as SyncOrderArgs, b6 as SyncOrderReturn, b7 as SyncOrdersArgs, b8 as SyncOrdersReturn, bv as TimeoutError, h as TokenMetadata, T as TransactionCrypto, Y as TransactionNFTCheckoutProvider, Z as TransactionOnRampProvider, _ as TransactionSwapProvider, br as UnauthorizedError, ae as UpdateCurrencyArgs, af as UpdateCurrencyReturn, by as UserNotFoundError, X as VersionFromHeader, W as WalletKind, V as WebRPCSchemaHash, U as WebRPCSchemaVersion, R as WebRPCVersion, bj as WebrpcBadMethodError, bk as WebrpcBadRequestError, bl as WebrpcBadResponseError, bi as WebrpcBadRouteError, bo as WebrpcClientDisconnectedError, bg as WebrpcEndpointError, bf as WebrpcError, N as WebrpcHeader, Q as WebrpcHeaderValue, bn as WebrpcInternalErrorError, bh as WebrpcRequestFailedError, bm as WebrpcServerPanicError, bq as WebrpcStreamFinishedError, bp as WebrpcStreamLostError, bD as errors } from '../../../marketplace.gen-Ceofb9Cs.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@0xsequence/indexer';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { A as AddressSchema, c as ChainId, b as ChainIdSchema, C as CollectableIdSchema, d as CollectionType, a as QueryArg, Q as QueryArgSchema } from '../../types-BzZVURNL.js';
|
|
2
2
|
export { g as getQueryClient } from '../../get-query-client-D46hbjk6.js';
|
|
3
|
-
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../services-
|
|
3
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../services-Dei25J6_.js';
|
|
4
4
|
export { q as Activity, y as AdditionalFee, $ as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bb as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bc as CheckoutOptionsMarketplaceReturn, bd as CheckoutOptionsSalesContractArgs, be as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, l as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, d as CollectionStatus, C as ContractType, a0 as CreateCollectionArgs, a1 as CreateCollectionReturn, ac as CreateCurrenciesArgs, ad as CreateCurrenciesReturn, aa as CreateCurrencyArgs, ab as CreateCurrencyReturn, D as CreateReq, w as Currency, a6 as DeleteCollectionArgs, a7 as DeleteCollectionReturn, ai as DeleteCurrencyArgs, aj as DeleteCurrencyReturn, I as Domain, aT as ExecuteArgs, aU as ExecuteReturn, E as ExecuteType, n as FeeBreakdown, bE as Fetch, F as Filter, aL as GenerateBuyTransactionArgs, aM as GenerateBuyTransactionReturn, aP as GenerateListingTransactionArgs, aQ as GenerateListingTransactionReturn, aR as GenerateOfferTransactionArgs, aS as GenerateOfferTransactionReturn, aN as GenerateSellTransactionArgs, aO as GenerateSellTransactionReturn, al as GetCollectibleArgs, aF as GetCollectibleHighestListingArgs, aG as GetCollectibleHighestListingReturn, aB as GetCollectibleHighestOfferArgs, aC as GetCollectibleHighestOfferReturn, aD as GetCollectibleLowestListingArgs, aE as GetCollectibleLowestListingReturn, az as GetCollectibleLowestOfferArgs, aA as GetCollectibleLowestOfferReturn, am as GetCollectibleReturn, a2 as GetCollectionArgs, a3 as GetCollectionReturn, aX as GetCountOfAllCollectiblesArgs, aY as GetCountOfAllCollectiblesReturn, aZ as GetCountOfFilteredCollectiblesArgs, a_ as GetCountOfFilteredCollectiblesReturn, a$ as GetFloorOrderArgs, b0 as GetFloorOrderReturn, at as GetHighestPriceListingForCollectibleArgs, au as GetHighestPriceListingForCollectibleReturn, ap as GetHighestPriceOfferForCollectibleArgs, aq as GetHighestPriceOfferForCollectibleReturn, ar as GetLowestPriceListingForCollectibleArgs, as as GetLowestPriceListingForCollectibleReturn, an as GetLowestPriceOfferForCollectibleArgs, ao as GetLowestPriceOfferForCollectibleReturn, b9 as GetOrdersArgs, G as GetOrdersInput, ba as GetOrdersReturn, bw as InvalidArgumentError, bA as InvalidTierError, aH as ListCollectibleListingsArgs, aI as ListCollectibleListingsReturn, aJ as ListCollectibleOffersArgs, aK as ListCollectibleOffersReturn, aV as ListCollectiblesArgs, aW as ListCollectiblesReturn, b3 as ListCollectiblesWithHighestOfferArgs, b4 as ListCollectiblesWithHighestOfferReturn, b1 as ListCollectiblesWithLowestListingArgs, b2 as ListCollectiblesWithLowestListingReturn, a4 as ListCollectionsArgs, a5 as ListCollectionsReturn, ag as ListCurrenciesArgs, ah as ListCurrenciesReturn, av as ListListingsForCollectibleArgs, aw as ListListingsForCollectibleReturn, ax as ListOffersForCollectibleArgs, ay as ListOffersForCollectibleReturn, ak as Marketplace, M as MarketplaceKind, bu as MethodNotFoundError, bx as NotFoundError, bC as NotImplementedError, m as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bs as PermissionDeniedError, B as PostRequest, u as Project, bB as ProjectLimitReachedError, bz as ProjectNotFoundError, e as ProjectStatus, k as PropertyFilter, P as PropertyType, bt as SessionExpiredError, H as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, a8 as SyncCollectionArgs, a9 as SyncCollectionReturn, b5 as SyncOrderArgs, b6 as SyncOrderReturn, b7 as SyncOrdersArgs, b8 as SyncOrdersReturn, bv as TimeoutError, h as TokenMetadata, T as TransactionCrypto, Y as TransactionNFTCheckoutProvider, Z as TransactionOnRampProvider, _ as TransactionSwapProvider, br as UnauthorizedError, ae as UpdateCurrencyArgs, af as UpdateCurrencyReturn, by as UserNotFoundError, X as VersionFromHeader, W as WalletKind, V as WebRPCSchemaHash, U as WebRPCSchemaVersion, R as WebRPCVersion, bj as WebrpcBadMethodError, bk as WebrpcBadRequestError, bl as WebrpcBadResponseError, bi as WebrpcBadRouteError, bo as WebrpcClientDisconnectedError, bg as WebrpcEndpointError, bf as WebrpcError, N as WebrpcHeader, Q as WebrpcHeaderValue, bn as WebrpcInternalErrorError, bh as WebrpcRequestFailedError, bm as WebrpcServerPanicError, bq as WebrpcStreamFinishedError, bp as WebrpcStreamLostError, bD as errors } from '../../marketplace.gen-Ceofb9Cs.js';
|
|
5
5
|
export { balanceQueries, checkoutKeys, collectableKeys, collectionKeys, configKeys, currencyKeys } from './api/index.js';
|
|
6
|
-
export { c as createWagmiConfig } from '../../create-config-
|
|
6
|
+
export { c as createWagmiConfig } from '../../create-config-CgtmCzvb.js';
|
|
7
7
|
export { getUniversalConnectors, getWaasConnectors } from './wagmi/index.js';
|
|
8
8
|
import '@0xsequence/network';
|
|
9
9
|
import 'zod';
|
|
@@ -6,7 +6,13 @@ import {
|
|
|
6
6
|
PROVIDER_ID,
|
|
7
7
|
QueryArgSchema,
|
|
8
8
|
getProviderEl
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-Q2BVDQ3G.js";
|
|
10
|
+
import {
|
|
11
|
+
DEFAULT_NETWORK,
|
|
12
|
+
createWagmiConfig,
|
|
13
|
+
getUniversalConnectors,
|
|
14
|
+
getWaasConnectors
|
|
15
|
+
} from "../../chunk-NII6JJGH.js";
|
|
10
16
|
import {
|
|
11
17
|
Admin,
|
|
12
18
|
CollectibleStatus,
|
|
@@ -72,13 +78,7 @@ import {
|
|
|
72
78
|
getMetadataClient,
|
|
73
79
|
getQueryClient,
|
|
74
80
|
imageProxy
|
|
75
|
-
} from "../../chunk-
|
|
76
|
-
import {
|
|
77
|
-
DEFAULT_NETWORK,
|
|
78
|
-
createWagmiConfig,
|
|
79
|
-
getUniversalConnectors,
|
|
80
|
-
getWaasConnectors
|
|
81
|
-
} from "../../chunk-EDTC7UES.js";
|
|
81
|
+
} from "../../chunk-GZIA25G4.js";
|
|
82
82
|
export {
|
|
83
83
|
AddressSchema,
|
|
84
84
|
Admin,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createWagmiConfig } from '../../../create-config-
|
|
2
|
-
import { S as SdkConfig } from '../../../sdk-config-xWkdBdrL.js';
|
|
1
|
+
export { c as createWagmiConfig } from '../../../create-config-CgtmCzvb.js';
|
|
3
2
|
import { CreateConnectorFn } from 'wagmi';
|
|
3
|
+
import { S as SdkConfig } from '../../../sdk-config-xWkdBdrL.js';
|
|
4
4
|
import { M as MarketplaceConfig } from '../../../marketplace-config-Bbxl-uKX.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import '@0xsequence/network';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import * as _0xsequence_indexer from '@0xsequence/indexer';
|
|
3
|
-
import {
|
|
3
|
+
import { SortOrder, Page } from '@0xsequence/indexer';
|
|
4
4
|
import * as _0xsequence_network from '@0xsequence/network';
|
|
5
|
-
import { Q as QueryArgSchema, c as ChainId } from '../../types-BzZVURNL.js';
|
|
6
|
-
import { S as SdkConfig } from '../../sdk-config-xWkdBdrL.js';
|
|
7
5
|
import { Hex, Address } from 'viem';
|
|
8
6
|
import { z } from 'zod';
|
|
9
|
-
import {
|
|
7
|
+
import { Q as QueryArgSchema, c as ChainId } from '../../types-BzZVURNL.js';
|
|
8
|
+
import { S as SdkConfig } from '../../sdk-config-xWkdBdrL.js';
|
|
9
|
+
import { P as PropertyType, M as MarketplaceKind, b as OrderSide, w as Currency, o as CollectibleOrder, aC as GetCollectibleHighestOfferReturn, S as SortOrder$1, i as Page$1, aW as ListCollectiblesReturn, aK as ListCollectibleOffersReturn, aE as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, aP as GenerateListingTransactionArgs, aR as GenerateOfferTransactionArgs, aN as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, C as ContractType, bc as CheckoutOptionsMarketplaceReturn } from '../../marketplace.gen-Ceofb9Cs.js';
|
|
10
10
|
import * as _0xsequence_metadata from '@0xsequence/metadata';
|
|
11
|
-
import { c as getMarketplaceClient, S as SequenceMarketplace } from '../../services-
|
|
11
|
+
import { c as getMarketplaceClient, S as SequenceMarketplace } from '../../services-Dei25J6_.js';
|
|
12
12
|
import { M as MarketplaceConfig } from '../../marketplace-config-Bbxl-uKX.js';
|
|
13
13
|
|
|
14
14
|
declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
|
|
@@ -29,13 +29,13 @@ declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
|
|
|
29
29
|
}>;
|
|
30
30
|
type FetchBalanceOfCollectibleArgs = z.input<typeof fetchBalanceOfCollectibleSchema>;
|
|
31
31
|
interface BalanceOfCollectibleOptions extends Omit<FetchBalanceOfCollectibleArgs, 'userAddress'> {
|
|
32
|
-
userAddress
|
|
32
|
+
userAddress: Hex | undefined;
|
|
33
33
|
query?: z.infer<typeof QueryArgSchema>;
|
|
34
34
|
}
|
|
35
|
-
declare const balanceOfCollectibleOptions: (args: BalanceOfCollectibleOptions, config: SdkConfig) => _tanstack_react_query.UseQueryOptions<_0xsequence_indexer.TokenBalance, Error, _0xsequence_indexer.TokenBalance, ("collectable" | "details" | "userBalances" |
|
|
35
|
+
declare const balanceOfCollectibleOptions: (args: BalanceOfCollectibleOptions, config: SdkConfig) => _tanstack_react_query.UseQueryOptions<_0xsequence_indexer.TokenBalance, Error, _0xsequence_indexer.TokenBalance, ("collectable" | "details" | "userBalances" | BalanceOfCollectibleOptions)[]> & {
|
|
36
36
|
initialData?: _0xsequence_indexer.TokenBalance | _tanstack_react_query.InitialDataFunction<_0xsequence_indexer.TokenBalance> | undefined;
|
|
37
37
|
} & {
|
|
38
|
-
queryKey: _tanstack_react_query.DataTag<("collectable" | "details" | "userBalances" |
|
|
38
|
+
queryKey: _tanstack_react_query.DataTag<("collectable" | "details" | "userBalances" | BalanceOfCollectibleOptions)[], _0xsequence_indexer.TokenBalance>;
|
|
39
39
|
};
|
|
40
40
|
declare const useBalanceOfCollectible: (args: BalanceOfCollectibleOptions) => _tanstack_react_query.UseQueryResult<_0xsequence_indexer.TokenBalance, Error>;
|
|
41
41
|
|
|
@@ -1540,7 +1540,6 @@ type UseGenerateOfferTransactionArgs = {
|
|
|
1540
1540
|
chainId: ChainId;
|
|
1541
1541
|
onSuccess?: (data?: Step[]) => void;
|
|
1542
1542
|
};
|
|
1543
|
-
|
|
1544
1543
|
type CreateReqWithDateExpiry = Omit<CreateReq, 'expiry'> & {
|
|
1545
1544
|
expiry: Date;
|
|
1546
1545
|
};
|
|
@@ -1618,6 +1617,236 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
|
|
|
1618
1617
|
submittedAt: number;
|
|
1619
1618
|
};
|
|
1620
1619
|
|
|
1620
|
+
declare const UserGeneratSellTransactionArgsSchema: z.ZodObject<{
|
|
1621
|
+
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
1622
|
+
onSuccess: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1623
|
+
id: z.ZodNativeEnum<typeof StepType>;
|
|
1624
|
+
data: z.ZodString;
|
|
1625
|
+
to: z.ZodString;
|
|
1626
|
+
value: z.ZodString;
|
|
1627
|
+
signature: z.ZodOptional<z.ZodObject<{
|
|
1628
|
+
domain: z.ZodObject<{
|
|
1629
|
+
name: z.ZodString;
|
|
1630
|
+
version: z.ZodString;
|
|
1631
|
+
chainId: z.ZodNumber;
|
|
1632
|
+
verifyingContract: z.ZodString;
|
|
1633
|
+
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
version: string;
|
|
1635
|
+
chainId: number;
|
|
1636
|
+
name: string;
|
|
1637
|
+
verifyingContract: string;
|
|
1638
|
+
}, {
|
|
1639
|
+
version: string;
|
|
1640
|
+
chainId: number;
|
|
1641
|
+
name: string;
|
|
1642
|
+
verifyingContract: string;
|
|
1643
|
+
}>;
|
|
1644
|
+
types: z.ZodAny;
|
|
1645
|
+
primaryType: z.ZodString;
|
|
1646
|
+
value: z.ZodAny;
|
|
1647
|
+
}, "strip", z.ZodTypeAny, {
|
|
1648
|
+
domain: {
|
|
1649
|
+
version: string;
|
|
1650
|
+
chainId: number;
|
|
1651
|
+
name: string;
|
|
1652
|
+
verifyingContract: string;
|
|
1653
|
+
};
|
|
1654
|
+
primaryType: string;
|
|
1655
|
+
value?: any;
|
|
1656
|
+
types?: any;
|
|
1657
|
+
}, {
|
|
1658
|
+
domain: {
|
|
1659
|
+
version: string;
|
|
1660
|
+
chainId: number;
|
|
1661
|
+
name: string;
|
|
1662
|
+
verifyingContract: string;
|
|
1663
|
+
};
|
|
1664
|
+
primaryType: string;
|
|
1665
|
+
value?: any;
|
|
1666
|
+
types?: any;
|
|
1667
|
+
}>>;
|
|
1668
|
+
post: z.ZodOptional<z.ZodObject<{
|
|
1669
|
+
endpoint: z.ZodString;
|
|
1670
|
+
method: z.ZodString;
|
|
1671
|
+
body: z.ZodAny;
|
|
1672
|
+
}, "strip", z.ZodTypeAny, {
|
|
1673
|
+
method: string;
|
|
1674
|
+
endpoint: string;
|
|
1675
|
+
body?: any;
|
|
1676
|
+
}, {
|
|
1677
|
+
method: string;
|
|
1678
|
+
endpoint: string;
|
|
1679
|
+
body?: any;
|
|
1680
|
+
}>>;
|
|
1681
|
+
executeType: z.ZodOptional<z.ZodNativeEnum<typeof ExecuteType>>;
|
|
1682
|
+
}, "strip", z.ZodTypeAny, {
|
|
1683
|
+
value: string;
|
|
1684
|
+
id: StepType;
|
|
1685
|
+
to: string;
|
|
1686
|
+
data: string;
|
|
1687
|
+
signature?: {
|
|
1688
|
+
domain: {
|
|
1689
|
+
version: string;
|
|
1690
|
+
chainId: number;
|
|
1691
|
+
name: string;
|
|
1692
|
+
verifyingContract: string;
|
|
1693
|
+
};
|
|
1694
|
+
primaryType: string;
|
|
1695
|
+
value?: any;
|
|
1696
|
+
types?: any;
|
|
1697
|
+
} | undefined;
|
|
1698
|
+
executeType?: ExecuteType | undefined;
|
|
1699
|
+
post?: {
|
|
1700
|
+
method: string;
|
|
1701
|
+
endpoint: string;
|
|
1702
|
+
body?: any;
|
|
1703
|
+
} | undefined;
|
|
1704
|
+
}, {
|
|
1705
|
+
value: string;
|
|
1706
|
+
id: StepType;
|
|
1707
|
+
to: string;
|
|
1708
|
+
data: string;
|
|
1709
|
+
signature?: {
|
|
1710
|
+
domain: {
|
|
1711
|
+
version: string;
|
|
1712
|
+
chainId: number;
|
|
1713
|
+
name: string;
|
|
1714
|
+
verifyingContract: string;
|
|
1715
|
+
};
|
|
1716
|
+
primaryType: string;
|
|
1717
|
+
value?: any;
|
|
1718
|
+
types?: any;
|
|
1719
|
+
} | undefined;
|
|
1720
|
+
executeType?: ExecuteType | undefined;
|
|
1721
|
+
post?: {
|
|
1722
|
+
method: string;
|
|
1723
|
+
endpoint: string;
|
|
1724
|
+
body?: any;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
}>, "many">>], z.ZodUnknown>, z.ZodUnknown>>;
|
|
1727
|
+
}, "strip", z.ZodTypeAny, {
|
|
1728
|
+
chainId: string;
|
|
1729
|
+
onSuccess?: ((args_0: {
|
|
1730
|
+
value: string;
|
|
1731
|
+
id: StepType;
|
|
1732
|
+
to: string;
|
|
1733
|
+
data: string;
|
|
1734
|
+
signature?: {
|
|
1735
|
+
domain: {
|
|
1736
|
+
version: string;
|
|
1737
|
+
chainId: number;
|
|
1738
|
+
name: string;
|
|
1739
|
+
verifyingContract: string;
|
|
1740
|
+
};
|
|
1741
|
+
primaryType: string;
|
|
1742
|
+
value?: any;
|
|
1743
|
+
types?: any;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
executeType?: ExecuteType | undefined;
|
|
1746
|
+
post?: {
|
|
1747
|
+
method: string;
|
|
1748
|
+
endpoint: string;
|
|
1749
|
+
body?: any;
|
|
1750
|
+
} | undefined;
|
|
1751
|
+
}[] | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1752
|
+
}, {
|
|
1753
|
+
chainId: string | number;
|
|
1754
|
+
onSuccess?: ((args_0: {
|
|
1755
|
+
value: string;
|
|
1756
|
+
id: StepType;
|
|
1757
|
+
to: string;
|
|
1758
|
+
data: string;
|
|
1759
|
+
signature?: {
|
|
1760
|
+
domain: {
|
|
1761
|
+
version: string;
|
|
1762
|
+
chainId: number;
|
|
1763
|
+
name: string;
|
|
1764
|
+
verifyingContract: string;
|
|
1765
|
+
};
|
|
1766
|
+
primaryType: string;
|
|
1767
|
+
value?: any;
|
|
1768
|
+
types?: any;
|
|
1769
|
+
} | undefined;
|
|
1770
|
+
executeType?: ExecuteType | undefined;
|
|
1771
|
+
post?: {
|
|
1772
|
+
method: string;
|
|
1773
|
+
endpoint: string;
|
|
1774
|
+
body?: any;
|
|
1775
|
+
} | undefined;
|
|
1776
|
+
}[] | undefined, ...args: unknown[]) => unknown) | undefined;
|
|
1777
|
+
}>;
|
|
1778
|
+
type UseGenerateSellTransactionArgs = z.infer<typeof UserGeneratSellTransactionArgsSchema>;
|
|
1779
|
+
declare const generateSellTransaction: (args: GenerateSellTransactionArgs, config: SdkConfig, chainId: ChainId) => Promise<Step[]>;
|
|
1780
|
+
declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArgs) => {
|
|
1781
|
+
generateSellTransaction: _tanstack_react_query.UseMutateFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1782
|
+
generateSellTransactionAsync: _tanstack_react_query.UseMutateAsyncFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1783
|
+
data: undefined;
|
|
1784
|
+
variables: undefined;
|
|
1785
|
+
error: null;
|
|
1786
|
+
isError: false;
|
|
1787
|
+
isIdle: true;
|
|
1788
|
+
isPending: false;
|
|
1789
|
+
isSuccess: false;
|
|
1790
|
+
status: "idle";
|
|
1791
|
+
reset: () => void;
|
|
1792
|
+
context: unknown;
|
|
1793
|
+
failureCount: number;
|
|
1794
|
+
failureReason: Error | null;
|
|
1795
|
+
isPaused: boolean;
|
|
1796
|
+
submittedAt: number;
|
|
1797
|
+
} | {
|
|
1798
|
+
generateSellTransaction: _tanstack_react_query.UseMutateFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1799
|
+
generateSellTransactionAsync: _tanstack_react_query.UseMutateAsyncFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1800
|
+
data: undefined;
|
|
1801
|
+
variables: GenerateSellTransactionArgs;
|
|
1802
|
+
error: null;
|
|
1803
|
+
isError: false;
|
|
1804
|
+
isIdle: false;
|
|
1805
|
+
isPending: true;
|
|
1806
|
+
isSuccess: false;
|
|
1807
|
+
status: "pending";
|
|
1808
|
+
reset: () => void;
|
|
1809
|
+
context: unknown;
|
|
1810
|
+
failureCount: number;
|
|
1811
|
+
failureReason: Error | null;
|
|
1812
|
+
isPaused: boolean;
|
|
1813
|
+
submittedAt: number;
|
|
1814
|
+
} | {
|
|
1815
|
+
generateSellTransaction: _tanstack_react_query.UseMutateFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1816
|
+
generateSellTransactionAsync: _tanstack_react_query.UseMutateAsyncFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1817
|
+
data: undefined;
|
|
1818
|
+
error: Error;
|
|
1819
|
+
variables: GenerateSellTransactionArgs;
|
|
1820
|
+
isError: true;
|
|
1821
|
+
isIdle: false;
|
|
1822
|
+
isPending: false;
|
|
1823
|
+
isSuccess: false;
|
|
1824
|
+
status: "error";
|
|
1825
|
+
reset: () => void;
|
|
1826
|
+
context: unknown;
|
|
1827
|
+
failureCount: number;
|
|
1828
|
+
failureReason: Error | null;
|
|
1829
|
+
isPaused: boolean;
|
|
1830
|
+
submittedAt: number;
|
|
1831
|
+
} | {
|
|
1832
|
+
generateSellTransaction: _tanstack_react_query.UseMutateFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1833
|
+
generateSellTransactionAsync: _tanstack_react_query.UseMutateAsyncFunction<Step[], Error, GenerateSellTransactionArgs, unknown>;
|
|
1834
|
+
data: Step[];
|
|
1835
|
+
error: null;
|
|
1836
|
+
variables: GenerateSellTransactionArgs;
|
|
1837
|
+
isError: false;
|
|
1838
|
+
isIdle: false;
|
|
1839
|
+
isPending: false;
|
|
1840
|
+
isSuccess: true;
|
|
1841
|
+
status: "success";
|
|
1842
|
+
reset: () => void;
|
|
1843
|
+
context: unknown;
|
|
1844
|
+
failureCount: number;
|
|
1845
|
+
failureReason: Error | null;
|
|
1846
|
+
isPaused: boolean;
|
|
1847
|
+
submittedAt: number;
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1621
1850
|
interface BaseTransferParams {
|
|
1622
1851
|
chainId: ChainId;
|
|
1623
1852
|
collectionAddress: Hex;
|
|
@@ -1640,4 +1869,101 @@ declare const useTransferTokens: () => {
|
|
|
1640
1869
|
transferSuccess: boolean;
|
|
1641
1870
|
};
|
|
1642
1871
|
|
|
1643
|
-
|
|
1872
|
+
declare const UseCheckoutOptionsSchema: z.ZodObject<{
|
|
1873
|
+
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
1874
|
+
walletAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1875
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
1876
|
+
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1877
|
+
orderId: z.ZodString;
|
|
1878
|
+
quantity: z.ZodNumber;
|
|
1879
|
+
marketplace: z.ZodNativeEnum<typeof MarketplaceKind>;
|
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
orderId: string;
|
|
1882
|
+
marketplace: MarketplaceKind;
|
|
1883
|
+
collectionAddress: `0x${string}`;
|
|
1884
|
+
quantity: number;
|
|
1885
|
+
}, {
|
|
1886
|
+
orderId: string;
|
|
1887
|
+
marketplace: MarketplaceKind;
|
|
1888
|
+
collectionAddress: string;
|
|
1889
|
+
quantity: number;
|
|
1890
|
+
}>, "many">;
|
|
1891
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
1892
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1893
|
+
}, "strip", z.ZodTypeAny, {
|
|
1894
|
+
enabled?: boolean | undefined;
|
|
1895
|
+
}, {
|
|
1896
|
+
enabled?: boolean | undefined;
|
|
1897
|
+
}>>;
|
|
1898
|
+
}, "strip", z.ZodTypeAny, {
|
|
1899
|
+
orders: {
|
|
1900
|
+
orderId: string;
|
|
1901
|
+
marketplace: MarketplaceKind;
|
|
1902
|
+
collectionAddress: `0x${string}`;
|
|
1903
|
+
quantity: number;
|
|
1904
|
+
}[];
|
|
1905
|
+
chainId: string;
|
|
1906
|
+
walletAddress: `0x${string}`;
|
|
1907
|
+
query?: {
|
|
1908
|
+
enabled?: boolean | undefined;
|
|
1909
|
+
} | undefined;
|
|
1910
|
+
}, {
|
|
1911
|
+
orders: {
|
|
1912
|
+
orderId: string;
|
|
1913
|
+
marketplace: MarketplaceKind;
|
|
1914
|
+
collectionAddress: string;
|
|
1915
|
+
quantity: number;
|
|
1916
|
+
}[];
|
|
1917
|
+
chainId: string | number;
|
|
1918
|
+
walletAddress: string;
|
|
1919
|
+
query?: {
|
|
1920
|
+
enabled?: boolean | undefined;
|
|
1921
|
+
} | undefined;
|
|
1922
|
+
}>;
|
|
1923
|
+
type UseCheckoutOptionsArgs = z.infer<typeof UseCheckoutOptionsSchema>;
|
|
1924
|
+
type UseCheckoutOptionsReturn = Awaited<ReturnType<typeof fetchCheckoutOptions>>;
|
|
1925
|
+
declare const fetchCheckoutOptions: (args: UseCheckoutOptionsArgs, config: SdkConfig) => Promise<CheckoutOptionsMarketplaceReturn>;
|
|
1926
|
+
declare const checkoutOptionsOptions: (args: UseCheckoutOptionsArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CheckoutOptionsMarketplaceReturn, Error, CheckoutOptionsMarketplaceReturn, (string | {
|
|
1927
|
+
orders: {
|
|
1928
|
+
orderId: string;
|
|
1929
|
+
marketplace: MarketplaceKind;
|
|
1930
|
+
collectionAddress: `0x${string}`;
|
|
1931
|
+
quantity: number;
|
|
1932
|
+
}[];
|
|
1933
|
+
chainId: string;
|
|
1934
|
+
walletAddress: `0x${string}`;
|
|
1935
|
+
query?: {
|
|
1936
|
+
enabled?: boolean | undefined;
|
|
1937
|
+
} | undefined;
|
|
1938
|
+
})[]>, "queryFn"> & {
|
|
1939
|
+
queryFn?: _tanstack_react_query.QueryFunction<CheckoutOptionsMarketplaceReturn, (string | {
|
|
1940
|
+
orders: {
|
|
1941
|
+
orderId: string;
|
|
1942
|
+
marketplace: MarketplaceKind;
|
|
1943
|
+
collectionAddress: `0x${string}`;
|
|
1944
|
+
quantity: number;
|
|
1945
|
+
}[];
|
|
1946
|
+
chainId: string;
|
|
1947
|
+
walletAddress: `0x${string}`;
|
|
1948
|
+
query?: {
|
|
1949
|
+
enabled?: boolean | undefined;
|
|
1950
|
+
} | undefined;
|
|
1951
|
+
})[], never> | undefined;
|
|
1952
|
+
} & {
|
|
1953
|
+
queryKey: _tanstack_react_query.DataTag<(string | {
|
|
1954
|
+
orders: {
|
|
1955
|
+
orderId: string;
|
|
1956
|
+
marketplace: MarketplaceKind;
|
|
1957
|
+
collectionAddress: `0x${string}`;
|
|
1958
|
+
quantity: number;
|
|
1959
|
+
}[];
|
|
1960
|
+
chainId: string;
|
|
1961
|
+
walletAddress: `0x${string}`;
|
|
1962
|
+
query?: {
|
|
1963
|
+
enabled?: boolean | undefined;
|
|
1964
|
+
} | undefined;
|
|
1965
|
+
})[], CheckoutOptionsMarketplaceReturn>;
|
|
1966
|
+
};
|
|
1967
|
+
declare const useCheckoutOptions: (args: UseCheckoutOptionsArgs) => _tanstack_react_query.UseQueryResult<CheckoutOptionsMarketplaceReturn, Error>;
|
|
1968
|
+
|
|
1969
|
+
export { type CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, type GenerateListingTransactionProps, type GenerateOfferTransactionProps, type TransferTokensParams, type UseCheckoutOptionsArgs, type UseCheckoutOptionsReturn, type UseCollectibleArgs, type UseCollectibleReturn, type UseCollectionArgs, type UseCollectionReturn, type UseContOfCollectableReturn, type UseCountOfCollectablesArgs, type UseCurrenciesReturn, type UseFetchTokenBalancesReturn, type UseFilterReturn, type UseFiltersArgs, type UseFloorOrderArgs, type UseFloorOrderReturn, type UseGenerateListingTransactionArgs, type UseGenerateOfferTransactionArgs, type UseHighestOfferArgs, type UseHighestOfferReturn, type UseListBalancesArgs, type UseListCollectiblesArgs, type UseListCollectiblesReturn, type UseListOffersForCollectibleReturn, type UseLowestListingArgs, type UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionOptions, countOfCollectablesOptions, currenciesOptions, fetchFilters, filtersOptions, floorOrderOptions, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectiblesOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCheckoutOptions, useCollectible, useCollection, useConfig, useCountOfCollectables, useCurrencies, useFilters, useFloorOrder, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibles, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens };
|
|
@@ -1,54 +1,57 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
balanceOfCollectibleOptions,
|
|
4
|
+
checkoutOptionsOptions,
|
|
5
|
+
collectibleOptions,
|
|
6
|
+
collectionOptions,
|
|
4
7
|
countOfCollectablesOptions,
|
|
8
|
+
currenciesOptions,
|
|
5
9
|
fetchFilters,
|
|
6
10
|
filtersOptions,
|
|
7
11
|
floorOrderOptions,
|
|
8
|
-
highestOfferOptions,
|
|
9
|
-
listCollectiblesOptions,
|
|
10
|
-
listOffersForCollectibleOptions,
|
|
11
|
-
useBalanceOfCollectible,
|
|
12
|
-
useCountOfCollectables,
|
|
13
|
-
useFilters,
|
|
14
|
-
useFloorOrder,
|
|
15
|
-
useHighestOffer,
|
|
16
|
-
useListCollectibles,
|
|
17
|
-
useListOffersForCollectible
|
|
18
|
-
} from "../../chunk-M4MXVMAM.js";
|
|
19
|
-
import {
|
|
20
|
-
collectibleOptions,
|
|
21
|
-
collectionOptions,
|
|
22
|
-
currenciesOptions,
|
|
23
12
|
generateListingTransaction,
|
|
24
13
|
generateOfferTransaction,
|
|
14
|
+
generateSellTransaction,
|
|
15
|
+
highestOfferOptions,
|
|
25
16
|
listBalancesOptions,
|
|
17
|
+
listCollectiblesOptions,
|
|
18
|
+
listOffersForCollectibleOptions,
|
|
26
19
|
lowestListingOptions,
|
|
27
20
|
marketplaceConfigOptions,
|
|
28
21
|
metadataOptionsSchema,
|
|
29
22
|
royaletyPercentageOptions,
|
|
23
|
+
useBalanceOfCollectible,
|
|
24
|
+
useCheckoutOptions,
|
|
30
25
|
useCollectible,
|
|
31
26
|
useCollection,
|
|
32
27
|
useConfig,
|
|
28
|
+
useCountOfCollectables,
|
|
33
29
|
useCurrencies,
|
|
30
|
+
useFilters,
|
|
31
|
+
useFloorOrder,
|
|
34
32
|
useGenerateListingTransaction,
|
|
35
33
|
useGenerateOfferTransaction,
|
|
34
|
+
useGenerateSellTransaction,
|
|
35
|
+
useHighestOffer,
|
|
36
36
|
useListBalances,
|
|
37
|
+
useListCollectibles,
|
|
38
|
+
useListOffersForCollectible,
|
|
37
39
|
useLowestListing,
|
|
38
40
|
useMarketplaceConfig,
|
|
39
41
|
useRoyaltyPercentage,
|
|
40
42
|
useTransferTokens
|
|
41
|
-
} from "../../chunk-
|
|
43
|
+
} from "../../chunk-5EOVZAKT.js";
|
|
42
44
|
import "../../chunk-6S4FYXP6.js";
|
|
43
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-6JWGELXL.js";
|
|
44
46
|
import "../../chunk-DBFOPEV6.js";
|
|
45
47
|
import "../../chunk-D7QQP6MS.js";
|
|
46
48
|
import "../../chunk-O5JXKTWP.js";
|
|
47
|
-
import "../../chunk-
|
|
48
|
-
import "../../chunk-
|
|
49
|
-
import "../../chunk-
|
|
49
|
+
import "../../chunk-Q2BVDQ3G.js";
|
|
50
|
+
import "../../chunk-NII6JJGH.js";
|
|
51
|
+
import "../../chunk-GZIA25G4.js";
|
|
50
52
|
export {
|
|
51
53
|
balanceOfCollectibleOptions,
|
|
54
|
+
checkoutOptionsOptions,
|
|
52
55
|
collectibleOptions,
|
|
53
56
|
collectionOptions,
|
|
54
57
|
countOfCollectablesOptions,
|
|
@@ -58,6 +61,7 @@ export {
|
|
|
58
61
|
floorOrderOptions,
|
|
59
62
|
generateListingTransaction,
|
|
60
63
|
generateOfferTransaction,
|
|
64
|
+
generateSellTransaction,
|
|
61
65
|
highestOfferOptions,
|
|
62
66
|
listBalancesOptions,
|
|
63
67
|
listCollectiblesOptions,
|
|
@@ -67,6 +71,7 @@ export {
|
|
|
67
71
|
metadataOptionsSchema,
|
|
68
72
|
royaletyPercentageOptions,
|
|
69
73
|
useBalanceOfCollectible,
|
|
74
|
+
useCheckoutOptions,
|
|
70
75
|
useCollectible,
|
|
71
76
|
useCollection,
|
|
72
77
|
useConfig,
|
|
@@ -76,6 +81,7 @@ export {
|
|
|
76
81
|
useFloorOrder,
|
|
77
82
|
useGenerateListingTransaction,
|
|
78
83
|
useGenerateOfferTransaction,
|
|
84
|
+
useGenerateSellTransaction,
|
|
79
85
|
useHighestOffer,
|
|
80
86
|
useListBalances,
|
|
81
87
|
useListCollectibles,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { S as SdkConfig } from '../sdk-config-xWkdBdrL.js';
|
|
4
|
-
export { CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransferTokensParams, UseCollectibleArgs, UseCollectibleReturn, UseCollectionArgs, UseCollectionReturn, UseContOfCollectableReturn, UseCountOfCollectablesArgs, UseCurrenciesReturn, UseFetchTokenBalancesReturn, UseFilterReturn, UseFiltersArgs, UseFloorOrderArgs, UseFloorOrderReturn, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, UseHighestOfferArgs, UseHighestOfferReturn, UseListBalancesArgs, UseListCollectiblesArgs, UseListCollectiblesReturn, UseListOffersForCollectibleReturn, UseLowestListingArgs, UseLowestListingReturn, balanceOfCollectibleOptions, collectibleOptions, collectionOptions, countOfCollectablesOptions, currenciesOptions, fetchFilters, filtersOptions, floorOrderOptions, generateListingTransaction, generateOfferTransaction, highestOfferOptions, listBalancesOptions, listCollectiblesOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCollectible, useCollection, useConfig, useCountOfCollectables, useCurrencies, useFilters, useFloorOrder, useGenerateListingTransaction, useGenerateOfferTransaction, useHighestOffer, useListBalances, useListCollectibles, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens } from './hooks/index.js';
|
|
4
|
+
export { CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransferTokensParams, UseCheckoutOptionsArgs, UseCheckoutOptionsReturn, UseCollectibleArgs, UseCollectibleReturn, UseCollectionArgs, UseCollectionReturn, UseContOfCollectableReturn, UseCountOfCollectablesArgs, UseCurrenciesReturn, UseFetchTokenBalancesReturn, UseFilterReturn, UseFiltersArgs, UseFloorOrderArgs, UseFloorOrderReturn, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, UseHighestOfferArgs, UseHighestOfferReturn, UseListBalancesArgs, UseListCollectiblesArgs, UseListCollectiblesReturn, UseListOffersForCollectibleReturn, UseLowestListingArgs, UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionOptions, countOfCollectablesOptions, currenciesOptions, fetchFilters, filtersOptions, floorOrderOptions, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectiblesOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCheckoutOptions, useCollectible, useCollection, useConfig, useCountOfCollectables, useCurrencies, useFilters, useFloorOrder, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibles, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens } from './hooks/index.js';
|
|
5
5
|
export { g as getQueryClient } from '../get-query-client-D46hbjk6.js';
|
|
6
|
-
export { c as createWagmiConfig } from '../create-config-
|
|
6
|
+
export { c as createWagmiConfig } from '../create-config-CgtmCzvb.js';
|
|
7
7
|
export { ModalProvider, useCreateListingModal, useMakeOfferModal, useSellModal, useSuccessfulPurchaseModal, useTransferModal } from './ui/index.js';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import '@0xsequence/indexer';
|
|
10
10
|
import '@0xsequence/network';
|
|
11
|
-
import '
|
|
11
|
+
import 'viem';
|
|
12
12
|
import 'zod';
|
|
13
|
+
import '../types-BzZVURNL.js';
|
|
13
14
|
import '../marketplace.gen-Ceofb9Cs.js';
|
|
14
|
-
import 'viem';
|
|
15
15
|
import '@0xsequence/metadata';
|
|
16
|
-
import '../services-
|
|
16
|
+
import '../services-Dei25J6_.js';
|
|
17
17
|
import '../marketplace-config-Bbxl-uKX.js';
|
|
18
18
|
import 'wagmi';
|
|
19
19
|
import '@0xsequence/design-system';
|