@0xsequence/marketplace-sdk 1.1.1 → 1.2.1

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 (381) hide show
  1. package/CHANGELOG.md +54 -3
  2. package/dist/{BellIcon-ByhygxBO.js → BellIcon.js} +4 -4
  3. package/dist/BellIcon.js.map +1 -0
  4. package/dist/{CartIcon-Bt3rQYGk.js → CartIcon.js} +7 -7
  5. package/dist/CartIcon.js.map +1 -0
  6. package/dist/CollectibleCard.d.ts +8 -0
  7. package/dist/{_internal-DkS2VUn5.js → _internal.js} +2 -2
  8. package/dist/_internal.js.map +1 -0
  9. package/dist/{abi-fa-o9gH3.js → abi.js} +2 -2
  10. package/dist/abi.js.map +1 -0
  11. package/dist/{alien_swap-DoY6XfMA.js → alien_swap.js} +1 -1
  12. package/dist/alien_swap.js.map +1 -0
  13. package/dist/{api-BoO0V5aJ.js → api.js} +13 -64
  14. package/dist/api.js.map +1 -0
  15. package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz.js} +1 -1
  16. package/dist/aqua-xyz.js.map +1 -0
  17. package/dist/{aura-DGx2zwvF.js → aura.js} +1 -1
  18. package/dist/aura.js.map +1 -0
  19. package/dist/{blur-D8GKrRrq.js → blur.js} +1 -1
  20. package/dist/blur.js.map +1 -0
  21. package/dist/{builder-api-BFuZNOaN.js → builder-api.js} +3 -3
  22. package/dist/builder-api.js.map +1 -0
  23. package/dist/{builder.gen-B9wR2nvF.js → builder.gen.js} +3 -6
  24. package/dist/builder.gen.js.map +1 -0
  25. package/dist/{coinbase-DOry4PXY.js → coinbase.js} +1 -1
  26. package/dist/coinbase.js.map +1 -0
  27. package/dist/{collectibles-C_H8jMGH.js → collectibles.js} +9 -48
  28. package/dist/collectibles.js.map +1 -0
  29. package/dist/{collections-CKummc-R.js → collections.js} +79 -8
  30. package/dist/collections.js.map +1 -0
  31. package/dist/{components-CosnX7F9.js → components.js} +12 -14
  32. package/dist/components.js.map +1 -0
  33. package/dist/{contracts-BP_0vX48.js → contracts.js} +4 -4
  34. package/dist/contracts.js.map +1 -0
  35. package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config.d.ts} +47 -60
  36. package/dist/{create-config-CIfejoCk.js → create-config.js} +10 -13
  37. package/dist/create-config.js.map +1 -0
  38. package/dist/{element-ciybd_VF.js → element.js} +1 -1
  39. package/dist/element.js.map +1 -0
  40. package/dist/{filters-V-V8Dn8f.d.ts → filters.d.ts} +7 -7
  41. package/dist/{foundation-Bq4lRz4x.js → foundation.js} +1 -1
  42. package/dist/foundation.js.map +1 -0
  43. package/dist/index.d.ts +8 -8
  44. package/dist/index.js +16 -16
  45. package/dist/{index-DUXfvhxs.d.ts → index10.d.ts} +14 -29
  46. package/dist/{index-CxA34wP1.d.ts → index11.d.ts} +101 -23
  47. package/dist/{index-BtWMBHeP.d.ts → index12.d.ts} +11 -9
  48. package/dist/{index-DmudgrsN.d.ts → index13.d.ts} +16 -16
  49. package/dist/{index-U-zp70of.d.ts → index14.d.ts} +9 -13
  50. package/dist/{index-Stm5u0I0.d.ts → index16.d.ts} +7 -10
  51. package/dist/{index-BZIJTQT0.d.ts → index17.d.ts} +9 -9
  52. package/dist/{index-CnEbXm_t.d.ts → index19.d.ts} +50 -12
  53. package/dist/{index-C-745li7.d.ts → index2.d.ts} +2 -2
  54. package/dist/{index-BOiHR01C.d.ts → index21.d.ts} +9 -9
  55. package/dist/{index-Bsx6XsC2.d.ts → index23.d.ts} +100 -59
  56. package/dist/{index-CPzvNmq9.d.ts → index24.d.ts} +36 -36
  57. package/dist/{index-DFEnA6Wa.d.ts → index25.d.ts} +18 -18
  58. package/dist/{index-DqXd1EeB.d.ts → index26.d.ts} +14 -7
  59. package/dist/{index-NlPMNcqh.d.ts → index27.d.ts} +102 -114
  60. package/dist/{index-DWt6yrIG.d.ts → index28.d.ts} +8 -8
  61. package/dist/{index-C4MUKshG.d.ts → index29.d.ts} +3 -3
  62. package/dist/{index-BeRV-7AX.d.ts → index3.d.ts} +2 -2
  63. package/dist/{index-Bxzjy0d1.d.ts → index4.d.ts} +2 -2
  64. package/dist/{index-DwKr18CI.d.ts → index5.d.ts} +2 -2
  65. package/dist/{index-D9LPlmbC.d.ts → index6.d.ts} +2 -2
  66. package/dist/{index-CS65jqOq.d.ts → index7.d.ts} +19 -3
  67. package/dist/index8.d.ts +18 -0
  68. package/dist/{index-CxpFwGvR.d.ts → index9.d.ts} +4 -4
  69. package/dist/{inventory-Dd7TazvZ.js → inventory.js} +11 -15
  70. package/dist/inventory.js.map +1 -0
  71. package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated.d.ts} +24 -29
  72. package/dist/{listCollections-BB9FxKj2.d.ts → listCollections.d.ts} +170 -100
  73. package/dist/{looks-rare-6H--x3AM.js → looks-rare.js} +1 -1
  74. package/dist/looks-rare.js.map +1 -0
  75. package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing.d.ts} +28 -28
  76. package/dist/{magic-eden-BoxEQ1Li.js → magic-eden.js} +1 -1
  77. package/dist/magic-eden.js.map +1 -0
  78. package/dist/{manifold-DycKsljb.js → manifold.js} +1 -1
  79. package/dist/manifold.js.map +1 -0
  80. package/dist/{market-C3HV-awQ.js → market.js} +7 -9
  81. package/dist/market.js.map +1 -0
  82. package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies.d.ts} +19 -9
  83. package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies.js} +10 -7
  84. package/dist/marketCurrencies.js.map +1 -0
  85. package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos.js} +23 -23
  86. package/dist/marketplace-logos.js.map +1 -0
  87. package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen.js} +25 -9
  88. package/dist/marketplace.gen.js.map +1 -0
  89. package/dist/{marketplace-NQB-sEQL.js → marketplace.js} +2 -2
  90. package/dist/marketplace.js.map +1 -0
  91. package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig.js} +3 -3
  92. package/dist/marketplaceConfig.js.map +1 -0
  93. package/dist/{mintify-Dyqyo8jQ.js → mintify.js} +1 -1
  94. package/dist/mintify.js.map +1 -0
  95. package/dist/{network-DtmiMhcg.js → network.js} +3 -3
  96. package/dist/network.js.map +1 -0
  97. package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain.js} +4 -3
  98. package/dist/networkconfigToWagmiChain.js.map +1 -0
  99. package/dist/{nftx-2LbFjj9Q.js → nftx.js} +1 -1
  100. package/dist/nftx.js.map +1 -0
  101. package/dist/{okx-CBEWJNsR.js → okx.js} +1 -1
  102. package/dist/okx.js.map +1 -0
  103. package/dist/{open-sea-Dxntz_PA.js → open-sea.js} +1 -1
  104. package/dist/open-sea.js.map +1 -0
  105. package/dist/{orders-DnFfZAXV.js → orders.js} +10 -10
  106. package/dist/orders.js.map +1 -0
  107. package/dist/{primary-sale-1u4QlPdA.js → primary-sale.js} +2 -2
  108. package/dist/primary-sale.js.map +1 -0
  109. package/dist/{primary-sales-Dmsi6bqj.js → primary-sales.js} +41 -3
  110. package/dist/primary-sales.js.map +1 -0
  111. package/dist/{query-BWbCsXLY.d.ts → query.d.ts} +2 -2
  112. package/dist/{rarible-CS0SupHr.js → rarible.js} +1 -1
  113. package/dist/rarible.js.map +1 -0
  114. package/dist/react/_internal/api/index.d.ts +2 -2
  115. package/dist/react/_internal/api/index.js +7 -7
  116. package/dist/react/_internal/databeat/index.d.ts +1 -1
  117. package/dist/react/_internal/databeat/index.js +37 -38
  118. package/dist/react/_internal/index.d.ts +2 -2
  119. package/dist/react/_internal/index.js +11 -11
  120. package/dist/react/_internal/wagmi/index.d.ts +1 -1
  121. package/dist/react/_internal/wagmi/index.js +5 -5
  122. package/dist/react/hooks/config/index.d.ts +8 -8
  123. package/dist/react/hooks/config/index.js +37 -38
  124. package/dist/react/hooks/contracts/index.d.ts +6 -6
  125. package/dist/react/hooks/contracts/index.js +15 -15
  126. package/dist/react/hooks/data/collectibles/index.d.ts +4 -10
  127. package/dist/react/hooks/data/collectibles/index.js +37 -38
  128. package/dist/react/hooks/data/collections/index.d.ts +11 -11
  129. package/dist/react/hooks/data/collections/index.js +38 -39
  130. package/dist/react/hooks/data/index.d.ts +37 -37
  131. package/dist/react/hooks/data/index.js +38 -39
  132. package/dist/react/hooks/data/inventory/index.d.ts +36 -36
  133. package/dist/react/hooks/data/inventory/index.js +37 -38
  134. package/dist/react/hooks/data/market/index.d.ts +5 -11
  135. package/dist/react/hooks/data/market/index.js +37 -38
  136. package/dist/react/hooks/data/orders/index.d.ts +4 -10
  137. package/dist/react/hooks/data/orders/index.js +37 -38
  138. package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
  139. package/dist/react/hooks/data/primary-sales/index.js +38 -39
  140. package/dist/react/hooks/data/tokens/index.d.ts +4 -4
  141. package/dist/react/hooks/data/tokens/index.js +37 -38
  142. package/dist/react/hooks/index.d.ts +37 -37
  143. package/dist/react/hooks/index.js +38 -39
  144. package/dist/react/hooks/transactions/index.d.ts +2 -2
  145. package/dist/react/hooks/transactions/index.js +37 -38
  146. package/dist/react/hooks/ui/index.d.ts +4 -4
  147. package/dist/react/hooks/ui/index.js +37 -38
  148. package/dist/react/hooks/utils/index.d.ts +36 -36
  149. package/dist/react/hooks/utils/index.js +37 -38
  150. package/dist/react/index.d.ts +37 -37
  151. package/dist/react/index.js +38 -39
  152. package/dist/react/queries/collectibles/index.d.ts +4 -10
  153. package/dist/react/queries/collectibles/index.js +20 -21
  154. package/dist/react/queries/collections/index.d.ts +11 -11
  155. package/dist/react/queries/collections/index.js +19 -19
  156. package/dist/react/queries/index.d.ts +24 -24
  157. package/dist/react/queries/index.js +30 -31
  158. package/dist/react/queries/inventory/index.d.ts +2 -2
  159. package/dist/react/queries/inventory/index.js +20 -20
  160. package/dist/react/queries/market/index.d.ts +5 -5
  161. package/dist/react/queries/market/index.js +20 -20
  162. package/dist/react/queries/orders/index.d.ts +4 -10
  163. package/dist/react/queries/orders/index.js +11 -11
  164. package/dist/react/queries/primary-sales/index.d.ts +4 -4
  165. package/dist/react/queries/primary-sales/index.js +12 -12
  166. package/dist/react/queries/tokens/index.d.ts +4 -4
  167. package/dist/react/queries/tokens/index.js +11 -12
  168. package/dist/react/queries/utils/index.d.ts +3 -3
  169. package/dist/react/queries/utils/index.js +20 -20
  170. package/dist/react/ssr/index.d.ts +7 -7
  171. package/dist/react/ssr/index.js +13 -16
  172. package/dist/react/ssr/index.js.map +1 -1
  173. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
  174. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +20 -20
  175. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
  176. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +37 -38
  177. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
  178. package/dist/react/ui/components/marketplace-collectible-card/index.js +37 -38
  179. package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
  180. package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +11 -11
  181. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  182. package/dist/react/ui/components/marketplace-logos/index.js +1 -1
  183. package/dist/react/ui/icons/index.js +14 -14
  184. package/dist/react/ui/index.d.ts +4 -4
  185. package/dist/react/ui/index.js +37 -38
  186. package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
  187. package/dist/react/ui/modals/_internal/components/actionModal/index.js +37 -38
  188. package/dist/react/utils/index.d.ts +1 -1
  189. package/dist/react/utils/index.js +7 -7
  190. package/dist/{react-DE852KeT.js → react.js} +720 -926
  191. package/dist/react.js.map +1 -0
  192. package/dist/{sequence-paCCener.js → sequence.js} +1 -1
  193. package/dist/sequence.js.map +1 -0
  194. package/dist/{src-Dz2CfBL0.js → src.js} +2 -2
  195. package/dist/src.js.map +1 -0
  196. package/dist/styles/index.css +1 -1
  197. package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap.js} +1 -1
  198. package/dist/sudo-swap.js.map +1 -0
  199. package/dist/{super-rare-DHIuWtRw.js → super-rare.js} +1 -1
  200. package/dist/super-rare.js.map +1 -0
  201. package/dist/{token-Cv7l2ZaL.js → token.js} +2 -2
  202. package/dist/token.js.map +1 -0
  203. package/dist/{tokenBalances-ibDerNmM.js → tokenBalances.js} +4 -11
  204. package/dist/tokenBalances.js.map +1 -0
  205. package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies.d.ts} +19 -30
  206. package/dist/{tokens-cGxMadd8.js → tokens.js} +47 -22
  207. package/dist/tokens.js.map +1 -0
  208. package/dist/{transaction-DZUW5RHu.js → transaction.js} +2 -2
  209. package/dist/transaction.js.map +1 -0
  210. package/dist/types/index.d.ts +1 -1
  211. package/dist/types/index.js +3 -3
  212. package/dist/{types-D2TJ1dwv.d.ts → types.d.ts} +3 -3
  213. package/dist/{types-B_-cnkcP.js → types.js} +2 -2
  214. package/dist/types.js.map +1 -0
  215. package/dist/utils/abi/index.d.ts +4 -4
  216. package/dist/utils/abi/index.js +4 -4
  217. package/dist/utils/abi/marketplace/index.d.ts +1 -1
  218. package/dist/utils/abi/marketplace/index.js +1 -1
  219. package/dist/utils/abi/primary-sale/index.d.ts +1 -1
  220. package/dist/utils/abi/primary-sale/index.js +1 -1
  221. package/dist/utils/abi/token/index.d.ts +1 -1
  222. package/dist/utils/abi/token/index.js +1 -1
  223. package/dist/utils/index.d.ts +7 -7
  224. package/dist/utils/index.js +13 -13
  225. package/dist/{utils-BfpDVibN.js → utils.js} +42 -4
  226. package/dist/utils.js.map +1 -0
  227. package/dist/{utils-BCgNhBFR.js → utils2.js} +11 -5
  228. package/dist/utils2.js.map +1 -0
  229. package/dist/{utils-BqxcalL2.js → utils3.js} +3 -3
  230. package/dist/utils3.js.map +1 -0
  231. package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt.js} +3 -3
  232. package/dist/waitForTransactionReceipt.js.map +1 -0
  233. package/dist/{x2y2-45WDooeh.js → x2y2.js} +1 -1
  234. package/dist/x2y2.js.map +1 -0
  235. package/dist/{zora-CbeBoLvQ.js → zora.js} +1 -1
  236. package/dist/zora.js.map +1 -0
  237. package/package.json +42 -42
  238. package/src/react/_internal/api/__mocks__/marketplace.msw.ts +13 -0
  239. package/src/react/_internal/api/index.ts +0 -1
  240. package/src/react/_internal/api/marketplace.gen.ts +70 -26
  241. package/src/react/_internal/api/query-keys.ts +9 -0
  242. package/src/react/_internal/wagmi/get-connectors.ts +12 -1
  243. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +0 -9
  244. package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -16
  245. package/src/react/hooks/data/collectibles/useTokenBalances.tsx +0 -9
  246. package/src/react/hooks/data/collections/index.ts +2 -0
  247. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
  248. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
  249. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
  250. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
  251. package/src/react/hooks/data/inventory/useInventory.tsx +1 -10
  252. package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
  253. package/src/react/hooks/data/primary-sales/index.ts +1 -0
  254. package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
  255. package/src/react/hooks/data/tokens/useListBalances.tsx +1 -10
  256. package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -13
  257. package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +2 -0
  258. package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
  259. package/src/react/hooks/transactions/useProcessStep.ts +8 -6
  260. package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
  261. package/src/react/providers/modal-provider.tsx +2 -1
  262. package/src/react/queries/collectibles/balanceOfCollectible.ts +1 -15
  263. package/src/react/queries/collectibles/listCollectibles.ts +1 -54
  264. package/src/react/queries/collectibles/tokenBalances.ts +1 -15
  265. package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
  266. package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
  267. package/src/react/queries/collections/index.ts +2 -0
  268. package/src/react/queries/inventory/inventory.ts +2 -9
  269. package/src/react/queries/market/marketCurrencies.ts +8 -1
  270. package/src/react/queries/primary-sales/index.ts +1 -0
  271. package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
  272. package/src/react/queries/tokens/listBalances.ts +1 -21
  273. package/src/react/queries/tokens/tokenSupplies.ts +2 -31
  274. package/src/react/queries/utils/comparePrices.ts +13 -1
  275. package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
  276. package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
  277. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +2 -2
  278. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +0 -2
  279. package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
  280. package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +152 -141
  281. package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
  282. package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +44 -60
  283. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +381 -0
  284. package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +257 -0
  285. package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +0 -23
  286. package/src/react/ui/modals/MakeOfferModal/Modal.tsx +22 -2
  287. package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +2 -0
  288. package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -0
  289. package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -0
  290. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +1 -1
  291. package/src/react/ui/modals/TransferModal/index.tsx +24 -2
  292. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +15 -12
  293. package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
  294. package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
  295. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +148 -11
  296. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
  297. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
  298. package/src/styles/styles.ts +2 -2
  299. package/src/utils/networkconfigToWagmiChain.ts +7 -0
  300. package/src/utils/price.ts +58 -0
  301. package/test/const.ts +2 -0
  302. package/test/server-setup.ts +0 -2
  303. package/tsdown.config.ts +1 -0
  304. package/.changeset/honest-peas-arrive.md +0 -5
  305. package/.changeset/real-tips-stick.md +0 -8
  306. package/.changeset/tall-pandas-wear.md +0 -8
  307. package/dist/BellIcon-ByhygxBO.js.map +0 -1
  308. package/dist/CartIcon-Bt3rQYGk.js.map +0 -1
  309. package/dist/CollectibleCard-CVpdgXA8.d.ts +0 -8
  310. package/dist/_internal-DkS2VUn5.js.map +0 -1
  311. package/dist/abi-fa-o9gH3.js.map +0 -1
  312. package/dist/alien_swap-DoY6XfMA.js.map +0 -1
  313. package/dist/api-BoO0V5aJ.js.map +0 -1
  314. package/dist/aqua-xyz-BBDxnG14.js.map +0 -1
  315. package/dist/aura-DGx2zwvF.js.map +0 -1
  316. package/dist/blur-D8GKrRrq.js.map +0 -1
  317. package/dist/builder-api-BFuZNOaN.js.map +0 -1
  318. package/dist/builder.gen-B9wR2nvF.js.map +0 -1
  319. package/dist/coinbase-DOry4PXY.js.map +0 -1
  320. package/dist/collectibles-C_H8jMGH.js.map +0 -1
  321. package/dist/collections-CKummc-R.js.map +0 -1
  322. package/dist/components-CosnX7F9.js.map +0 -1
  323. package/dist/contracts-BP_0vX48.js.map +0 -1
  324. package/dist/create-config-CIfejoCk.js.map +0 -1
  325. package/dist/element-ciybd_VF.js.map +0 -1
  326. package/dist/foundation-Bq4lRz4x.js.map +0 -1
  327. package/dist/index-DNNUeZEq.d.ts +0 -18
  328. package/dist/inventory-Dd7TazvZ.js.map +0 -1
  329. package/dist/listBalances-BxpxBCvn.js +0 -57
  330. package/dist/listBalances-BxpxBCvn.js.map +0 -1
  331. package/dist/looks-rare-6H--x3AM.js.map +0 -1
  332. package/dist/magic-eden-BoxEQ1Li.js.map +0 -1
  333. package/dist/manifold-DycKsljb.js.map +0 -1
  334. package/dist/market-C3HV-awQ.js.map +0 -1
  335. package/dist/marketCurrencies-sKrTX0og.js.map +0 -1
  336. package/dist/marketplace-NQB-sEQL.js.map +0 -1
  337. package/dist/marketplace-logos-D4dS1Foy.js.map +0 -1
  338. package/dist/marketplace.gen-ksUafDqS.js.map +0 -1
  339. package/dist/marketplaceConfig-UHQMM9fq.js.map +0 -1
  340. package/dist/mintify-Dyqyo8jQ.js.map +0 -1
  341. package/dist/network-DtmiMhcg.js.map +0 -1
  342. package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
  343. package/dist/nftx-2LbFjj9Q.js.map +0 -1
  344. package/dist/okx-CBEWJNsR.js.map +0 -1
  345. package/dist/open-sea-Dxntz_PA.js.map +0 -1
  346. package/dist/orders-DnFfZAXV.js.map +0 -1
  347. package/dist/primary-sale-1u4QlPdA.js.map +0 -1
  348. package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
  349. package/dist/rarible-CS0SupHr.js.map +0 -1
  350. package/dist/react-DE852KeT.js.map +0 -1
  351. package/dist/sequence-paCCener.js.map +0 -1
  352. package/dist/src-Dz2CfBL0.js.map +0 -1
  353. package/dist/sudo-swap-9rH2EgfT.js.map +0 -1
  354. package/dist/super-rare-DHIuWtRw.js.map +0 -1
  355. package/dist/token-Cv7l2ZaL.js.map +0 -1
  356. package/dist/tokenBalances-ibDerNmM.js.map +0 -1
  357. package/dist/tokens-cGxMadd8.js.map +0 -1
  358. package/dist/transaction-DZUW5RHu.js.map +0 -1
  359. package/dist/types-B_-cnkcP.js.map +0 -1
  360. package/dist/utils-BCgNhBFR.js.map +0 -1
  361. package/dist/utils-BfpDVibN.js.map +0 -1
  362. package/dist/utils-BqxcalL2.js.map +0 -1
  363. package/dist/waitForTransactionReceipt-DieAnV52.js.map +0 -1
  364. package/dist/x2y2-45WDooeh.js.map +0 -1
  365. package/dist/zora-CbeBoLvQ.js.map +0 -1
  366. package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
  367. package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
  368. package/src/react/_internal/api/laos-api.ts +0 -106
  369. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
  370. package/src/react/queries/collectibles/__tests__/balanceOfCollectible.laos.test.ts +0 -123
  371. package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +0 -123
  372. package/src/react/queries/inventory/__tests__/inventory.laos.test.ts +0 -499
  373. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155Checkout.test.tsx +0 -395
  374. package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +0 -103
  375. package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +0 -481
  376. /package/dist/{index-6wsMChsg.d.ts → index15.d.ts} +0 -0
  377. /package/dist/{index-CZUtOTjh.d.ts → index18.d.ts} +0 -0
  378. /package/dist/{index-DW3njUfb.d.ts → index20.d.ts} +0 -0
  379. /package/dist/{index-DewGsFz5.d.ts → index22.d.ts} +0 -0
  380. /package/dist/{queries-KOcILNJO.js → queries.js} +0 -0
  381. /package/dist/{wagmi-Bseovd6Q.js → wagmi.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { ContractType, MetadataStatus, Page as Page$1, SdkConfig } from "./create-config-ZOB7i4ZJ.js";
2
- import * as _tanstack_react_query0 from "@tanstack/react-query";
1
+ import { G as SdkConfig, Jr as MetadataStatus, Lt as ContractType, oi as Page$1 } from "./create-config.js";
2
+ import * as _tanstack_react_query396 from "@tanstack/react-query";
3
3
  import { ContractInfo } from "@0xsequence/indexer";
4
4
  import { Address } from "viem";
5
5
 
@@ -8,7 +8,6 @@ interface UseInventoryArgs {
8
8
  accountAddress: Address;
9
9
  collectionAddress: Address;
10
10
  chainId: number;
11
- isLaos721?: boolean;
12
11
  includeNonTradable?: boolean;
13
12
  query?: {
14
13
  enabled?: boolean;
@@ -16,9 +15,7 @@ interface UseInventoryArgs {
16
15
  pageSize?: number;
17
16
  };
18
17
  }
19
- interface GetInventoryArgs extends Omit<UseInventoryArgs, 'query'> {
20
- isLaos721: boolean;
21
- }
18
+ type GetInventoryArgs = Omit<UseInventoryArgs, 'query'>;
22
19
  interface CollectibleWithBalance {
23
20
  metadata: {
24
21
  tokenId: string;
@@ -40,8 +37,8 @@ interface CollectiblesResponse {
40
37
  isTradable: boolean;
41
38
  }
42
39
  declare function fetchInventory(args: GetInventoryArgs, config: SdkConfig, page: Page$1): Promise<CollectiblesResponse>;
43
- declare function inventoryOptions(args: UseInventoryArgs, config: SdkConfig): _tanstack_react_query0.OmitKeyof<_tanstack_react_query0.UseQueryOptions<CollectiblesResponse, Error, CollectiblesResponse, (string | number)[]>, "queryFn"> & {
44
- queryFn?: _tanstack_react_query0.QueryFunction<CollectiblesResponse, (string | number)[], never> | undefined;
40
+ declare function inventoryOptions(args: UseInventoryArgs, config: SdkConfig): _tanstack_react_query396.OmitKeyof<_tanstack_react_query396.UseQueryOptions<CollectiblesResponse, Error, CollectiblesResponse, (string | number)[]>, "queryFn"> & {
41
+ queryFn?: _tanstack_react_query396.QueryFunction<CollectiblesResponse, (string | number)[], never> | undefined;
45
42
  } & {
46
43
  queryKey: (string | number)[] & {
47
44
  [dataTagSymbol]: CollectiblesResponse;
@@ -49,5 +46,5 @@ declare function inventoryOptions(args: UseInventoryArgs, config: SdkConfig): _t
49
46
  };
50
47
  };
51
48
  //#endregion
52
- export { CollectiblesResponse, UseInventoryArgs, fetchInventory, inventoryOptions };
53
- //# sourceMappingURL=index-Stm5u0I0.d.ts.map
49
+ export { inventoryOptions as i, UseInventoryArgs as n, fetchInventory as r, CollectiblesResponse as t };
50
+ //# sourceMappingURL=index16.d.ts.map
@@ -1,6 +1,6 @@
1
- import { CheckoutOptionsItem, CheckoutOptionsMarketplaceArgs, CheckoutOptionsMarketplaceReturn, CheckoutOptionsSalesContractArgs, CheckoutOptionsSalesContractReturn, MarketplaceKind, SdkConfig, ValuesOptional } from "./create-config-ZOB7i4ZJ.js";
2
- import { StandardQueryOptions } from "./query-BWbCsXLY.js";
3
- import * as _tanstack_react_query390 from "@tanstack/react-query";
1
+ import { Ct as CheckoutOptionsMarketplaceReturn, G as SdkConfig, Tt as CheckoutOptionsSalesContractReturn, bt as CheckoutOptionsItem, j as ValuesOptional, qr as MarketplaceKind, wt as CheckoutOptionsSalesContractArgs, xt as CheckoutOptionsMarketplaceArgs } from "./create-config.js";
2
+ import { n as StandardQueryOptions } from "./query.js";
3
+ import * as _tanstack_react_query399 from "@tanstack/react-query";
4
4
  import { Address } from "viem";
5
5
 
6
6
  //#region src/react/queries/market/checkoutOptions.d.ts
@@ -31,7 +31,7 @@ declare function getCheckoutOptionsQueryKey(params: CheckoutOptionsQueryOptions)
31
31
  }[] | undefined;
32
32
  additionalFee: number | undefined;
33
33
  }];
34
- declare function checkoutOptionsQueryOptions(params: CheckoutOptionsQueryOptions): _tanstack_react_query390.OmitKeyof<_tanstack_react_query390.UseQueryOptions<CheckoutOptionsMarketplaceReturn, Error, CheckoutOptionsMarketplaceReturn, readonly ["checkouts", "options", {
34
+ declare function checkoutOptionsQueryOptions(params: CheckoutOptionsQueryOptions): _tanstack_react_query399.OmitKeyof<_tanstack_react_query399.UseQueryOptions<CheckoutOptionsMarketplaceReturn, Error, CheckoutOptionsMarketplaceReturn, readonly ["checkouts", "options", {
35
35
  chainId: string;
36
36
  wallet: `0x${string}` | undefined;
37
37
  orders: {
@@ -41,7 +41,7 @@ declare function checkoutOptionsQueryOptions(params: CheckoutOptionsQueryOptions
41
41
  }[] | undefined;
42
42
  additionalFee: number | undefined;
43
43
  }]>, "queryFn"> & {
44
- queryFn?: _tanstack_react_query390.QueryFunction<CheckoutOptionsMarketplaceReturn, readonly ["checkouts", "options", {
44
+ queryFn?: _tanstack_react_query399.QueryFunction<CheckoutOptionsMarketplaceReturn, readonly ["checkouts", "options", {
45
45
  chainId: string;
46
46
  wallet: `0x${string}` | undefined;
47
47
  orders: {
@@ -90,14 +90,14 @@ declare function getCheckoutOptionsSalesContractQueryKey(params: CheckoutOptions
90
90
  collectionAddress: string | undefined;
91
91
  items: CheckoutOptionsItem[] | undefined;
92
92
  }];
93
- declare function checkoutOptionsSalesContractQueryOptions(params: CheckoutOptionsSalesContractQueryOptions): _tanstack_react_query390.OmitKeyof<_tanstack_react_query390.UseQueryOptions<CheckoutOptionsSalesContractReturn, Error, CheckoutOptionsSalesContractReturn, readonly ["checkouts", "options", "salesContract", {
93
+ declare function checkoutOptionsSalesContractQueryOptions(params: CheckoutOptionsSalesContractQueryOptions): _tanstack_react_query399.OmitKeyof<_tanstack_react_query399.UseQueryOptions<CheckoutOptionsSalesContractReturn, Error, CheckoutOptionsSalesContractReturn, readonly ["checkouts", "options", "salesContract", {
94
94
  chainId: string;
95
95
  wallet: `0x${string}` | undefined;
96
96
  contractAddress: string | undefined;
97
97
  collectionAddress: string | undefined;
98
98
  items: CheckoutOptionsItem[] | undefined;
99
99
  }]>, "queryFn"> & {
100
- queryFn?: _tanstack_react_query390.QueryFunction<CheckoutOptionsSalesContractReturn, readonly ["checkouts", "options", "salesContract", {
100
+ queryFn?: _tanstack_react_query399.QueryFunction<CheckoutOptionsSalesContractReturn, readonly ["checkouts", "options", "salesContract", {
101
101
  chainId: string;
102
102
  wallet: `0x${string}` | undefined;
103
103
  contractAddress: string | undefined;
@@ -117,5 +117,5 @@ declare function checkoutOptionsSalesContractQueryOptions(params: CheckoutOption
117
117
  };
118
118
  };
119
119
  //#endregion
120
- export { CheckoutOptionsQueryOptions, CheckoutOptionsSalesContractQueryOptions, FetchCheckoutOptionsParams, FetchCheckoutOptionsSalesContractParams, checkoutOptionsQueryOptions, checkoutOptionsSalesContractQueryOptions, fetchCheckoutOptions, fetchCheckoutOptionsSalesContract, getCheckoutOptionsQueryKey, getCheckoutOptionsSalesContractQueryKey };
121
- //# sourceMappingURL=index-BZIJTQT0.d.ts.map
120
+ export { getCheckoutOptionsSalesContractQueryKey as a, checkoutOptionsQueryOptions as c, fetchCheckoutOptionsSalesContract as i, fetchCheckoutOptions as l, FetchCheckoutOptionsSalesContractParams as n, CheckoutOptionsQueryOptions as o, checkoutOptionsSalesContractQueryOptions as r, FetchCheckoutOptionsParams as s, CheckoutOptionsSalesContractQueryOptions as t, getCheckoutOptionsQueryKey as u };
121
+ //# sourceMappingURL=index17.d.ts.map
@@ -1,6 +1,6 @@
1
- import { GetCountOfPrimarySaleItemsArgs, GetCountOfPrimarySaleItemsReturn, ListPrimarySaleItemsReturn, Page, PrimarySaleItemsFilter, SdkConfig, ValuesOptional } from "./create-config-ZOB7i4ZJ.js";
2
- import { StandardQueryOptions } from "./query-BWbCsXLY.js";
3
- import * as _tanstack_react_query358 from "@tanstack/react-query";
1
+ import { G as SdkConfig, Gr as ListPrimarySaleItemsReturn, Ot as CollectiblePrimarySaleItem, Xn as GetCountOfPrimarySaleItemsReturn, Yn as GetCountOfPrimarySaleItemsArgs, j as ValuesOptional, mi as PrimarySaleItemsFilter, oi as Page, ur as GetPrimarySaleItemArgs } from "./create-config.js";
2
+ import { n as StandardQueryOptions } from "./query.js";
3
+ import * as _tanstack_react_query385 from "@tanstack/react-query";
4
4
  import { Address } from "viem";
5
5
 
6
6
  //#region src/react/queries/primary-sales/countOfPrimarySaleItems.d.ts
@@ -18,12 +18,12 @@ declare function getCountOfPrimarySaleItemsQueryKey(args: UseCountOfPrimarySaleI
18
18
  primarySaleContractAddress: `0x${string}`;
19
19
  filter: PrimarySaleItemsFilter | undefined;
20
20
  }];
21
- declare function countOfPrimarySaleItemsOptions(args: UseCountOfPrimarySaleItemsArgs, config: SdkConfig): _tanstack_react_query358.OmitKeyof<_tanstack_react_query358.UseQueryOptions<number, Error, number, readonly ["primarySaleItemsCount", {
21
+ declare function countOfPrimarySaleItemsOptions(args: UseCountOfPrimarySaleItemsArgs, config: SdkConfig): _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseQueryOptions<number, Error, number, readonly ["primarySaleItemsCount", {
22
22
  chainId: string;
23
23
  primarySaleContractAddress: `0x${string}`;
24
24
  filter: PrimarySaleItemsFilter | undefined;
25
25
  }]>, "queryFn"> & {
26
- queryFn?: _tanstack_react_query358.QueryFunction<number, readonly ["primarySaleItemsCount", {
26
+ queryFn?: _tanstack_react_query385.QueryFunction<number, readonly ["primarySaleItemsCount", {
27
27
  chainId: string;
28
28
  primarySaleContractAddress: `0x${string}`;
29
29
  filter: PrimarySaleItemsFilter | undefined;
@@ -39,6 +39,44 @@ declare function countOfPrimarySaleItemsOptions(args: UseCountOfPrimarySaleItems
39
39
  };
40
40
  };
41
41
  //#endregion
42
+ //#region src/react/queries/primary-sales/primarySaleItem.d.ts
43
+ interface FetchPrimarySaleItemParams extends Omit<GetPrimarySaleItemArgs, 'chainId'> {
44
+ chainId: number;
45
+ config: SdkConfig;
46
+ }
47
+ /**
48
+ * Fetches a single primary sale item from the marketplace API
49
+ */
50
+ declare function fetchPrimarySaleItem(params: FetchPrimarySaleItemParams): Promise<CollectiblePrimarySaleItem>;
51
+ type PrimarySaleItemQueryOptions = ValuesOptional<FetchPrimarySaleItemParams> & {
52
+ query?: StandardQueryOptions;
53
+ };
54
+ declare function getPrimarySaleItemQueryKey(params: PrimarySaleItemQueryOptions): readonly ["primarySaleItem", {
55
+ chainId: string;
56
+ primarySaleContractAddress: string | undefined;
57
+ tokenId: string | undefined;
58
+ }];
59
+ declare function primarySaleItemQueryOptions(params: PrimarySaleItemQueryOptions): _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseQueryOptions<CollectiblePrimarySaleItem, Error, CollectiblePrimarySaleItem, readonly ["primarySaleItem", {
60
+ chainId: string;
61
+ primarySaleContractAddress: string | undefined;
62
+ tokenId: string | undefined;
63
+ }]>, "queryFn"> & {
64
+ queryFn?: _tanstack_react_query385.QueryFunction<CollectiblePrimarySaleItem, readonly ["primarySaleItem", {
65
+ chainId: string;
66
+ primarySaleContractAddress: string | undefined;
67
+ tokenId: string | undefined;
68
+ }], never> | undefined;
69
+ } & {
70
+ queryKey: readonly ["primarySaleItem", {
71
+ chainId: string;
72
+ primarySaleContractAddress: string | undefined;
73
+ tokenId: string | undefined;
74
+ }] & {
75
+ [dataTagSymbol]: CollectiblePrimarySaleItem;
76
+ [dataTagErrorSymbol]: Error;
77
+ };
78
+ };
79
+ //#endregion
42
80
  //#region src/react/queries/primary-sales/primarySaleItems.d.ts
43
81
  interface FetchPrimarySaleItemsParams {
44
82
  chainId: number;
@@ -59,7 +97,7 @@ declare function getListPrimarySaleItemsQueryKey(params: ListPrimarySaleItemsQue
59
97
  primarySaleContractAddress: `0x${string}` | undefined;
60
98
  filter: PrimarySaleItemsFilter | undefined;
61
99
  }];
62
- declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQueryOptions) => _tanstack_react_query358.OmitKeyof<_tanstack_react_query358.UseInfiniteQueryOptions<ListPrimarySaleItemsReturn, Error, _tanstack_react_query358.InfiniteData<ListPrimarySaleItemsReturn, unknown>, readonly ["listPrimarySaleItems", {
100
+ declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQueryOptions) => _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseInfiniteQueryOptions<ListPrimarySaleItemsReturn, Error, _tanstack_react_query385.InfiniteData<ListPrimarySaleItemsReturn, unknown>, readonly ["listPrimarySaleItems", {
63
101
  chainId: string;
64
102
  primarySaleContractAddress: `0x${string}` | undefined;
65
103
  filter: PrimarySaleItemsFilter | undefined;
@@ -67,7 +105,7 @@ declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQue
67
105
  page: number;
68
106
  pageSize: number;
69
107
  }>, "queryFn"> & {
70
- queryFn?: _tanstack_react_query358.QueryFunction<ListPrimarySaleItemsReturn, readonly ["listPrimarySaleItems", {
108
+ queryFn?: _tanstack_react_query385.QueryFunction<ListPrimarySaleItemsReturn, readonly ["listPrimarySaleItems", {
71
109
  chainId: string;
72
110
  primarySaleContractAddress: `0x${string}` | undefined;
73
111
  filter: PrimarySaleItemsFilter | undefined;
@@ -81,7 +119,7 @@ declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQue
81
119
  primarySaleContractAddress: `0x${string}` | undefined;
82
120
  filter: PrimarySaleItemsFilter | undefined;
83
121
  }] & {
84
- [dataTagSymbol]: _tanstack_react_query358.InfiniteData<ListPrimarySaleItemsReturn, unknown>;
122
+ [dataTagSymbol]: _tanstack_react_query385.InfiniteData<ListPrimarySaleItemsReturn, unknown>;
85
123
  [dataTagErrorSymbol]: Error;
86
124
  };
87
125
  };
@@ -105,12 +143,12 @@ declare function getPrimarySaleItemsCountQueryKey(args: PrimarySaleItemsCountQue
105
143
  primarySaleContractAddress: `0x${string}` | undefined;
106
144
  filter: PrimarySaleItemsFilter | undefined;
107
145
  }];
108
- declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQueryOptions) => _tanstack_react_query358.OmitKeyof<_tanstack_react_query358.UseQueryOptions<GetCountOfPrimarySaleItemsReturn, Error, GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
146
+ declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQueryOptions) => _tanstack_react_query385.OmitKeyof<_tanstack_react_query385.UseQueryOptions<GetCountOfPrimarySaleItemsReturn, Error, GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
109
147
  chainId: string;
110
148
  primarySaleContractAddress: `0x${string}` | undefined;
111
149
  filter: PrimarySaleItemsFilter | undefined;
112
150
  }]>, "queryFn"> & {
113
- queryFn?: _tanstack_react_query358.QueryFunction<GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
151
+ queryFn?: _tanstack_react_query385.QueryFunction<GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
114
152
  chainId: string;
115
153
  primarySaleContractAddress: `0x${string}` | undefined;
116
154
  filter: PrimarySaleItemsFilter | undefined;
@@ -126,5 +164,5 @@ declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQue
126
164
  };
127
165
  };
128
166
  //#endregion
129
- export { FetchPrimarySaleItemsCountParams, FetchPrimarySaleItemsParams, ListPrimarySaleItemsQueryOptions, PrimarySaleItemsCountQueryOptions, UseCountOfPrimarySaleItemsArgs, countOfPrimarySaleItemsOptions, fetchCountOfPrimarySaleItems, fetchPrimarySaleItems, fetchPrimarySaleItemsCount, getCountOfPrimarySaleItemsQueryKey, getListPrimarySaleItemsQueryKey, getPrimarySaleItemsCountQueryKey, listPrimarySaleItemsQueryOptions, primarySaleItemsCountQueryOptions };
130
- //# sourceMappingURL=index-CnEbXm_t.d.ts.map
167
+ export { countOfPrimarySaleItemsOptions as _, primarySaleItemsCountQueryOptions as a, fetchPrimarySaleItems as c, FetchPrimarySaleItemParams as d, PrimarySaleItemQueryOptions as f, UseCountOfPrimarySaleItemsArgs as g, primarySaleItemQueryOptions as h, getPrimarySaleItemsCountQueryKey as i, getListPrimarySaleItemsQueryKey as l, getPrimarySaleItemQueryKey as m, PrimarySaleItemsCountQueryOptions as n, FetchPrimarySaleItemsParams as o, fetchPrimarySaleItem as p, fetchPrimarySaleItemsCount as r, ListPrimarySaleItemsQueryOptions as s, FetchPrimarySaleItemsCountParams as t, listPrimarySaleItemsQueryOptions as u, fetchCountOfPrimarySaleItems as v, getCountOfPrimarySaleItemsQueryKey as y };
168
+ //# sourceMappingURL=index19.d.ts.map
@@ -3,5 +3,5 @@ declare const SEQUENCE_MARKET_V1_ADDRESS = "0xB537a160472183f2150d42EB1c3DD6684A
3
3
  declare const SEQUENCE_MARKET_V2_ADDRESS = "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712";
4
4
  declare const DEFAULT_MARKETPLACE_FEE_PERCENTAGE = 2.5;
5
5
  //#endregion
6
- export { DEFAULT_MARKETPLACE_FEE_PERCENTAGE, SEQUENCE_MARKET_V1_ADDRESS, SEQUENCE_MARKET_V2_ADDRESS };
7
- //# sourceMappingURL=index-C-745li7.d.ts.map
6
+ export { SEQUENCE_MARKET_V1_ADDRESS as n, SEQUENCE_MARKET_V2_ADDRESS as r, DEFAULT_MARKETPLACE_FEE_PERCENTAGE as t };
7
+ //# sourceMappingURL=index2.d.ts.map
@@ -1,6 +1,6 @@
1
- import { SdkConfig, ValuesOptional } from "./create-config-ZOB7i4ZJ.js";
2
- import { StandardQueryOptions } from "./query-BWbCsXLY.js";
3
- import * as _tanstack_react_query351 from "@tanstack/react-query";
1
+ import { G as SdkConfig, j as ValuesOptional } from "./create-config.js";
2
+ import { n as StandardQueryOptions } from "./query.js";
3
+ import * as _tanstack_react_query2 from "@tanstack/react-query";
4
4
  import { Address } from "viem";
5
5
 
6
6
  //#region src/react/queries/utils/comparePrices.d.ts
@@ -31,14 +31,14 @@ declare function getComparePricesQueryKey(params: ComparePricesQueryOptions): re
31
31
  compareToPriceAmountRaw: string;
32
32
  compareToPriceCurrencyAddress: `0x${string}`;
33
33
  }];
34
- declare function comparePricesQueryOptions(params: ComparePricesQueryOptions): _tanstack_react_query351.OmitKeyof<_tanstack_react_query351.UseQueryOptions<ComparePricesReturn, Error, ComparePricesReturn, readonly ["currencies", "conversion", "compare", {
34
+ declare function comparePricesQueryOptions(params: ComparePricesQueryOptions): _tanstack_react_query2.OmitKeyof<_tanstack_react_query2.UseQueryOptions<ComparePricesReturn, Error, ComparePricesReturn, readonly ["currencies", "conversion", "compare", {
35
35
  chainId: number;
36
36
  priceAmountRaw: string;
37
37
  priceCurrencyAddress: `0x${string}`;
38
38
  compareToPriceAmountRaw: string;
39
39
  compareToPriceCurrencyAddress: `0x${string}`;
40
40
  }]>, "queryFn"> & {
41
- queryFn?: _tanstack_react_query351.QueryFunction<ComparePricesReturn, readonly ["currencies", "conversion", "compare", {
41
+ queryFn?: _tanstack_react_query2.QueryFunction<ComparePricesReturn, readonly ["currencies", "conversion", "compare", {
42
42
  chainId: number;
43
43
  priceAmountRaw: string;
44
44
  priceCurrencyAddress: `0x${string}`;
@@ -81,12 +81,12 @@ declare function getConvertPriceToUSDQueryKey(params: ConvertPriceToUSDQueryOpti
81
81
  currencyAddress: `0x${string}`;
82
82
  amountRaw: string;
83
83
  }];
84
- declare function convertPriceToUSDQueryOptions(params: ConvertPriceToUSDQueryOptions): _tanstack_react_query351.OmitKeyof<_tanstack_react_query351.UseQueryOptions<ConvertPriceToUSDReturn, Error, ConvertPriceToUSDReturn, readonly ["currencies", "conversion", "usd", {
84
+ declare function convertPriceToUSDQueryOptions(params: ConvertPriceToUSDQueryOptions): _tanstack_react_query2.OmitKeyof<_tanstack_react_query2.UseQueryOptions<ConvertPriceToUSDReturn, Error, ConvertPriceToUSDReturn, readonly ["currencies", "conversion", "usd", {
85
85
  chainId: number;
86
86
  currencyAddress: `0x${string}`;
87
87
  amountRaw: string;
88
88
  }]>, "queryFn"> & {
89
- queryFn?: _tanstack_react_query351.QueryFunction<ConvertPriceToUSDReturn, readonly ["currencies", "conversion", "usd", {
89
+ queryFn?: _tanstack_react_query2.QueryFunction<ConvertPriceToUSDReturn, readonly ["currencies", "conversion", "usd", {
90
90
  chainId: number;
91
91
  currencyAddress: `0x${string}`;
92
92
  amountRaw: string;
@@ -102,5 +102,5 @@ declare function convertPriceToUSDQueryOptions(params: ConvertPriceToUSDQueryOpt
102
102
  };
103
103
  };
104
104
  //#endregion
105
- export { ComparePricesQueryOptions, ComparePricesReturn, ConvertPriceToUSDQueryOptions, ConvertPriceToUSDReturn, FetchComparePricesParams, FetchConvertPriceToUSDParams, comparePricesQueryOptions, convertPriceToUSDQueryOptions, fetchComparePrices, fetchConvertPriceToUSD, getComparePricesQueryKey, getConvertPriceToUSDQueryKey };
106
- //# sourceMappingURL=index-BOiHR01C.d.ts.map
105
+ export { fetchConvertPriceToUSD as a, ComparePricesReturn as c, fetchComparePrices as d, getComparePricesQueryKey as f, convertPriceToUSDQueryOptions as i, FetchComparePricesParams as l, ConvertPriceToUSDReturn as n, getConvertPriceToUSDQueryKey as o, FetchConvertPriceToUSDParams as r, ComparePricesQueryOptions as s, ConvertPriceToUSDQueryOptions as t, comparePricesQueryOptions as u };
106
+ //# sourceMappingURL=index21.d.ts.map
@@ -1,19 +1,19 @@
1
- import { CheckoutOptionsItem, CheckoutOptionsMarketplaceReturn, CheckoutOptionsSalesContractReturn, CollectiblePrimarySaleItem, ContractType, GetCountOfPrimarySaleItemsReturn, ListPrimarySaleItemsReturn, MarketplaceKind, MarketplaceSdkContext, Optional, PrimarySaleItem, QueryArg, SdkConfig, TokenMetadata as TokenMetadata$1 } from "./create-config-ZOB7i4ZJ.js";
2
- import { CollectiblesResponse, UseInventoryArgs } from "./index-Stm5u0I0.js";
3
- import { CheckoutOptionsQueryOptions, CheckoutOptionsSalesContractQueryOptions, fetchCheckoutOptions, fetchCheckoutOptionsSalesContract } from "./index-BZIJTQT0.js";
4
- import { ListPrimarySaleItemsQueryOptions, UseCountOfPrimarySaleItemsArgs } from "./index-CnEbXm_t.js";
5
- import { ComparePricesQueryOptions, ComparePricesReturn, ConvertPriceToUSDQueryOptions, ConvertPriceToUSDReturn } from "./index-BOiHR01C.js";
1
+ import { Ct as CheckoutOptionsMarketplaceReturn, G as SdkConfig, Gr as ListPrimarySaleItemsReturn, Lt as ContractType, Ot as CollectiblePrimarySaleItem, Ri as TokenMetadata$1, T as QueryArg, Tt as CheckoutOptionsSalesContractReturn, W as MarketplaceSdkContext, Xn as GetCountOfPrimarySaleItemsReturn, bt as CheckoutOptionsItem, fi as PrimarySaleItem, qr as MarketplaceKind, w as Optional } from "./create-config.js";
2
+ import { n as UseInventoryArgs, t as CollectiblesResponse } from "./index16.js";
3
+ import { i as fetchCheckoutOptionsSalesContract, l as fetchCheckoutOptions, o as CheckoutOptionsQueryOptions, t as CheckoutOptionsSalesContractQueryOptions } from "./index17.js";
4
+ import { f as PrimarySaleItemQueryOptions, g as UseCountOfPrimarySaleItemsArgs, s as ListPrimarySaleItemsQueryOptions } from "./index19.js";
5
+ import { c as ComparePricesReturn, n as ConvertPriceToUSDReturn, s as ComparePricesQueryOptions, t as ConvertPriceToUSDQueryOptions } from "./index21.js";
6
6
  import * as react0 from "react";
7
- import * as _tanstack_react_query310 from "@tanstack/react-query";
7
+ import * as _tanstack_react_query92 from "@tanstack/react-query";
8
8
  import { skipToken } from "@tanstack/react-query";
9
- import * as _0xsequence_indexer14 from "@0xsequence/indexer";
9
+ import * as _0xsequence_indexer12 from "@0xsequence/indexer";
10
10
  import { TokenMetadata } from "@0xsequence/metadata";
11
- import * as react_jsx_runtime35 from "react/jsx-runtime";
12
- import * as viem59 from "viem";
11
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
12
+ import * as viem2 from "viem";
13
13
  import { Address, Hex } from "viem";
14
14
 
15
15
  //#region src/react/hooks/data/primary-sales/useCountOfPrimarySaleItems.d.ts
16
- declare function useCountOfPrimarySaleItems(args: UseCountOfPrimarySaleItemsArgs): _tanstack_react_query310.UseQueryResult<number, Error>;
16
+ declare function useCountOfPrimarySaleItems(args: UseCountOfPrimarySaleItemsArgs): _tanstack_react_query92.UseQueryResult<number, Error>;
17
17
  //#endregion
18
18
  //#region src/react/hooks/data/primary-sales/useErc721SalesData.d.ts
19
19
  interface UseErc721CollectionDataProps {
@@ -74,7 +74,7 @@ type UseGetCountParams = Optional<ListPrimarySaleItemsQueryOptions, 'config'>;
74
74
  * })
75
75
  * ```
76
76
  */
77
- declare function useGetCountOfPrimarySaleItems(params: UseGetCountParams): _tanstack_react_query310.UseQueryResult<GetCountOfPrimarySaleItemsReturn, Error>;
77
+ declare function useGetCountOfPrimarySaleItems(params: UseGetCountParams): _tanstack_react_query92.UseQueryResult<GetCountOfPrimarySaleItemsReturn, Error>;
78
78
  //#endregion
79
79
  //#region src/react/hooks/data/primary-sales/useList721ShopCardData.d.ts
80
80
  interface UseList721ShopCardDataProps {
@@ -135,7 +135,7 @@ declare function useList721ShopCardData({
135
135
  saleEndsAt: undefined;
136
136
  cardType: "shop";
137
137
  })[];
138
- saleDetailsError: viem59.ReadContractErrorType | null;
138
+ saleDetailsError: viem2.ReadContractErrorType | null;
139
139
  saleDetails: {
140
140
  supplyCap: bigint;
141
141
  cost: bigint;
@@ -152,7 +152,7 @@ declare function useList721ShopCardData({
152
152
  merkleRoot: `0x${string}`;
153
153
  } | undefined;
154
154
  isLoading: boolean;
155
- tokenSuppliesData: _tanstack_react_query310.InfiniteData<_0xsequence_indexer14.GetTokenSuppliesReturn, unknown> | undefined;
155
+ tokenSuppliesData: _tanstack_react_query92.InfiniteData<_0xsequence_indexer12.GetTokenSuppliesReturn, unknown> | undefined;
156
156
  };
157
157
  //#endregion
158
158
  //#region src/react/hooks/data/primary-sales/useList1155ShopCardData.d.ts
@@ -199,7 +199,7 @@ declare function useList1155ShopCardData({
199
199
  };
200
200
  //#endregion
201
201
  //#region src/react/hooks/data/inventory/useInventory.d.ts
202
- declare function useInventory(args: UseInventoryArgs): _tanstack_react_query310.UseQueryResult<CollectiblesResponse, Error>;
202
+ declare function useInventory(args: UseInventoryArgs): _tanstack_react_query92.UseQueryResult<CollectiblesResponse, Error>;
203
203
  //#endregion
204
204
  //#region src/types/waas-types.d.ts
205
205
  type FeeOption = {
@@ -357,7 +357,7 @@ type UseCheckoutOptionsParams = Optional<CheckoutOptionsQueryOptions, 'config' |
357
357
  * })
358
358
  * ```
359
359
  */
360
- declare function useCheckoutOptions(params: UseCheckoutOptionsParams): _tanstack_react_query310.UseQueryResult<CheckoutOptionsMarketplaceReturn, Error>;
360
+ declare function useCheckoutOptions(params: UseCheckoutOptionsParams): _tanstack_react_query92.UseQueryResult<CheckoutOptionsMarketplaceReturn, Error>;
361
361
  type UseCheckoutOptionsArgs = {
362
362
  chainId: number;
363
363
  orders: Array<{
@@ -415,7 +415,7 @@ type UseCheckoutOptionsSalesContractParams = Optional<CheckoutOptionsSalesContra
415
415
  * )
416
416
  * ```
417
417
  */
418
- declare function useCheckoutOptionsSalesContract(params: UseCheckoutOptionsSalesContractParams | typeof skipToken): _tanstack_react_query310.UseQueryResult<CheckoutOptionsSalesContractReturn, Error>;
418
+ declare function useCheckoutOptionsSalesContract(params: UseCheckoutOptionsSalesContractParams | typeof skipToken): _tanstack_react_query92.UseQueryResult<CheckoutOptionsSalesContractReturn, Error>;
419
419
  type UseCheckoutOptionsSalesContractArgs = {
420
420
  chainId: number;
421
421
  contractAddress: string;
@@ -475,7 +475,7 @@ type UseComparePricesParams = Optional<ComparePricesQueryOptions, 'config'>;
475
475
  * })
476
476
  * ```
477
477
  */
478
- declare function useComparePrices(params: UseComparePricesParams): _tanstack_react_query310.UseQueryResult<ComparePricesReturn, Error>;
478
+ declare function useComparePrices(params: UseComparePricesParams): _tanstack_react_query92.UseQueryResult<ComparePricesReturn, Error>;
479
479
  type UseComparePricesArgs = {
480
480
  chainId: number;
481
481
  priceAmountRaw: string;
@@ -538,7 +538,7 @@ type UseConvertPriceToUSDParams = Optional<ConvertPriceToUSDQueryOptions, 'confi
538
538
  * })
539
539
  * ```
540
540
  */
541
- declare function useConvertPriceToUSD(params: UseConvertPriceToUSDParams): _tanstack_react_query310.UseQueryResult<ConvertPriceToUSDReturn, Error>;
541
+ declare function useConvertPriceToUSD(params: UseConvertPriceToUSDParams): _tanstack_react_query92.UseQueryResult<ConvertPriceToUSDReturn, Error>;
542
542
  type UseConvertPriceToUSDArgs = {
543
543
  chainId: number;
544
544
  currencyAddress: Address;
@@ -569,13 +569,13 @@ declare const useEnsureCorrectChain: () => {
569
569
  } | undefined | undefined;
570
570
  blockTime?: number | undefined | undefined;
571
571
  contracts?: {
572
- [x: string]: viem59.ChainContract | {
573
- [sourceId: number]: viem59.ChainContract | undefined;
572
+ [x: string]: viem2.ChainContract | {
573
+ [sourceId: number]: viem2.ChainContract | undefined;
574
574
  } | undefined;
575
- ensRegistry?: viem59.ChainContract | undefined;
576
- ensUniversalResolver?: viem59.ChainContract | undefined;
577
- multicall3?: viem59.ChainContract | undefined;
578
- erc6492Verifier?: viem59.ChainContract | undefined;
575
+ ensRegistry?: viem2.ChainContract | undefined;
576
+ ensUniversalResolver?: viem2.ChainContract | undefined;
577
+ multicall3?: viem2.ChainContract | undefined;
578
+ erc6492Verifier?: viem2.ChainContract | undefined;
579
579
  } | undefined;
580
580
  ensTlds?: readonly string[] | undefined;
581
581
  id: number;
@@ -599,9 +599,9 @@ declare const useEnsureCorrectChain: () => {
599
599
  sourceId?: number | undefined | undefined;
600
600
  testnet?: boolean | undefined | undefined;
601
601
  custom?: Record<string, unknown> | undefined;
602
- fees?: viem59.ChainFees<viem59.ChainFormatters | undefined> | undefined;
603
- formatters?: viem59.ChainFormatters | undefined;
604
- serializers?: viem59.ChainSerializers<viem59.ChainFormatters | undefined, viem59.TransactionSerializable> | undefined;
602
+ fees?: viem2.ChainFees<viem2.ChainFormatters | undefined> | undefined;
603
+ formatters?: viem2.ChainFormatters | undefined;
604
+ serializers?: viem2.ChainSerializers<viem2.ChainFormatters | undefined, viem2.TransactionSerializable> | undefined;
605
605
  }>;
606
606
  currentChainId: number | undefined;
607
607
  };
@@ -644,7 +644,7 @@ declare const useEnsureCorrectChain: () => {
644
644
  * ```
645
645
  */
646
646
  declare const useGetReceiptFromHash: () => {
647
- waitForReceipt: (transactionHash: Hex) => Promise<viem59.TransactionReceipt>;
647
+ waitForReceipt: (transactionHash: Hex) => Promise<viem2.TransactionReceipt>;
648
648
  };
649
649
  //#endregion
650
650
  //#region src/react/hooks/utils/useRoyalty.d.ts
@@ -702,7 +702,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
702
702
  percentage: bigint;
703
703
  recipient: Address;
704
704
  } | null;
705
- error: viem59.ReadContractErrorType;
705
+ error: viem2.ReadContractErrorType;
706
706
  isError: true;
707
707
  isPending: false;
708
708
  isLoading: false;
@@ -714,7 +714,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
714
714
  dataUpdatedAt: number;
715
715
  errorUpdatedAt: number;
716
716
  failureCount: number;
717
- failureReason: viem59.ReadContractErrorType | null;
717
+ failureReason: viem2.ReadContractErrorType | null;
718
718
  errorUpdateCount: number;
719
719
  isFetched: boolean;
720
720
  isFetchedAfterMount: boolean;
@@ -724,10 +724,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
724
724
  isRefetching: boolean;
725
725
  isStale: boolean;
726
726
  isEnabled: boolean;
727
- refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
728
- fetchStatus: _tanstack_react_query310.FetchStatus;
727
+ refetch: (options?: _tanstack_react_query92.RefetchOptions) => Promise<_tanstack_react_query92.QueryObserverResult<readonly [`0x${string}`, bigint], viem2.ReadContractErrorType>>;
728
+ fetchStatus: _tanstack_react_query92.FetchStatus;
729
729
  promise: Promise<readonly [`0x${string}`, bigint]>;
730
- queryKey: _tanstack_react_query310.QueryKey;
730
+ queryKey: _tanstack_react_query92.QueryKey;
731
731
  } | {
732
732
  data: {
733
733
  percentage: bigint;
@@ -745,7 +745,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
745
745
  dataUpdatedAt: number;
746
746
  errorUpdatedAt: number;
747
747
  failureCount: number;
748
- failureReason: viem59.ReadContractErrorType | null;
748
+ failureReason: viem2.ReadContractErrorType | null;
749
749
  errorUpdateCount: number;
750
750
  isFetched: boolean;
751
751
  isFetchedAfterMount: boolean;
@@ -755,16 +755,16 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
755
755
  isRefetching: boolean;
756
756
  isStale: boolean;
757
757
  isEnabled: boolean;
758
- refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
759
- fetchStatus: _tanstack_react_query310.FetchStatus;
758
+ refetch: (options?: _tanstack_react_query92.RefetchOptions) => Promise<_tanstack_react_query92.QueryObserverResult<readonly [`0x${string}`, bigint], viem2.ReadContractErrorType>>;
759
+ fetchStatus: _tanstack_react_query92.FetchStatus;
760
760
  promise: Promise<readonly [`0x${string}`, bigint]>;
761
- queryKey: _tanstack_react_query310.QueryKey;
761
+ queryKey: _tanstack_react_query92.QueryKey;
762
762
  } | {
763
763
  data: {
764
764
  percentage: bigint;
765
765
  recipient: Address;
766
766
  } | null;
767
- error: viem59.ReadContractErrorType;
767
+ error: viem2.ReadContractErrorType;
768
768
  isError: true;
769
769
  isPending: false;
770
770
  isLoading: false;
@@ -776,7 +776,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
776
776
  dataUpdatedAt: number;
777
777
  errorUpdatedAt: number;
778
778
  failureCount: number;
779
- failureReason: viem59.ReadContractErrorType | null;
779
+ failureReason: viem2.ReadContractErrorType | null;
780
780
  errorUpdateCount: number;
781
781
  isFetched: boolean;
782
782
  isFetchedAfterMount: boolean;
@@ -786,10 +786,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
786
786
  isRefetching: boolean;
787
787
  isStale: boolean;
788
788
  isEnabled: boolean;
789
- refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
790
- fetchStatus: _tanstack_react_query310.FetchStatus;
789
+ refetch: (options?: _tanstack_react_query92.RefetchOptions) => Promise<_tanstack_react_query92.QueryObserverResult<readonly [`0x${string}`, bigint], viem2.ReadContractErrorType>>;
790
+ fetchStatus: _tanstack_react_query92.FetchStatus;
791
791
  promise: Promise<readonly [`0x${string}`, bigint]>;
792
- queryKey: _tanstack_react_query310.QueryKey;
792
+ queryKey: _tanstack_react_query92.QueryKey;
793
793
  } | {
794
794
  data: {
795
795
  percentage: bigint;
@@ -807,7 +807,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
807
807
  dataUpdatedAt: number;
808
808
  errorUpdatedAt: number;
809
809
  failureCount: number;
810
- failureReason: viem59.ReadContractErrorType | null;
810
+ failureReason: viem2.ReadContractErrorType | null;
811
811
  errorUpdateCount: number;
812
812
  isFetched: boolean;
813
813
  isFetchedAfterMount: boolean;
@@ -817,10 +817,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
817
817
  isRefetching: boolean;
818
818
  isStale: boolean;
819
819
  isEnabled: boolean;
820
- refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
821
- fetchStatus: _tanstack_react_query310.FetchStatus;
820
+ refetch: (options?: _tanstack_react_query92.RefetchOptions) => Promise<_tanstack_react_query92.QueryObserverResult<readonly [`0x${string}`, bigint], viem2.ReadContractErrorType>>;
821
+ fetchStatus: _tanstack_react_query92.FetchStatus;
822
822
  promise: Promise<readonly [`0x${string}`, bigint]>;
823
- queryKey: _tanstack_react_query310.QueryKey;
823
+ queryKey: _tanstack_react_query92.QueryKey;
824
824
  } | {
825
825
  data: {
826
826
  percentage: bigint;
@@ -837,7 +837,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
837
837
  dataUpdatedAt: number;
838
838
  errorUpdatedAt: number;
839
839
  failureCount: number;
840
- failureReason: viem59.ReadContractErrorType | null;
840
+ failureReason: viem2.ReadContractErrorType | null;
841
841
  errorUpdateCount: number;
842
842
  isFetched: boolean;
843
843
  isFetchedAfterMount: boolean;
@@ -848,10 +848,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
848
848
  isRefetching: boolean;
849
849
  isStale: boolean;
850
850
  isEnabled: boolean;
851
- refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
852
- fetchStatus: _tanstack_react_query310.FetchStatus;
851
+ refetch: (options?: _tanstack_react_query92.RefetchOptions) => Promise<_tanstack_react_query92.QueryObserverResult<readonly [`0x${string}`, bigint], viem2.ReadContractErrorType>>;
852
+ fetchStatus: _tanstack_react_query92.FetchStatus;
853
853
  promise: Promise<readonly [`0x${string}`, bigint]>;
854
- queryKey: _tanstack_react_query310.QueryKey;
854
+ queryKey: _tanstack_react_query92.QueryKey;
855
855
  } | {
856
856
  data: {
857
857
  percentage: bigint;
@@ -869,7 +869,7 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
869
869
  dataUpdatedAt: number;
870
870
  errorUpdatedAt: number;
871
871
  failureCount: number;
872
- failureReason: viem59.ReadContractErrorType | null;
872
+ failureReason: viem2.ReadContractErrorType | null;
873
873
  errorUpdateCount: number;
874
874
  isFetched: boolean;
875
875
  isFetchedAfterMount: boolean;
@@ -879,10 +879,10 @@ declare function useRoyalty(args: UseRoyaltyArgs): {
879
879
  isRefetching: boolean;
880
880
  isStale: boolean;
881
881
  isEnabled: boolean;
882
- refetch: (options?: _tanstack_react_query310.RefetchOptions) => Promise<_tanstack_react_query310.QueryObserverResult<readonly [`0x${string}`, bigint], viem59.ReadContractErrorType>>;
883
- fetchStatus: _tanstack_react_query310.FetchStatus;
882
+ refetch: (options?: _tanstack_react_query92.RefetchOptions) => Promise<_tanstack_react_query92.QueryObserverResult<readonly [`0x${string}`, bigint], viem2.ReadContractErrorType>>;
883
+ fetchStatus: _tanstack_react_query92.FetchStatus;
884
884
  promise: Promise<readonly [`0x${string}`, bigint]>;
885
- queryKey: _tanstack_react_query310.QueryKey;
885
+ queryKey: _tanstack_react_query92.QueryKey;
886
886
  };
887
887
  //#endregion
888
888
  //#region src/react/providers/index.d.ts
@@ -896,12 +896,12 @@ declare function MarketplaceProvider({
896
896
  config,
897
897
  children,
898
898
  openConnectModal
899
- }: MarketplaceSdkProviderProps): react_jsx_runtime35.JSX.Element;
899
+ }: MarketplaceSdkProviderProps): react_jsx_runtime7.JSX.Element;
900
900
  declare function MarketplaceQueryClientProvider({
901
901
  children
902
902
  }: {
903
903
  children: React.ReactNode;
904
- }): react_jsx_runtime35.JSX.Element;
904
+ }): react_jsx_runtime7.JSX.Element;
905
905
  //#endregion
906
906
  //#region src/react/hooks/data/primary-sales/useListPrimarySaleItems.d.ts
907
907
  type UseListPrimarySaleItemsParams = Optional<ListPrimarySaleItemsQueryOptions, 'config'>;
@@ -943,7 +943,48 @@ type UseListPrimarySaleItemsParams = Optional<ListPrimarySaleItemsQueryOptions,
943
943
  * })
944
944
  * ```
945
945
  */
946
- declare function useListPrimarySaleItems(params: UseListPrimarySaleItemsParams): _tanstack_react_query310.UseInfiniteQueryResult<_tanstack_react_query310.InfiniteData<ListPrimarySaleItemsReturn, unknown>, Error>;
946
+ declare function useListPrimarySaleItems(params: UseListPrimarySaleItemsParams): _tanstack_react_query92.UseInfiniteQueryResult<_tanstack_react_query92.InfiniteData<ListPrimarySaleItemsReturn, unknown>, Error>;
947
947
  //#endregion
948
- export { MarketplaceProvider, MarketplaceQueryClientProvider, MarketplaceSdkContext$1 as MarketplaceSdkContext, MarketplaceSdkProviderProps, UseCheckoutOptionsArgs, UseCheckoutOptionsParams, UseCheckoutOptionsReturn, UseCheckoutOptionsSalesContractArgs, UseCheckoutOptionsSalesContractParams, UseCheckoutOptionsSalesContractReturn, UseComparePricesArgs, UseComparePricesParams, UseComparePricesReturn, UseConvertPriceToUSDArgs, UseConvertPriceToUSDParams, UseConvertPriceToUSDReturn, UseGetCountParams, UseListPrimarySaleItemsParams, UseRoyaltyArgs, useAutoSelectFeeOption, useCheckoutOptions, useCheckoutOptionsSalesContract, useComparePrices, useConvertPriceToUSD, useCountOfPrimarySaleItems, useEnsureCorrectChain, useErc721SaleDetails, useGetCountOfPrimarySaleItems, useGetReceiptFromHash, useInventory, useList1155ShopCardData, useList721ShopCardData, useListPrimarySaleItems, useRoyalty };
949
- //# sourceMappingURL=index-Bsx6XsC2.d.ts.map
948
+ //#region src/react/hooks/data/primary-sales/usePrimarySaleItem.d.ts
949
+ type UsePrimarySaleItemParams = Optional<PrimarySaleItemQueryOptions, 'config'>;
950
+ /**
951
+ * Hook to fetch a single primary sale item
952
+ *
953
+ * Retrieves details for a specific primary sale item from a primary sale contract.
954
+ *
955
+ * @param params - Configuration parameters
956
+ * @param params.chainId - The chain ID (must be number, e.g., 1 for Ethereum, 137 for Polygon)
957
+ * @param params.primarySaleContractAddress - The primary sale contract address
958
+ * @param params.tokenId - The token ID of the primary sale item
959
+ * @param params.query - Optional React Query configuration
960
+ *
961
+ * @returns Query result containing the primary sale item data
962
+ *
963
+ * @example
964
+ * Basic usage:
965
+ * ```typescript
966
+ * const { data: item, isLoading } = usePrimarySaleItem({
967
+ * chainId: 137,
968
+ * primarySaleContractAddress: '0x...',
969
+ * tokenId: '1',
970
+ * })
971
+ * ```
972
+ *
973
+ * @example
974
+ * With custom query options:
975
+ * ```typescript
976
+ * const { data } = usePrimarySaleItem({
977
+ * chainId: 1,
978
+ * primarySaleContractAddress: '0x...',
979
+ * tokenId: '42',
980
+ * query: {
981
+ * enabled: Boolean(primarySaleContractAddress && tokenId),
982
+ * staleTime: 30_000
983
+ * }
984
+ * })
985
+ * ```
986
+ */
987
+ declare function usePrimarySaleItem(params: UsePrimarySaleItemParams): _tanstack_react_query92.UseQueryResult<CollectiblePrimarySaleItem, Error>;
988
+ //#endregion
989
+ export { useInventory as A, UseCheckoutOptionsSalesContractReturn as C, UseCheckoutOptionsReturn as D, UseCheckoutOptionsParams as E, useErc721SaleDetails as F, useCountOfPrimarySaleItems as I, useList721ShopCardData as M, UseGetCountParams as N, useCheckoutOptions as O, useGetCountOfPrimarySaleItems as P, UseCheckoutOptionsSalesContractParams as S, UseCheckoutOptionsArgs as T, UseComparePricesArgs as _, MarketplaceProvider as a, useComparePrices as b, MarketplaceSdkProviderProps as c, useGetReceiptFromHash as d, useEnsureCorrectChain as f, useConvertPriceToUSD as g, UseConvertPriceToUSDReturn as h, useListPrimarySaleItems as i, useList1155ShopCardData as j, useAutoSelectFeeOption as k, UseRoyaltyArgs as l, UseConvertPriceToUSDParams as m, usePrimarySaleItem as n, MarketplaceQueryClientProvider as o, UseConvertPriceToUSDArgs as p, UseListPrimarySaleItemsParams as r, MarketplaceSdkContext$1 as s, UsePrimarySaleItemParams as t, useRoyalty as u, UseComparePricesParams as v, useCheckoutOptionsSalesContract as w, UseCheckoutOptionsSalesContractArgs as x, UseComparePricesReturn as y };
990
+ //# sourceMappingURL=index23.d.ts.map