@0xsequence/marketplace-sdk 0.4.5 → 0.4.6
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/dist/{chunk-SEISACMH.js → chunk-2FOUCP2R.js} +119 -123
- package/dist/chunk-2FOUCP2R.js.map +1 -0
- package/dist/{chunk-KZGDOIZY.js → chunk-36NGHJH5.js} +38 -47
- package/dist/chunk-36NGHJH5.js.map +1 -0
- package/dist/{chunk-KL5JPUPS.js → chunk-3C2MT5TM.js} +9 -9
- package/dist/chunk-3C2MT5TM.js.map +1 -0
- package/dist/{chunk-PAZ4MQXZ.js → chunk-5D3ARFFZ.js} +1 -1
- package/dist/chunk-5D3ARFFZ.js.map +1 -0
- package/dist/{chunk-ZEKRTFBU.js → chunk-DNVERQ5J.js} +12 -2
- package/dist/chunk-DNVERQ5J.js.map +1 -0
- package/dist/{chunk-FT3J32ZV.js → chunk-LTHX6RXH.js} +2 -2
- package/dist/{chunk-KILOCWY2.js → chunk-QVOUL555.js} +2 -2
- package/dist/{chunk-CKOWM2ZR.js → chunk-RD7HPANB.js} +4 -4
- package/dist/chunk-RD7HPANB.js.map +1 -0
- package/dist/{chunk-YUETNNZQ.js → chunk-WM4RGBFQ.js} +1 -10
- package/dist/{chunk-YUETNNZQ.js.map → chunk-WM4RGBFQ.js.map} +1 -1
- package/dist/{chunk-HTFBQVLV.js → chunk-ZEH4JI2U.js} +2 -2
- package/dist/{create-config-DMBOGsJp.d.ts → create-config-BBTTSJyp.d.ts} +2 -2
- package/dist/index.d.ts +3 -4
- package/dist/index.js +5 -5
- package/dist/{marketplace-config-0Rft6_Hv.d.ts → marketplace-config-vioKvBQe.d.ts} +1 -1
- package/dist/react/_internal/api/index.d.ts +2 -3
- package/dist/react/_internal/api/index.js +2 -2
- package/dist/react/_internal/index.d.ts +6 -7
- package/dist/react/_internal/index.js +6 -4
- package/dist/react/_internal/wagmi/index.d.ts +3 -4
- package/dist/react/_internal/wagmi/index.js +2 -2
- package/dist/react/hooks/index.d.ts +104 -104
- package/dist/react/hooks/index.js +7 -7
- package/dist/react/index.d.ts +5 -6
- package/dist/react/index.js +9 -9
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/index.d.ts +4 -3
- package/dist/react/ui/components/index.js +9 -9
- package/dist/react/ui/index.d.ts +5 -4
- package/dist/react/ui/index.js +9 -9
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +3 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +7 -7
- package/dist/{marketplace.gen-jdKqutnd.d.ts → sdk-config-CasNGLz4.d.ts} +24 -1
- package/dist/{services-C2O-7p_M.d.ts → services-CbsurKYr.d.ts} +1 -2
- package/dist/types/index.d.ts +3 -4
- package/dist/types/index.js +4 -4
- package/dist/types-rupsBCjv.d.ts +70 -0
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/src/react/_internal/types.ts +51 -1
- package/src/react/_internal/{transaction-machine/utils.ts → utils.ts} +1 -1
- package/src/react/_internal/{transaction-machine → wallet}/wallet.ts +2 -2
- package/src/react/hooks/useCancelOrder.tsx +22 -3
- package/src/react/hooks/useCancelTransactionSteps.tsx +3 -5
- package/src/react/hooks/useCurrencies.tsx +16 -18
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +1 -1
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +1 -1
- package/src/react/ui/modals/BuyModal/hooks/useBuyCollectable.ts +7 -7
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +1 -1
- package/src/react/ui/modals/BuyModal/modals/CheckoutModal.tsx +12 -3
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +11 -2
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +1 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +8 -22
- package/src/react/ui/modals/CreateListingModal/store.ts +3 -3
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +17 -24
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -2
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +19 -3
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +9 -23
- package/src/react/ui/modals/MakeOfferModal/store.ts +4 -4
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +1 -1
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +7 -19
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +1 -1
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +1 -1
- package/src/react/ui/modals/_internal/components/actionModal/ErrorModal.tsx +3 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +4 -0
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +11 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +3 -0
- package/src/react/ui/modals/_internal/components/transactionPreview/useTransactionPreviewTitle.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getFormattedType.ts +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getMessage.ts +2 -2
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getTitle.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-CKOWM2ZR.js.map +0 -1
- package/dist/chunk-KL5JPUPS.js.map +0 -1
- package/dist/chunk-KZGDOIZY.js.map +0 -1
- package/dist/chunk-PAZ4MQXZ.js.map +0 -1
- package/dist/chunk-SEISACMH.js.map +0 -1
- package/dist/chunk-ZEKRTFBU.js.map +0 -1
- package/dist/sdk-config-xWkdBdrL.d.ts +0 -24
- package/dist/types-DZb7GsfL.d.ts +0 -28
- package/src/react/_internal/transaction-machine/execute-transaction.ts +0 -676
- package/src/react/_internal/transaction-machine/useTransactionMachine.ts +0 -140
- /package/dist/{chunk-FT3J32ZV.js.map → chunk-LTHX6RXH.js.map} +0 -0
- /package/dist/{chunk-KILOCWY2.js.map → chunk-QVOUL555.js.map} +0 -0
- /package/dist/{chunk-HTFBQVLV.js.map → chunk-ZEH4JI2U.js.map} +0 -0
- /package/src/react/_internal/{transaction-machine/logger.ts → logger.ts} +0 -0
- /package/src/react/_internal/{transaction-machine → wallet}/useWallet.ts +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
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-
|
|
3
|
-
export { q as Activity, y as AdditionalFee,
|
|
2
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../../services-CbsurKYr.js';
|
|
3
|
+
export { q as Activity, y as AdditionalFee, a1 as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bj as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bk as CheckoutOptionsMarketplaceReturn, bl as CheckoutOptionsSalesContractArgs, bm 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, a2 as CreateCollectionArgs, a3 as CreateCollectionReturn, ae as CreateCurrenciesArgs, af as CreateCurrenciesReturn, ac as CreateCurrencyArgs, ad as CreateCurrencyReturn, D as CreateReq, w as Currency, a8 as DeleteCollectionArgs, a9 as DeleteCollectionReturn, ak as DeleteCurrencyArgs, al as DeleteCurrencyReturn, I as Domain, a$ as ExecuteArgs, b0 as ExecuteReturn, E as ExecuteType, n as FeeBreakdown, bO as Fetch, F as Filter, aR as GenerateBuyTransactionArgs, aS as GenerateBuyTransactionReturn, aZ as GenerateCancelTransactionArgs, a_ as GenerateCancelTransactionReturn, aV as GenerateListingTransactionArgs, aW as GenerateListingTransactionReturn, aX as GenerateOfferTransactionArgs, aY as GenerateOfferTransactionReturn, aT as GenerateSellTransactionArgs, aU as GenerateSellTransactionReturn, an as GetCollectibleArgs, aL as GetCollectibleHighestListingArgs, aM as GetCollectibleHighestListingReturn, aH as GetCollectibleHighestOfferArgs, aI as GetCollectibleHighestOfferReturn, aJ as GetCollectibleLowestListingArgs, aK as GetCollectibleLowestListingReturn, aF as GetCollectibleLowestOfferArgs, aG as GetCollectibleLowestOfferReturn, ao as GetCollectibleReturn, a4 as GetCollectionArgs, a5 as GetCollectionReturn, b3 as GetCountOfAllCollectiblesArgs, b4 as GetCountOfAllCollectiblesReturn, b5 as GetCountOfFilteredCollectiblesArgs, b6 as GetCountOfFilteredCollectiblesReturn, aB as GetCountOfListingsForCollectibleArgs, aC as GetCountOfListingsForCollectibleReturn, aD as GetCountOfOffersForCollectibleArgs, aE as GetCountOfOffersForCollectibleReturn, b7 as GetFloorOrderArgs, b8 as GetFloorOrderReturn, av as GetHighestPriceListingForCollectibleArgs, aw as GetHighestPriceListingForCollectibleReturn, ar as GetHighestPriceOfferForCollectibleArgs, as as GetHighestPriceOfferForCollectibleReturn, at as GetLowestPriceListingForCollectibleArgs, au as GetLowestPriceListingForCollectibleReturn, ap as GetLowestPriceOfferForCollectibleArgs, aq as GetLowestPriceOfferForCollectibleReturn, bh as GetOrdersArgs, G as GetOrdersInput, bi as GetOrdersReturn, bE as InvalidArgumentError, bI as InvalidTierError, aN as ListCollectibleListingsArgs, aO as ListCollectibleListingsReturn, aP as ListCollectibleOffersArgs, aQ as ListCollectibleOffersReturn, b1 as ListCollectiblesArgs, b2 as ListCollectiblesReturn, bb as ListCollectiblesWithHighestOfferArgs, bc as ListCollectiblesWithHighestOfferReturn, b9 as ListCollectiblesWithLowestListingArgs, ba as ListCollectiblesWithLowestListingReturn, a6 as ListCollectionsArgs, a7 as ListCollectionsReturn, ai as ListCurrenciesArgs, aj as ListCurrenciesReturn, ax as ListListingsForCollectibleArgs, ay as ListListingsForCollectibleReturn, az as ListOffersForCollectibleArgs, aA as ListOffersForCollectibleReturn, am as Marketplace, M as MarketplaceKind, bC as MethodNotFoundError, bF as NotFoundError, bK as NotImplementedError, m as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bA as PermissionDeniedError, B as PostRequest, u as Project, bJ as ProjectLimitReachedError, bH as ProjectNotFoundError, e as ProjectStatus, k as PropertyFilter, P as PropertyType, bB as SessionExpiredError, H as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, aa as SyncCollectionArgs, ab as SyncCollectionReturn, bd as SyncOrderArgs, be as SyncOrderReturn, bf as SyncOrdersArgs, bg as SyncOrdersReturn, bD as TimeoutError, h as TokenMetadata, T as TransactionCrypto, _ as TransactionNFTCheckoutProvider, $ as TransactionOnRampProvider, a0 as TransactionSwapProvider, bz as UnauthorizedError, ag as UpdateCurrencyArgs, ah as UpdateCurrencyReturn, bG as UserNotFoundError, Z as VersionFromHeader, W as WalletKind, Y as WebRPCSchemaHash, X as WebRPCSchemaVersion, V as WebRPCVersion, br as WebrpcBadMethodError, bs as WebrpcBadRequestError, bt as WebrpcBadResponseError, bq as WebrpcBadRouteError, bw as WebrpcClientDisconnectedError, bo as WebrpcEndpointError, bn as WebrpcError, bM as WebrpcErrorCodes, R as WebrpcHeader, U as WebrpcHeaderValue, bv as WebrpcInternalErrorError, bp as WebrpcRequestFailedError, bu as WebrpcServerPanicError, by as WebrpcStreamFinishedError, bx as WebrpcStreamLostError, bL as errors, bN as webrpcErrorByCode } from '../../../sdk-config-CasNGLz4.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@0xsequence/indexer';
|
|
6
6
|
import '@0xsequence/metadata';
|
|
7
|
-
import '../../../sdk-config-xWkdBdrL.js';
|
|
8
7
|
|
|
9
8
|
declare class CollectableKeys {
|
|
10
9
|
static all: readonly ["collectable"];
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
getQueryClient,
|
|
67
67
|
imageProxy,
|
|
68
68
|
webrpcErrorByCode
|
|
69
|
-
} from "../../../chunk-
|
|
70
|
-
import "../../../chunk-
|
|
69
|
+
} from "../../../chunk-QVOUL555.js";
|
|
70
|
+
import "../../../chunk-WM4RGBFQ.js";
|
|
71
71
|
export {
|
|
72
72
|
Admin,
|
|
73
73
|
CollectibleStatus,
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
export { A as AddressSchema, c as ChainId, b as ChainIdSchema, C as CollectableIdSchema, d as CollectionType, a as QueryArg, Q as QueryArgSchema, T as TransactionSteps } from '../../types-
|
|
1
|
+
export { A as AddressSchema, B as BuyInput, g as CancelInput, c as ChainId, b as ChainIdSchema, C as CollectableIdSchema, d as CollectionType, L as ListingInput, O as OfferInput, a as QueryArg, Q as QueryArgSchema, S as SellInput, f as TransactionConfig, T as TransactionSteps, e as TransactionType } from '../../types-rupsBCjv.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-
|
|
4
|
-
export { q as Activity, y as AdditionalFee,
|
|
3
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../services-CbsurKYr.js';
|
|
4
|
+
export { q as Activity, y as AdditionalFee, a1 as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bj as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bk as CheckoutOptionsMarketplaceReturn, bl as CheckoutOptionsSalesContractArgs, bm 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, a2 as CreateCollectionArgs, a3 as CreateCollectionReturn, ae as CreateCurrenciesArgs, af as CreateCurrenciesReturn, ac as CreateCurrencyArgs, ad as CreateCurrencyReturn, D as CreateReq, w as Currency, a8 as DeleteCollectionArgs, a9 as DeleteCollectionReturn, ak as DeleteCurrencyArgs, al as DeleteCurrencyReturn, I as Domain, a$ as ExecuteArgs, b0 as ExecuteReturn, E as ExecuteType, n as FeeBreakdown, bO as Fetch, F as Filter, aR as GenerateBuyTransactionArgs, aS as GenerateBuyTransactionReturn, aZ as GenerateCancelTransactionArgs, a_ as GenerateCancelTransactionReturn, aV as GenerateListingTransactionArgs, aW as GenerateListingTransactionReturn, aX as GenerateOfferTransactionArgs, aY as GenerateOfferTransactionReturn, aT as GenerateSellTransactionArgs, aU as GenerateSellTransactionReturn, an as GetCollectibleArgs, aL as GetCollectibleHighestListingArgs, aM as GetCollectibleHighestListingReturn, aH as GetCollectibleHighestOfferArgs, aI as GetCollectibleHighestOfferReturn, aJ as GetCollectibleLowestListingArgs, aK as GetCollectibleLowestListingReturn, aF as GetCollectibleLowestOfferArgs, aG as GetCollectibleLowestOfferReturn, ao as GetCollectibleReturn, a4 as GetCollectionArgs, a5 as GetCollectionReturn, b3 as GetCountOfAllCollectiblesArgs, b4 as GetCountOfAllCollectiblesReturn, b5 as GetCountOfFilteredCollectiblesArgs, b6 as GetCountOfFilteredCollectiblesReturn, aB as GetCountOfListingsForCollectibleArgs, aC as GetCountOfListingsForCollectibleReturn, aD as GetCountOfOffersForCollectibleArgs, aE as GetCountOfOffersForCollectibleReturn, b7 as GetFloorOrderArgs, b8 as GetFloorOrderReturn, av as GetHighestPriceListingForCollectibleArgs, aw as GetHighestPriceListingForCollectibleReturn, ar as GetHighestPriceOfferForCollectibleArgs, as as GetHighestPriceOfferForCollectibleReturn, at as GetLowestPriceListingForCollectibleArgs, au as GetLowestPriceListingForCollectibleReturn, ap as GetLowestPriceOfferForCollectibleArgs, aq as GetLowestPriceOfferForCollectibleReturn, bh as GetOrdersArgs, G as GetOrdersInput, bi as GetOrdersReturn, bE as InvalidArgumentError, bI as InvalidTierError, aN as ListCollectibleListingsArgs, aO as ListCollectibleListingsReturn, aP as ListCollectibleOffersArgs, aQ as ListCollectibleOffersReturn, b1 as ListCollectiblesArgs, b2 as ListCollectiblesReturn, bb as ListCollectiblesWithHighestOfferArgs, bc as ListCollectiblesWithHighestOfferReturn, b9 as ListCollectiblesWithLowestListingArgs, ba as ListCollectiblesWithLowestListingReturn, a6 as ListCollectionsArgs, a7 as ListCollectionsReturn, ai as ListCurrenciesArgs, aj as ListCurrenciesReturn, ax as ListListingsForCollectibleArgs, ay as ListListingsForCollectibleReturn, az as ListOffersForCollectibleArgs, aA as ListOffersForCollectibleReturn, am as Marketplace, M as MarketplaceKind, bC as MethodNotFoundError, bF as NotFoundError, bK as NotImplementedError, m as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bA as PermissionDeniedError, B as PostRequest, u as Project, bJ as ProjectLimitReachedError, bH as ProjectNotFoundError, e as ProjectStatus, k as PropertyFilter, P as PropertyType, bB as SessionExpiredError, H as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, aa as SyncCollectionArgs, ab as SyncCollectionReturn, bd as SyncOrderArgs, be as SyncOrderReturn, bf as SyncOrdersArgs, bg as SyncOrdersReturn, bD as TimeoutError, h as TokenMetadata, T as TransactionCrypto, _ as TransactionNFTCheckoutProvider, $ as TransactionOnRampProvider, a0 as TransactionSwapProvider, bz as UnauthorizedError, ag as UpdateCurrencyArgs, ah as UpdateCurrencyReturn, bG as UserNotFoundError, Z as VersionFromHeader, W as WalletKind, Y as WebRPCSchemaHash, X as WebRPCSchemaVersion, V as WebRPCVersion, br as WebrpcBadMethodError, bs as WebrpcBadRequestError, bt as WebrpcBadResponseError, bq as WebrpcBadRouteError, bw as WebrpcClientDisconnectedError, bo as WebrpcEndpointError, bn as WebrpcError, bM as WebrpcErrorCodes, R as WebrpcHeader, U as WebrpcHeaderValue, bv as WebrpcInternalErrorError, bp as WebrpcRequestFailedError, bu as WebrpcServerPanicError, by as WebrpcStreamFinishedError, bx as WebrpcStreamLostError, bL as errors, bN as webrpcErrorByCode } from '../../sdk-config-CasNGLz4.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-BBTTSJyp.js';
|
|
7
7
|
export { getUniversalConnectors, getWaasConnectors } from './wagmi/index.js';
|
|
8
8
|
import '@0xsequence/network';
|
|
9
9
|
import 'zod';
|
|
10
|
+
import 'viem';
|
|
11
|
+
import '../../marketplace-config-vioKvBQe.js';
|
|
10
12
|
import '@tanstack/react-query';
|
|
11
13
|
import '@0xsequence/indexer';
|
|
12
14
|
import '@0xsequence/metadata';
|
|
13
|
-
import '../../sdk-config-xWkdBdrL.js';
|
|
14
15
|
import 'wagmi';
|
|
15
|
-
import 'viem';
|
|
16
|
-
import '../../marketplace-config-0Rft6_Hv.js';
|
|
17
16
|
|
|
18
17
|
declare const DEFAULT_NETWORK = 137;
|
|
19
18
|
|
|
@@ -5,8 +5,9 @@ import {
|
|
|
5
5
|
CollectableIdSchema,
|
|
6
6
|
PROVIDER_ID,
|
|
7
7
|
QueryArgSchema,
|
|
8
|
+
TransactionType,
|
|
8
9
|
getProviderEl
|
|
9
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-DNVERQ5J.js";
|
|
10
11
|
import {
|
|
11
12
|
Admin,
|
|
12
13
|
CollectibleStatus,
|
|
@@ -74,14 +75,14 @@ import {
|
|
|
74
75
|
getQueryClient,
|
|
75
76
|
imageProxy,
|
|
76
77
|
webrpcErrorByCode
|
|
77
|
-
} from "../../chunk-
|
|
78
|
+
} from "../../chunk-QVOUL555.js";
|
|
78
79
|
import {
|
|
79
80
|
DEFAULT_NETWORK,
|
|
80
81
|
createWagmiConfig,
|
|
81
82
|
getUniversalConnectors,
|
|
82
83
|
getWaasConnectors
|
|
83
|
-
} from "../../chunk-
|
|
84
|
-
import "../../chunk-
|
|
84
|
+
} from "../../chunk-ZEH4JI2U.js";
|
|
85
|
+
import "../../chunk-WM4RGBFQ.js";
|
|
85
86
|
export {
|
|
86
87
|
AddressSchema,
|
|
87
88
|
Admin,
|
|
@@ -119,6 +120,7 @@ export {
|
|
|
119
120
|
TransactionNFTCheckoutProvider,
|
|
120
121
|
TransactionOnRampProvider,
|
|
121
122
|
TransactionSwapProvider,
|
|
123
|
+
TransactionType,
|
|
122
124
|
UnauthorizedError,
|
|
123
125
|
UserNotFoundError,
|
|
124
126
|
VersionFromHeader,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export { c as createWagmiConfig } from '../../../create-config-
|
|
1
|
+
export { c as createWagmiConfig } from '../../../create-config-BBTTSJyp.js';
|
|
2
2
|
import { CreateConnectorFn } from 'wagmi';
|
|
3
|
-
import {
|
|
4
|
-
import { M as MarketplaceConfig } from '../../../marketplace-config-
|
|
3
|
+
import { Q as SdkConfig } from '../../../sdk-config-CasNGLz4.js';
|
|
4
|
+
import { M as MarketplaceConfig } from '../../../marketplace-config-vioKvBQe.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import '@0xsequence/network';
|
|
7
|
-
import '../../../marketplace.gen-jdKqutnd.js';
|
|
8
7
|
|
|
9
8
|
declare function getWaasConnectors(marketplaceConfig: MarketplaceConfig, sdkConfig: SdkConfig): CreateConnectorFn[];
|
|
10
9
|
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createWagmiConfig,
|
|
4
4
|
getUniversalConnectors,
|
|
5
5
|
getWaasConnectors
|
|
6
|
-
} from "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
} from "../../../chunk-ZEH4JI2U.js";
|
|
7
|
+
import "../../../chunk-WM4RGBFQ.js";
|
|
8
8
|
export {
|
|
9
9
|
createWagmiConfig,
|
|
10
10
|
getUniversalConnectors,
|
|
@@ -4,12 +4,11 @@ import { Page, SortOrder } from '@0xsequence/indexer';
|
|
|
4
4
|
import * as _0xsequence_network from '@0xsequence/network';
|
|
5
5
|
import { Hex, Address } from 'viem';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { Q as QueryArgSchema, c as ChainId } from '../../types-
|
|
8
|
-
import {
|
|
9
|
-
import { P as PropertyType, M as MarketplaceKind, b as OrderSide, w as Currency, o as CollectibleOrder, aG as GetCollectibleHighestOfferReturn, i as Page$1, b0 as ListCollectiblesReturn, S as SortOrder$1, aO as ListCollectibleOffersReturn, aC as GetCountOfOffersForCollectibleReturn, aM as ListCollectibleListingsReturn, aA as GetCountOfListingsForCollectibleReturn, aI as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, aT as GenerateListingTransactionArgs, aV as GenerateOfferTransactionArgs, aR as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, aX as GenerateCancelTransactionArgs, C as ContractType, bi as CheckoutOptionsMarketplaceReturn, W as WalletKind } from '../../marketplace.gen-jdKqutnd.js';
|
|
7
|
+
import { Q as QueryArgSchema, c as ChainId } from '../../types-rupsBCjv.js';
|
|
8
|
+
import { Q as SdkConfig, P as PropertyType, M as MarketplaceKind, b as OrderSide, w as Currency, o as CollectibleOrder, aI as GetCollectibleHighestOfferReturn, i as Page$1, b2 as ListCollectiblesReturn, S as SortOrder$1, aQ as ListCollectibleOffersReturn, aE as GetCountOfOffersForCollectibleReturn, aO as ListCollectibleListingsReturn, aC as GetCountOfListingsForCollectibleReturn, aK as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, aV as GenerateListingTransactionArgs, aX as GenerateOfferTransactionArgs, aT as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, aZ as GenerateCancelTransactionArgs, C as ContractType, bk as CheckoutOptionsMarketplaceReturn, W as WalletKind } from '../../sdk-config-CasNGLz4.js';
|
|
10
9
|
import * as _0xsequence_metadata from '@0xsequence/metadata';
|
|
11
|
-
import { c as getMarketplaceClient } from '../../services-
|
|
12
|
-
import { M as MarketplaceConfig } from '../../marketplace-config-
|
|
10
|
+
import { c as getMarketplaceClient } from '../../services-CbsurKYr.js';
|
|
11
|
+
import { M as MarketplaceConfig } from '../../marketplace-config-vioKvBQe.js';
|
|
13
12
|
|
|
14
13
|
declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
|
|
15
14
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -799,22 +798,22 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
799
798
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
800
799
|
more: z.ZodOptional<z.ZodBoolean>;
|
|
801
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
page?: number | undefined;
|
|
802
802
|
sort?: {
|
|
803
803
|
order: SortOrder;
|
|
804
804
|
column: string;
|
|
805
805
|
}[] | undefined;
|
|
806
|
-
page?: number | undefined;
|
|
807
806
|
column?: string | undefined;
|
|
808
807
|
pageSize?: number | undefined;
|
|
809
808
|
more?: boolean | undefined;
|
|
810
809
|
before?: any;
|
|
811
810
|
after?: any;
|
|
812
811
|
}, {
|
|
812
|
+
page?: number | undefined;
|
|
813
813
|
sort?: {
|
|
814
814
|
order: SortOrder;
|
|
815
815
|
column: string;
|
|
816
816
|
}[] | undefined;
|
|
817
|
-
page?: number | undefined;
|
|
818
817
|
column?: string | undefined;
|
|
819
818
|
pageSize?: number | undefined;
|
|
820
819
|
more?: boolean | undefined;
|
|
@@ -831,11 +830,11 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
831
830
|
}, "strip", z.ZodTypeAny, {
|
|
832
831
|
chainId: number;
|
|
833
832
|
page?: {
|
|
833
|
+
page?: number | undefined;
|
|
834
834
|
sort?: {
|
|
835
835
|
order: SortOrder;
|
|
836
836
|
column: string;
|
|
837
837
|
}[] | undefined;
|
|
838
|
-
page?: number | undefined;
|
|
839
838
|
column?: string | undefined;
|
|
840
839
|
pageSize?: number | undefined;
|
|
841
840
|
more?: boolean | undefined;
|
|
@@ -858,11 +857,11 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
858
857
|
}, {
|
|
859
858
|
chainId: string | number;
|
|
860
859
|
page?: {
|
|
860
|
+
page?: number | undefined;
|
|
861
861
|
sort?: {
|
|
862
862
|
order: SortOrder;
|
|
863
863
|
column: string;
|
|
864
864
|
}[] | undefined;
|
|
865
|
-
page?: number | undefined;
|
|
866
865
|
column?: string | undefined;
|
|
867
866
|
pageSize?: number | undefined;
|
|
868
867
|
more?: boolean | undefined;
|
|
@@ -889,11 +888,11 @@ declare const fetchBalances: (args: UseListBalancesArgs, config: SdkConfig, page
|
|
|
889
888
|
declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<_0xsequence_indexer.GetTokenBalancesReturn, Error, _tanstack_react_query.InfiniteData<_0xsequence_indexer.GetTokenBalancesReturn, unknown>, _0xsequence_indexer.GetTokenBalancesReturn, ("balances" | "tokenBalances" | SdkConfig | {
|
|
890
889
|
chainId: string | number;
|
|
891
890
|
page?: {
|
|
891
|
+
page?: number | undefined;
|
|
892
892
|
sort?: {
|
|
893
893
|
order: SortOrder;
|
|
894
894
|
column: string;
|
|
895
895
|
}[] | undefined;
|
|
896
|
-
page?: number | undefined;
|
|
897
896
|
column?: string | undefined;
|
|
898
897
|
pageSize?: number | undefined;
|
|
899
898
|
more?: boolean | undefined;
|
|
@@ -917,11 +916,11 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
917
916
|
queryFn?: _tanstack_react_query.QueryFunction<_0xsequence_indexer.GetTokenBalancesReturn, ("balances" | "tokenBalances" | SdkConfig | {
|
|
918
917
|
chainId: string | number;
|
|
919
918
|
page?: {
|
|
919
|
+
page?: number | undefined;
|
|
920
920
|
sort?: {
|
|
921
921
|
order: SortOrder;
|
|
922
922
|
column: string;
|
|
923
923
|
}[] | undefined;
|
|
924
|
-
page?: number | undefined;
|
|
925
924
|
column?: string | undefined;
|
|
926
925
|
pageSize?: number | undefined;
|
|
927
926
|
more?: boolean | undefined;
|
|
@@ -946,11 +945,11 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
946
945
|
queryKey: ("balances" | "tokenBalances" | SdkConfig | {
|
|
947
946
|
chainId: string | number;
|
|
948
947
|
page?: {
|
|
948
|
+
page?: number | undefined;
|
|
949
949
|
sort?: {
|
|
950
950
|
order: SortOrder;
|
|
951
951
|
column: string;
|
|
952
952
|
}[] | undefined;
|
|
953
|
-
page?: number | undefined;
|
|
954
953
|
column?: string | undefined;
|
|
955
954
|
pageSize?: number | undefined;
|
|
956
955
|
more?: boolean | undefined;
|
|
@@ -1083,6 +1082,15 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1083
1082
|
chainId: string;
|
|
1084
1083
|
collectionAddress: `0x${string}`;
|
|
1085
1084
|
side: OrderSide;
|
|
1085
|
+
page?: {
|
|
1086
|
+
page: number;
|
|
1087
|
+
pageSize: number;
|
|
1088
|
+
sort?: {
|
|
1089
|
+
order: SortOrder$1;
|
|
1090
|
+
column: string;
|
|
1091
|
+
}[] | undefined;
|
|
1092
|
+
more?: boolean | undefined;
|
|
1093
|
+
} | undefined;
|
|
1086
1094
|
filter?: {
|
|
1087
1095
|
includeEmpty: boolean;
|
|
1088
1096
|
searchText?: string | undefined;
|
|
@@ -1099,6 +1107,13 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1099
1107
|
ordersCreatedBy?: string[] | undefined;
|
|
1100
1108
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1101
1109
|
} | undefined;
|
|
1110
|
+
query?: {
|
|
1111
|
+
enabled?: boolean | undefined;
|
|
1112
|
+
} | undefined;
|
|
1113
|
+
}, {
|
|
1114
|
+
chainId: string | number;
|
|
1115
|
+
collectionAddress: string;
|
|
1116
|
+
side: OrderSide;
|
|
1102
1117
|
page?: {
|
|
1103
1118
|
page: number;
|
|
1104
1119
|
pageSize: number;
|
|
@@ -1108,13 +1123,6 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1108
1123
|
}[] | undefined;
|
|
1109
1124
|
more?: boolean | undefined;
|
|
1110
1125
|
} | undefined;
|
|
1111
|
-
query?: {
|
|
1112
|
-
enabled?: boolean | undefined;
|
|
1113
|
-
} | undefined;
|
|
1114
|
-
}, {
|
|
1115
|
-
chainId: string | number;
|
|
1116
|
-
collectionAddress: string;
|
|
1117
|
-
side: OrderSide;
|
|
1118
1126
|
filter?: {
|
|
1119
1127
|
includeEmpty: boolean;
|
|
1120
1128
|
searchText?: string | undefined;
|
|
@@ -1131,15 +1139,6 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1131
1139
|
ordersCreatedBy?: string[] | undefined;
|
|
1132
1140
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1133
1141
|
} | undefined;
|
|
1134
|
-
page?: {
|
|
1135
|
-
page: number;
|
|
1136
|
-
pageSize: number;
|
|
1137
|
-
sort?: {
|
|
1138
|
-
order: SortOrder$1;
|
|
1139
|
-
column: string;
|
|
1140
|
-
}[] | undefined;
|
|
1141
|
-
more?: boolean | undefined;
|
|
1142
|
-
} | undefined;
|
|
1143
1142
|
query?: {
|
|
1144
1143
|
enabled?: boolean | undefined;
|
|
1145
1144
|
} | undefined;
|
|
@@ -1151,6 +1150,15 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1151
1150
|
chainId: string;
|
|
1152
1151
|
collectionAddress: `0x${string}`;
|
|
1153
1152
|
side: OrderSide;
|
|
1153
|
+
page?: {
|
|
1154
|
+
page: number;
|
|
1155
|
+
pageSize: number;
|
|
1156
|
+
sort?: {
|
|
1157
|
+
order: SortOrder$1;
|
|
1158
|
+
column: string;
|
|
1159
|
+
}[] | undefined;
|
|
1160
|
+
more?: boolean | undefined;
|
|
1161
|
+
} | undefined;
|
|
1154
1162
|
filter?: {
|
|
1155
1163
|
includeEmpty: boolean;
|
|
1156
1164
|
searchText?: string | undefined;
|
|
@@ -1167,15 +1175,6 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1167
1175
|
ordersCreatedBy?: string[] | undefined;
|
|
1168
1176
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1169
1177
|
} | undefined;
|
|
1170
|
-
page?: {
|
|
1171
|
-
page: number;
|
|
1172
|
-
pageSize: number;
|
|
1173
|
-
sort?: {
|
|
1174
|
-
order: SortOrder$1;
|
|
1175
|
-
column: string;
|
|
1176
|
-
}[] | undefined;
|
|
1177
|
-
more?: boolean | undefined;
|
|
1178
|
-
} | undefined;
|
|
1179
1178
|
query?: {
|
|
1180
1179
|
enabled?: boolean | undefined;
|
|
1181
1180
|
} | undefined;
|
|
@@ -1187,6 +1186,15 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1187
1186
|
chainId: string;
|
|
1188
1187
|
collectionAddress: `0x${string}`;
|
|
1189
1188
|
side: OrderSide;
|
|
1189
|
+
page?: {
|
|
1190
|
+
page: number;
|
|
1191
|
+
pageSize: number;
|
|
1192
|
+
sort?: {
|
|
1193
|
+
order: SortOrder$1;
|
|
1194
|
+
column: string;
|
|
1195
|
+
}[] | undefined;
|
|
1196
|
+
more?: boolean | undefined;
|
|
1197
|
+
} | undefined;
|
|
1190
1198
|
filter?: {
|
|
1191
1199
|
includeEmpty: boolean;
|
|
1192
1200
|
searchText?: string | undefined;
|
|
@@ -1203,15 +1211,6 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1203
1211
|
ordersCreatedBy?: string[] | undefined;
|
|
1204
1212
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1205
1213
|
} | undefined;
|
|
1206
|
-
page?: {
|
|
1207
|
-
page: number;
|
|
1208
|
-
pageSize: number;
|
|
1209
|
-
sort?: {
|
|
1210
|
-
order: SortOrder$1;
|
|
1211
|
-
column: string;
|
|
1212
|
-
}[] | undefined;
|
|
1213
|
-
more?: boolean | undefined;
|
|
1214
|
-
} | undefined;
|
|
1215
1214
|
query?: {
|
|
1216
1215
|
enabled?: boolean | undefined;
|
|
1217
1216
|
} | undefined;
|
|
@@ -1224,6 +1223,15 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1224
1223
|
chainId: string;
|
|
1225
1224
|
collectionAddress: `0x${string}`;
|
|
1226
1225
|
side: OrderSide;
|
|
1226
|
+
page?: {
|
|
1227
|
+
page: number;
|
|
1228
|
+
pageSize: number;
|
|
1229
|
+
sort?: {
|
|
1230
|
+
order: SortOrder$1;
|
|
1231
|
+
column: string;
|
|
1232
|
+
}[] | undefined;
|
|
1233
|
+
more?: boolean | undefined;
|
|
1234
|
+
} | undefined;
|
|
1227
1235
|
filter?: {
|
|
1228
1236
|
includeEmpty: boolean;
|
|
1229
1237
|
searchText?: string | undefined;
|
|
@@ -1240,15 +1248,6 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1240
1248
|
ordersCreatedBy?: string[] | undefined;
|
|
1241
1249
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1242
1250
|
} | undefined;
|
|
1243
|
-
page?: {
|
|
1244
|
-
page: number;
|
|
1245
|
-
pageSize: number;
|
|
1246
|
-
sort?: {
|
|
1247
|
-
order: SortOrder$1;
|
|
1248
|
-
column: string;
|
|
1249
|
-
}[] | undefined;
|
|
1250
|
-
more?: boolean | undefined;
|
|
1251
|
-
} | undefined;
|
|
1252
1251
|
query?: {
|
|
1253
1252
|
enabled?: boolean | undefined;
|
|
1254
1253
|
} | undefined;
|
|
@@ -1314,11 +1313,6 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1314
1313
|
chainId: string;
|
|
1315
1314
|
collectionAddress: string;
|
|
1316
1315
|
collectibleId: string;
|
|
1317
|
-
filter?: {
|
|
1318
|
-
currencies?: string[] | undefined;
|
|
1319
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1320
|
-
createdBy?: string[] | undefined;
|
|
1321
|
-
} | undefined;
|
|
1322
1316
|
page?: {
|
|
1323
1317
|
page: number;
|
|
1324
1318
|
pageSize: number;
|
|
@@ -1328,15 +1322,15 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1328
1322
|
}[] | undefined;
|
|
1329
1323
|
more?: boolean | undefined;
|
|
1330
1324
|
} | undefined;
|
|
1331
|
-
}, {
|
|
1332
|
-
chainId: string | number;
|
|
1333
|
-
collectionAddress: string;
|
|
1334
|
-
collectibleId: string;
|
|
1335
1325
|
filter?: {
|
|
1336
1326
|
currencies?: string[] | undefined;
|
|
1337
1327
|
marketplace?: MarketplaceKind[] | undefined;
|
|
1338
1328
|
createdBy?: string[] | undefined;
|
|
1339
1329
|
} | undefined;
|
|
1330
|
+
}, {
|
|
1331
|
+
chainId: string | number;
|
|
1332
|
+
collectionAddress: string;
|
|
1333
|
+
collectibleId: string;
|
|
1340
1334
|
page?: {
|
|
1341
1335
|
page: number;
|
|
1342
1336
|
pageSize: number;
|
|
@@ -1346,6 +1340,11 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1346
1340
|
}[] | undefined;
|
|
1347
1341
|
more?: boolean | undefined;
|
|
1348
1342
|
} | undefined;
|
|
1343
|
+
filter?: {
|
|
1344
|
+
currencies?: string[] | undefined;
|
|
1345
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1346
|
+
createdBy?: string[] | undefined;
|
|
1347
|
+
} | undefined;
|
|
1349
1348
|
}>;
|
|
1350
1349
|
type UseListOffersForCollectibleArgs = z.infer<typeof UseListOffersForCollectibleArgsSchema>;
|
|
1351
1350
|
type UseListOffersForCollectibleReturn = Awaited<ReturnType<typeof fetchListOffersForCollectible>>;
|
|
@@ -1354,11 +1353,6 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1354
1353
|
chainId: string;
|
|
1355
1354
|
collectionAddress: string;
|
|
1356
1355
|
collectibleId: string;
|
|
1357
|
-
filter?: {
|
|
1358
|
-
currencies?: string[] | undefined;
|
|
1359
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1360
|
-
createdBy?: string[] | undefined;
|
|
1361
|
-
} | undefined;
|
|
1362
1356
|
page?: {
|
|
1363
1357
|
page: number;
|
|
1364
1358
|
pageSize: number;
|
|
@@ -1368,16 +1362,16 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1368
1362
|
}[] | undefined;
|
|
1369
1363
|
more?: boolean | undefined;
|
|
1370
1364
|
} | undefined;
|
|
1365
|
+
filter?: {
|
|
1366
|
+
currencies?: string[] | undefined;
|
|
1367
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1368
|
+
createdBy?: string[] | undefined;
|
|
1369
|
+
} | undefined;
|
|
1371
1370
|
})[]>, "queryFn"> & {
|
|
1372
1371
|
queryFn?: _tanstack_react_query.QueryFunction<ListCollectibleOffersReturn, ("offers" | "collectable" | SdkConfig | {
|
|
1373
1372
|
chainId: string;
|
|
1374
1373
|
collectionAddress: string;
|
|
1375
1374
|
collectibleId: string;
|
|
1376
|
-
filter?: {
|
|
1377
|
-
currencies?: string[] | undefined;
|
|
1378
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1379
|
-
createdBy?: string[] | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
1375
|
page?: {
|
|
1382
1376
|
page: number;
|
|
1383
1377
|
pageSize: number;
|
|
@@ -1387,17 +1381,17 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1387
1381
|
}[] | undefined;
|
|
1388
1382
|
more?: boolean | undefined;
|
|
1389
1383
|
} | undefined;
|
|
1384
|
+
filter?: {
|
|
1385
|
+
currencies?: string[] | undefined;
|
|
1386
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1387
|
+
createdBy?: string[] | undefined;
|
|
1388
|
+
} | undefined;
|
|
1390
1389
|
})[], never> | undefined;
|
|
1391
1390
|
} & {
|
|
1392
1391
|
queryKey: ("offers" | "collectable" | SdkConfig | {
|
|
1393
1392
|
chainId: string;
|
|
1394
1393
|
collectionAddress: string;
|
|
1395
1394
|
collectibleId: string;
|
|
1396
|
-
filter?: {
|
|
1397
|
-
currencies?: string[] | undefined;
|
|
1398
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1399
|
-
createdBy?: string[] | undefined;
|
|
1400
|
-
} | undefined;
|
|
1401
1395
|
page?: {
|
|
1402
1396
|
page: number;
|
|
1403
1397
|
pageSize: number;
|
|
@@ -1407,6 +1401,11 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1407
1401
|
}[] | undefined;
|
|
1408
1402
|
more?: boolean | undefined;
|
|
1409
1403
|
} | undefined;
|
|
1404
|
+
filter?: {
|
|
1405
|
+
currencies?: string[] | undefined;
|
|
1406
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1407
|
+
createdBy?: string[] | undefined;
|
|
1408
|
+
} | undefined;
|
|
1410
1409
|
})[] & {
|
|
1411
1410
|
[dataTagSymbol]: ListCollectibleOffersReturn;
|
|
1412
1411
|
[dataTagErrorSymbol]: Error;
|
|
@@ -1570,11 +1569,6 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
1570
1569
|
chainId: string;
|
|
1571
1570
|
collectionAddress: string;
|
|
1572
1571
|
collectibleId: string;
|
|
1573
|
-
filter?: {
|
|
1574
|
-
currencies?: string[] | undefined;
|
|
1575
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1576
|
-
createdBy?: string[] | undefined;
|
|
1577
|
-
} | undefined;
|
|
1578
1572
|
page?: {
|
|
1579
1573
|
page: number;
|
|
1580
1574
|
pageSize: number;
|
|
@@ -1584,15 +1578,15 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
1584
1578
|
}[] | undefined;
|
|
1585
1579
|
more?: boolean | undefined;
|
|
1586
1580
|
} | undefined;
|
|
1587
|
-
}, {
|
|
1588
|
-
chainId: string | number;
|
|
1589
|
-
collectionAddress: string;
|
|
1590
|
-
collectibleId: string;
|
|
1591
1581
|
filter?: {
|
|
1592
1582
|
currencies?: string[] | undefined;
|
|
1593
1583
|
marketplace?: MarketplaceKind[] | undefined;
|
|
1594
1584
|
createdBy?: string[] | undefined;
|
|
1595
1585
|
} | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
chainId: string | number;
|
|
1588
|
+
collectionAddress: string;
|
|
1589
|
+
collectibleId: string;
|
|
1596
1590
|
page?: {
|
|
1597
1591
|
page: number;
|
|
1598
1592
|
pageSize: number;
|
|
@@ -1602,6 +1596,11 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
1602
1596
|
}[] | undefined;
|
|
1603
1597
|
more?: boolean | undefined;
|
|
1604
1598
|
} | undefined;
|
|
1599
|
+
filter?: {
|
|
1600
|
+
currencies?: string[] | undefined;
|
|
1601
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1602
|
+
createdBy?: string[] | undefined;
|
|
1603
|
+
} | undefined;
|
|
1605
1604
|
}>;
|
|
1606
1605
|
type UseListListingsForCollectibleArgs = z.infer<typeof UseListListingsForCollectibleArgsSchema>;
|
|
1607
1606
|
type UseListListingsForCollectibleReturn = Awaited<ReturnType<typeof fetchListListingsForCollectible>>;
|
|
@@ -1610,11 +1609,6 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1610
1609
|
chainId: string;
|
|
1611
1610
|
collectionAddress: string;
|
|
1612
1611
|
collectibleId: string;
|
|
1613
|
-
filter?: {
|
|
1614
|
-
currencies?: string[] | undefined;
|
|
1615
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1616
|
-
createdBy?: string[] | undefined;
|
|
1617
|
-
} | undefined;
|
|
1618
1612
|
page?: {
|
|
1619
1613
|
page: number;
|
|
1620
1614
|
pageSize: number;
|
|
@@ -1624,16 +1618,16 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1624
1618
|
}[] | undefined;
|
|
1625
1619
|
more?: boolean | undefined;
|
|
1626
1620
|
} | undefined;
|
|
1621
|
+
filter?: {
|
|
1622
|
+
currencies?: string[] | undefined;
|
|
1623
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1624
|
+
createdBy?: string[] | undefined;
|
|
1625
|
+
} | undefined;
|
|
1627
1626
|
})[]>, "queryFn"> & {
|
|
1628
1627
|
queryFn?: _tanstack_react_query.QueryFunction<ListCollectibleListingsReturn, ("listings" | "collectable" | SdkConfig | {
|
|
1629
1628
|
chainId: string;
|
|
1630
1629
|
collectionAddress: string;
|
|
1631
1630
|
collectibleId: string;
|
|
1632
|
-
filter?: {
|
|
1633
|
-
currencies?: string[] | undefined;
|
|
1634
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1635
|
-
createdBy?: string[] | undefined;
|
|
1636
|
-
} | undefined;
|
|
1637
1631
|
page?: {
|
|
1638
1632
|
page: number;
|
|
1639
1633
|
pageSize: number;
|
|
@@ -1643,17 +1637,17 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1643
1637
|
}[] | undefined;
|
|
1644
1638
|
more?: boolean | undefined;
|
|
1645
1639
|
} | undefined;
|
|
1640
|
+
filter?: {
|
|
1641
|
+
currencies?: string[] | undefined;
|
|
1642
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1643
|
+
createdBy?: string[] | undefined;
|
|
1644
|
+
} | undefined;
|
|
1646
1645
|
})[], never> | undefined;
|
|
1647
1646
|
} & {
|
|
1648
1647
|
queryKey: ("listings" | "collectable" | SdkConfig | {
|
|
1649
1648
|
chainId: string;
|
|
1650
1649
|
collectionAddress: string;
|
|
1651
1650
|
collectibleId: string;
|
|
1652
|
-
filter?: {
|
|
1653
|
-
currencies?: string[] | undefined;
|
|
1654
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1655
|
-
createdBy?: string[] | undefined;
|
|
1656
|
-
} | undefined;
|
|
1657
1651
|
page?: {
|
|
1658
1652
|
page: number;
|
|
1659
1653
|
pageSize: number;
|
|
@@ -1663,6 +1657,11 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1663
1657
|
}[] | undefined;
|
|
1664
1658
|
more?: boolean | undefined;
|
|
1665
1659
|
} | undefined;
|
|
1660
|
+
filter?: {
|
|
1661
|
+
currencies?: string[] | undefined;
|
|
1662
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
1663
|
+
createdBy?: string[] | undefined;
|
|
1664
|
+
} | undefined;
|
|
1666
1665
|
})[] & {
|
|
1667
1666
|
[dataTagSymbol]: ListCollectibleListingsReturn;
|
|
1668
1667
|
[dataTagErrorSymbol]: Error;
|
|
@@ -2843,11 +2842,12 @@ type TransactionStep = {
|
|
|
2843
2842
|
execute: () => Promise<void>;
|
|
2844
2843
|
};
|
|
2845
2844
|
declare const useCancelOrder: ({ collectionAddress, chainId, onSuccess, onError, }: UseCancelOrderArgs) => {
|
|
2846
|
-
cancelOrder: (
|
|
2845
|
+
cancelOrder: (params: {
|
|
2847
2846
|
orderId: string;
|
|
2848
2847
|
marketplace: MarketplaceKind;
|
|
2849
2848
|
}) => Promise<void>;
|
|
2850
2849
|
isExecuting: boolean;
|
|
2850
|
+
cancellingOrderId: string | null;
|
|
2851
2851
|
};
|
|
2852
2852
|
|
|
2853
2853
|
export { type CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, type GenerateListingTransactionProps, type GenerateOfferTransactionProps, type TransactionStep, type TransferTokensParams, type UseCheckoutOptionsArgs, type UseCheckoutOptionsReturn, type UseCollectibleArgs, type UseCollectibleReturn, type UseCollectionArgs, type UseCollectionReturn, type UseContOfCollectableReturn, type UseCountListingsForCollectibleArgs, type UseCountListingsForCollectibleReturn, type UseCountOfCollectablesArgs, type UseCountOffersForCollectibleArgs, type UseCountOffersForCollectibleReturn, type UseCurrenciesReturn, type UseCurrencyReturn, type UseFetchTokenBalancesReturn, type UseFilterReturn, type UseFiltersArgs, type UseFloorOrderArgs, type UseFloorOrderReturn, UseGenerateBuyTransactionArgsSchema, type UseGenerateListingTransactionArgs, type UseGenerateOfferTransactionArgs, type UseHighestOfferArgs, type UseHighestOfferReturn, type UseListBalancesArgs, type UseListCollectiblesArgs, type UseListCollectiblesReturn, type UseListCollectionsArgs, type UseListCollectionsReturn, type UseListListingsForCollectibleReturn, type UseListOffersForCollectibleReturn, type UseLowestListingArgs, type UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, fetchGenerateBuyTransaction, filtersOptions, floorOrderOptions, generateBuyTransactionOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectiblesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollection, useConfig, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useCurrencyOptions, useFilters, useFloorOrder, useGenerateBuyTransaction, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibles, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens };
|