@0xsequence/marketplace-sdk 2.0.1 → 2.0.2

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.
Files changed (116) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/BellIcon.js +1 -1
  3. package/dist/Card.js +1 -1
  4. package/dist/ShopCard.d.ts +4 -4
  5. package/dist/builder-api.js +1 -1
  6. package/dist/collectible.js +1 -1
  7. package/dist/collection.js +1 -1
  8. package/dist/create-config.d.ts +597 -201
  9. package/dist/create-config.js +1 -1
  10. package/dist/currency.js +1 -1
  11. package/dist/dist.js +167 -148
  12. package/dist/dist.js.map +1 -1
  13. package/dist/expirationDateSelect.js +1 -1
  14. package/dist/filter-state.d.ts +1 -1
  15. package/dist/filters.d.ts +4 -4
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +2 -2
  18. package/dist/index10.d.ts +3 -3
  19. package/dist/index11.d.ts +17 -17
  20. package/dist/index12.d.ts +26 -26
  21. package/dist/index14.d.ts +3 -3
  22. package/dist/index15.d.ts +3 -3
  23. package/dist/index16.d.ts +2 -2
  24. package/dist/index17.d.ts +86 -86
  25. package/dist/index18.d.ts +40 -40
  26. package/dist/index19.d.ts +5 -5
  27. package/dist/index2.d.ts +4 -1
  28. package/dist/index21.d.ts +15 -15
  29. package/dist/index22.d.ts +8 -65
  30. package/dist/index23.d.ts +21 -13
  31. package/dist/index26.d.ts +4 -4
  32. package/dist/index27.d.ts +4 -4
  33. package/dist/index28.d.ts +10 -10
  34. package/dist/index3.d.ts +2 -2194
  35. package/dist/index31.d.ts +5 -5
  36. package/dist/index33.d.ts +3 -3
  37. package/dist/index34.d.ts +4 -4
  38. package/dist/index35.d.ts +1 -1
  39. package/dist/index36.d.ts +7 -7
  40. package/dist/index37.d.ts +6 -6
  41. package/dist/index38.d.ts +8 -8
  42. package/dist/index39.d.ts +1 -1
  43. package/dist/index4.d.ts +995 -995
  44. package/dist/index40.d.ts +2 -2
  45. package/dist/index8.d.ts +2 -2
  46. package/dist/index9.d.ts +2811 -3
  47. package/dist/inventory.d.ts +4 -4
  48. package/dist/inventory.js +2 -2
  49. package/dist/marketplace2.js +2 -2
  50. package/dist/metadata.d.ts +73 -73
  51. package/dist/primary-sale-checkout-options.d.ts +4 -4
  52. package/dist/quantityInput.js +1 -1
  53. package/dist/ranges.d.ts +17 -17
  54. package/dist/react/_internal/index.d.ts +1 -1
  55. package/dist/react/_internal/index.js +1 -1
  56. package/dist/react/index.d.ts +1 -1
  57. package/dist/react/queries/collectible/index.d.ts +1 -1
  58. package/dist/react/queries/index.d.ts +1 -1
  59. package/dist/react/ssr/index.d.ts +1 -1
  60. package/dist/react/ssr/index.js +2 -2
  61. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
  62. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  63. package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +1 -1
  64. package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +1 -1
  65. package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +2 -2
  66. package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +6 -6
  67. package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +2 -2
  68. package/dist/react/ui/modals/_internal/components/calendarDropdown/index.d.ts +2 -2
  69. package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +2 -2
  70. package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +3 -3
  71. package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +2 -2
  72. package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +3 -3
  73. package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +2 -2
  74. package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +2 -2
  75. package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +2 -2
  76. package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +2 -2
  77. package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +3 -3
  78. package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +3 -3
  79. package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +3 -3
  80. package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +3 -3
  81. package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +3 -3
  82. package/dist/react.js +2192 -1903
  83. package/dist/react.js.map +1 -1
  84. package/dist/token-balances.d.ts +28 -28
  85. package/dist/transaction-footer.js +1 -1
  86. package/dist/types/index.d.ts +1 -1
  87. package/dist/types/index.js +1 -1
  88. package/dist/types.d.ts +1 -1
  89. package/dist/url-state.js +1 -1
  90. package/dist/utils/index.js +1 -1
  91. package/dist/utils.js +20 -4
  92. package/dist/utils.js.map +1 -1
  93. package/package.json +7 -5
  94. package/src/react/hooks/config/useMarketplaceConfig.test.tsx +1 -0
  95. package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +4 -1
  96. package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
  97. package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +34 -31
  98. package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +74 -11
  99. package/src/react/ui/modals/BuyModal/components/Modal.tsx +62 -1
  100. package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +13 -26
  101. package/src/react/ui/modals/BuyModal/internal/__tests__/buildTrailsMarketBuyActions.test.ts +213 -0
  102. package/src/react/ui/modals/BuyModal/internal/buildTrailsMarketBuyActions.ts +259 -0
  103. package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +79 -10
  104. package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +44 -17
  105. package/src/react/ui/modals/MakeOfferModal/internal/context.ts +2 -1
  106. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
  107. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +12 -11
  108. package/src/react/ui/modals/_internal/helpers/currency.test.ts +27 -0
  109. package/src/react/ui/modals/_internal/helpers/currency.ts +4 -2
  110. package/src/utils/__tests__/getMarketplaceDetails.test.ts +10 -0
  111. package/src/utils/__tests__/getWebRPCErrorMessage.test.ts +28 -0
  112. package/src/utils/__tests__/marketplaceNormalization.test.ts +38 -0
  113. package/src/utils/getConduitAddressForOrderbook.ts +2 -10
  114. package/src/utils/getMarketplaceDetails.ts +11 -4
  115. package/src/utils/getWebRPCErrorMessage.ts +21 -0
  116. package/src/utils/normalizeMarketplace.ts +31 -0
@@ -1,6 +1,6 @@
1
1
  'use client'
2
2
 
3
- import { l as cn$1 } from "./utils.js";
3
+ import { f as cn$1 } from "./utils.js";
4
4
  import { m as clamp } from "./api.js";
5
5
  import { t as calendar_default } from "./calendar.js";
6
6
  import { useRef, useState } from "react";
@@ -1,4 +1,4 @@
1
- import { _n as PropertyType, gn as PropertyFilter } from "./index2.js";
1
+ import { _n as PropertyFilter, vn as PropertyType } from "./index2.js";
2
2
  import { TransitionStartFunction } from "react";
3
3
 
4
4
  //#region ../node_modules/.pnpm/nuqs@2.8.6_next@16.1.1_@babel+core@7.28.5_babel-plugin-macros@3.1.0_react-dom@19.2.3_re_a1d3c3437a1ba041cab2f7bda7f7ecb4/node_modules/nuqs/dist/defs-BFMOAnmN.d.ts
package/dist/filters.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { gn as PropertyFilter, mt as GetFiltersArgs } from "./index2.js";
1
+ import { _n as PropertyFilter, ht as GetFiltersArgs } from "./index2.js";
2
2
  import { W as SdkQueryParams, X as WithRequired, it as WithOptionalParams } from "./create-config.js";
3
- import * as _tanstack_react_query415 from "@tanstack/react-query";
3
+ import * as _tanstack_react_query432 from "@tanstack/react-query";
4
4
 
5
5
  //#region src/react/queries/marketplace/filters.d.ts
6
6
  type FetchFiltersParams = GetFiltersArgs;
@@ -16,8 +16,8 @@ declare function getFiltersQueryKey(params: FiltersQueryOptions): readonly ["mar
16
16
  excludeProperties: undefined;
17
17
  excludePropertyValues: boolean | undefined;
18
18
  }];
19
- declare function filtersQueryOptions(params: WithOptionalParams<WithRequired<FiltersQueryOptions, 'chainId' | 'collectionAddress' | 'config'>>): _tanstack_react_query415.OmitKeyof<_tanstack_react_query415.UseQueryOptions<PropertyFilter[], Error, PropertyFilter[], readonly unknown[]>, "queryFn"> & {
20
- queryFn?: _tanstack_react_query415.QueryFunction<PropertyFilter[], readonly unknown[], never> | undefined;
19
+ declare function filtersQueryOptions(params: WithOptionalParams<WithRequired<FiltersQueryOptions, 'chainId' | 'collectionAddress' | 'config'>>): _tanstack_react_query432.OmitKeyof<_tanstack_react_query432.UseQueryOptions<PropertyFilter[], Error, PropertyFilter[], readonly unknown[]>, "queryFn"> & {
20
+ queryFn?: _tanstack_react_query432.QueryFunction<PropertyFilter[], readonly unknown[], never> | undefined;
21
21
  } & {
22
22
  queryKey: readonly unknown[] & {
23
23
  [dataTagSymbol]: PropertyFilter[];
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as SEQUENCE_MARKET_V1_ADDRESS, r as SEQUENCE_MARKET_V2_ADDRESS, t as DEFAULT_MARKETPLACE_FEE_PERCENTAGE } from "./consts.js";
2
- import { Bt as AdditionalFee, Gt as CollectiblesFilter, Ht as CheckoutOptions, J as MarketplaceWallet, K as MarketplaceCollection, Kt as Collection, Mt as TokenBalance$1, Q as OrderData, Sn as TransactionCrypto, Tn as FilterCondition, U as MarketCollection, W as MarketPage, Wt as Collectible, Z as Order, _n as PropertyType, bn as StepType, c as CreateReq, cn as OrderSide, et as ShopCollection, fn as Page, ft as Filter, gn as PropertyFilter, i as CollectibleOrder, in as MarketplaceKind, it as Step, l as Currency, ln as OrderStatus, mn as PriceFilter, n as CheckoutOptionsItem, nt as Signature, pn as PostRequest, qt as CollectionStatus, s as ContractType, sn as OrderFilter, tt as ShopPage, un as OrderbookKind, ut as ContractInfo$1, vn as SortBy, wn as WalletKind, yn as SortOrder, yt as TokenMetadata$1 } from "./index2.js";
2
+ import { $ as OrderData, Cn as TransactionCrypto, En as FilterCondition, G as MarketPage, Gt as Collectible, Jt as CollectionStatus, Kt as CollectiblesFilter, Nt as TokenBalance$1, Q as Order, Tn as WalletKind, Ut as CheckoutOptions, Vt as AdditionalFee, W as MarketCollection, Y as MarketplaceWallet, _n as PropertyFilter, a as CollectibleOrder, an as MarketplaceKind, at as Step, bn as SortOrder, bt as TokenMetadata$1, c as ContractType, cn as OrderFilter, dn as OrderbookKind, dt as ContractInfo$1, hn as PriceFilter, l as CreateReq, ln as OrderSide, mn as PostRequest, nt as ShopPage, pn as Page, pt as Filter, q as MarketplaceCollection, qt as Collection, r as CheckoutOptionsItem, rt as Signature, tt as ShopCollection, u as Currency, un as OrderStatus, vn as PropertyType, xn as StepType, yn as SortBy } from "./index2.js";
3
3
  import { Dt as fetchMarketplaceConfig, Ot as marketplaceConfigOptions, _ as Price, a as CheckoutMode, c as SdkConfig, d as CollectionFilterSettings, f as EcosystemWalletSettings, g as MetadataFilterRule, h as MarketplaceWalletWaasSettings, i as ApiConfig, kt as BuilderAPI, l as CardType, m as MarketplaceWalletOptions, n as getWagmiChainsAndTransports, o as Env, p as MarketplaceConfig, r as TransactionType, s as MarketplaceSdkContext, t as createWagmiConfig, u as CollectibleCardAction, v as isMarketCollection, y as isShopCollection } from "./create-config.js";
4
4
  import "./xstate-store.cjs.js";
5
5
  import "./index3.js";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as SEQUENCE_MARKET_V1_ADDRESS, r as SEQUENCE_MARKET_V2_ADDRESS, t as DEFAULT_MARKETPLACE_FEE_PERCENTAGE } from "./consts.js";
2
- import { C as FilterCondition, S as WalletKind, _ as PropertyType, b as TransactionCrypto, c as CollectionStatus, d as MarketplaceKind, g as OrderbookKind, h as OrderStatus, m as OrderSide, t as ContractType, v as SortOrder, y as StepType } from "./dist.js";
2
+ import { S as TransactionCrypto, T as FilterCondition, _ as OrderStatus, b as SortOrder, g as OrderSide, p as MarketplaceKind, t as ContractType, u as CollectionStatus, v as OrderbookKind, w as WalletKind, x as StepType, y as PropertyType } from "./dist.js";
3
3
  import { t as BuilderAPI } from "./builder-api.js";
4
4
  import { t as networkToWagmiChain } from "./networkconfigToWagmiChain.js";
5
5
  import { n as getWagmiChainsAndTransports, t as createWagmiConfig } from "./create-config.js";
@@ -8,7 +8,7 @@ import { n as SequenceMarketplaceV1_ABI, r as EIP2981_ABI, t as SequenceMarketpl
8
8
  import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "./primary-sale.js";
9
9
  import { n as getMarketplaceABI, r as getSaleContractABI, t as MAIN_MODULE_ABI } from "./abi.js";
10
10
  import { i as ERC20_ABI, n as ERC1155_ABI, r as ERC721_ABI, t as SEQUENCE_1155_ITEMS_ABI } from "./token.js";
11
- import { a as formatPriceWithFee, c as findMarketCollection, d as truncateEnd, f as truncateMiddle, i as formatPrice, l as cn, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, r as calculateTotalOfferCost, s as getMarketplaceDetails, t as calculateEarningsAfterFees, u as compareAddress } from "./utils.js";
11
+ import { a as formatPriceWithFee, d as findMarketCollection, f as cn, h as truncateMiddle, i as formatPrice, m as truncateEnd, n as calculatePriceDifferencePercentage, o as validateOpenseaOfferDecimals, p as compareAddress, r as calculateTotalOfferCost, s as getMarketplaceDetails, t as calculateEarningsAfterFees } from "./utils.js";
12
12
  import { n as getPresentableChainName, t as getNetwork } from "./network.js";
13
13
 
14
14
  export { BuilderAPI, CollectibleCardAction, CollectionStatus, ContractType, DEFAULT_MARKETPLACE_FEE_PERCENTAGE, EIP2981_ABI, ERC1155_ABI, ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC20_ABI, ERC721_ABI, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1, FilterCondition, MAIN_MODULE_ABI, MarketplaceKind, OrderSide, OrderStatus, OrderbookKind, PropertyType, SEQUENCE_1155_ITEMS_ABI, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI, SortOrder, StepType, TransactionCrypto, TransactionType, WalletKind, calculateEarningsAfterFees, calculatePriceDifferencePercentage, calculateTotalOfferCost, cn, compareAddress, createWagmiConfig, findMarketCollection, formatPrice, formatPriceWithFee, getMarketplaceABI, getMarketplaceDetails, getNetwork, getPresentableChainName, getSaleContractABI, getWagmiChainsAndTransports, isMarketCollection, isShopCollection, networkToWagmiChain, truncateEnd, truncateMiddle, validateOpenseaOfferDecimals };
package/dist/index10.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Ut as CheckoutOptionsSalesContractResponse, n as CheckoutOptionsItem } from "./index2.js";
1
+ import { Wt as CheckoutOptionsSalesContractResponse, r as CheckoutOptionsItem } from "./index2.js";
2
2
  import { L as HookParamsFromApiRequest } from "./create-config.js";
3
3
  import { n as PrimarySaleCheckoutOptionsQueryOptions, r as fetchPrimarySaleCheckoutOptions, t as FetchPrimarySaleCheckoutOptionsParams } from "./primary-sale-checkout-options.js";
4
- import * as _tanstack_react_query307 from "@tanstack/react-query";
4
+ import * as _tanstack_react_query420 from "@tanstack/react-query";
5
5
  import { skipToken } from "@tanstack/react-query";
6
6
 
7
7
  //#region src/react/hooks/checkout/primary-sale-checkout-options.d.ts
@@ -48,7 +48,7 @@ type UsePrimarySaleCheckoutOptionsParams = Omit<HookParamsFromApiRequest<FetchPr
48
48
  * )
49
49
  * ```
50
50
  */
51
- declare function usePrimarySaleCheckoutOptions(params: UsePrimarySaleCheckoutOptionsParams | typeof skipToken): _tanstack_react_query307.UseQueryResult<CheckoutOptionsSalesContractResponse, Error>;
51
+ declare function usePrimarySaleCheckoutOptions(params: UsePrimarySaleCheckoutOptionsParams | typeof skipToken): _tanstack_react_query420.UseQueryResult<CheckoutOptionsSalesContractResponse, Error>;
52
52
  type UsePrimarySaleCheckoutOptionsArgs = {
53
53
  chainId: number;
54
54
  contractAddress: string;
package/dist/index11.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { A as ListCollectibleOffersResponse, D as GetPrimarySaleItemResponse, Ft as Address$1, M as ListCollectiblesResponse, Mt as TokenBalance$1, V as ListPrimarySaleItemsResponse, Z as Order, k as ListCollectibleListingsResponse, nn as GetCountOfPrimarySaleItemsResponse, yt as TokenMetadata$1 } from "./index2.js";
1
+ import { A as ListCollectibleListingsResponse, H as ListPrimarySaleItemsResponse, It as Address$1, N as ListCollectiblesResponse, Nt as TokenBalance$1, O as GetPrimarySaleItemResponse, Q as Order, bt as TokenMetadata$1, j as ListCollectibleOffersResponse, rn as GetCountOfPrimarySaleItemsResponse } from "./index2.js";
2
2
  import { B as Optional, X as WithRequired } from "./create-config.js";
3
3
  import { A as LowestListingQueryOptions, B as fetchListListingsForCollectible, E as ListOffersForCollectibleQueryOptions, G as fetchListCollectiblesPaginated, J as ListCollectiblesQueryOptions, P as CountListingsForCollectibleQueryOptions, Q as HighestOfferQueryOptions, W as ListCollectiblesPaginatedQueryOptions, f as PrimarySaleItemQueryOptions, g as CollectibleQueryOptions, n as TokenBalancesQueryOptions, nt as CountOfCollectablesQueryOptions, s as ListPrimarySaleItemsQueryOptions, st as BalanceOfCollectibleQueryOptions, x as CountOffersForCollectibleQueryOptions, z as ListListingsForCollectibleQueryOptions } from "./token-balances.js";
4
- import * as _tanstack_react_query254 from "@tanstack/react-query";
4
+ import * as _tanstack_react_query398 from "@tanstack/react-query";
5
5
  import { UseQueryResult } from "@tanstack/react-query";
6
6
 
7
7
  //#region src/react/hooks/collectible/balance.d.ts
@@ -26,7 +26,7 @@ import { UseQueryResult } from "@tanstack/react-query";
26
26
  * });
27
27
  * ```
28
28
  */
29
- declare function useCollectibleBalance(args: Omit<BalanceOfCollectibleQueryOptions, 'config'>): _tanstack_react_query254.UseQueryResult<TokenBalance$1, Error>;
29
+ declare function useCollectibleBalance(args: Omit<BalanceOfCollectibleQueryOptions, 'config'>): _tanstack_react_query398.UseQueryResult<TokenBalance$1, Error>;
30
30
  //#endregion
31
31
  //#region src/react/hooks/collectible/erc721-sale-details.d.ts
32
32
  interface UseErc721CollectionDataProps {
@@ -42,14 +42,14 @@ declare function useErc721SaleDetails({
42
42
  enabled
43
43
  }: UseErc721CollectionDataProps): {
44
44
  saleDetails: {
45
- remainingSupply: bigint;
45
+ supplyCap: bigint;
46
46
  cost: bigint;
47
47
  paymentToken: `0x${string}`;
48
48
  startTime: bigint;
49
49
  endTime: bigint;
50
50
  merkleRoot: `0x${string}`;
51
51
  } | {
52
- supplyCap: bigint;
52
+ remainingSupply: bigint;
53
53
  cost: bigint;
54
54
  paymentToken: `0x${string}`;
55
55
  startTime: bigint;
@@ -101,7 +101,7 @@ type UseCollectibleMarketCountParams = Optional<WithRequired<CountOfCollectables
101
101
  * })
102
102
  * ```
103
103
  */
104
- declare function useCollectibleMarketCount(params: UseCollectibleMarketCountParams): _tanstack_react_query254.UseQueryResult<number, Error>;
104
+ declare function useCollectibleMarketCount(params: UseCollectibleMarketCountParams): _tanstack_react_query398.UseQueryResult<number, Error>;
105
105
  //#endregion
106
106
  //#region src/react/hooks/collectible/market-highest-offer.d.ts
107
107
  type UseCollectibleMarketHighestOfferParams = Optional<HighestOfferQueryOptions, 'config'>;
@@ -188,7 +188,7 @@ type UseCollectibleMarketListParams = Optional<ListCollectiblesQueryOptions, 'co
188
188
  * })
189
189
  * ```
190
190
  */
191
- declare function useCollectibleMarketList(params: UseCollectibleMarketListParams): _tanstack_react_query254.UseInfiniteQueryResult<_tanstack_react_query254.InfiniteData<ListCollectiblesResponse, unknown>, Error>;
191
+ declare function useCollectibleMarketList(params: UseCollectibleMarketListParams): _tanstack_react_query398.UseInfiniteQueryResult<_tanstack_react_query398.InfiniteData<ListCollectiblesResponse, unknown>, Error>;
192
192
  type UseListCollectiblesParams = UseCollectibleMarketListParams;
193
193
  //#endregion
194
194
  //#region src/react/hooks/collectible/market-list-paginated.d.ts
@@ -253,7 +253,7 @@ type UseCollectibleMarketListPaginatedParams = Optional<ListCollectiblesPaginate
253
253
  * const hasMorePages = data?.page?.more;
254
254
  * ```
255
255
  */
256
- declare function useCollectibleMarketListPaginated(params: UseCollectibleMarketListPaginatedParams): _tanstack_react_query254.UseQueryResult<ListCollectiblesResponse, Error>;
256
+ declare function useCollectibleMarketListPaginated(params: UseCollectibleMarketListPaginatedParams): _tanstack_react_query398.UseQueryResult<ListCollectiblesResponse, Error>;
257
257
  type UseListCollectiblesPaginatedArgs = UseCollectibleMarketListPaginatedParams;
258
258
  type UseListCollectiblesPaginatedParams = UseCollectibleMarketListPaginatedParams;
259
259
  type UseListCollectiblesPaginatedReturn = Awaited<ReturnType<typeof fetchListCollectiblesPaginated>>;
@@ -314,7 +314,7 @@ type UseCollectibleMarketListingsParams = Optional<ListListingsForCollectibleQue
314
314
  * })
315
315
  * ```
316
316
  */
317
- declare function useCollectibleMarketListings(params: UseCollectibleMarketListingsParams): _tanstack_react_query254.UseQueryResult<ListCollectibleListingsResponse, Error>;
317
+ declare function useCollectibleMarketListings(params: UseCollectibleMarketListingsParams): _tanstack_react_query398.UseQueryResult<ListCollectibleListingsResponse, Error>;
318
318
  type UseListListingsForCollectibleArgs = UseListListingsForCollectibleParams;
319
319
  type UseListListingsForCollectibleResponse = Awaited<ReturnType<typeof fetchListListingsForCollectible>>;
320
320
  type UseListListingsForCollectibleParams = UseCollectibleMarketListingsParams;
@@ -357,7 +357,7 @@ type UseCollectibleMarketListingsCountParams = Optional<CountListingsForCollecti
357
357
  * })
358
358
  * ```
359
359
  */
360
- declare function useCollectibleMarketListingsCount(params: UseCollectibleMarketListingsCountParams): _tanstack_react_query254.UseQueryResult<number, Error>;
360
+ declare function useCollectibleMarketListingsCount(params: UseCollectibleMarketListingsCountParams): _tanstack_react_query398.UseQueryResult<number, Error>;
361
361
  //#endregion
362
362
  //#region src/react/hooks/collectible/market-lowest-listing.d.ts
363
363
  type UseCollectibleMarketLowestListingParams = Optional<LowestListingQueryOptions, 'config'>;
@@ -441,7 +441,7 @@ type UseCollectibleMarketOffersParams = Optional<ListOffersForCollectibleQueryOp
441
441
  * })
442
442
  * ```
443
443
  */
444
- declare function useCollectibleMarketOffers(params: UseCollectibleMarketOffersParams): _tanstack_react_query254.UseQueryResult<ListCollectibleOffersResponse, Error>;
444
+ declare function useCollectibleMarketOffers(params: UseCollectibleMarketOffersParams): _tanstack_react_query398.UseQueryResult<ListCollectibleOffersResponse, Error>;
445
445
  type UseListOffersForCollectibleRequest = UseListOffersForCollectibleParams;
446
446
  type UseListOffersForCollectibleParams = UseCollectibleMarketOffersParams;
447
447
  //#endregion
@@ -483,7 +483,7 @@ type UseCollectibleMarketOffersCountParams = Optional<CountOffersForCollectibleQ
483
483
  * })
484
484
  * ```
485
485
  */
486
- declare function useCollectibleMarketOffersCount(params: UseCollectibleMarketOffersCountParams): _tanstack_react_query254.UseQueryResult<number, Error>;
486
+ declare function useCollectibleMarketOffersCount(params: UseCollectibleMarketOffersCountParams): _tanstack_react_query398.UseQueryResult<number, Error>;
487
487
  //#endregion
488
488
  //#region src/react/hooks/collectible/metadata.d.ts
489
489
  type UseCollectibleMetadataParams = Optional<CollectibleQueryOptions, 'config'>;
@@ -525,7 +525,7 @@ type UseCollectibleMetadataParams = Optional<CollectibleQueryOptions, 'config'>;
525
525
  * })
526
526
  * ```
527
527
  */
528
- declare function useCollectibleMetadata(params: UseCollectibleMetadataParams): _tanstack_react_query254.UseQueryResult<TokenMetadata$1 | undefined, Error>;
528
+ declare function useCollectibleMetadata(params: UseCollectibleMetadataParams): _tanstack_react_query398.UseQueryResult<TokenMetadata$1 | undefined, Error>;
529
529
  //#endregion
530
530
  //#region src/react/hooks/collectible/primary-sale-item.d.ts
531
531
  type UsePrimarySaleItemParams = Optional<PrimarySaleItemQueryOptions, 'config'>;
@@ -565,7 +565,7 @@ type UsePrimarySaleItemParams = Optional<PrimarySaleItemQueryOptions, 'config'>;
565
565
  * })
566
566
  * ```
567
567
  */
568
- declare function usePrimarySaleItem(params: UsePrimarySaleItemParams): _tanstack_react_query254.UseQueryResult<GetPrimarySaleItemResponse, Error>;
568
+ declare function usePrimarySaleItem(params: UsePrimarySaleItemParams): _tanstack_react_query398.UseQueryResult<GetPrimarySaleItemResponse, Error>;
569
569
  //#endregion
570
570
  //#region src/react/hooks/collectible/primary-sale-items.d.ts
571
571
  type UsePrimarySaleItemsParams = Optional<ListPrimarySaleItemsQueryOptions, 'config'>;
@@ -607,11 +607,11 @@ type UsePrimarySaleItemsParams = Optional<ListPrimarySaleItemsQueryOptions, 'con
607
607
  * })
608
608
  * ```
609
609
  */
610
- declare function usePrimarySaleItems(params: UsePrimarySaleItemsParams): _tanstack_react_query254.UseInfiniteQueryResult<_tanstack_react_query254.InfiniteData<ListPrimarySaleItemsResponse, unknown>, Error>;
610
+ declare function usePrimarySaleItems(params: UsePrimarySaleItemsParams): _tanstack_react_query398.UseInfiniteQueryResult<_tanstack_react_query398.InfiniteData<ListPrimarySaleItemsResponse, unknown>, Error>;
611
611
  //#endregion
612
612
  //#region src/react/hooks/collectible/primary-sale-items-count.d.ts
613
613
  type UsePrimarySaleItemsCountParams = Optional<ListPrimarySaleItemsQueryOptions, 'config'>;
614
- declare function usePrimarySaleItemsCount(args: UsePrimarySaleItemsCountParams): _tanstack_react_query254.UseQueryResult<GetCountOfPrimarySaleItemsResponse, Error>;
614
+ declare function usePrimarySaleItemsCount(args: UsePrimarySaleItemsCountParams): _tanstack_react_query398.UseQueryResult<GetCountOfPrimarySaleItemsResponse, Error>;
615
615
  //#endregion
616
616
  //#region src/react/hooks/collectible/token-balances.d.ts
617
617
  /**
@@ -633,7 +633,7 @@ declare function usePrimarySaleItemsCount(args: UsePrimarySaleItemsCountParams):
633
633
  * });
634
634
  * ```
635
635
  */
636
- declare function useCollectibleTokenBalances(args: Omit<TokenBalancesQueryOptions, 'config'>): _tanstack_react_query254.UseQueryResult<TokenBalance$1[], Error>;
636
+ declare function useCollectibleTokenBalances(args: Omit<TokenBalancesQueryOptions, 'config'>): _tanstack_react_query398.UseQueryResult<TokenBalance$1[], Error>;
637
637
  //#endregion
638
638
  export { UseCollectibleMarketListParams as A, UseListListingsForCollectibleResponse as C, UseListCollectiblesPaginatedParams as D, UseListCollectiblesPaginatedArgs as E, UseCollectibleMarketCountParams as F, useCollectibleMarketCount as I, useErc721SaleDetails as L, useCollectibleMarketList as M, UseCollectibleMarketHighestOfferParams as N, UseListCollectiblesPaginatedReturn as O, useCollectibleMarketHighestOffer as P, useCollectibleBalance as R, UseListListingsForCollectibleParams as S, UseCollectibleMarketListPaginatedParams as T, useCollectibleMarketLowestListing as _, usePrimarySaleItems as a, UseCollectibleMarketListingsParams as b, UseCollectibleMetadataParams as c, useCollectibleMarketOffersCount as d, UseCollectibleMarketOffersParams as f, UseCollectibleMarketLowestListingParams as g, useCollectibleMarketOffers as h, UsePrimarySaleItemsParams as i, UseListCollectiblesParams as j, useCollectibleMarketListPaginated as k, useCollectibleMetadata as l, UseListOffersForCollectibleRequest as m, UsePrimarySaleItemsCountParams as n, UsePrimarySaleItemParams as o, UseListOffersForCollectibleParams as p, usePrimarySaleItemsCount as r, usePrimarySaleItem as s, useCollectibleTokenBalances as t, UseCollectibleMarketOffersCountParams as u, UseCollectibleMarketListingsCountParams as v, useCollectibleMarketListings as w, UseListListingsForCollectibleArgs as x, useCollectibleMarketListingsCount as y };
639
639
  //# sourceMappingURL=index11.d.ts.map
package/dist/index12.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { $t as GetCollectionActiveOffersCurrenciesRequest, Ft as Address$1, It as ChainId, Kt as Collection, Qt as GetCollectionActiveListingsCurrenciesRequest, R as ListOrdersWithCollectiblesRequest, Rt as ProjectId, St as GetTokenBalancesDetailsResponse, dt as ContractInfoExtensions$1$1, i as CollectibleOrder, l as Currency, o as CollectionFilterSettings, un as OrderbookKind, ut as ContractInfo$1$1, z as ListOrdersWithCollectiblesResponse, zt as TokenId } from "./index2.js";
1
+ import { $t as GetCollectionActiveListingsCurrenciesRequest, B as ListOrdersWithCollectiblesResponse, Bt as TokenId, Ct as GetTokenBalancesDetailsResponse, It as Address$1, Lt as ChainId, a as CollectibleOrder, dn as OrderbookKind, dt as ContractInfo$1$1, en as GetCollectionActiveOffersCurrenciesRequest, ft as ContractInfoExtensions$1$1, qt as Collection, s as CollectionFilterSettings, u as Currency, z as ListOrdersWithCollectiblesRequest, zt as ProjectId } from "./index2.js";
2
2
  import { B as Optional, W as SdkQueryParams, X as WithRequired, c as SdkConfig, it as WithOptionalParams, lt as StandardQueryOptions } from "./create-config.js";
3
3
  import { A as ListCollectionsQueryOptions, F as CollectionBalanceDetailsQueryOptions, I as CollectionBalanceFilter, T as GetCountOfFilteredOrdersQueryOptions, _ as fetchListItemsOrdersForCollection, b as FloorOrderQueryOptions, c as fetchListItemsOrdersForCollectionPaginated, d as CountItemsOrdersForCollectionQueryOptions, g as ListItemsOrdersForCollectionQueryOptions, s as ListItemsOrdersForCollectionPaginatedQueryOptions, t as CollectionQueryOptions, z as fetchCollectionBalanceDetails } from "./metadata.js";
4
- import * as _0xsequence_indexer0 from "@0xsequence/indexer";
5
- import * as _0xsequence_metadata9 from "@0xsequence/metadata";
6
- import * as _tanstack_react_query287 from "@tanstack/react-query";
4
+ import * as _0xsequence_indexer11 from "@0xsequence/indexer";
5
+ import * as _0xsequence_metadata33 from "@0xsequence/metadata";
6
+ import * as _tanstack_react_query413 from "@tanstack/react-query";
7
7
 
8
8
  //#region src/react/hooks/collection/balance-details.d.ts
9
9
  type UseCollectionBalanceDetailsParams = Optional<CollectionBalanceDetailsQueryOptions, 'config'>;
@@ -58,7 +58,7 @@ type UseCollectionBalanceDetailsParams = Optional<CollectionBalanceDetailsQueryO
58
58
  * })
59
59
  * ```
60
60
  */
61
- declare function useCollectionBalanceDetails(params: UseCollectionBalanceDetailsParams): _tanstack_react_query287.UseQueryResult<GetTokenBalancesDetailsResponse, Error>;
61
+ declare function useCollectionBalanceDetails(params: UseCollectionBalanceDetailsParams): _tanstack_react_query413.UseQueryResult<GetTokenBalancesDetailsResponse, Error>;
62
62
  type UseCollectionBalanceDetailsArgs = {
63
63
  chainId: number;
64
64
  filter: CollectionBalanceFilter;
@@ -109,12 +109,12 @@ type UseCollectionListParams = Optional<ListCollectionsQueryOptions, 'config' |
109
109
  * });
110
110
  * ```
111
111
  */
112
- declare function useCollectionList(params?: UseCollectionListParams): _tanstack_react_query287.UseQueryResult<({
112
+ declare function useCollectionList(params?: UseCollectionListParams): _tanstack_react_query413.UseQueryResult<({
113
113
  symbol: string;
114
+ type: string;
114
115
  name: string;
115
- status: _0xsequence_metadata9.ResourceStatus;
116
+ status: _0xsequence_metadata33.ResourceStatus;
116
117
  updatedAt: string;
117
- type: string;
118
118
  decimals?: number | undefined;
119
119
  source: string;
120
120
  queuedAt?: string | undefined;
@@ -134,15 +134,15 @@ declare function useCollectionList(params?: UseCollectionListParams): _tanstack_
134
134
  marketplaceCollectionType: "market";
135
135
  projectId: ProjectId;
136
136
  itemsAddress: Address$1;
137
- contractType: _0xsequence_indexer0.ContractType;
137
+ contractType: _0xsequence_indexer11.ContractType;
138
138
  destinationMarketplace: OrderbookKind;
139
139
  filterSettings?: CollectionFilterSettings;
140
140
  } | {
141
141
  symbol: string;
142
+ type: string;
142
143
  name: string;
143
- status: _0xsequence_metadata9.ResourceStatus;
144
+ status: _0xsequence_metadata33.ResourceStatus;
144
145
  updatedAt: string;
145
- type: string;
146
146
  decimals?: number | undefined;
147
147
  source: string;
148
148
  queuedAt?: string | undefined;
@@ -173,19 +173,19 @@ type UseCollectionMarketDetailPollingParams = {
173
173
  enabled?: boolean;
174
174
  };
175
175
  };
176
- declare const collectionMarketDetailPollingOptions: (args: UseCollectionMarketDetailPollingParams, config: SdkConfig) => _tanstack_react_query287.OmitKeyof<_tanstack_react_query287.UseQueryOptions<Collection, Error, Collection, readonly unknown[]>, "queryFn"> & {
177
- queryFn?: _tanstack_react_query287.QueryFunction<Collection, readonly unknown[], never> | undefined;
176
+ declare const collectionMarketDetailPollingOptions: (args: UseCollectionMarketDetailPollingParams, config: SdkConfig) => _tanstack_react_query413.OmitKeyof<_tanstack_react_query413.UseQueryOptions<Collection, Error, Collection, readonly unknown[]>, "queryFn"> & {
177
+ queryFn?: _tanstack_react_query413.QueryFunction<Collection, readonly unknown[], never> | undefined;
178
178
  } & {
179
179
  queryKey: readonly unknown[] & {
180
180
  [dataTagSymbol]: Collection;
181
181
  [dataTagErrorSymbol]: Error;
182
182
  };
183
183
  };
184
- declare const useCollectionMarketDetailPolling: (args: UseCollectionMarketDetailPollingParams) => _tanstack_react_query287.UseQueryResult<Collection, Error>;
184
+ declare const useCollectionMarketDetailPolling: (args: UseCollectionMarketDetailPollingParams) => _tanstack_react_query413.UseQueryResult<Collection, Error>;
185
185
  //#endregion
186
186
  //#region src/react/hooks/collection/market-filtered-count.d.ts
187
187
  type UseCollectionMarketFilteredCountParams = Optional<GetCountOfFilteredOrdersQueryOptions, 'config'>;
188
- declare function useCollectionMarketFilteredCount(params: UseCollectionMarketFilteredCountParams): _tanstack_react_query287.UseQueryResult<number, Error>;
188
+ declare function useCollectionMarketFilteredCount(params: UseCollectionMarketFilteredCountParams): _tanstack_react_query413.UseQueryResult<number, Error>;
189
189
  //#endregion
190
190
  //#region src/react/hooks/collection/market-floor.d.ts
191
191
  type UseCollectionMarketFloorParams = Optional<WithRequired<FloorOrderQueryOptions, 'chainId' | 'collectionAddress'>, 'config'>;
@@ -228,7 +228,7 @@ type UseCollectionMarketFloorParams = Optional<WithRequired<FloorOrderQueryOptio
228
228
  * })
229
229
  * ```
230
230
  */
231
- declare function useCollectionMarketFloor(params: UseCollectionMarketFloorParams): _tanstack_react_query287.UseQueryResult<CollectibleOrder, Error>;
231
+ declare function useCollectionMarketFloor(params: UseCollectionMarketFloorParams): _tanstack_react_query413.UseQueryResult<CollectibleOrder, Error>;
232
232
  //#endregion
233
233
  //#region src/react/hooks/collection/market-items.d.ts
234
234
  type FetchListItemsOrdersForCollectionParams = ListOrdersWithCollectiblesRequest;
@@ -280,7 +280,7 @@ type UseCollectionMarketItemsParams = Optional<ListItemsOrdersForCollectionQuery
280
280
  * const allListings = data?.pages.flatMap(page => page.listings) ?? []
281
281
  * ```
282
282
  */
283
- declare function useCollectionMarketItems(params: UseCollectionMarketItemsParams): _tanstack_react_query287.UseInfiniteQueryResult<_tanstack_react_query287.InfiniteData<ListOrdersWithCollectiblesResponse, unknown>, Error>;
283
+ declare function useCollectionMarketItems(params: UseCollectionMarketItemsParams): _tanstack_react_query413.UseInfiniteQueryResult<_tanstack_react_query413.InfiniteData<ListOrdersWithCollectiblesResponse, unknown>, Error>;
284
284
  type UseListItemsOrdersForCollectionArgs = UseListItemsOrdersForCollectionParams;
285
285
  type UseListItemsOrdersForCollectionReturn = Awaited<ReturnType<typeof fetchListItemsOrdersForCollection>>;
286
286
  type UseListItemsOrdersForCollectionParams = UseCollectionMarketItemsParams;
@@ -338,7 +338,7 @@ type UseCollectionMarketItemsCountParams = Optional<CountItemsOrdersForCollectio
338
338
  * return <div>Showing {orders?.pages[0]?.listings.length ?? 0} of {totalCount} orders</div>
339
339
  * ```
340
340
  */
341
- declare function useCollectionMarketItemsCount(params: UseCollectionMarketItemsCountParams): _tanstack_react_query287.UseQueryResult<number, Error>;
341
+ declare function useCollectionMarketItemsCount(params: UseCollectionMarketItemsCountParams): _tanstack_react_query413.UseQueryResult<number, Error>;
342
342
  //#endregion
343
343
  //#region src/react/hooks/collection/market-items-paginated.d.ts
344
344
  type UseCollectionMarketItemsPaginatedParams = Optional<ListItemsOrdersForCollectionPaginatedQueryOptions, 'config'>;
@@ -403,7 +403,7 @@ type UseCollectionMarketItemsPaginatedParams = Optional<ListItemsOrdersForCollec
403
403
  * const hasMorePages = data?.page?.more;
404
404
  * ```
405
405
  */
406
- declare function useCollectionMarketItemsPaginated(params: UseCollectionMarketItemsPaginatedParams): _tanstack_react_query287.UseQueryResult<ListOrdersWithCollectiblesResponse, Error>;
406
+ declare function useCollectionMarketItemsPaginated(params: UseCollectionMarketItemsPaginatedParams): _tanstack_react_query413.UseQueryResult<ListOrdersWithCollectiblesResponse, Error>;
407
407
  type UseListItemsOrdersForCollectionPaginatedArgs = UseListItemsOrdersForCollectionPaginatedParams;
408
408
  type UseListItemsOrdersForCollectionPaginatedReturn = Awaited<ReturnType<typeof fetchListItemsOrdersForCollectionPaginated>>;
409
409
  type UseListItemsOrdersForCollectionPaginatedParams = UseCollectionMarketItemsPaginatedParams;
@@ -449,7 +449,7 @@ type UseCollectionMetadataParams = WithRequired<CollectionQueryOptions, 'chainId
449
449
  * })
450
450
  * ```
451
451
  */
452
- declare function useCollectionMetadata(params: UseCollectionMetadataParams): _tanstack_react_query287.UseQueryResult<ContractInfo$1$1, Error>;
452
+ declare function useCollectionMetadata(params: UseCollectionMetadataParams): _tanstack_react_query413.UseQueryResult<ContractInfo$1$1, Error>;
453
453
  //#endregion
454
454
  //#region src/react/queries/collection/activeListingsCurrencies.d.ts
455
455
  type FetchCollectionActiveListingsCurrenciesParams = Omit<GetCollectionActiveListingsCurrenciesRequest, 'chainId' | 'contractAddress'> & {
@@ -457,8 +457,8 @@ type FetchCollectionActiveListingsCurrenciesParams = Omit<GetCollectionActiveLis
457
457
  collectionAddress: Address$1;
458
458
  };
459
459
  type CollectionActiveListingsCurrenciesQueryOptions = SdkQueryParams<FetchCollectionActiveListingsCurrenciesParams>;
460
- declare function collectionActiveListingsCurrenciesQueryOptions(params: WithOptionalParams<WithRequired<CollectionActiveListingsCurrenciesQueryOptions, 'chainId' | 'collectionAddress' | 'config'>>): _tanstack_react_query287.OmitKeyof<_tanstack_react_query287.UseQueryOptions<Currency[], Error, Currency[], readonly unknown[]>, "queryFn"> & {
461
- queryFn?: _tanstack_react_query287.QueryFunction<Currency[], readonly unknown[], never> | undefined;
460
+ declare function collectionActiveListingsCurrenciesQueryOptions(params: WithOptionalParams<WithRequired<CollectionActiveListingsCurrenciesQueryOptions, 'chainId' | 'collectionAddress' | 'config'>>): _tanstack_react_query413.OmitKeyof<_tanstack_react_query413.UseQueryOptions<Currency[], Error, Currency[], readonly unknown[]>, "queryFn"> & {
461
+ queryFn?: _tanstack_react_query413.QueryFunction<Currency[], readonly unknown[], never> | undefined;
462
462
  } & {
463
463
  queryKey: readonly unknown[] & {
464
464
  [dataTagSymbol]: Currency[];
@@ -503,7 +503,7 @@ type UseCollectionActiveListingsCurrenciesParams = Optional<CollectionActiveList
503
503
  * })
504
504
  * ```
505
505
  */
506
- declare function useCollectionActiveListingsCurrencies(params: UseCollectionActiveListingsCurrenciesParams): _tanstack_react_query287.UseQueryResult<Currency[], Error>;
506
+ declare function useCollectionActiveListingsCurrencies(params: UseCollectionActiveListingsCurrenciesParams): _tanstack_react_query413.UseQueryResult<Currency[], Error>;
507
507
  //#endregion
508
508
  //#region src/react/queries/collection/activeOffersCurrencies.d.ts
509
509
  type FetchCollectionActiveOffersCurrenciesParams = Omit<GetCollectionActiveOffersCurrenciesRequest, 'chainId' | 'contractAddress'> & {
@@ -511,8 +511,8 @@ type FetchCollectionActiveOffersCurrenciesParams = Omit<GetCollectionActiveOffer
511
511
  collectionAddress: Address$1;
512
512
  };
513
513
  type CollectionActiveOffersCurrenciesQueryOptions = SdkQueryParams<FetchCollectionActiveOffersCurrenciesParams>;
514
- declare function collectionActiveOffersCurrenciesQueryOptions(params: WithOptionalParams<WithRequired<CollectionActiveOffersCurrenciesQueryOptions, 'chainId' | 'collectionAddress' | 'config'>>): _tanstack_react_query287.OmitKeyof<_tanstack_react_query287.UseQueryOptions<Currency[], Error, Currency[], readonly unknown[]>, "queryFn"> & {
515
- queryFn?: _tanstack_react_query287.QueryFunction<Currency[], readonly unknown[], never> | undefined;
514
+ declare function collectionActiveOffersCurrenciesQueryOptions(params: WithOptionalParams<WithRequired<CollectionActiveOffersCurrenciesQueryOptions, 'chainId' | 'collectionAddress' | 'config'>>): _tanstack_react_query413.OmitKeyof<_tanstack_react_query413.UseQueryOptions<Currency[], Error, Currency[], readonly unknown[]>, "queryFn"> & {
515
+ queryFn?: _tanstack_react_query413.QueryFunction<Currency[], readonly unknown[], never> | undefined;
516
516
  } & {
517
517
  queryKey: readonly unknown[] & {
518
518
  [dataTagSymbol]: Currency[];
@@ -557,7 +557,7 @@ type UseCollectionActiveOffersCurrenciesParams = Optional<CollectionActiveOffers
557
557
  * })
558
558
  * ```
559
559
  */
560
- declare function useCollectionActiveOffersCurrencies(params: UseCollectionActiveOffersCurrenciesParams): _tanstack_react_query287.UseQueryResult<Currency[], Error>;
560
+ declare function useCollectionActiveOffersCurrencies(params: UseCollectionActiveOffersCurrenciesParams): _tanstack_react_query413.UseQueryResult<Currency[], Error>;
561
561
  //#endregion
562
562
  export { UseCollectionMarketDetailPollingParams as A, UseListItemsOrdersForCollectionParams as C, useCollectionMarketFloor as D, UseCollectionMarketFloorParams as E, UseCollectionBalanceDetailsArgs as F, UseCollectionBalanceDetailsParams as I, UseCollectionBalanceDetailsReturn as L, useCollectionMarketDetailPolling as M, UseCollectionListParams as N, UseCollectionMarketFilteredCountParams as O, useCollectionList as P, useCollectionBalanceDetails as R, UseListItemsOrdersForCollectionArgs as S, useCollectionMarketItems as T, useCollectionMarketItemsPaginated as _, collectionActiveOffersCurrenciesQueryOptions as a, FetchListItemsOrdersForCollectionParams as b, CollectionActiveListingsCurrenciesQueryOptions as c, UseCollectionMetadataParams as d, useCollectionMetadata as f, UseListItemsOrdersForCollectionPaginatedReturn as g, UseListItemsOrdersForCollectionPaginatedParams as h, FetchCollectionActiveOffersCurrenciesParams as i, collectionMarketDetailPollingOptions as j, useCollectionMarketFilteredCount as k, FetchCollectionActiveListingsCurrenciesParams as l, UseListItemsOrdersForCollectionPaginatedArgs as m, useCollectionActiveOffersCurrencies as n, UseCollectionActiveListingsCurrenciesParams as o, UseCollectionMarketItemsPaginatedParams as p, CollectionActiveOffersCurrenciesQueryOptions as r, useCollectionActiveListingsCurrencies as s, UseCollectionActiveOffersCurrenciesParams as t, collectionActiveListingsCurrenciesQueryOptions as u, UseCollectionMarketItemsCountParams as v, UseListItemsOrdersForCollectionReturn as w, UseCollectionMarketItemsParams as x, useCollectionMarketItemsCount as y };
563
563
  //# sourceMappingURL=index12.d.ts.map
package/dist/index14.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { wn as WalletKind } from "./index2.js";
1
+ import { Tn as WalletKind } from "./index2.js";
2
2
  import { p as MarketplaceConfig, s as MarketplaceSdkContext } from "./create-config.js";
3
- import * as _tanstack_react_query302 from "@tanstack/react-query";
3
+ import * as _tanstack_react_query47 from "@tanstack/react-query";
4
4
 
5
5
  //#region src/react/hooks/config/useConfig.d.ts
6
6
  declare function useConfig(): MarketplaceSdkContext;
@@ -13,7 +13,7 @@ declare const useConnectorMetadata: () => {
13
13
  };
14
14
  //#endregion
15
15
  //#region src/react/hooks/config/useMarketplaceConfig.d.ts
16
- declare const useMarketplaceConfig: () => _tanstack_react_query302.UseQueryResult<MarketplaceConfig, Error>;
16
+ declare const useMarketplaceConfig: () => _tanstack_react_query47.UseQueryResult<MarketplaceConfig, Error>;
17
17
  //#endregion
18
18
  export { useConnectorMetadata as n, useConfig as r, useMarketplaceConfig as t };
19
19
  //# sourceMappingURL=index14.d.ts.map
package/dist/index15.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Ft as Address$1, s as ContractType } from "./index2.js";
2
- import * as viem50 from "viem";
1
+ import { It as Address$1, c as ContractType } from "./index2.js";
2
+ import * as viem31 from "viem";
3
3
 
4
4
  //#region src/react/hooks/contracts/useERC721Owner.d.ts
5
5
  interface UseERC721OwnerParams {
@@ -18,7 +18,7 @@ declare function useERC721Owner({
18
18
  }: UseERC721OwnerParams): {
19
19
  owner: `0x${string}` | undefined;
20
20
  isLoading: boolean;
21
- error: viem50.ReadContractErrorType | null;
21
+ error: viem31.ReadContractErrorType | null;
22
22
  };
23
23
  //#endregion
24
24
  export { useERC721Owner as t };
package/dist/index16.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { o as UseInventoryArgs, r as CollectiblesResponse } from "./inventory.js";
2
- import * as _tanstack_react_query252 from "@tanstack/react-query";
2
+ import * as _tanstack_react_query393 from "@tanstack/react-query";
3
3
 
4
4
  //#region src/react/hooks/inventory/inventory.d.ts
5
- declare function useInventory(args: UseInventoryArgs): _tanstack_react_query252.UseQueryResult<CollectiblesResponse, Error>;
5
+ declare function useInventory(args: UseInventoryArgs): _tanstack_react_query393.UseQueryResult<CollectiblesResponse, Error>;
6
6
  //#endregion
7
7
  export { useInventory as t };
8
8
  //# sourceMappingURL=index16.d.ts.map