@0xsequence/marketplace-sdk 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/flat-parks-clean.md +8 -0
- package/.changeset/red-buckets-deny.md +6 -0
- package/CHANGELOG.md +17 -0
- package/dist/{builder-types-QlHwc9bI.d.ts → builder-types-BY6eD6vD.d.ts} +1 -1
- package/dist/{chunk-IZ44XPBH.js → chunk-25CAMYCG.js} +2 -2
- package/dist/{chunk-ABSYNRT5.js → chunk-5ATGT5S4.js} +3 -11
- package/dist/chunk-5ATGT5S4.js.map +1 -0
- package/dist/{chunk-BNAUZXPV.js → chunk-ALICO7NG.js} +3 -3
- package/dist/chunk-ALICO7NG.js.map +1 -0
- package/dist/{chunk-Q5RKAMYF.js → chunk-BGY4WXER.js} +43 -1
- package/dist/chunk-BGY4WXER.js.map +1 -0
- package/dist/{chunk-X3QNSQER.js → chunk-DFI52A2E.js} +56 -86
- package/dist/chunk-DFI52A2E.js.map +1 -0
- package/dist/{chunk-A5ACY5YV.js → chunk-FH4TZRDV.js} +2 -2
- package/dist/{chunk-3JU7SQVE.js → chunk-FSJKN4YN.js} +61 -24
- package/dist/chunk-FSJKN4YN.js.map +1 -0
- package/dist/{chunk-3II5GLHE.js → chunk-HGKWWZWY.js} +2 -2
- package/dist/{chunk-BN36GABQ.js → chunk-QTV77W42.js} +89 -65
- package/dist/chunk-QTV77W42.js.map +1 -0
- package/dist/{chunk-BCO4CYE4.js → chunk-SJU6QZHM.js} +2 -2
- package/dist/{chunk-2VHHJNXY.js → chunk-WXKV5N4T.js} +3 -3
- package/dist/{chunk-GBQVYNCD.js → chunk-XUNDLCEH.js} +3 -3
- package/dist/{create-config-ClkUr27C.d.ts → create-config-qDML4ZNn.d.ts} +1 -1
- package/dist/{index-CnaFSNE9.d.ts → index-DtWR0b_l.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +12 -10
- package/dist/{listCollectibles-B0tbqnRd.d.ts → lowestListing-DUZ_nYml.d.ts} +49 -42
- package/dist/{marketplace.gen-BTHxxhG2.d.ts → marketplace.gen-DS-MmGEB.d.ts} +35 -4
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +1 -1
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +10 -10
- package/dist/react/_internal/index.d.ts +5 -5
- package/dist/react/_internal/index.js +2 -2
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/_internal/wagmi/index.js +2 -2
- package/dist/react/hooks/index.d.ts +68 -183
- package/dist/react/hooks/index.js +11 -13
- package/dist/react/hooks/options/index.d.ts +3 -3
- package/dist/react/hooks/options/index.js +4 -4
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +15 -17
- package/dist/react/queries/index.d.ts +2 -2
- package/dist/react/queries/index.js +11 -28
- package/dist/react/queries/index.js.map +1 -1
- package/dist/react/ssr/index.d.ts +2 -2
- package/dist/react/ssr/index.js +3 -3
- package/dist/react/ui/components/collectible-card/index.d.ts +1 -1
- package/dist/react/ui/components/collectible-card/index.js +13 -13
- package/dist/react/ui/icons/index.js +6 -6
- package/dist/react/ui/index.d.ts +1 -1
- package/dist/react/ui/index.js +13 -13
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +10 -10
- package/dist/{services-ybGoDJd9.d.ts → services-BOX67E7W.d.ts} +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +2 -4
- package/dist/{types-o_pKUpQG.d.ts → types-CJLhc2VZ.d.ts} +2 -2
- package/dist/utils/abi/index.js +5 -5
- package/dist/utils/index.d.ts +54 -2
- package/dist/utils/index.js +12 -8
- package/package.json +4 -2
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +5 -2
- package/src/react/_internal/api/marketplace.gen.ts +39 -6
- package/src/react/_internal/api/zod-schema.ts +7 -18
- package/src/react/hooks/__tests__/useGenerateListingTransaction.test.tsx +10 -2
- package/src/react/hooks/__tests__/useGenerateOfferTransaction.test.tsx +10 -2
- package/src/react/hooks/__tests__/useGenerateSellTransaction.test.tsx +5 -1
- package/src/react/hooks/__tests__/useHighestOffer.test.tsx +7 -8
- package/src/react/hooks/__tests__/useLowestListing.test.tsx +4 -5
- package/src/react/hooks/useCancelTransactionSteps.tsx +2 -2
- package/src/react/hooks/useHighestOffer.tsx +1 -39
- package/src/react/hooks/useLowestListing.tsx +4 -51
- package/src/react/queries/highestOffer.ts +25 -30
- package/src/react/queries/index.ts +1 -0
- package/src/react/queries/lowestListing.ts +52 -0
- package/src/react/ui/modals/BuyModal/ERC1155QuantityModal.tsx +6 -9
- package/src/react/ui/modals/BuyModal/Modal.tsx +26 -8
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +6 -2
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +2 -2
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +4 -4
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -2
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +2 -2
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +1 -5
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +4 -4
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +18 -14
- package/src/types/api-types.ts +1 -2
- package/src/types/types.ts +5 -0
- package/src/utils/price.ts +103 -0
- package/dist/chunk-3JU7SQVE.js.map +0 -1
- package/dist/chunk-ABSYNRT5.js.map +0 -1
- package/dist/chunk-BN36GABQ.js.map +0 -1
- package/dist/chunk-BNAUZXPV.js.map +0 -1
- package/dist/chunk-Q5RKAMYF.js.map +0 -1
- package/dist/chunk-X3QNSQER.js.map +0 -1
- /package/dist/{chunk-IZ44XPBH.js.map → chunk-25CAMYCG.js.map} +0 -0
- /package/dist/{chunk-A5ACY5YV.js.map → chunk-FH4TZRDV.js.map} +0 -0
- /package/dist/{chunk-3II5GLHE.js.map → chunk-HGKWWZWY.js.map} +0 -0
- /package/dist/{chunk-BCO4CYE4.js.map → chunk-SJU6QZHM.js.map} +0 -0
- /package/dist/{chunk-2VHHJNXY.js.map → chunk-WXKV5N4T.js.map} +0 -0
- /package/dist/{chunk-GBQVYNCD.js.map → chunk-XUNDLCEH.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
cn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BGY4WXER.js";
|
|
6
6
|
|
|
7
7
|
// src/react/ui/icons/iconVariants.ts
|
|
8
8
|
import { cva } from "class-variance-authority";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
iconVariants,
|
|
74
74
|
InfoIcon_default
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-SJU6QZHM.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
iconVariants
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SJU6QZHM.js";
|
|
6
6
|
import {
|
|
7
7
|
cn
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BGY4WXER.js";
|
|
9
9
|
|
|
10
10
|
// src/react/ui/icons/CalendarIcon.tsx
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -151,4 +151,4 @@ export {
|
|
|
151
151
|
CartIcon_default,
|
|
152
152
|
BellIcon_default
|
|
153
153
|
};
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
154
|
+
//# sourceMappingURL=chunk-WXKV5N4T.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AddressSchema,
|
|
3
3
|
QueryArgSchema
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-25CAMYCG.js";
|
|
5
5
|
import {
|
|
6
6
|
collectionKeys,
|
|
7
7
|
getMetadataClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ALICO7NG.js";
|
|
9
9
|
|
|
10
10
|
// src/react/hooks/options/collectionOptions.ts
|
|
11
11
|
import { queryOptions } from "@tanstack/react-query";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
fetchCollection,
|
|
36
36
|
collectionOptions
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-XUNDLCEH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as wagmi from 'wagmi';
|
|
2
2
|
import { Chain, Transport } from 'viem';
|
|
3
3
|
import { S as SdkConfig } from './sdk-config-DIzJk_tI.js';
|
|
4
|
-
import { g as MarketplaceConfig } from './builder-types-
|
|
4
|
+
import { g as MarketplaceConfig } from './builder-types-BY6eD6vD.js';
|
|
5
5
|
|
|
6
6
|
declare const createWagmiConfig: (marketplaceConfig: MarketplaceConfig, sdkConfig: SdkConfig, ssr?: boolean) => wagmi.Config<[Chain, ...Chain[]], Record<number, Transport>, wagmi.CreateConnectorFn[]>;
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
2
2
|
import * as _0xsequence_metadata from '@0xsequence/metadata';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { S as SdkConfig } from './sdk-config-DIzJk_tI.js';
|
|
5
|
-
import { g as MarketplaceConfig } from './builder-types-
|
|
5
|
+
import { g as MarketplaceConfig } from './builder-types-BY6eD6vD.js';
|
|
6
6
|
|
|
7
7
|
declare const UseCollectionSchema: z.ZodObject<{
|
|
8
8
|
chainId: z.ZodNumber;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { q as Activity, y as AdditionalFee, A as Asset,
|
|
1
|
+
export { q as Activity, y as AdditionalFee, A as Asset, K as CheckoutOptions, J as CheckoutOptionsItem, I as CheckoutOptionsMarketplaceOrder, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, m as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, d as CollectionStatus, C as ContractType, D as CreateReq, w as Currency, H as Domain, n as FeeBreakdown, F as Filter, G as GetOrdersInput, M as MarketplaceKind, k as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, B as PostRequest, u as Project, e as ProjectStatus, l as PropertyFilter, P as PropertyType, E as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, h as TokenMetadata, T as TransactionCrypto, W as WalletKind } from './marketplace.gen-DS-MmGEB.js';
|
|
2
2
|
export { E as Env, S as SdkConfig } from './sdk-config-DIzJk_tI.js';
|
|
3
3
|
export { Price } from './types/index.js';
|
|
4
|
-
export { C as CollectionFilterSettings, E as EcosystemWalletSettings, F as FilterCondition, d as MarketplaceCollection, g as MarketplaceConfig, f as MarketplaceSettings, e as MarketplaceSocials, a as MarketplaceType, M as MarketplaceWallet, b as MarketplaceWalletOptions, c as MetadataFilterRule } from './builder-types-
|
|
4
|
+
export { C as CollectionFilterSettings, E as EcosystemWalletSettings, F as FilterCondition, d as MarketplaceCollection, g as MarketplaceConfig, f as MarketplaceSettings, e as MarketplaceSocials, a as MarketplaceType, M as MarketplaceWallet, b as MarketplaceWalletOptions, c as MetadataFilterRule } from './builder-types-BY6eD6vD.js';
|
|
5
5
|
export { EIP2981_ABI, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI } from './utils/abi/marketplace/index.js';
|
|
6
6
|
export { ERC1155_ABI, ERC20_ABI, ERC721_ABI } from './utils/abi/token/index.js';
|
|
7
|
-
export { calculatePriceDifferencePercentage, cn, compareAddress, formatPrice, getMarketplaceDetails, getPresentableChainName, networkToWagmiChain, truncateEnd, truncateMiddle } from './utils/index.js';
|
|
7
|
+
export { calculateEarningsAfterFees, calculatePriceDifferencePercentage, cn, compareAddress, formatPrice, formatPriceWithFee, getMarketplaceDetails, getPresentableChainName, networkToWagmiChain, truncateEnd, truncateMiddle } from './utils/index.js';
|
|
8
8
|
import '@0xsequence/design-system';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@0xsequence/network';
|
package/dist/index.js
CHANGED
|
@@ -4,38 +4,39 @@ import {
|
|
|
4
4
|
SEQUENCE_MARKET_V2_ADDRESS
|
|
5
5
|
} from "./chunk-Y63BOO6M.js";
|
|
6
6
|
import {
|
|
7
|
+
calculateEarningsAfterFees,
|
|
7
8
|
calculatePriceDifferencePercentage,
|
|
8
9
|
cn,
|
|
9
10
|
compareAddress,
|
|
10
11
|
formatPrice,
|
|
12
|
+
formatPriceWithFee,
|
|
11
13
|
getMarketplaceDetails,
|
|
12
14
|
getPresentableChainName,
|
|
13
15
|
networkToWagmiChain,
|
|
14
16
|
truncateEnd,
|
|
15
17
|
truncateMiddle
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BGY4WXER.js";
|
|
17
19
|
import "./chunk-FMEEJFAF.js";
|
|
18
20
|
import "./chunk-UISBTKFF.js";
|
|
19
|
-
import {
|
|
20
|
-
EIP2981_ABI,
|
|
21
|
-
SequenceMarketplaceV1_ABI,
|
|
22
|
-
SequenceMarketplaceV2_ABI
|
|
23
|
-
} from "./chunk-XX4EVWBF.js";
|
|
24
21
|
import {
|
|
25
22
|
ERC1155_ABI,
|
|
26
23
|
ERC20_ABI,
|
|
27
24
|
ERC721_ABI
|
|
28
25
|
} from "./chunk-FUM4OGOQ.js";
|
|
26
|
+
import {
|
|
27
|
+
EIP2981_ABI,
|
|
28
|
+
SequenceMarketplaceV1_ABI,
|
|
29
|
+
SequenceMarketplaceV2_ABI
|
|
30
|
+
} from "./chunk-XX4EVWBF.js";
|
|
29
31
|
import {
|
|
30
32
|
FilterCondition,
|
|
31
33
|
MarketplaceType,
|
|
32
34
|
MarketplaceWallet
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-25CAMYCG.js";
|
|
34
36
|
import {
|
|
35
37
|
CollectibleStatus,
|
|
36
38
|
CollectionStatus,
|
|
37
39
|
ContractType,
|
|
38
|
-
ExecuteType,
|
|
39
40
|
MarketplaceKind,
|
|
40
41
|
OrderSide,
|
|
41
42
|
OrderStatus,
|
|
@@ -47,7 +48,7 @@ import {
|
|
|
47
48
|
StepType,
|
|
48
49
|
TransactionCrypto,
|
|
49
50
|
WalletKind
|
|
50
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ALICO7NG.js";
|
|
51
52
|
export {
|
|
52
53
|
CollectibleStatus,
|
|
53
54
|
CollectionStatus,
|
|
@@ -57,7 +58,6 @@ export {
|
|
|
57
58
|
ERC1155_ABI,
|
|
58
59
|
ERC20_ABI,
|
|
59
60
|
ERC721_ABI,
|
|
60
|
-
ExecuteType,
|
|
61
61
|
FilterCondition,
|
|
62
62
|
MarketplaceKind,
|
|
63
63
|
MarketplaceType,
|
|
@@ -76,10 +76,12 @@ export {
|
|
|
76
76
|
StepType,
|
|
77
77
|
TransactionCrypto,
|
|
78
78
|
WalletKind,
|
|
79
|
+
calculateEarningsAfterFees,
|
|
79
80
|
calculatePriceDifferencePercentage,
|
|
80
81
|
cn,
|
|
81
82
|
compareAddress,
|
|
82
83
|
formatPrice,
|
|
84
|
+
formatPriceWithFee,
|
|
83
85
|
getMarketplaceDetails,
|
|
84
86
|
getPresentableChainName,
|
|
85
87
|
networkToWagmiChain,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import * as _0xsequence_indexer from '@0xsequence/indexer';
|
|
3
|
-
import { Page, GetTokenBalancesReturn } from '@0xsequence/indexer';
|
|
4
|
-
import { Hex } from 'viem';
|
|
3
|
+
import { Page as Page$1, GetTokenBalancesReturn } from '@0xsequence/indexer';
|
|
4
|
+
import { Hex, Address } from 'viem';
|
|
5
5
|
import { UseQueryParameters } from 'wagmi/query';
|
|
6
6
|
import { S as SdkConfig } from './sdk-config-DIzJk_tI.js';
|
|
7
|
-
import {
|
|
7
|
+
import { b as OrderSide, m as CollectiblesFilter, i as Page, b7 as ListCollectiblesReturn, aM as GetCollectibleHighestOfferArgs, k as Order, aO as GetCollectibleLowestListingArgs, aP as GetCollectibleLowestListingReturn } from './marketplace.gen-DS-MmGEB.js';
|
|
8
8
|
|
|
9
9
|
type UseBalanceOfCollectibleArgs = {
|
|
10
10
|
collectionAddress: Hex;
|
|
@@ -40,23 +40,48 @@ declare function balanceOfCollectibleOptions(args: UseBalanceOfCollectibleArgs,
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
type
|
|
44
|
-
collectionAddress:
|
|
45
|
-
tokenId: string;
|
|
43
|
+
type UseListCollectiblesArgs = {
|
|
44
|
+
collectionAddress: Hex;
|
|
46
45
|
chainId: number;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
side: OrderSide;
|
|
47
|
+
filter?: CollectiblesFilter;
|
|
48
|
+
isLaos721?: boolean;
|
|
49
|
+
query?: {
|
|
50
|
+
enabled?: boolean;
|
|
51
|
+
};
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
* Fetches
|
|
54
|
+
* Fetches a list of collectibles with pagination support
|
|
55
55
|
*
|
|
56
56
|
* @param args - Arguments for the API call
|
|
57
57
|
* @param config - SDK configuration
|
|
58
|
-
* @
|
|
58
|
+
* @param page - Page parameters for pagination
|
|
59
|
+
* @returns The collectibles data
|
|
59
60
|
*/
|
|
61
|
+
declare function fetchCollectibles(args: UseListCollectiblesArgs, config: SdkConfig, page: Page): Promise<ListCollectiblesReturn>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates a tanstack infinite query options object for the collectibles query
|
|
64
|
+
*
|
|
65
|
+
* @param args - The query arguments
|
|
66
|
+
* @param config - SDK configuration
|
|
67
|
+
* @returns Query options configuration
|
|
68
|
+
*/
|
|
69
|
+
declare function listCollectiblesOptions(args: UseListCollectiblesArgs, config: SdkConfig): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<ListCollectiblesReturn, Error, _tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>, ListCollectiblesReturn, ("collectable" | "list" | SdkConfig | UseListCollectiblesArgs)[], Page>, "queryFn"> & {
|
|
70
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListCollectiblesReturn, ("collectable" | "list" | SdkConfig | UseListCollectiblesArgs)[], Page> | undefined;
|
|
71
|
+
} & {
|
|
72
|
+
queryKey: ("collectable" | "list" | SdkConfig | UseListCollectiblesArgs)[] & {
|
|
73
|
+
[dataTagSymbol]: _tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>;
|
|
74
|
+
[dataTagErrorSymbol]: Error;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
interface UseHighestOfferArgs extends Omit<GetCollectibleHighestOfferArgs, 'contractAddress'> {
|
|
79
|
+
collectionAddress: Address;
|
|
80
|
+
chainId: number;
|
|
81
|
+
query?: {
|
|
82
|
+
enabled?: boolean;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
60
85
|
declare function fetchHighestOffer(args: UseHighestOfferArgs, config: SdkConfig): Promise<Order | null>;
|
|
61
86
|
/**
|
|
62
87
|
* Creates a tanstack query options object for the highest offer query
|
|
@@ -86,7 +111,7 @@ type UseListBalancesArgs = {
|
|
|
86
111
|
includeContracts?: Hex[];
|
|
87
112
|
};
|
|
88
113
|
includeCollectionTokens?: boolean;
|
|
89
|
-
page?: Page;
|
|
114
|
+
page?: Page$1;
|
|
90
115
|
isLaos721?: boolean;
|
|
91
116
|
query?: {
|
|
92
117
|
enabled?: boolean;
|
|
@@ -100,7 +125,7 @@ type UseListBalancesArgs = {
|
|
|
100
125
|
* @param page - Page parameters for pagination
|
|
101
126
|
* @returns The token balances data
|
|
102
127
|
*/
|
|
103
|
-
declare function fetchBalances(args: UseListBalancesArgs, config: SdkConfig, page: Page): Promise<GetTokenBalancesReturn>;
|
|
128
|
+
declare function fetchBalances(args: UseListBalancesArgs, config: SdkConfig, page: Page$1): Promise<GetTokenBalancesReturn>;
|
|
104
129
|
/**
|
|
105
130
|
* Creates a tanstack infinite query options object for the balances query
|
|
106
131
|
*
|
|
@@ -117,39 +142,21 @@ declare function listBalancesOptions(args: UseListBalancesArgs, config: SdkConfi
|
|
|
117
142
|
};
|
|
118
143
|
};
|
|
119
144
|
|
|
120
|
-
|
|
121
|
-
collectionAddress:
|
|
145
|
+
interface UseLowestListingArgs extends Omit<GetCollectibleLowestListingArgs, 'contractAddress'> {
|
|
146
|
+
collectionAddress: Address;
|
|
122
147
|
chainId: number;
|
|
123
|
-
side: OrderSide;
|
|
124
|
-
filter?: CollectiblesFilter;
|
|
125
|
-
isLaos721?: boolean;
|
|
126
148
|
query?: {
|
|
127
149
|
enabled?: boolean;
|
|
128
150
|
};
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
* @param args - Arguments for the API call
|
|
134
|
-
* @param config - SDK configuration
|
|
135
|
-
* @param page - Page parameters for pagination
|
|
136
|
-
* @returns The collectibles data
|
|
137
|
-
*/
|
|
138
|
-
declare function fetchCollectibles(args: UseListCollectiblesArgs, config: SdkConfig, page: Page$1): Promise<ListCollectiblesReturn>;
|
|
139
|
-
/**
|
|
140
|
-
* Creates a tanstack infinite query options object for the collectibles query
|
|
141
|
-
*
|
|
142
|
-
* @param args - The query arguments
|
|
143
|
-
* @param config - SDK configuration
|
|
144
|
-
* @returns Query options configuration
|
|
145
|
-
*/
|
|
146
|
-
declare function listCollectiblesOptions(args: UseListCollectiblesArgs, config: SdkConfig): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<ListCollectiblesReturn, Error, _tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>, ListCollectiblesReturn, ("collectable" | "list" | SdkConfig | UseListCollectiblesArgs)[], Page$1>, "queryFn"> & {
|
|
147
|
-
queryFn?: _tanstack_react_query.QueryFunction<ListCollectiblesReturn, ("collectable" | "list" | SdkConfig | UseListCollectiblesArgs)[], Page$1> | undefined;
|
|
151
|
+
}
|
|
152
|
+
declare function fetchLowestListing(args: UseLowestListingArgs, config: SdkConfig): Promise<GetCollectibleLowestListingReturn['order'] | null>;
|
|
153
|
+
declare function lowestListingOptions(args: UseLowestListingArgs, config: SdkConfig): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Order | null | undefined, Error, Order | null | undefined, ("collectable" | "details" | "lowestListings" | UseLowestListingArgs)[]>, "queryFn"> & {
|
|
154
|
+
queryFn?: _tanstack_react_query.QueryFunction<Order | null | undefined, ("collectable" | "details" | "lowestListings" | UseLowestListingArgs)[], never> | undefined;
|
|
148
155
|
} & {
|
|
149
|
-
queryKey: ("collectable" | "
|
|
150
|
-
[dataTagSymbol]:
|
|
156
|
+
queryKey: ("collectable" | "details" | "lowestListings" | UseLowestListingArgs)[] & {
|
|
157
|
+
[dataTagSymbol]: Order | null | undefined;
|
|
151
158
|
[dataTagErrorSymbol]: Error;
|
|
152
159
|
};
|
|
153
160
|
};
|
|
154
161
|
|
|
155
|
-
export { type
|
|
162
|
+
export { type UseBalanceOfCollectibleArgs as U, type UseListCollectiblesArgs as a, balanceOfCollectibleOptions as b, fetchCollectibles as c, type UseHighestOfferArgs as d, fetchHighestOffer as e, fetchBalanceOfCollectible as f, type UseListBalancesArgs as g, highestOfferOptions as h, fetchBalances as i, listBalancesOptions as j, type UseLowestListingArgs as k, listCollectiblesOptions as l, fetchLowestListing as m, lowestListingOptions as n };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const WebrpcHeader = "Webrpc";
|
|
2
|
-
declare const WebrpcHeaderValue = "webrpc@v0.
|
|
2
|
+
declare const WebrpcHeaderValue = "webrpc@v0.25.1;gen-typescript@v0.17.0;marketplace-api@v0.0.0-7ab3354385f317680dd861e82a18aa351d8579d5";
|
|
3
3
|
declare const WebRPCVersion = "v1";
|
|
4
4
|
declare const WebRPCSchemaVersion = "";
|
|
5
|
-
declare const WebRPCSchemaHash = "
|
|
5
|
+
declare const WebRPCSchemaHash = "7ab3354385f317680dd861e82a18aa351d8579d5";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -683,7 +683,8 @@ interface GenerateCancelTransactionReturn {
|
|
|
683
683
|
}
|
|
684
684
|
interface ExecuteArgs {
|
|
685
685
|
signature: string;
|
|
686
|
-
|
|
686
|
+
method: string;
|
|
687
|
+
endpoint: string;
|
|
687
688
|
body: any;
|
|
688
689
|
}
|
|
689
690
|
interface ExecuteReturn {
|
|
@@ -796,6 +797,9 @@ interface Admin {
|
|
|
796
797
|
updateCollection(args: UpdateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCollectionReturn>;
|
|
797
798
|
listCollections(args: ListCollectionsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionsReturn>;
|
|
798
799
|
deleteCollection(args: DeleteCollectionArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCollectionReturn>;
|
|
800
|
+
/**
|
|
801
|
+
* determine what should happen here
|
|
802
|
+
*/
|
|
799
803
|
syncCollection(args: SyncCollectionArgs, headers?: object, signal?: AbortSignal): Promise<SyncCollectionReturn>;
|
|
800
804
|
createCurrency(args: CreateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrencyReturn>;
|
|
801
805
|
createCurrencies(args: CreateCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrenciesReturn>;
|
|
@@ -833,18 +837,45 @@ interface Marketplace {
|
|
|
833
837
|
listOffersForCollectible(args: ListOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<ListOffersForCollectibleReturn>;
|
|
834
838
|
getCountOfListingsForCollectible(args: GetCountOfListingsForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfListingsForCollectibleReturn>;
|
|
835
839
|
getCountOfOffersForCollectible(args: GetCountOfOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfOffersForCollectibleReturn>;
|
|
840
|
+
/**
|
|
841
|
+
* @deprecated Please use GetLowestPriceOfferForCollectible instead.
|
|
842
|
+
*/
|
|
836
843
|
getCollectibleLowestOffer(args: GetCollectibleLowestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestOfferReturn>;
|
|
844
|
+
/**
|
|
845
|
+
* @deprecated Please use GetHighestPriceOfferForCollectible instead.
|
|
846
|
+
*/
|
|
837
847
|
getCollectibleHighestOffer(args: GetCollectibleHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestOfferReturn>;
|
|
848
|
+
/**
|
|
849
|
+
* @deprecated Please use GetLowestPriceListingForCollectible instead.
|
|
850
|
+
*/
|
|
838
851
|
getCollectibleLowestListing(args: GetCollectibleLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestListingReturn>;
|
|
852
|
+
/**
|
|
853
|
+
* @deprecated Please use GetHighestPriceListingForCollectible instead.
|
|
854
|
+
*/
|
|
839
855
|
getCollectibleHighestListing(args: GetCollectibleHighestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestListingReturn>;
|
|
856
|
+
/**
|
|
857
|
+
* @deprecated Please use ListListingsForCollectible instead.
|
|
858
|
+
*/
|
|
840
859
|
listCollectibleListings(args: ListCollectibleListingsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleListingsReturn>;
|
|
860
|
+
/**
|
|
861
|
+
* @deprecated Please use ListOffersForCollectible instead.
|
|
862
|
+
*/
|
|
841
863
|
listCollectibleOffers(args: ListCollectibleOffersArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleOffersReturn>;
|
|
864
|
+
/**
|
|
865
|
+
* checkout process
|
|
866
|
+
*/
|
|
842
867
|
generateBuyTransaction(args: GenerateBuyTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateBuyTransactionReturn>;
|
|
843
868
|
generateSellTransaction(args: GenerateSellTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateSellTransactionReturn>;
|
|
844
869
|
generateListingTransaction(args: GenerateListingTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateListingTransactionReturn>;
|
|
845
870
|
generateOfferTransaction(args: GenerateOfferTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateOfferTransactionReturn>;
|
|
846
871
|
generateCancelTransaction(args: GenerateCancelTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateCancelTransactionReturn>;
|
|
872
|
+
/**
|
|
873
|
+
* only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market
|
|
874
|
+
*/
|
|
847
875
|
execute(args: ExecuteArgs, headers?: object, signal?: AbortSignal): Promise<ExecuteReturn>;
|
|
876
|
+
/**
|
|
877
|
+
* list of collectibles with best order for each collectible, by default this only returns collectibles with an order
|
|
878
|
+
*/
|
|
848
879
|
listCollectibles(args: ListCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesReturn>;
|
|
849
880
|
getCountOfAllCollectibles(args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesReturn>;
|
|
850
881
|
getCountOfFilteredCollectibles(args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesReturn>;
|
|
@@ -1037,4 +1068,4 @@ declare const webrpcErrorByCode: {
|
|
|
1037
1068
|
};
|
|
1038
1069
|
type Fetch = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
1039
1070
|
|
|
1040
|
-
export {
|
|
1071
|
+
export { TransactionSwapProvider as $, type Asset as A, type PostRequest as B, ContractType as C, type CreateReq as D, type Signature as E, type Filter as F, type GetOrdersInput as G, type Domain as H, type CheckoutOptionsMarketplaceOrder as I, type CheckoutOptionsItem as J, type CheckoutOptions as K, WebrpcHeader as L, MarketplaceKind as M, WebrpcHeaderValue as N, OrderbookKind as O, PropertyType as P, WebRPCVersion as Q, WebRPCSchemaVersion as R, SortOrder as S, TransactionCrypto as T, WebRPCSchemaHash as U, VersionFromHeader as V, WalletKind as W, CollectionPriority as X, CurrencyStatus as Y, TransactionNFTCheckoutProvider as Z, TransactionOnRampProvider as _, SourceKind as a, type GenerateListingTransactionReturn as a$, ExecuteType as a0, ActivityAction as a1, Admin as a2, type CreateCollectionArgs as a3, type CreateCollectionReturn as a4, type GetCollectionArgs as a5, type GetCollectionReturn as a6, type UpdateCollectionArgs as a7, type UpdateCollectionReturn as a8, type ListCollectionsArgs as a9, type GetHighestPriceListingForCollectibleArgs as aA, type GetHighestPriceListingForCollectibleReturn as aB, type ListListingsForCollectibleArgs as aC, type ListListingsForCollectibleReturn as aD, type ListOffersForCollectibleArgs as aE, type ListOffersForCollectibleReturn as aF, type GetCountOfListingsForCollectibleArgs as aG, type GetCountOfListingsForCollectibleReturn as aH, type GetCountOfOffersForCollectibleArgs as aI, type GetCountOfOffersForCollectibleReturn as aJ, type GetCollectibleLowestOfferArgs as aK, type GetCollectibleLowestOfferReturn as aL, type GetCollectibleHighestOfferArgs as aM, type GetCollectibleHighestOfferReturn as aN, type GetCollectibleLowestListingArgs as aO, type GetCollectibleLowestListingReturn as aP, type GetCollectibleHighestListingArgs as aQ, type GetCollectibleHighestListingReturn as aR, type ListCollectibleListingsArgs as aS, type ListCollectibleListingsReturn as aT, type ListCollectibleOffersArgs as aU, type ListCollectibleOffersReturn as aV, type GenerateBuyTransactionArgs as aW, type GenerateBuyTransactionReturn as aX, type GenerateSellTransactionArgs as aY, type GenerateSellTransactionReturn as aZ, type GenerateListingTransactionArgs as a_, type ListCollectionsReturn as aa, type DeleteCollectionArgs as ab, type DeleteCollectionReturn as ac, type SyncCollectionArgs as ad, type SyncCollectionReturn as ae, type CreateCurrencyArgs as af, type CreateCurrencyReturn as ag, type CreateCurrenciesArgs as ah, type CreateCurrenciesReturn as ai, type UpdateCurrencyArgs as aj, type UpdateCurrencyReturn as ak, type ListCurrenciesArgs as al, type ListCurrenciesReturn as am, type DeleteCurrencyArgs as an, type DeleteCurrencyReturn as ao, Marketplace as ap, type GetCollectionDetailArgs as aq, type GetCollectionDetailReturn as ar, type GetCollectibleArgs as as, type GetCollectibleReturn as at, type GetLowestPriceOfferForCollectibleArgs as au, type GetLowestPriceOfferForCollectibleReturn as av, type GetHighestPriceOfferForCollectibleArgs as aw, type GetHighestPriceOfferForCollectibleReturn as ax, type GetLowestPriceListingForCollectibleArgs as ay, type GetLowestPriceListingForCollectibleReturn as az, OrderSide as b, type GenerateOfferTransactionArgs as b0, type GenerateOfferTransactionReturn as b1, type GenerateCancelTransactionArgs as b2, type GenerateCancelTransactionReturn as b3, type ExecuteArgs as b4, type ExecuteReturn as b5, type ListCollectiblesArgs as b6, type ListCollectiblesReturn as b7, type GetCountOfAllCollectiblesArgs as b8, type GetCountOfAllCollectiblesReturn as b9, WebrpcBadMethodError as bA, WebrpcBadRequestError as bB, WebrpcBadResponseError as bC, WebrpcServerPanicError as bD, WebrpcInternalErrorError as bE, WebrpcClientDisconnectedError as bF, WebrpcStreamLostError as bG, WebrpcStreamFinishedError as bH, UnauthorizedError as bI, PermissionDeniedError as bJ, SessionExpiredError as bK, MethodNotFoundError as bL, TimeoutError as bM, InvalidArgumentError as bN, NotFoundError as bO, UserNotFoundError as bP, ProjectNotFoundError as bQ, InvalidTierError as bR, ProjectLimitReachedError as bS, NotImplementedError as bT, errors as bU, WebrpcErrorCodes as bV, webrpcErrorByCode as bW, type Fetch as bX, type GetCountOfFilteredCollectiblesArgs as ba, type GetCountOfFilteredCollectiblesReturn as bb, type GetFloorOrderArgs as bc, type GetFloorOrderReturn as bd, type ListCollectionActivitiesArgs as be, type ListCollectionActivitiesReturn as bf, type ListCollectibleActivitiesArgs as bg, type ListCollectibleActivitiesReturn as bh, type ListCollectiblesWithLowestListingArgs as bi, type ListCollectiblesWithLowestListingReturn as bj, type ListCollectiblesWithHighestOfferArgs as bk, type ListCollectiblesWithHighestOfferReturn as bl, type SyncOrderArgs as bm, type SyncOrderReturn as bn, type SyncOrdersArgs as bo, type SyncOrdersReturn as bp, type GetOrdersArgs as bq, type GetOrdersReturn as br, type CheckoutOptionsMarketplaceArgs as bs, type CheckoutOptionsMarketplaceReturn as bt, type CheckoutOptionsSalesContractArgs as bu, type CheckoutOptionsSalesContractReturn as bv, WebrpcError as bw, WebrpcEndpointError as bx, WebrpcRequestFailedError as by, WebrpcBadRouteError as bz, OrderStatus as c, CollectionStatus as d, ProjectStatus as e, CollectibleStatus as f, StepType as g, type TokenMetadata as h, type Page as i, type SortBy as j, type Order as k, type PropertyFilter as l, type CollectiblesFilter as m, type FeeBreakdown as n, type CollectibleOrder as o, type OrderFilter as p, type Activity as q, type Collection as r, type CollectionConfig as s, type CollectionLastSynced as t, type Project as u, type Collectible as v, type Currency as w, type OrderData as x, type AdditionalFee as y, type Step as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
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, a1 as ActivityAction, y as AdditionalFee, a2 as Admin, A as Asset,
|
|
2
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../../services-BOX67E7W.js';
|
|
3
|
+
export { q as Activity, a1 as ActivityAction, y as AdditionalFee, a2 as Admin, A as Asset, K as CheckoutOptions, J as CheckoutOptionsItem, bs as CheckoutOptionsMarketplaceArgs, I as CheckoutOptionsMarketplaceOrder, bt as CheckoutOptionsMarketplaceReturn, bu as CheckoutOptionsSalesContractArgs, bv as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, m as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, X as CollectionPriority, d as CollectionStatus, C as ContractType, a3 as CreateCollectionArgs, a4 as CreateCollectionReturn, ah as CreateCurrenciesArgs, ai as CreateCurrenciesReturn, af as CreateCurrencyArgs, ag as CreateCurrencyReturn, D as CreateReq, w as Currency, Y as CurrencyStatus, ab as DeleteCollectionArgs, ac as DeleteCollectionReturn, an as DeleteCurrencyArgs, ao as DeleteCurrencyReturn, H as Domain, b4 as ExecuteArgs, b5 as ExecuteReturn, a0 as ExecuteType, n as FeeBreakdown, bX as Fetch, F as Filter, aW as GenerateBuyTransactionArgs, aX as GenerateBuyTransactionReturn, b2 as GenerateCancelTransactionArgs, b3 as GenerateCancelTransactionReturn, a_ as GenerateListingTransactionArgs, a$ as GenerateListingTransactionReturn, b0 as GenerateOfferTransactionArgs, b1 as GenerateOfferTransactionReturn, aY as GenerateSellTransactionArgs, aZ as GenerateSellTransactionReturn, as as GetCollectibleArgs, aQ as GetCollectibleHighestListingArgs, aR as GetCollectibleHighestListingReturn, aM as GetCollectibleHighestOfferArgs, aN as GetCollectibleHighestOfferReturn, aO as GetCollectibleLowestListingArgs, aP as GetCollectibleLowestListingReturn, aK as GetCollectibleLowestOfferArgs, aL as GetCollectibleLowestOfferReturn, at as GetCollectibleReturn, a5 as GetCollectionArgs, aq as GetCollectionDetailArgs, ar as GetCollectionDetailReturn, a6 as GetCollectionReturn, b8 as GetCountOfAllCollectiblesArgs, b9 as GetCountOfAllCollectiblesReturn, ba as GetCountOfFilteredCollectiblesArgs, bb as GetCountOfFilteredCollectiblesReturn, aG as GetCountOfListingsForCollectibleArgs, aH as GetCountOfListingsForCollectibleReturn, aI as GetCountOfOffersForCollectibleArgs, aJ as GetCountOfOffersForCollectibleReturn, bc as GetFloorOrderArgs, bd as GetFloorOrderReturn, aA as GetHighestPriceListingForCollectibleArgs, aB as GetHighestPriceListingForCollectibleReturn, aw as GetHighestPriceOfferForCollectibleArgs, ax as GetHighestPriceOfferForCollectibleReturn, ay as GetLowestPriceListingForCollectibleArgs, az as GetLowestPriceListingForCollectibleReturn, au as GetLowestPriceOfferForCollectibleArgs, av as GetLowestPriceOfferForCollectibleReturn, bq as GetOrdersArgs, G as GetOrdersInput, br as GetOrdersReturn, bN as InvalidArgumentError, bR as InvalidTierError, bg as ListCollectibleActivitiesArgs, bh as ListCollectibleActivitiesReturn, aS as ListCollectibleListingsArgs, aT as ListCollectibleListingsReturn, aU as ListCollectibleOffersArgs, aV as ListCollectibleOffersReturn, b6 as ListCollectiblesArgs, b7 as ListCollectiblesReturn, bk as ListCollectiblesWithHighestOfferArgs, bl as ListCollectiblesWithHighestOfferReturn, bi as ListCollectiblesWithLowestListingArgs, bj as ListCollectiblesWithLowestListingReturn, be as ListCollectionActivitiesArgs, bf as ListCollectionActivitiesReturn, a9 as ListCollectionsArgs, aa as ListCollectionsReturn, al as ListCurrenciesArgs, am as ListCurrenciesReturn, aC as ListListingsForCollectibleArgs, aD as ListListingsForCollectibleReturn, aE as ListOffersForCollectibleArgs, aF as ListOffersForCollectibleReturn, ap as Marketplace, M as MarketplaceKind, bL as MethodNotFoundError, bO as NotFoundError, bT as NotImplementedError, k as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bJ as PermissionDeniedError, B as PostRequest, u as Project, bS as ProjectLimitReachedError, bQ as ProjectNotFoundError, e as ProjectStatus, l as PropertyFilter, P as PropertyType, bK as SessionExpiredError, E as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, ad as SyncCollectionArgs, ae as SyncCollectionReturn, bm as SyncOrderArgs, bn as SyncOrderReturn, bo as SyncOrdersArgs, bp as SyncOrdersReturn, bM as TimeoutError, h as TokenMetadata, T as TransactionCrypto, Z as TransactionNFTCheckoutProvider, _ as TransactionOnRampProvider, $ as TransactionSwapProvider, bI as UnauthorizedError, a7 as UpdateCollectionArgs, a8 as UpdateCollectionReturn, aj as UpdateCurrencyArgs, ak as UpdateCurrencyReturn, bP as UserNotFoundError, V as VersionFromHeader, W as WalletKind, U as WebRPCSchemaHash, R as WebRPCSchemaVersion, Q as WebRPCVersion, bA as WebrpcBadMethodError, bB as WebrpcBadRequestError, bC as WebrpcBadResponseError, bz as WebrpcBadRouteError, bF as WebrpcClientDisconnectedError, bx as WebrpcEndpointError, bw as WebrpcError, bV as WebrpcErrorCodes, L as WebrpcHeader, N as WebrpcHeaderValue, bE as WebrpcInternalErrorError, by as WebrpcRequestFailedError, bD as WebrpcServerPanicError, bH as WebrpcStreamFinishedError, bG as WebrpcStreamLostError, bU as errors, bW as webrpcErrorByCode } from '../../../marketplace.gen-DS-MmGEB.js';
|
|
4
4
|
import { GetTokenSuppliesReturn, GetTokenBalancesReturn } from '@0xsequence/indexer';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import '@0xsequence/metadata';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event as Event$1, Databeat } from '@databeat/tracker';
|
|
2
|
-
import { M as MarketplaceKind, O as OrderbookKind } from '../../../marketplace.gen-
|
|
2
|
+
import { M as MarketplaceKind, O as OrderbookKind } from '../../../marketplace.gen-DS-MmGEB.js';
|
|
3
3
|
|
|
4
4
|
declare enum EventType {
|
|
5
5
|
BUY_ITEMS = 0,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatabeatAnalytics,
|
|
3
3
|
useAnalytics
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-BCO4CYE4.js";
|
|
4
|
+
} from "../../../chunk-FH4TZRDV.js";
|
|
5
|
+
import "../../../chunk-DFI52A2E.js";
|
|
6
|
+
import "../../../chunk-XUNDLCEH.js";
|
|
7
|
+
import "../../../chunk-SJU6QZHM.js";
|
|
9
8
|
import "../../../chunk-Y63BOO6M.js";
|
|
10
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-BGY4WXER.js";
|
|
11
10
|
import "../../../chunk-FMEEJFAF.js";
|
|
12
11
|
import "../../../chunk-UISBTKFF.js";
|
|
13
|
-
import "../../../chunk-XX4EVWBF.js";
|
|
14
12
|
import "../../../chunk-FUM4OGOQ.js";
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
13
|
+
import "../../../chunk-XX4EVWBF.js";
|
|
14
|
+
import "../../../chunk-FSJKN4YN.js";
|
|
15
|
+
import "../../../chunk-HGKWWZWY.js";
|
|
16
|
+
import "../../../chunk-25CAMYCG.js";
|
|
17
|
+
import "../../../chunk-ALICO7NG.js";
|
|
18
18
|
export {
|
|
19
19
|
DatabeatAnalytics,
|
|
20
20
|
useAnalytics
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { A as AddressSchema, B as BuyInput, e as CancelInput, C as CollectableIdSchema, b as CollectionType, L as ListingInput, O as OfferInput, a as QueryArg, Q as QueryArgSchema, S as SellInput, d as TransactionConfig, T as TransactionSteps, c as TransactionType } from '../../types-
|
|
1
|
+
export { A as AddressSchema, B as BuyInput, e as CancelInput, C as CollectableIdSchema, b as CollectionType, L as ListingInput, O as OfferInput, a as QueryArg, Q as QueryArgSchema, S as SellInput, d as TransactionConfig, T as TransactionSteps, c as TransactionType } from '../../types-CJLhc2VZ.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, a1 as ActivityAction, y as AdditionalFee, a2 as Admin, A as Asset,
|
|
3
|
+
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../services-BOX67E7W.js';
|
|
4
|
+
export { q as Activity, a1 as ActivityAction, y as AdditionalFee, a2 as Admin, A as Asset, K as CheckoutOptions, J as CheckoutOptionsItem, bs as CheckoutOptionsMarketplaceArgs, I as CheckoutOptionsMarketplaceOrder, bt as CheckoutOptionsMarketplaceReturn, bu as CheckoutOptionsSalesContractArgs, bv as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, m as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, X as CollectionPriority, d as CollectionStatus, C as ContractType, a3 as CreateCollectionArgs, a4 as CreateCollectionReturn, ah as CreateCurrenciesArgs, ai as CreateCurrenciesReturn, af as CreateCurrencyArgs, ag as CreateCurrencyReturn, D as CreateReq, w as Currency, Y as CurrencyStatus, ab as DeleteCollectionArgs, ac as DeleteCollectionReturn, an as DeleteCurrencyArgs, ao as DeleteCurrencyReturn, H as Domain, b4 as ExecuteArgs, b5 as ExecuteReturn, a0 as ExecuteType, n as FeeBreakdown, bX as Fetch, F as Filter, aW as GenerateBuyTransactionArgs, aX as GenerateBuyTransactionReturn, b2 as GenerateCancelTransactionArgs, b3 as GenerateCancelTransactionReturn, a_ as GenerateListingTransactionArgs, a$ as GenerateListingTransactionReturn, b0 as GenerateOfferTransactionArgs, b1 as GenerateOfferTransactionReturn, aY as GenerateSellTransactionArgs, aZ as GenerateSellTransactionReturn, as as GetCollectibleArgs, aQ as GetCollectibleHighestListingArgs, aR as GetCollectibleHighestListingReturn, aM as GetCollectibleHighestOfferArgs, aN as GetCollectibleHighestOfferReturn, aO as GetCollectibleLowestListingArgs, aP as GetCollectibleLowestListingReturn, aK as GetCollectibleLowestOfferArgs, aL as GetCollectibleLowestOfferReturn, at as GetCollectibleReturn, a5 as GetCollectionArgs, aq as GetCollectionDetailArgs, ar as GetCollectionDetailReturn, a6 as GetCollectionReturn, b8 as GetCountOfAllCollectiblesArgs, b9 as GetCountOfAllCollectiblesReturn, ba as GetCountOfFilteredCollectiblesArgs, bb as GetCountOfFilteredCollectiblesReturn, aG as GetCountOfListingsForCollectibleArgs, aH as GetCountOfListingsForCollectibleReturn, aI as GetCountOfOffersForCollectibleArgs, aJ as GetCountOfOffersForCollectibleReturn, bc as GetFloorOrderArgs, bd as GetFloorOrderReturn, aA as GetHighestPriceListingForCollectibleArgs, aB as GetHighestPriceListingForCollectibleReturn, aw as GetHighestPriceOfferForCollectibleArgs, ax as GetHighestPriceOfferForCollectibleReturn, ay as GetLowestPriceListingForCollectibleArgs, az as GetLowestPriceListingForCollectibleReturn, au as GetLowestPriceOfferForCollectibleArgs, av as GetLowestPriceOfferForCollectibleReturn, bq as GetOrdersArgs, G as GetOrdersInput, br as GetOrdersReturn, bN as InvalidArgumentError, bR as InvalidTierError, bg as ListCollectibleActivitiesArgs, bh as ListCollectibleActivitiesReturn, aS as ListCollectibleListingsArgs, aT as ListCollectibleListingsReturn, aU as ListCollectibleOffersArgs, aV as ListCollectibleOffersReturn, b6 as ListCollectiblesArgs, b7 as ListCollectiblesReturn, bk as ListCollectiblesWithHighestOfferArgs, bl as ListCollectiblesWithHighestOfferReturn, bi as ListCollectiblesWithLowestListingArgs, bj as ListCollectiblesWithLowestListingReturn, be as ListCollectionActivitiesArgs, bf as ListCollectionActivitiesReturn, a9 as ListCollectionsArgs, aa as ListCollectionsReturn, al as ListCurrenciesArgs, am as ListCurrenciesReturn, aC as ListListingsForCollectibleArgs, aD as ListListingsForCollectibleReturn, aE as ListOffersForCollectibleArgs, aF as ListOffersForCollectibleReturn, ap as Marketplace, M as MarketplaceKind, bL as MethodNotFoundError, bO as NotFoundError, bT as NotImplementedError, k as Order, x as OrderData, p as OrderFilter, b as OrderSide, c as OrderStatus, O as OrderbookKind, i as Page, bJ as PermissionDeniedError, B as PostRequest, u as Project, bS as ProjectLimitReachedError, bQ as ProjectNotFoundError, e as ProjectStatus, l as PropertyFilter, P as PropertyType, bK as SessionExpiredError, E as Signature, j as SortBy, S as SortOrder, a as SourceKind, z as Step, g as StepType, ad as SyncCollectionArgs, ae as SyncCollectionReturn, bm as SyncOrderArgs, bn as SyncOrderReturn, bo as SyncOrdersArgs, bp as SyncOrdersReturn, bM as TimeoutError, h as TokenMetadata, T as TransactionCrypto, Z as TransactionNFTCheckoutProvider, _ as TransactionOnRampProvider, $ as TransactionSwapProvider, bI as UnauthorizedError, a7 as UpdateCollectionArgs, a8 as UpdateCollectionReturn, aj as UpdateCurrencyArgs, ak as UpdateCurrencyReturn, bP as UserNotFoundError, V as VersionFromHeader, W as WalletKind, U as WebRPCSchemaHash, R as WebRPCSchemaVersion, Q as WebRPCVersion, bA as WebrpcBadMethodError, bB as WebrpcBadRequestError, bC as WebrpcBadResponseError, bz as WebrpcBadRouteError, bF as WebrpcClientDisconnectedError, bx as WebrpcEndpointError, bw as WebrpcError, bV as WebrpcErrorCodes, L as WebrpcHeader, N as WebrpcHeaderValue, bE as WebrpcInternalErrorError, by as WebrpcRequestFailedError, bD as WebrpcServerPanicError, bH as WebrpcStreamFinishedError, bG as WebrpcStreamLostError, bU as errors, bW as webrpcErrorByCode } from '../../marketplace.gen-DS-MmGEB.js';
|
|
5
5
|
export { LaosAPI, PaginationOptions, SortOption, TokenBalancesParams, TokenSuppliesParams, 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-qDML4ZNn.js';
|
|
7
7
|
export { getConnectors, getWaasConnectors } from './wagmi/index.js';
|
|
8
8
|
import 'viem';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '../../sdk-config-DIzJk_tI.js';
|
|
11
|
-
import '../../builder-types-
|
|
11
|
+
import '../../builder-types-BY6eD6vD.js';
|
|
12
12
|
import '@tanstack/react-query';
|
|
13
13
|
import '@0xsequence/indexer';
|
|
14
14
|
import '@0xsequence/metadata';
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getConnectors,
|
|
10
10
|
getProviderEl,
|
|
11
11
|
getWaasConnectors
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-25CAMYCG.js";
|
|
13
13
|
import {
|
|
14
14
|
ActivityAction,
|
|
15
15
|
Admin,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
getQueryClient,
|
|
82
82
|
imageProxy,
|
|
83
83
|
webrpcErrorByCode
|
|
84
|
-
} from "../../chunk-
|
|
84
|
+
} from "../../chunk-ALICO7NG.js";
|
|
85
85
|
export {
|
|
86
86
|
ActivityAction,
|
|
87
87
|
AddressSchema,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { c as createWagmiConfig } from '../../../create-config-
|
|
1
|
+
export { c as createWagmiConfig } from '../../../create-config-qDML4ZNn.js';
|
|
2
2
|
import { Wallet } from '@0xsequence/connect';
|
|
3
3
|
import { CreateConnectorFn } from 'wagmi';
|
|
4
4
|
import { S as SdkConfig } from '../../../sdk-config-DIzJk_tI.js';
|
|
5
|
-
import { g as MarketplaceConfig, M as MarketplaceWallet } from '../../../builder-types-
|
|
5
|
+
import { g as MarketplaceConfig, M as MarketplaceWallet } from '../../../builder-types-BY6eD6vD.js';
|
|
6
6
|
import 'viem';
|
|
7
|
-
import '../../../marketplace.gen-
|
|
7
|
+
import '../../../marketplace.gen-DS-MmGEB.js';
|
|
8
8
|
|
|
9
9
|
declare function getConnectors({ marketplaceConfig, sdkConfig, walletType, }: {
|
|
10
10
|
marketplaceConfig: MarketplaceConfig;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
createWagmiConfig,
|
|
3
3
|
getConnectors,
|
|
4
4
|
getWaasConnectors
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-25CAMYCG.js";
|
|
6
|
+
import "../../../chunk-ALICO7NG.js";
|
|
7
7
|
export {
|
|
8
8
|
createWagmiConfig,
|
|
9
9
|
getConnectors,
|