@0xsequence/marketplace-sdk 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/.changeset/config.json +11 -0
- package/.changeset/fuzzy-forks-smoke.md +5 -0
- package/CHANGELOG.md +7 -0
- package/dist/chunk-2MSBZYLW.js +128 -0
- package/dist/chunk-2MSBZYLW.js.map +1 -0
- package/dist/{chunk-MPBN3E54.js → chunk-2VHHJNXY.js} +3 -3
- package/dist/{chunk-FBUMNJQ4.js → chunk-3II5GLHE.js} +2 -2
- package/dist/chunk-3JU7SQVE.js +182 -0
- package/dist/chunk-3JU7SQVE.js.map +1 -0
- package/dist/{chunk-XNA64MZQ.js → chunk-BCO4CYE4.js} +2 -2
- package/dist/{chunk-4XK7XNJ7.js → chunk-BNAUZXPV.js} +73 -2
- package/dist/chunk-BNAUZXPV.js.map +1 -0
- package/dist/{chunk-Q5URKSC4.js → chunk-FMEEJFAF.js} +1 -1
- package/dist/{chunk-BBASZVT3.js → chunk-GBQVYNCD.js} +5 -6
- package/dist/chunk-GBQVYNCD.js.map +1 -0
- package/dist/{chunk-3AKOPSON.js → chunk-IZ44XPBH.js} +2 -9
- package/dist/chunk-IZ44XPBH.js.map +1 -0
- package/dist/{chunk-EAJ5K7QV.js → chunk-Q5RKAMYF.js} +3 -4
- package/dist/chunk-Q5RKAMYF.js.map +1 -0
- package/dist/{chunk-RBEPPVLT.js → chunk-QKGZXS4T.js} +147 -357
- package/dist/chunk-QKGZXS4T.js.map +1 -0
- package/dist/{chunk-HTFORA4Q.js → chunk-SBI52HTX.js} +1880 -1010
- package/dist/chunk-SBI52HTX.js.map +1 -0
- package/dist/{chunk-XTGMMNV5.js → chunk-WHFXVREI.js} +2 -2
- package/dist/{index-CzTANLaA.d.ts → index-CnaFSNE9.d.ts} +6 -7
- package/dist/index.css +113 -31
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/index.js +9 -9
- package/dist/listCollectibles-B0tbqnRd.d.ts +155 -0
- package/dist/react/_internal/api/index.d.ts +28 -2
- package/dist/react/_internal/api/index.js +3 -1
- package/dist/react/_internal/databeat/index.js +11 -10
- package/dist/react/_internal/index.d.ts +2 -3
- package/dist/react/_internal/index.js +4 -4
- package/dist/react/_internal/wagmi/index.js +2 -2
- package/dist/react/hooks/index.d.ts +259 -674
- package/dist/react/hooks/index.js +10 -19
- package/dist/react/hooks/options/index.d.ts +1 -2
- package/dist/react/hooks/options/index.js +4 -4
- package/dist/react/index.d.ts +7 -7
- package/dist/react/index.js +14 -23
- package/dist/react/queries/index.d.ts +25 -0
- package/dist/react/queries/index.js +48 -0
- package/dist/react/queries/index.js.map +1 -0
- package/dist/react/ssr/index.js +3 -3
- package/dist/react/ui/components/collectible-card/index.d.ts +1 -6
- package/dist/react/ui/components/collectible-card/index.js +14 -13
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +7 -7
- package/dist/react/ui/index.d.ts +18 -22
- package/dist/react/ui/index.js +14 -13
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +6 -11
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +11 -10
- package/dist/types/index.js +2 -2
- package/dist/{types-Ct1uCT3M.d.ts → types-o_pKUpQG.d.ts} +2 -5
- package/dist/utils/abi/index.js +5 -5
- package/dist/utils/index.d.ts +1 -5
- package/dist/utils/index.js +9 -9
- package/package.json +22 -16
- package/src/react/_internal/api/__mocks__/indexer.msw.ts +3 -1
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +1 -1
- package/src/react/_internal/api/__mocks__/metadata.msw.ts +14 -12
- package/src/react/_internal/api/index.ts +1 -0
- package/src/react/_internal/api/laos-api.ts +103 -0
- package/src/react/_internal/api/zod-schema.ts +3 -3
- package/src/react/_internal/types.ts +1 -10
- package/src/react/_internal/wallet/__tests__/wallet.test.ts +43 -0
- package/src/react/_internal/wallet/useWallet.ts +6 -3
- package/src/react/hooks/__tests__/useAutoSelectFeeOption.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCancelOrder.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCancelTransactionSteps.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCollectible.test.tsx +2 -2
- package/src/react/hooks/__tests__/useCollection.test.tsx +2 -2
- package/src/react/hooks/__tests__/useComparePrices.test.tsx +1 -1
- package/src/react/hooks/__tests__/useConvertPriceToUSD.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCountListingsForCollectible.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCountOfCollectables.test.tsx +2 -2
- package/src/react/hooks/__tests__/useCountOffersForCollectible.test.tsx +1 -1
- package/src/react/hooks/__tests__/useCurrencies.test.tsx +2 -2
- package/src/react/hooks/__tests__/useCurrency.test.tsx +2 -2
- package/src/react/hooks/__tests__/useFilters.test.tsx +2 -2
- package/src/react/hooks/__tests__/useFloorOrder.test.tsx +2 -2
- package/src/react/hooks/__tests__/useGenerateCancelTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useGenerateListingTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useGenerateOfferTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useGenerateSellTransaction.test.tsx +1 -1
- package/src/react/hooks/__tests__/useListCollectibleActivities.test.tsx +2 -2
- package/src/react/hooks/__tests__/useListCollectibles.test.tsx +3 -2
- package/src/react/hooks/__tests__/useListCollectiblesPaginated.test.tsx +1 -1
- package/src/react/hooks/__tests__/useListCollectionActivities.test.tsx +1 -1
- package/src/react/hooks/__tests__/useListListingsForCollectible.test.tsx +1 -1
- package/src/react/hooks/__tests__/useListOffersForCollectible.test.tsx +1 -1
- package/src/react/hooks/__tests__/useLowestListing.test.tsx +1 -1
- package/src/react/hooks/__tests__/useRoyalty.test.tsx +1 -2
- package/src/react/hooks/index.ts +0 -1
- package/src/react/hooks/options/collectionOptions.ts +2 -3
- package/src/react/hooks/useAutoSelectFeeOption.tsx +1 -1
- package/src/react/hooks/useCancelOrder.tsx +3 -3
- package/src/react/hooks/useCancelTransactionSteps.tsx +1 -1
- package/src/react/hooks/useCheckoutOptions.tsx +1 -2
- package/src/react/hooks/useCollectible.tsx +2 -3
- package/src/react/hooks/useCollectionBalanceDetails.tsx +1 -2
- package/src/react/hooks/useComparePrices.tsx +2 -9
- package/src/react/hooks/useConvertPriceToUSD.tsx +1 -4
- package/src/react/hooks/useCountListingsForCollectible.tsx +1 -2
- package/src/react/hooks/useCountOfCollectables.tsx +1 -2
- package/src/react/hooks/useCountOffersForCollectible.tsx +1 -2
- package/src/react/hooks/useCurrencies.tsx +1 -4
- package/src/react/hooks/useCurrency.tsx +3 -8
- package/src/react/hooks/useFilters.tsx +5 -4
- package/src/react/hooks/useFloorOrder.tsx +1 -2
- package/src/react/hooks/useGenerateCancelTransaction.tsx +3 -6
- package/src/react/hooks/useGenerateListingTransaction.tsx +2 -3
- package/src/react/hooks/useGenerateOfferTransaction.tsx +2 -3
- package/src/react/hooks/useGenerateSellTransaction.tsx +3 -6
- package/src/react/hooks/useHighestOffer.tsx +1 -1
- package/src/react/hooks/useListCollectibles.tsx +33 -61
- package/src/react/hooks/useListCollectiblesPaginated.tsx +2 -6
- package/src/react/hooks/useListListingsForCollectible.tsx +1 -2
- package/src/react/hooks/useListOffersForCollectible.tsx +1 -2
- package/src/react/hooks/useLowestListing.tsx +1 -2
- package/src/react/hooks/useRoyalty.tsx +3 -8
- package/src/react/hooks/useTransferTokens.tsx +2 -2
- package/src/react/queries/balanceOfCollectible.ts +9 -32
- package/src/react/queries/getTokenSupplies.ts +38 -0
- package/src/react/queries/index.ts +5 -0
- package/src/react/queries/listCollectibles.ts +96 -0
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +1 -1
- package/src/react/ui/components/_internals/action-button/__tests__/ActionButton.test.tsx +1 -1
- package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +4 -3
- package/src/react/ui/components/_internals/action-button/components/OwnerActions.tsx +1 -1
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +2 -3
- package/src/react/ui/components/collectible-card/__tests__/CollectibleCard.test.tsx +1 -1
- package/src/react/ui/modals/BuyModal/ERC1155QuantityModal.tsx +127 -0
- package/src/react/ui/modals/BuyModal/Modal.tsx +67 -85
- package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx +85 -226
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +140 -0
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +67 -76
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useCheckoutOptions.test.tsx +1 -60
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useFees.test.tsx +1 -1
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +29 -13
- package/src/react/ui/modals/BuyModal/hooks/useLoadData.ts +26 -21
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +200 -0
- package/src/react/ui/modals/BuyModal/index.tsx +4 -14
- package/src/react/ui/modals/BuyModal/store.ts +71 -76
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +71 -7
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +2 -2
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +1 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +1 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +9 -5
- package/src/react/ui/modals/CreateListingModal/store.ts +7 -2
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +103 -6
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +1 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +8 -4
- package/src/react/ui/modals/MakeOfferModal/store.ts +5 -3
- package/src/react/ui/modals/SellModal/Modal.tsx +76 -4
- package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +1 -1
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +1 -1
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +1 -1
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +16 -8
- package/src/react/ui/modals/SellModal/store.ts +5 -3
- package/src/react/ui/modals/TransferModal/_store.ts +15 -3
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TokenQuantityInput.tsx +58 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TransferButton.tsx +56 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/WalletAddressInput.tsx +50 -0
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +94 -66
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +22 -14
- package/src/react/ui/modals/TransferModal/index.tsx +72 -38
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +43 -42
- package/src/react/ui/modals/_internal/components/actionModal/store.ts +1 -2
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -2
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +9 -1
- package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +27 -12
- package/src/react/ui/modals/_internal/components/priceInput/__tests__/index.test.tsx +1 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +19 -3
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +3 -0
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/_components/ActionButtons.tsx +60 -0
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/_components/BalanceIndicator.tsx +30 -0
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.tsx +126 -0
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/store.ts +25 -0
- package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/useWaasFeeOptionManager.tsx +74 -0
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +1 -2
- package/src/react/ui/modals/_internal/components/switchChainModal/store.ts +1 -2
- package/src/react/ui/modals/_internal/components/tokenPreview/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transaction-footer/index.tsx +4 -7
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/hooks/useTransactionStatus.ts +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +6 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +2 -2
- package/src/react/ui/modals/_internal/components/waasFeeOptionsSelect/WaasFeeOptionsSelect.tsx +10 -31
- package/src/react/ui/modals/_internal/hooks/useSelectWaasFeeOptions.ts +53 -0
- package/src/react/ui/modals/_internal/types.ts +2 -1
- package/src/types/waas-types.ts +38 -0
- package/src/utils/network.ts +2 -4
- package/test/const.ts +1 -1
- package/test/setup.ts +10 -0
- package/test/test-utils.tsx +31 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-3AKOPSON.js.map +0 -1
- package/dist/chunk-4XK7XNJ7.js.map +0 -1
- package/dist/chunk-BBASZVT3.js.map +0 -1
- package/dist/chunk-EAJ5K7QV.js.map +0 -1
- package/dist/chunk-HTFORA4Q.js.map +0 -1
- package/dist/chunk-OFY7OFTL.js +0 -458
- package/dist/chunk-OFY7OFTL.js.map +0 -1
- package/dist/chunk-RBEPPVLT.js.map +0 -1
- package/src/react/hooks/__tests__/useGenerateBuyTransaction.test.tsx +0 -172
- package/src/react/hooks/useGenerateBuyTransaction.tsx +0 -80
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useBuyCollectable.test.tsx +0 -349
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useLoadData.test.tsx +0 -185
- package/src/react/ui/modals/BuyModal/hooks/useBuyCollectable.ts +0 -170
- package/src/react/ui/modals/BuyModal/modals/CheckoutModal.tsx +0 -47
- package/src/react/ui/modals/BuyModal/modals/Modal1155.tsx +0 -140
- package/src/react/ui/modals/BuyModal/modals/__tests__/CheckoutModal.test.tsx +0 -162
- package/src/react/ui/modals/BuyModal/modals/__tests__/Modal1155.test.tsx +0 -327
- package/src/react/ui/modals/_internal/components/waasFeeOptionsBox/index.tsx +0 -124
- package/src/react/ui/modals/_internal/components/waasFeeOptionsBox/store.ts +0 -12
- /package/dist/{chunk-MPBN3E54.js.map → chunk-2VHHJNXY.js.map} +0 -0
- /package/dist/{chunk-FBUMNJQ4.js.map → chunk-3II5GLHE.js.map} +0 -0
- /package/dist/{chunk-XNA64MZQ.js.map → chunk-BCO4CYE4.js.map} +0 -0
- /package/dist/{chunk-Q5URKSC4.js.map → chunk-FMEEJFAF.js.map} +0 -0
- /package/dist/{chunk-XTGMMNV5.js.map → chunk-WHFXVREI.js.map} +0 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
+
import * as _0xsequence_indexer from '@0xsequence/indexer';
|
|
3
|
+
import { Page, GetTokenBalancesReturn } from '@0xsequence/indexer';
|
|
4
|
+
import { Hex } from 'viem';
|
|
5
|
+
import { UseQueryParameters } from 'wagmi/query';
|
|
6
|
+
import { S as SdkConfig } from './sdk-config-DIzJk_tI.js';
|
|
7
|
+
import { m as Order$1, b as OrderSide, l as CollectiblesFilter, i as Page$1, b7 as ListCollectiblesReturn } from './marketplace.gen-BTHxxhG2.js';
|
|
8
|
+
|
|
9
|
+
type UseBalanceOfCollectibleArgs = {
|
|
10
|
+
collectionAddress: Hex;
|
|
11
|
+
collectableId: string;
|
|
12
|
+
userAddress: Hex | undefined;
|
|
13
|
+
chainId: number;
|
|
14
|
+
isLaos721?: boolean;
|
|
15
|
+
query?: UseQueryParameters;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Fetches the balance of a specific collectible for a user
|
|
19
|
+
*
|
|
20
|
+
* @param args - Arguments for the API call
|
|
21
|
+
* @param config - SDK configuration
|
|
22
|
+
* @returns The balance data
|
|
23
|
+
*/
|
|
24
|
+
declare function fetchBalanceOfCollectible(args: Omit<UseBalanceOfCollectibleArgs, 'userAddress'> & {
|
|
25
|
+
userAddress: Hex;
|
|
26
|
+
}, config: SdkConfig): Promise<_0xsequence_indexer.TokenBalance>;
|
|
27
|
+
/**
|
|
28
|
+
* Creates a tanstack query options object for the balance query
|
|
29
|
+
*
|
|
30
|
+
* @param args - The query arguments
|
|
31
|
+
* @param config - SDK configuration
|
|
32
|
+
* @returns Query options configuration
|
|
33
|
+
*/
|
|
34
|
+
declare function balanceOfCollectibleOptions(args: UseBalanceOfCollectibleArgs, config: SdkConfig): _tanstack_react_query.UseQueryOptions<_0xsequence_indexer.TokenBalance, Error, _0xsequence_indexer.TokenBalance, ("collectable" | "details" | "userBalances" | UseBalanceOfCollectibleArgs)[]> & {
|
|
35
|
+
initialData?: _0xsequence_indexer.TokenBalance | _tanstack_react_query.InitialDataFunction<_0xsequence_indexer.TokenBalance> | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
queryKey: ("collectable" | "details" | "userBalances" | UseBalanceOfCollectibleArgs)[] & {
|
|
38
|
+
[dataTagSymbol]: _0xsequence_indexer.TokenBalance;
|
|
39
|
+
[dataTagErrorSymbol]: Error;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
type UseHighestOfferArgs = {
|
|
44
|
+
collectionAddress: string;
|
|
45
|
+
tokenId: string;
|
|
46
|
+
chainId: number;
|
|
47
|
+
query?: UseQueryParameters;
|
|
48
|
+
};
|
|
49
|
+
type Order = Omit<Order$1, 'priceAmount' | 'priceAmountNet'> & {
|
|
50
|
+
priceAmount: bigint;
|
|
51
|
+
priceAmountNet: bigint;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Fetches the highest offer for a specific collectible
|
|
55
|
+
*
|
|
56
|
+
* @param args - Arguments for the API call
|
|
57
|
+
* @param config - SDK configuration
|
|
58
|
+
* @returns The highest offer data
|
|
59
|
+
*/
|
|
60
|
+
declare function fetchHighestOffer(args: UseHighestOfferArgs, config: SdkConfig): Promise<Order | null>;
|
|
61
|
+
/**
|
|
62
|
+
* Creates a tanstack query options object for the highest offer query
|
|
63
|
+
*
|
|
64
|
+
* @param args - The query arguments
|
|
65
|
+
* @param config - SDK configuration
|
|
66
|
+
* @returns Query options configuration
|
|
67
|
+
*/
|
|
68
|
+
declare function highestOfferOptions(args: UseHighestOfferArgs, config: SdkConfig): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Order | null, Error, Order | null, ("collectable" | "details" | "highestOffers" | UseHighestOfferArgs)[]>, "queryFn"> & {
|
|
69
|
+
queryFn?: _tanstack_react_query.QueryFunction<Order | null, ("collectable" | "details" | "highestOffers" | UseHighestOfferArgs)[], never> | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
queryKey: ("collectable" | "details" | "highestOffers" | UseHighestOfferArgs)[] & {
|
|
72
|
+
[dataTagSymbol]: Order | null;
|
|
73
|
+
[dataTagErrorSymbol]: Error;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
type UseListBalancesArgs = {
|
|
78
|
+
chainId: number;
|
|
79
|
+
accountAddress?: Hex;
|
|
80
|
+
contractAddress?: Hex;
|
|
81
|
+
tokenId?: string;
|
|
82
|
+
includeMetadata?: boolean;
|
|
83
|
+
metadataOptions?: {
|
|
84
|
+
verifiedOnly?: boolean;
|
|
85
|
+
unverifiedOnly?: boolean;
|
|
86
|
+
includeContracts?: Hex[];
|
|
87
|
+
};
|
|
88
|
+
includeCollectionTokens?: boolean;
|
|
89
|
+
page?: Page;
|
|
90
|
+
isLaos721?: boolean;
|
|
91
|
+
query?: {
|
|
92
|
+
enabled?: boolean;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Fetches a list of token balances with pagination support
|
|
97
|
+
*
|
|
98
|
+
* @param args - Arguments for the API call
|
|
99
|
+
* @param config - SDK configuration
|
|
100
|
+
* @param page - Page parameters for pagination
|
|
101
|
+
* @returns The token balances data
|
|
102
|
+
*/
|
|
103
|
+
declare function fetchBalances(args: UseListBalancesArgs, config: SdkConfig, page: Page): Promise<GetTokenBalancesReturn>;
|
|
104
|
+
/**
|
|
105
|
+
* Creates a tanstack infinite query options object for the balances query
|
|
106
|
+
*
|
|
107
|
+
* @param args - The query arguments
|
|
108
|
+
* @param config - SDK configuration
|
|
109
|
+
* @returns Query options configuration
|
|
110
|
+
*/
|
|
111
|
+
declare function listBalancesOptions(args: UseListBalancesArgs, config: SdkConfig): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<GetTokenBalancesReturn, Error, _tanstack_react_query.InfiniteData<GetTokenBalancesReturn, unknown>, GetTokenBalancesReturn, ("balances" | "tokenBalances" | SdkConfig | UseListBalancesArgs)[], any>, "queryFn"> & {
|
|
112
|
+
queryFn?: _tanstack_react_query.QueryFunction<GetTokenBalancesReturn, ("balances" | "tokenBalances" | SdkConfig | UseListBalancesArgs)[], any> | undefined;
|
|
113
|
+
} & {
|
|
114
|
+
queryKey: ("balances" | "tokenBalances" | SdkConfig | UseListBalancesArgs)[] & {
|
|
115
|
+
[dataTagSymbol]: _tanstack_react_query.InfiniteData<GetTokenBalancesReturn, unknown>;
|
|
116
|
+
[dataTagErrorSymbol]: Error;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
type UseListCollectiblesArgs = {
|
|
121
|
+
collectionAddress: Hex;
|
|
122
|
+
chainId: number;
|
|
123
|
+
side: OrderSide;
|
|
124
|
+
filter?: CollectiblesFilter;
|
|
125
|
+
isLaos721?: boolean;
|
|
126
|
+
query?: {
|
|
127
|
+
enabled?: boolean;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Fetches a list of collectibles with pagination support
|
|
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;
|
|
148
|
+
} & {
|
|
149
|
+
queryKey: ("collectable" | "list" | SdkConfig | UseListCollectiblesArgs)[] & {
|
|
150
|
+
[dataTagSymbol]: _tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>;
|
|
151
|
+
[dataTagErrorSymbol]: Error;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export { type Order as O, 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, listCollectiblesOptions as l };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { g as getQueryClient } from '../../../get-query-client-D46hbjk6.js';
|
|
2
2
|
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../../services-ybGoDJd9.js';
|
|
3
3
|
export { q as Activity, a1 as ActivityAction, y as AdditionalFee, a2 as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bs as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bt as CheckoutOptionsMarketplaceReturn, bu as CheckoutOptionsSalesContractArgs, bv as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, l as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, Y 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, Z as CurrencyStatus, ab as DeleteCollectionArgs, ac as DeleteCollectionReturn, an as DeleteCurrencyArgs, ao as DeleteCurrencyReturn, I as Domain, b4 as ExecuteArgs, b5 as ExecuteReturn, E 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, m 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, k as PropertyFilter, P as PropertyType, bK as SessionExpiredError, H 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, _ as TransactionNFTCheckoutProvider, $ as TransactionOnRampProvider, a0 as TransactionSwapProvider, bI as UnauthorizedError, a7 as UpdateCollectionArgs, a8 as UpdateCollectionReturn, aj as UpdateCurrencyArgs, ak as UpdateCurrencyReturn, bP as UserNotFoundError, X as VersionFromHeader, W as WalletKind, V as WebRPCSchemaHash, U as WebRPCSchemaVersion, R 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, N as WebrpcHeader, Q 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-BTHxxhG2.js';
|
|
4
|
+
import { GetTokenSuppliesReturn, GetTokenBalancesReturn } from '@0xsequence/indexer';
|
|
4
5
|
import '@tanstack/react-query';
|
|
5
|
-
import '@0xsequence/indexer';
|
|
6
6
|
import '@0xsequence/metadata';
|
|
7
7
|
import '../../../sdk-config-DIzJk_tI.js';
|
|
8
8
|
|
|
@@ -56,4 +56,30 @@ declare const checkoutKeys: typeof CheckoutKeys;
|
|
|
56
56
|
declare const currencyKeys: typeof CurrencyKeys;
|
|
57
57
|
declare const configKeys: typeof ConfigKeys;
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
type SortOption = {
|
|
60
|
+
column: string;
|
|
61
|
+
order: 'ASC' | 'DESC';
|
|
62
|
+
};
|
|
63
|
+
type PaginationOptions = {
|
|
64
|
+
sort: SortOption[];
|
|
65
|
+
};
|
|
66
|
+
type TokenSuppliesParams = {
|
|
67
|
+
chainId: string;
|
|
68
|
+
contractAddress: string;
|
|
69
|
+
includeMetadata?: boolean;
|
|
70
|
+
page?: PaginationOptions;
|
|
71
|
+
};
|
|
72
|
+
type TokenBalancesParams = {
|
|
73
|
+
chainId: string;
|
|
74
|
+
accountAddress: string;
|
|
75
|
+
includeMetadata?: boolean;
|
|
76
|
+
page?: PaginationOptions;
|
|
77
|
+
};
|
|
78
|
+
declare class LaosAPI {
|
|
79
|
+
private baseUrl;
|
|
80
|
+
constructor(baseUrl?: string);
|
|
81
|
+
getTokenSupplies({ chainId, contractAddress, includeMetadata, page, }: TokenSuppliesParams): Promise<GetTokenSuppliesReturn>;
|
|
82
|
+
getTokenBalances({ chainId, accountAddress, includeMetadata, page, }: TokenBalancesParams): Promise<GetTokenBalancesReturn>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { LaosAPI, type PaginationOptions, type SortOption, type TokenBalancesParams, type TokenSuppliesParams, balanceQueries, checkoutKeys, collectableKeys, collectionKeys, configKeys, currencyKeys };
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
ExecuteType,
|
|
10
10
|
InvalidArgumentError,
|
|
11
11
|
InvalidTierError,
|
|
12
|
+
LaosAPI,
|
|
12
13
|
Marketplace,
|
|
13
14
|
MarketplaceKind,
|
|
14
15
|
MethodNotFoundError,
|
|
@@ -68,7 +69,7 @@ import {
|
|
|
68
69
|
getQueryClient,
|
|
69
70
|
imageProxy,
|
|
70
71
|
webrpcErrorByCode
|
|
71
|
-
} from "../../../chunk-
|
|
72
|
+
} from "../../../chunk-BNAUZXPV.js";
|
|
72
73
|
export {
|
|
73
74
|
ActivityAction,
|
|
74
75
|
Admin,
|
|
@@ -80,6 +81,7 @@ export {
|
|
|
80
81
|
ExecuteType,
|
|
81
82
|
InvalidArgumentError,
|
|
82
83
|
InvalidTierError,
|
|
84
|
+
LaosAPI,
|
|
83
85
|
Marketplace,
|
|
84
86
|
MarketplaceKind,
|
|
85
87
|
MethodNotFoundError,
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatabeatAnalytics,
|
|
3
3
|
useAnalytics
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-WHFXVREI.js";
|
|
5
|
+
import "../../../chunk-QKGZXS4T.js";
|
|
6
|
+
import "../../../chunk-GBQVYNCD.js";
|
|
7
|
+
import "../../../chunk-BCO4CYE4.js";
|
|
8
8
|
import "../../../chunk-Y63BOO6M.js";
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-Q5RKAMYF.js";
|
|
10
|
+
import "../../../chunk-FMEEJFAF.js";
|
|
11
11
|
import "../../../chunk-UISBTKFF.js";
|
|
12
|
-
import "../../../chunk-XX4EVWBF.js";
|
|
13
12
|
import "../../../chunk-FUM4OGOQ.js";
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
13
|
+
import "../../../chunk-XX4EVWBF.js";
|
|
14
|
+
import "../../../chunk-3II5GLHE.js";
|
|
15
|
+
import "../../../chunk-3JU7SQVE.js";
|
|
16
|
+
import "../../../chunk-IZ44XPBH.js";
|
|
17
|
+
import "../../../chunk-BNAUZXPV.js";
|
|
17
18
|
export {
|
|
18
19
|
DatabeatAnalytics,
|
|
19
20
|
useAnalytics
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
export { A as AddressSchema, B as BuyInput,
|
|
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-o_pKUpQG.js';
|
|
2
2
|
export { g as getQueryClient } from '../../get-query-client-D46hbjk6.js';
|
|
3
3
|
export { S as SequenceMarketplace, b as builderMarketplaceApi, a as getIndexerClient, c as getMarketplaceClient, g as getMetadataClient, i as imageProxy } from '../../services-ybGoDJd9.js';
|
|
4
4
|
export { q as Activity, a1 as ActivityAction, y as AdditionalFee, a2 as Admin, A as Asset, L as CheckoutOptions, K as CheckoutOptionsItem, bs as CheckoutOptionsMarketplaceArgs, J as CheckoutOptionsMarketplaceOrder, bt as CheckoutOptionsMarketplaceReturn, bu as CheckoutOptionsSalesContractArgs, bv as CheckoutOptionsSalesContractReturn, v as Collectible, o as CollectibleOrder, f as CollectibleStatus, l as CollectiblesFilter, r as Collection, s as CollectionConfig, t as CollectionLastSynced, Y 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, Z as CurrencyStatus, ab as DeleteCollectionArgs, ac as DeleteCollectionReturn, an as DeleteCurrencyArgs, ao as DeleteCurrencyReturn, I as Domain, b4 as ExecuteArgs, b5 as ExecuteReturn, E 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, m 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, k as PropertyFilter, P as PropertyType, bK as SessionExpiredError, H 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, _ as TransactionNFTCheckoutProvider, $ as TransactionOnRampProvider, a0 as TransactionSwapProvider, bI as UnauthorizedError, a7 as UpdateCollectionArgs, a8 as UpdateCollectionReturn, aj as UpdateCurrencyArgs, ak as UpdateCurrencyReturn, bP as UserNotFoundError, X as VersionFromHeader, W as WalletKind, V as WebRPCSchemaHash, U as WebRPCSchemaVersion, R 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, N as WebrpcHeader, Q 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-BTHxxhG2.js';
|
|
5
|
-
export { balanceQueries, checkoutKeys, collectableKeys, collectionKeys, configKeys, currencyKeys } from './api/index.js';
|
|
5
|
+
export { LaosAPI, PaginationOptions, SortOption, TokenBalancesParams, TokenSuppliesParams, balanceQueries, checkoutKeys, collectableKeys, collectionKeys, configKeys, currencyKeys } from './api/index.js';
|
|
6
6
|
export { c as createWagmiConfig } from '../../create-config-ClkUr27C.js';
|
|
7
7
|
export { getConnectors, getWaasConnectors } from './wagmi/index.js';
|
|
8
|
-
import '@0xsequence/network';
|
|
9
8
|
import 'viem';
|
|
10
9
|
import 'zod';
|
|
11
10
|
import '../../sdk-config-DIzJk_tI.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AddressSchema,
|
|
3
|
-
ChainIdSchema,
|
|
4
3
|
CollectableIdSchema,
|
|
5
4
|
DEFAULT_NETWORK,
|
|
6
5
|
PROVIDER_ID,
|
|
@@ -10,7 +9,7 @@ import {
|
|
|
10
9
|
getConnectors,
|
|
11
10
|
getProviderEl,
|
|
12
11
|
getWaasConnectors
|
|
13
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-IZ44XPBH.js";
|
|
14
13
|
import {
|
|
15
14
|
ActivityAction,
|
|
16
15
|
Admin,
|
|
@@ -22,6 +21,7 @@ import {
|
|
|
22
21
|
ExecuteType,
|
|
23
22
|
InvalidArgumentError,
|
|
24
23
|
InvalidTierError,
|
|
24
|
+
LaosAPI,
|
|
25
25
|
Marketplace,
|
|
26
26
|
MarketplaceKind,
|
|
27
27
|
MethodNotFoundError,
|
|
@@ -81,12 +81,11 @@ import {
|
|
|
81
81
|
getQueryClient,
|
|
82
82
|
imageProxy,
|
|
83
83
|
webrpcErrorByCode
|
|
84
|
-
} from "../../chunk-
|
|
84
|
+
} from "../../chunk-BNAUZXPV.js";
|
|
85
85
|
export {
|
|
86
86
|
ActivityAction,
|
|
87
87
|
AddressSchema,
|
|
88
88
|
Admin,
|
|
89
|
-
ChainIdSchema,
|
|
90
89
|
CollectableIdSchema,
|
|
91
90
|
CollectibleStatus,
|
|
92
91
|
CollectionPriority,
|
|
@@ -97,6 +96,7 @@ export {
|
|
|
97
96
|
ExecuteType,
|
|
98
97
|
InvalidArgumentError,
|
|
99
98
|
InvalidTierError,
|
|
99
|
+
LaosAPI,
|
|
100
100
|
Marketplace,
|
|
101
101
|
MarketplaceKind,
|
|
102
102
|
MethodNotFoundError,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
createWagmiConfig,
|
|
3
3
|
getConnectors,
|
|
4
4
|
getWaasConnectors
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-IZ44XPBH.js";
|
|
6
|
+
import "../../../chunk-BNAUZXPV.js";
|
|
7
7
|
export {
|
|
8
8
|
createWagmiConfig,
|
|
9
9
|
getConnectors,
|