@0xsequence/marketplace-sdk 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/CHANGELOG.md +58 -5
  2. package/dist/{BellIcon-IpHHEy8h.js → BellIcon-DMKEumAz.js} +2 -2
  3. package/dist/BellIcon-DMKEumAz.js.map +1 -0
  4. package/dist/{CartIcon-C8zbor8H.js → CartIcon-UyB4NYKt.js} +3 -3
  5. package/dist/CartIcon-UyB4NYKt.js.map +1 -0
  6. package/dist/CollectibleCard-z05qWzKE.d.ts +8 -0
  7. package/dist/_internal-DkS2VUn5.js.map +1 -1
  8. package/dist/abi-fa-o9gH3.js +134 -0
  9. package/dist/abi-fa-o9gH3.js.map +1 -0
  10. package/dist/{alien_swap-BTJ7mSR-.js → alien_swap-Cq8LuElo.js} +1 -1
  11. package/dist/{alien_swap-BTJ7mSR-.js.map → alien_swap-Cq8LuElo.js.map} +1 -1
  12. package/dist/{api-DuLKn__v.js → api-GwTR0dBA.js} +13 -49
  13. package/dist/api-GwTR0dBA.js.map +1 -0
  14. package/dist/{aqua-xyz-BYJ9WSP_.js → aqua-xyz-0yye_c-Z.js} +1 -1
  15. package/dist/{aqua-xyz-BYJ9WSP_.js.map → aqua-xyz-0yye_c-Z.js.map} +1 -1
  16. package/dist/{aura-D7SUjgro.js → aura-TaxFvTFQ.js} +1 -1
  17. package/dist/{aura-D7SUjgro.js.map → aura-TaxFvTFQ.js.map} +1 -1
  18. package/dist/{blur-BcnRFCaV.js → blur-BupOTobO.js} +1 -1
  19. package/dist/{blur-BcnRFCaV.js.map → blur-BupOTobO.js.map} +1 -1
  20. package/dist/{builder-api-BFuZNOaN.js → builder-api-m4JAA6ee.js} +3 -3
  21. package/dist/builder-api-m4JAA6ee.js.map +1 -0
  22. package/dist/{builder.gen-B9wR2nvF.js → builder.gen--XD71cNL.js} +2 -2
  23. package/dist/builder.gen--XD71cNL.js.map +1 -0
  24. package/dist/{coinbase-ChoX9Hw2.js → coinbase-DTgZ4wDT.js} +1 -1
  25. package/dist/{coinbase-ChoX9Hw2.js.map → coinbase-DTgZ4wDT.js.map} +1 -1
  26. package/dist/collectibles-CZ6i8sXK.js +324 -0
  27. package/dist/collectibles-CZ6i8sXK.js.map +1 -0
  28. package/dist/collections-5NcU-7ZR.js +331 -0
  29. package/dist/collections-5NcU-7ZR.js.map +1 -0
  30. package/dist/{components-CUv-wQr8.js → components-CY8kx2kb.js} +13 -9
  31. package/dist/components-CY8kx2kb.js.map +1 -0
  32. package/dist/{contracts-D72LBOX3.js → contracts-DRJHF89h.js} +5 -4
  33. package/dist/{contracts-D72LBOX3.js.map → contracts-DRJHF89h.js.map} +1 -1
  34. package/dist/{create-config-CIfejoCk.js → create-config-BxyfYCEk.js} +6 -5
  35. package/dist/create-config-BxyfYCEk.js.map +1 -0
  36. package/dist/{create-config-DV_dtaLt.d.ts → create-config-CFBeD8CB.d.ts} +149 -57
  37. package/dist/{element-Dbcv5qya.js → element-D4dDznlu.js} +1 -1
  38. package/dist/{element-Dbcv5qya.js.map → element-D4dDznlu.js.map} +1 -1
  39. package/dist/filters-B5niI_fX.d.ts +60 -0
  40. package/dist/{foundation-QPhUEUy8.js → foundation-GHZOKAzN.js} +1 -1
  41. package/dist/{foundation-QPhUEUy8.js.map → foundation-GHZOKAzN.js.map} +1 -1
  42. package/dist/index-8scPf0CS.d.ts +55 -0
  43. package/dist/index-9qsplZ8r.d.ts +18 -0
  44. package/dist/index-BIuYTMc2.d.ts +122 -0
  45. package/dist/{index-BoNNplSx.d.ts → index-BNrz99xy.d.ts} +3 -3
  46. package/dist/{index-BaytncQc.d.ts → index-BYQOPS8e.d.ts} +108 -51
  47. package/dist/{index-CXscCUg7.d.ts → index-BkZ7SPLc.d.ts} +19 -29
  48. package/dist/{index-D6YMj82n.d.ts → index-BnUku_aF.d.ts} +109 -114
  49. package/dist/index-BtDAHMW_.d.ts +50 -0
  50. package/dist/index-C-c_M_sE.d.ts +107 -0
  51. package/dist/index-CKefEBrI.d.ts +1 -0
  52. package/dist/{index-CMPUveNz.d.ts → index-CNIiC8Z_.d.ts} +11 -8
  53. package/dist/{index-DLUjc7Bx.d.ts → index-CbERNN3s.d.ts} +201 -12
  54. package/dist/{index-C768pAfu.d.ts → index-CsfxsN0t.d.ts} +4 -4
  55. package/dist/{index-CQecU53t.d.ts → index-DASjaiJL.d.ts} +119 -24
  56. package/dist/{index-CT8ZorFd.d.ts → index-DD7Vc4cE.d.ts} +2 -2
  57. package/dist/{index-DpeWm_vF.d.ts → index-DIc8OqWV.d.ts} +7 -6
  58. package/dist/index-DVI_vggD.d.ts +171 -0
  59. package/dist/index-DgsCqh_P.d.ts +1 -0
  60. package/dist/{index-DMBMM16q.d.ts → index-DqxQeYT2.d.ts} +39 -36
  61. package/dist/{index-D-UXGo5d.d.ts → index-Dsf9FRtr.d.ts} +19 -3
  62. package/dist/{index-DJG0kiII.d.ts → index-DxAReMEO.d.ts} +45 -34
  63. package/dist/index-UXRoZmd_.d.ts +70 -0
  64. package/dist/{index-CM0ZTePs.d.ts → index-isFvc5gd.d.ts} +2 -2
  65. package/dist/{index-jGgfEHfQ.d.ts → index-j3nuJWyJ.d.ts} +18 -10
  66. package/dist/{index-B6aSbaw2.d.ts → index-nVb7o0hc.d.ts} +2 -2
  67. package/dist/{index-Bv5XVLjH.d.ts → index-pbE88Tt7.d.ts} +2 -2
  68. package/dist/index-xpO4AQyS.d.ts +1 -0
  69. package/dist/index.d.ts +8 -8
  70. package/dist/index.js +13 -13
  71. package/dist/inventory--t6Zu55O.js +75 -0
  72. package/dist/inventory--t6Zu55O.js.map +1 -0
  73. package/dist/listCollectiblesPaginated-BlE5mSzh.d.ts +327 -0
  74. package/dist/listCollections-DWyqFSQ3.d.ts +828 -0
  75. package/dist/{looks-rare-C7cQztTR.js → looks-rare-2HBhMpOf.js} +1 -1
  76. package/dist/{looks-rare-C7cQztTR.js.map → looks-rare-2HBhMpOf.js.map} +1 -1
  77. package/dist/lowestListing-DsunDO1c.d.ts +475 -0
  78. package/dist/{magic-eden-D3r7jiBG.js → magic-eden-BYdTp-uk.js} +1 -1
  79. package/dist/{magic-eden-D3r7jiBG.js.map → magic-eden-BYdTp-uk.js.map} +1 -1
  80. package/dist/{manifold-DsX0CBP-.js → manifold-yE0x6ZmO.js} +1 -1
  81. package/dist/{manifold-DsX0CBP-.js.map → manifold-yE0x6ZmO.js.map} +1 -1
  82. package/dist/market-DuBpFsDg.js +219 -0
  83. package/dist/market-DuBpFsDg.js.map +1 -0
  84. package/dist/{marketCurrencies-Bzj8X4TL.d.ts → marketCurrencies-BgwmbGFk.d.ts} +57 -15
  85. package/dist/marketCurrencies-Bolonndy.js +59 -0
  86. package/dist/marketCurrencies-Bolonndy.js.map +1 -0
  87. package/dist/{marketplace-BYY8OloA.js → marketplace-NQB-sEQL.js} +1 -1
  88. package/dist/{marketplace-BYY8OloA.js.map → marketplace-NQB-sEQL.js.map} +1 -1
  89. package/dist/{marketplace-logos-Csv2MBwf.js → marketplace-logos-Cz9RrtQo.js} +21 -21
  90. package/dist/marketplace-logos-Cz9RrtQo.js.map +1 -0
  91. package/dist/{marketplace.gen-w2YvbEEo.js → marketplace.gen-906FrJQJ.js} +75 -5
  92. package/dist/marketplace.gen-906FrJQJ.js.map +1 -0
  93. package/dist/{marketplaceConfig-BTy75Mbf.js → marketplaceConfig-Bqjo7NYO.js} +9 -5
  94. package/dist/marketplaceConfig-Bqjo7NYO.js.map +1 -0
  95. package/dist/{mintify-DiOoDmO1.js → mintify-BXQx3mZB.js} +1 -1
  96. package/dist/{mintify-DiOoDmO1.js.map → mintify-BXQx3mZB.js.map} +1 -1
  97. package/dist/{network-DtmiMhcg.js → network-DwdZ_5-7.js} +2 -2
  98. package/dist/network-DwdZ_5-7.js.map +1 -0
  99. package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain-Ct-hGq8M.js} +4 -3
  100. package/dist/networkconfigToWagmiChain-Ct-hGq8M.js.map +1 -0
  101. package/dist/{nftx-CP82jNra.js → nftx-B929_3Ce.js} +1 -1
  102. package/dist/{nftx-CP82jNra.js.map → nftx-B929_3Ce.js.map} +1 -1
  103. package/dist/{okx-p9-4xRjs.js → okx-sZ0-Udny.js} +1 -1
  104. package/dist/{okx-p9-4xRjs.js.map → okx-sZ0-Udny.js.map} +1 -1
  105. package/dist/{open-sea-D2GwAmKS.js → open-sea-DO9PhTrz.js} +1 -1
  106. package/dist/{open-sea-D2GwAmKS.js.map → open-sea-DO9PhTrz.js.map} +1 -1
  107. package/dist/orders-DH76ym2e.js +469 -0
  108. package/dist/orders-DH76ym2e.js.map +1 -0
  109. package/dist/{primary-sale-DOmNDq2P.js → primary-sale-1u4QlPdA.js} +1 -1
  110. package/dist/{primary-sale-DOmNDq2P.js.map → primary-sale-1u4QlPdA.js.map} +1 -1
  111. package/dist/primary-sales-CECrqatg.js +156 -0
  112. package/dist/primary-sales-CECrqatg.js.map +1 -0
  113. package/dist/{query-BG-MA1MB.d.ts → query-brXxOcH0.d.ts} +1 -1
  114. package/dist/{rarible-DqiiW9ki.js → rarible-Ccb2hs7y.js} +1 -1
  115. package/dist/{rarible-DqiiW9ki.js.map → rarible-Ccb2hs7y.js.map} +1 -1
  116. package/dist/react/_internal/api/index.d.ts +2 -2
  117. package/dist/react/_internal/api/index.js +6 -6
  118. package/dist/react/_internal/databeat/index.d.ts +1 -1
  119. package/dist/react/_internal/databeat/index.js +32 -22
  120. package/dist/react/_internal/index.d.ts +2 -2
  121. package/dist/react/_internal/index.js +8 -8
  122. package/dist/react/_internal/wagmi/index.d.ts +1 -1
  123. package/dist/react/_internal/wagmi/index.js +3 -3
  124. package/dist/react/hooks/config/index.d.ts +8 -8
  125. package/dist/react/hooks/config/index.js +32 -22
  126. package/dist/react/hooks/contracts/index.d.ts +6 -6
  127. package/dist/react/hooks/contracts/index.js +12 -12
  128. package/dist/react/hooks/data/collectibles/index.d.ts +10 -4
  129. package/dist/react/hooks/data/collectibles/index.js +32 -22
  130. package/dist/react/hooks/data/collections/index.d.ts +11 -11
  131. package/dist/react/hooks/data/collections/index.js +33 -23
  132. package/dist/react/hooks/data/index.d.ts +37 -29
  133. package/dist/react/hooks/data/index.js +33 -23
  134. package/dist/react/hooks/data/inventory/index.d.ts +36 -28
  135. package/dist/react/hooks/data/inventory/index.js +32 -22
  136. package/dist/react/hooks/data/market/index.d.ts +11 -5
  137. package/dist/react/hooks/data/market/index.js +32 -22
  138. package/dist/react/hooks/data/orders/index.d.ts +11 -5
  139. package/dist/react/hooks/data/orders/index.js +33 -23
  140. package/dist/react/hooks/data/primary-sales/index.d.ts +37 -29
  141. package/dist/react/hooks/data/primary-sales/index.js +33 -23
  142. package/dist/react/hooks/data/tokens/index.d.ts +4 -4
  143. package/dist/react/hooks/data/tokens/index.js +32 -22
  144. package/dist/react/hooks/index.d.ts +37 -29
  145. package/dist/react/hooks/index.js +33 -23
  146. package/dist/react/hooks/transactions/index.d.ts +2 -2
  147. package/dist/react/hooks/transactions/index.js +32 -22
  148. package/dist/react/hooks/ui/index.d.ts +4 -4
  149. package/dist/react/hooks/ui/index.js +32 -22
  150. package/dist/react/hooks/utils/index.d.ts +36 -28
  151. package/dist/react/hooks/utils/index.js +32 -22
  152. package/dist/react/index.d.ts +37 -29
  153. package/dist/react/index.js +33 -23
  154. package/dist/react/queries/collectibles/index.d.ts +11 -0
  155. package/dist/react/queries/collectibles/index.js +22 -0
  156. package/dist/react/queries/collections/index.d.ts +11 -0
  157. package/dist/react/queries/collections/index.js +20 -0
  158. package/dist/react/queries/index.d.ts +24 -16
  159. package/dist/react/queries/index.js +26 -16
  160. package/dist/react/queries/inventory/index.d.ts +3 -0
  161. package/dist/react/queries/inventory/index.js +22 -0
  162. package/dist/react/queries/market/index.d.ts +6 -0
  163. package/dist/react/queries/market/index.js +22 -0
  164. package/dist/react/queries/orders/index.d.ts +11 -0
  165. package/dist/react/queries/orders/index.js +13 -0
  166. package/dist/react/queries/primary-sales/index.d.ts +4 -0
  167. package/dist/react/queries/primary-sales/index.js +13 -0
  168. package/dist/react/queries/tokens/index.d.ts +5 -0
  169. package/dist/react/queries/tokens/index.js +13 -0
  170. package/dist/react/queries/utils/index.d.ts +4 -0
  171. package/dist/react/queries/utils/index.js +22 -0
  172. package/dist/react/ssr/index.d.ts +7 -7
  173. package/dist/react/ssr/index.js +8 -8
  174. package/dist/react/ssr/index.js.map +1 -1
  175. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
  176. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +16 -16
  177. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
  178. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +32 -22
  179. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
  180. package/dist/react/ui/components/marketplace-collectible-card/index.js +32 -22
  181. package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
  182. package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +8 -8
  183. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  184. package/dist/react/ui/components/marketplace-logos/index.js +1 -1
  185. package/dist/react/ui/icons/index.js +12 -12
  186. package/dist/react/ui/index.d.ts +4 -4
  187. package/dist/react/ui/index.js +32 -22
  188. package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
  189. package/dist/react/ui/modals/_internal/components/actionModal/index.js +32 -22
  190. package/dist/react/utils/index.d.ts +3 -3
  191. package/dist/react/utils/index.js +6 -6
  192. package/dist/{react-BLJ4DkPx.js → react-CBsgOdVP.js} +1540 -474
  193. package/dist/react-CBsgOdVP.js.map +1 -0
  194. package/dist/{sequence-Bbb-TFKg.js → sequence-CRdb1yEs.js} +1 -1
  195. package/dist/{sequence-Bbb-TFKg.js.map → sequence-CRdb1yEs.js.map} +1 -1
  196. package/dist/styles/index.css +155 -1
  197. package/dist/{sudo-swap-CEPIM3Js.js → sudo-swap-BIklG2gq.js} +1 -1
  198. package/dist/{sudo-swap-CEPIM3Js.js.map → sudo-swap-BIklG2gq.js.map} +1 -1
  199. package/dist/{super-rare-CMEn9PoO.js → super-rare-h8645_5E.js} +1 -1
  200. package/dist/{super-rare-CMEn9PoO.js.map → super-rare-h8645_5E.js.map} +1 -1
  201. package/dist/{token-CcyLz8Z8.js → token-Cv7l2ZaL.js} +1 -1
  202. package/dist/{token-CcyLz8Z8.js.map → token-Cv7l2ZaL.js.map} +1 -1
  203. package/dist/tokenBalances-CouzNX4j.js +57 -0
  204. package/dist/tokenBalances-CouzNX4j.js.map +1 -0
  205. package/dist/tokenSupplies-C3zJll0M.d.ts +265 -0
  206. package/dist/tokens-BvIRUCGG.js +225 -0
  207. package/dist/tokens-BvIRUCGG.js.map +1 -0
  208. package/dist/transaction-DZUW5RHu.js.map +1 -1
  209. package/dist/types/index.d.ts +1 -1
  210. package/dist/types/index.js +2 -2
  211. package/dist/types-B_-cnkcP.js.map +1 -1
  212. package/dist/{types-D6LkVrF0.d.ts → types-CMDwfhfR.d.ts} +6 -5
  213. package/dist/utils/abi/index.d.ts +5 -5
  214. package/dist/utils/abi/index.js +5 -5
  215. package/dist/utils/abi/marketplace/index.d.ts +1 -1
  216. package/dist/utils/abi/marketplace/index.js +1 -1
  217. package/dist/utils/abi/primary-sale/index.d.ts +1 -1
  218. package/dist/utils/abi/primary-sale/index.js +1 -1
  219. package/dist/utils/abi/token/index.d.ts +1 -1
  220. package/dist/utils/abi/token/index.js +1 -1
  221. package/dist/utils/index.d.ts +7 -7
  222. package/dist/utils/index.js +11 -11
  223. package/dist/{utils-BZEkdqWK.js → utils-9ToOvt-c.js} +50 -7
  224. package/dist/utils-9ToOvt-c.js.map +1 -0
  225. package/dist/{utils-oVZxdK0o.js → utils-B6di6O-C.js} +2 -2
  226. package/dist/utils-B6di6O-C.js.map +1 -0
  227. package/dist/utils-BCYTEOvy.js +122 -0
  228. package/dist/utils-BCYTEOvy.js.map +1 -0
  229. package/dist/waitForTransactionReceipt-CbSeUSXe.js +26 -0
  230. package/dist/waitForTransactionReceipt-CbSeUSXe.js.map +1 -0
  231. package/dist/{x2y2-DNe6JgtG.js → x2y2-OvF__ugj.js} +1 -1
  232. package/dist/{x2y2-DNe6JgtG.js.map → x2y2-OvF__ugj.js.map} +1 -1
  233. package/dist/{zora-w0Zqxxs4.js → zora-DzCeu-eE.js} +1 -1
  234. package/dist/{zora-w0Zqxxs4.js.map → zora-DzCeu-eE.js.map} +1 -1
  235. package/package.json +46 -41
  236. package/src/react/_internal/api/__mocks__/marketplace.msw.ts +15 -0
  237. package/src/react/_internal/api/index.ts +0 -1
  238. package/src/react/_internal/api/marketplace.gen.ts +1774 -2383
  239. package/src/react/_internal/api/query-keys.ts +23 -0
  240. package/src/react/_internal/api/services.ts +1 -1
  241. package/src/react/_internal/databeat/types.ts +1 -0
  242. package/src/react/_internal/types.ts +14 -0
  243. package/src/react/_internal/utils.ts +3 -0
  244. package/src/react/hooks/config/useMarketplaceConfig.tsx +1 -1
  245. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +1 -10
  246. package/src/react/hooks/data/collectibles/useCollectible.tsx +1 -1
  247. package/src/react/hooks/data/collectibles/useCountOfCollectables.tsx +1 -1
  248. package/src/react/hooks/data/collectibles/useListCollectibleActivities.tsx +1 -1
  249. package/src/react/hooks/data/collectibles/useListCollectibles.tsx +2 -17
  250. package/src/react/hooks/data/collectibles/useListCollectiblesPaginated.tsx +1 -1
  251. package/src/react/hooks/data/collectibles/useTokenBalances.tsx +1 -10
  252. package/src/react/hooks/data/collections/index.ts +2 -0
  253. package/src/react/hooks/data/collections/useCollection.tsx +1 -1
  254. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
  255. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
  256. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
  257. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
  258. package/src/react/hooks/data/collections/useCollectionBalanceDetails.tsx +1 -1
  259. package/src/react/hooks/data/collections/useCollectionDetails.ts +1 -1
  260. package/src/react/hooks/data/collections/useListCollectionActivities.tsx +1 -1
  261. package/src/react/hooks/data/collections/useListCollections.tsx +1 -1
  262. package/src/react/hooks/data/inventory/useInventory.tsx +2 -11
  263. package/src/react/hooks/data/market/useCurrency.tsx +1 -1
  264. package/src/react/hooks/data/market/useListMarketCardData.tsx +7 -0
  265. package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
  266. package/src/react/hooks/data/market/useMarketCurrencies.tsx +1 -1
  267. package/src/react/hooks/data/orders/index.ts +4 -0
  268. package/src/react/hooks/data/orders/useCountItemsOrdersForCollection.tsx +90 -0
  269. package/src/react/hooks/data/orders/useCountListingsForCollectible.tsx +1 -1
  270. package/src/react/hooks/data/orders/useCountOffersForCollectible.tsx +1 -1
  271. package/src/react/hooks/data/orders/useFloorOrder.tsx +1 -1
  272. package/src/react/hooks/data/orders/useGetCountOfFilteredOrders.tsx +39 -0
  273. package/src/react/hooks/data/orders/useHighestOffer.tsx +1 -1
  274. package/src/react/hooks/data/orders/useListItemsOrdersForCollection.tsx +93 -0
  275. package/src/react/hooks/data/orders/useListItemsOrdersForCollectionPaginated.tsx +108 -0
  276. package/src/react/hooks/data/orders/useListListingsForCollectible.tsx +1 -1
  277. package/src/react/hooks/data/orders/useListOffersForCollectible.tsx +1 -1
  278. package/src/react/hooks/data/orders/useLowestListing.tsx +1 -1
  279. package/src/react/hooks/data/primary-sales/index.ts +1 -0
  280. package/src/react/hooks/data/primary-sales/useGetCountOfPrimarySaleItems.tsx +2 -2
  281. package/src/react/hooks/data/primary-sales/useListPrimarySaleItems.tsx +1 -1
  282. package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
  283. package/src/react/hooks/data/tokens/useGetTokenRanges.tsx +2 -2
  284. package/src/react/hooks/data/tokens/useListBalances.tsx +3 -12
  285. package/src/react/hooks/data/tokens/useListTokenMetadata.tsx +1 -1
  286. package/src/react/hooks/data/tokens/useSearchTokenMetadata.tsx +1 -1
  287. package/src/react/hooks/data/tokens/useTokenSupplies.ts +2 -14
  288. package/src/react/hooks/transactions/useGenerateCancelTransaction.test.tsx +1 -0
  289. package/src/react/hooks/transactions/useGenerateListingTransaction.test.tsx +13 -0
  290. package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +3 -0
  291. package/src/react/hooks/transactions/useGenerateSellTransaction.test.tsx +6 -0
  292. package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
  293. package/src/react/hooks/transactions/useProcessStep.ts +8 -6
  294. package/src/react/hooks/ui/useFilterState.tsx +72 -2
  295. package/src/react/hooks/ui/useFilters.tsx +1 -1
  296. package/src/react/hooks/utils/useCheckoutOptions.tsx +2 -2
  297. package/src/react/hooks/utils/useCheckoutOptionsSalesContract.tsx +1 -1
  298. package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
  299. package/src/react/hooks/utils/useComparePrices.tsx +1 -1
  300. package/src/react/hooks/utils/useConvertPriceToUSD.tsx +1 -1
  301. package/src/react/providers/analytics-provider.tsx +45 -0
  302. package/src/react/providers/index.tsx +30 -41
  303. package/src/react/providers/modal-provider.tsx +14 -2
  304. package/src/react/queries/{balanceOfCollectible.ts → collectibles/balanceOfCollectible.ts} +23 -16
  305. package/src/react/queries/{collectible.ts → collectibles/collectible.ts} +20 -5
  306. package/src/react/queries/{countOfCollectables.ts → collectibles/countOfCollectables.ts} +32 -6
  307. package/src/react/queries/collectibles/index.ts +7 -0
  308. package/src/react/queries/{listCollectibleActivities.ts → collectibles/listCollectibleActivities.ts} +29 -5
  309. package/src/react/queries/{listCollectibles.ts → collectibles/listCollectibles.ts} +22 -56
  310. package/src/react/queries/{listCollectiblesPaginated.ts → collectibles/listCollectiblesPaginated.ts} +22 -5
  311. package/src/react/queries/{tokenBalances.ts → collectibles/tokenBalances.ts} +20 -16
  312. package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
  313. package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
  314. package/src/react/queries/{collection.ts → collections/collection.ts} +19 -5
  315. package/src/react/queries/{collectionBalanceDetails.ts → collections/collectionBalanceDetails.ts} +19 -4
  316. package/src/react/queries/{collectionDetails.ts → collections/collectionDetails.ts} +21 -6
  317. package/src/react/queries/collections/index.ts +7 -0
  318. package/src/react/queries/{listCollectionActivities.ts → collections/listCollectionActivities.ts} +28 -6
  319. package/src/react/queries/{listCollections.ts → collections/listCollections.ts} +17 -6
  320. package/src/react/queries/index.ts +7 -34
  321. package/src/react/queries/inventory/index.ts +1 -0
  322. package/src/react/queries/{inventory.ts → inventory/inventory.ts} +13 -14
  323. package/src/react/queries/{checkoutOptions.ts → market/checkoutOptions.ts} +28 -6
  324. package/src/react/queries/{checkoutOptionsSalesContract.ts → market/checkoutOptionsSalesContract.ts} +24 -5
  325. package/src/react/queries/{currency.ts → market/currency.ts} +13 -4
  326. package/src/react/queries/{filters.ts → market/filters.ts} +25 -6
  327. package/src/react/queries/market/index.ts +6 -0
  328. package/src/react/queries/{marketCurrencies.ts → market/marketCurrencies.ts} +32 -6
  329. package/src/react/queries/{marketplaceConfig.ts → market/marketplaceConfig.ts} +5 -5
  330. package/src/react/queries/orders/countItemsOrdersForCollection.ts +86 -0
  331. package/src/react/queries/{countListingsForCollectible.ts → orders/countListingsForCollectible.ts} +23 -6
  332. package/src/react/queries/{countOffersForCollectible.ts → orders/countOffersForCollectible.ts} +23 -6
  333. package/src/react/queries/{floorOrder.ts → orders/floorOrder.ts} +15 -4
  334. package/src/react/queries/orders/getCountOfFilteredOrders.ts +88 -0
  335. package/src/react/queries/{highestOffer.ts → orders/highestOffer.ts} +16 -4
  336. package/src/react/queries/orders/index.ts +11 -0
  337. package/src/react/queries/orders/listItemsOrdersForCollection.ts +90 -0
  338. package/src/react/queries/orders/listItemsOrdersForCollectionPaginated.ts +90 -0
  339. package/src/react/queries/{listListingsForCollectible.ts → orders/listListingsForCollectible.ts} +20 -5
  340. package/src/react/queries/{listOffersForCollectible.ts → orders/listOffersForCollectible.ts} +20 -5
  341. package/src/react/queries/{lowestListing.ts → orders/lowestListing.ts} +16 -4
  342. package/src/react/queries/{countOfPrimarySaleItems.ts → primary-sales/countOfPrimarySaleItems.ts} +17 -3
  343. package/src/react/queries/primary-sales/index.ts +4 -0
  344. package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
  345. package/src/react/queries/{primarySaleItems.ts → primary-sales/primarySaleItems.ts} +18 -4
  346. package/src/react/queries/{primarySaleItemsCount.ts → primary-sales/primarySaleItemsCount.ts} +19 -4
  347. package/src/react/queries/{getTokenRanges.ts → tokens/getTokenRanges.ts} +17 -4
  348. package/src/react/queries/tokens/index.ts +5 -0
  349. package/src/react/queries/{listBalances.ts → tokens/listBalances.ts} +17 -22
  350. package/src/react/queries/{listTokenMetadata.ts → tokens/listTokenMetadata.ts} +18 -4
  351. package/src/react/queries/{searchTokenMetadata.ts → tokens/searchTokenMetadata.ts} +18 -4
  352. package/src/react/queries/{tokenSupplies.ts → tokens/tokenSupplies.ts} +17 -34
  353. package/src/react/queries/{comparePrices.ts → utils/comparePrices.ts} +29 -5
  354. package/src/react/queries/{convertPriceToUSD.ts → utils/convertPriceToUSD.ts} +18 -5
  355. package/src/react/queries/utils/index.ts +2 -0
  356. package/src/react/ssr/create-ssr-client.ts +1 -1
  357. package/src/react/ui/components/_internals/ErrorLogBox.tsx +85 -0
  358. package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
  359. package/src/react/ui/components/_internals/action-button/ActionButton.tsx +4 -0
  360. package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +4 -0
  361. package/src/react/ui/components/marketplace-collectible-card/components/ActionButtonWrapper.tsx +3 -0
  362. package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
  363. package/src/react/ui/components/marketplace-collectible-card/types.ts +1 -0
  364. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +5 -2
  365. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +2 -2
  366. package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
  367. package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
  368. package/src/react/ui/modals/BuyModal/components/ERC1155BuyModal.tsx +65 -3
  369. package/src/react/ui/modals/BuyModal/components/ERC721BuyModal.tsx +31 -0
  370. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC721SalePaymentParams.test.tsx +20 -1
  371. package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +7 -2
  372. package/src/react/ui/modals/BuyModal/hooks/useERC721SalePaymentParams.ts +12 -3
  373. package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +11 -25
  374. package/src/react/ui/modals/BuyModal/store.ts +3 -0
  375. package/src/react/ui/modals/CreateListingModal/Modal.tsx +63 -24
  376. package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +4 -0
  377. package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +18 -12
  378. package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +4 -1
  379. package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +1 -0
  380. package/src/react/ui/modals/MakeOfferModal/Modal.tsx +77 -10
  381. package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +12 -0
  382. package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +6 -1
  383. package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +15 -26
  384. package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +3 -0
  385. package/src/react/ui/modals/SellModal/Modal.tsx +21 -3
  386. package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +2 -0
  387. package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +3 -1
  388. package/src/react/ui/modals/SellModal/hooks/useSell.tsx +13 -7
  389. package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +9 -0
  390. package/src/react/ui/modals/_internal/components/calendarDropdown/TimeSelector.tsx +105 -0
  391. package/src/react/ui/modals/_internal/components/calendarDropdown/index.tsx +45 -12
  392. package/src/react/ui/modals/_internal/components/calendarDropdown/overrides.css +39 -0
  393. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +34 -10
  394. package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +18 -9
  395. package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
  396. package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
  397. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +198 -11
  398. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +58 -10
  399. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
  400. package/src/react/utils/waitForTransactionReceipt.ts +26 -32
  401. package/src/styles/index.css +1 -0
  402. package/src/styles/styles.ts +156 -2
  403. package/src/types/index.ts +1 -1
  404. package/src/utils/abi/index.ts +1 -0
  405. package/src/utils/abi/mainModule.ts +158 -0
  406. package/src/utils/networkconfigToWagmiChain.ts +7 -0
  407. package/src/utils/price.ts +58 -0
  408. package/test/const.ts +2 -0
  409. package/test/server-setup.ts +0 -2
  410. package/dist/BellIcon-IpHHEy8h.js.map +0 -1
  411. package/dist/CartIcon-C8zbor8H.js.map +0 -1
  412. package/dist/CollectibleCard-C2EWF0zo.d.ts +0 -8
  413. package/dist/api-DuLKn__v.js.map +0 -1
  414. package/dist/builder-api-BFuZNOaN.js.map +0 -1
  415. package/dist/builder.gen-B9wR2nvF.js.map +0 -1
  416. package/dist/components-CUv-wQr8.js.map +0 -1
  417. package/dist/create-config-CIfejoCk.js.map +0 -1
  418. package/dist/filters-zkMJaPey.d.ts +0 -31
  419. package/dist/index-B8vaT3_s.d.ts +0 -18
  420. package/dist/index-Yobo6icm.d.ts +0 -234
  421. package/dist/listCollectiblesPaginated-Bq0QSOjJ.d.ts +0 -168
  422. package/dist/listCollections-dTCq00l5.d.ts +0 -669
  423. package/dist/lowestListing-CB5Te-Q9.d.ts +0 -168
  424. package/dist/marketplace-logos-Csv2MBwf.js.map +0 -1
  425. package/dist/marketplace.gen-w2YvbEEo.js.map +0 -1
  426. package/dist/marketplaceConfig-BTy75Mbf.js.map +0 -1
  427. package/dist/network-DtmiMhcg.js.map +0 -1
  428. package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
  429. package/dist/queries-EMA5CcwY.js +0 -1399
  430. package/dist/queries-EMA5CcwY.js.map +0 -1
  431. package/dist/react-BLJ4DkPx.js.map +0 -1
  432. package/dist/react-F03jPjPk.css +0 -80
  433. package/dist/react-F03jPjPk.css.map +0 -1
  434. package/dist/tokenSupplies-C470zTT0.d.ts +0 -147
  435. package/dist/utils-BZEkdqWK.js.map +0 -1
  436. package/dist/utils-oVZxdK0o.js.map +0 -1
  437. package/dist/waitForTransactionReceipt-B08YZiDY.js +0 -26
  438. package/dist/waitForTransactionReceipt-B08YZiDY.js.map +0 -1
  439. package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
  440. package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
  441. package/src/react/_internal/api/laos-api.ts +0 -106
  442. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
  443. package/src/react/queries/__tests__/balanceOfCollectible.laos.test.ts +0 -123
  444. package/src/react/queries/__tests__/inventory.laos.test.ts +0 -499
  445. package/src/react/queries/__tests__/tokenBalances.laos.test.ts +0 -123
  446. /package/dist/{index-Cg5cFzs-.d.ts → index-CCggO_hw.d.ts} +0 -0
  447. /package/dist/{abi-DYsUABe6.js → queries-CyajGg_O.js} +0 -0
@@ -805,5 +805,5 @@ declare const SequenceMarketplaceV2_ABI: ({
805
805
  anonymous?: undefined;
806
806
  })[];
807
807
  //#endregion
808
- export { EIP2981_ABI, SequenceMarketplaceV1_ABI, SequenceMarketplaceV2_ABI };
809
- //# sourceMappingURL=index-CT8ZorFd.d.ts.map
808
+ export { EIP2981_ABI as EIP2981_ABI$1, SequenceMarketplaceV1_ABI as SequenceMarketplaceV1_ABI$1, SequenceMarketplaceV2_ABI as SequenceMarketplaceV2_ABI$1 };
809
+ //# sourceMappingURL=index-DD7Vc4cE.d.ts.map
@@ -1,7 +1,8 @@
1
- import { BuyModalProps, CollectionType, ModalCallbacks, Order, OrderbookKind, TokenMetadata } from "./create-config-DV_dtaLt.js";
1
+ import { BuyModalProps, CollectionType, ModalCallbacks, Order, OrderbookKind, TokenMetadata } from "./create-config-CFBeD8CB.js";
2
2
  import { ComponentType, ReactNode } from "react";
3
3
  import { IconProps } from "@0xsequence/design-system";
4
- import * as react_jsx_runtime31 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
5
6
  import { Address } from "viem";
6
7
  import "@legendapp/state";
7
8
  import "@xstate/store";
@@ -12,7 +13,7 @@ interface ModalProviderProps {
12
13
  }
13
14
  declare const ModalProvider: ({
14
15
  children
15
- }: ModalProviderProps) => react_jsx_runtime31.JSX.Element;
16
+ }: ModalProviderProps) => react_jsx_runtime36.JSX.Element;
16
17
  //#endregion
17
18
  //#region src/react/ui/components/media/types.d.ts
18
19
  type MediaProps = {
@@ -55,7 +56,7 @@ declare function Media({
55
56
  isLoading,
56
57
  fallbackContent,
57
58
  shouldListenForLoad
58
- }: MediaProps): react_jsx_runtime31.JSX.Element;
59
+ }: MediaProps): react_jsx_runtime35.JSX.Element;
59
60
  //#endregion
60
61
  //#region src/react/ui/modals/BuyModal/index.d.ts
61
62
  declare const useBuyModal: (callbacks?: ModalCallbacks) => {
@@ -147,5 +148,5 @@ declare const useTransferModal: () => {
147
148
  close: () => void;
148
149
  };
149
150
  //#endregion
150
- export { Media, ModalProvider, useBuyModal, useCreateListingModal, useMakeOfferModal, useSellModal, useSuccessfulPurchaseModal, useTransferModal };
151
- //# sourceMappingURL=index-DpeWm_vF.d.ts.map
151
+ export { Media as Media$1, ModalProvider as ModalProvider$1, useBuyModal as useBuyModal$1, useCreateListingModal as useCreateListingModal$1, useMakeOfferModal as useMakeOfferModal$1, useSellModal as useSellModal$1, useSuccessfulPurchaseModal as useSuccessfulPurchaseModal$1, useTransferModal as useTransferModal$1 };
152
+ //# sourceMappingURL=index-DIc8OqWV.d.ts.map
@@ -0,0 +1,171 @@
1
+ import { CollectiblePrimarySaleItem, GetCountOfPrimarySaleItemsArgs, GetCountOfPrimarySaleItemsReturn, GetPrimarySaleItemArgs, ListPrimarySaleItemsReturn, Page, PrimarySaleItemsFilter, SdkConfig, ValuesOptional } from "./create-config-CFBeD8CB.js";
2
+ import { StandardQueryOptions } from "./query-brXxOcH0.js";
3
+ import * as _tanstack_react_query371 from "@tanstack/react-query";
4
+ import * as _tanstack_react_query374 from "@tanstack/react-query";
5
+ import * as _tanstack_react_query359 from "@tanstack/react-query";
6
+ import * as _tanstack_react_query377 from "@tanstack/react-query";
7
+ import { Address } from "viem";
8
+
9
+ //#region src/react/queries/primary-sales/countOfPrimarySaleItems.d.ts
10
+ interface UseCountOfPrimarySaleItemsArgs extends Omit<GetCountOfPrimarySaleItemsArgs, 'chainId' | 'primarySaleContractAddress'> {
11
+ chainId: number;
12
+ primarySaleContractAddress: Address;
13
+ filter?: PrimarySaleItemsFilter;
14
+ query?: {
15
+ enabled?: boolean;
16
+ };
17
+ }
18
+ declare function fetchCountOfPrimarySaleItems(args: UseCountOfPrimarySaleItemsArgs, config: SdkConfig): Promise<number>;
19
+ declare function getCountOfPrimarySaleItemsQueryKey(args: UseCountOfPrimarySaleItemsArgs): readonly ["primarySaleItemsCount", {
20
+ chainId: string;
21
+ primarySaleContractAddress: `0x${string}`;
22
+ filter: PrimarySaleItemsFilter | undefined;
23
+ }];
24
+ declare function countOfPrimarySaleItemsOptions(args: UseCountOfPrimarySaleItemsArgs, config: SdkConfig): _tanstack_react_query371.OmitKeyof<_tanstack_react_query371.UseQueryOptions<number, Error, number, readonly ["primarySaleItemsCount", {
25
+ chainId: string;
26
+ primarySaleContractAddress: `0x${string}`;
27
+ filter: PrimarySaleItemsFilter | undefined;
28
+ }]>, "queryFn"> & {
29
+ queryFn?: _tanstack_react_query371.QueryFunction<number, readonly ["primarySaleItemsCount", {
30
+ chainId: string;
31
+ primarySaleContractAddress: `0x${string}`;
32
+ filter: PrimarySaleItemsFilter | undefined;
33
+ }], never> | undefined;
34
+ } & {
35
+ queryKey: readonly ["primarySaleItemsCount", {
36
+ chainId: string;
37
+ primarySaleContractAddress: `0x${string}`;
38
+ filter: PrimarySaleItemsFilter | undefined;
39
+ }] & {
40
+ [dataTagSymbol]: number;
41
+ [dataTagErrorSymbol]: Error;
42
+ };
43
+ };
44
+ //#endregion
45
+ //#region src/react/queries/primary-sales/primarySaleItem.d.ts
46
+ interface FetchPrimarySaleItemParams extends Omit<GetPrimarySaleItemArgs, 'chainId'> {
47
+ chainId: number;
48
+ config: SdkConfig;
49
+ }
50
+ /**
51
+ * Fetches a single primary sale item from the marketplace API
52
+ */
53
+ declare function fetchPrimarySaleItem(params: FetchPrimarySaleItemParams): Promise<CollectiblePrimarySaleItem>;
54
+ type PrimarySaleItemQueryOptions = ValuesOptional<FetchPrimarySaleItemParams> & {
55
+ query?: StandardQueryOptions;
56
+ };
57
+ declare function getPrimarySaleItemQueryKey(params: PrimarySaleItemQueryOptions): readonly ["primarySaleItem", {
58
+ chainId: string;
59
+ primarySaleContractAddress: string | undefined;
60
+ tokenId: string | undefined;
61
+ }];
62
+ declare function primarySaleItemQueryOptions(params: PrimarySaleItemQueryOptions): _tanstack_react_query374.OmitKeyof<_tanstack_react_query374.UseQueryOptions<CollectiblePrimarySaleItem, Error, CollectiblePrimarySaleItem, readonly ["primarySaleItem", {
63
+ chainId: string;
64
+ primarySaleContractAddress: string | undefined;
65
+ tokenId: string | undefined;
66
+ }]>, "queryFn"> & {
67
+ queryFn?: _tanstack_react_query374.QueryFunction<CollectiblePrimarySaleItem, readonly ["primarySaleItem", {
68
+ chainId: string;
69
+ primarySaleContractAddress: string | undefined;
70
+ tokenId: string | undefined;
71
+ }], never> | undefined;
72
+ } & {
73
+ queryKey: readonly ["primarySaleItem", {
74
+ chainId: string;
75
+ primarySaleContractAddress: string | undefined;
76
+ tokenId: string | undefined;
77
+ }] & {
78
+ [dataTagSymbol]: CollectiblePrimarySaleItem;
79
+ [dataTagErrorSymbol]: Error;
80
+ };
81
+ };
82
+ //#endregion
83
+ //#region src/react/queries/primary-sales/primarySaleItems.d.ts
84
+ interface FetchPrimarySaleItemsParams {
85
+ chainId: number;
86
+ primarySaleContractAddress: Address;
87
+ filter?: PrimarySaleItemsFilter;
88
+ page?: Page;
89
+ config: SdkConfig;
90
+ }
91
+ /**
92
+ * Fetches primary sale items from the marketplace API
93
+ */
94
+ declare function fetchPrimarySaleItems(params: FetchPrimarySaleItemsParams): Promise<ListPrimarySaleItemsReturn>;
95
+ type ListPrimarySaleItemsQueryOptions = ValuesOptional<FetchPrimarySaleItemsParams> & {
96
+ query?: StandardQueryOptions;
97
+ };
98
+ declare function getListPrimarySaleItemsQueryKey(params: ListPrimarySaleItemsQueryOptions): readonly ["listPrimarySaleItems", {
99
+ chainId: string;
100
+ primarySaleContractAddress: `0x${string}` | undefined;
101
+ filter: PrimarySaleItemsFilter | undefined;
102
+ }];
103
+ declare const listPrimarySaleItemsQueryOptions: (params: ListPrimarySaleItemsQueryOptions) => _tanstack_react_query359.OmitKeyof<_tanstack_react_query359.UseInfiniteQueryOptions<ListPrimarySaleItemsReturn, Error, _tanstack_react_query359.InfiniteData<ListPrimarySaleItemsReturn, unknown>, readonly ["listPrimarySaleItems", {
104
+ chainId: string;
105
+ primarySaleContractAddress: `0x${string}` | undefined;
106
+ filter: PrimarySaleItemsFilter | undefined;
107
+ }], {
108
+ page: number;
109
+ pageSize: number;
110
+ }>, "queryFn"> & {
111
+ queryFn?: _tanstack_react_query359.QueryFunction<ListPrimarySaleItemsReturn, readonly ["listPrimarySaleItems", {
112
+ chainId: string;
113
+ primarySaleContractAddress: `0x${string}` | undefined;
114
+ filter: PrimarySaleItemsFilter | undefined;
115
+ }], {
116
+ page: number;
117
+ pageSize: number;
118
+ }> | undefined;
119
+ } & {
120
+ queryKey: readonly ["listPrimarySaleItems", {
121
+ chainId: string;
122
+ primarySaleContractAddress: `0x${string}` | undefined;
123
+ filter: PrimarySaleItemsFilter | undefined;
124
+ }] & {
125
+ [dataTagSymbol]: _tanstack_react_query359.InfiniteData<ListPrimarySaleItemsReturn, unknown>;
126
+ [dataTagErrorSymbol]: Error;
127
+ };
128
+ };
129
+ //#endregion
130
+ //#region src/react/queries/primary-sales/primarySaleItemsCount.d.ts
131
+ interface FetchPrimarySaleItemsCountParams {
132
+ chainId: number;
133
+ primarySaleContractAddress: Address;
134
+ filter?: PrimarySaleItemsFilter;
135
+ config: SdkConfig;
136
+ }
137
+ /**
138
+ * Fetches the count of primary sale items from the marketplace API
139
+ */
140
+ declare function fetchPrimarySaleItemsCount(params: FetchPrimarySaleItemsCountParams): Promise<GetCountOfPrimarySaleItemsReturn>;
141
+ type PrimarySaleItemsCountQueryOptions = Partial<FetchPrimarySaleItemsCountParams> & {
142
+ query?: StandardQueryOptions;
143
+ };
144
+ declare function getPrimarySaleItemsCountQueryKey(args: PrimarySaleItemsCountQueryOptions): readonly ["primarySaleItemsCount", {
145
+ chainId: string;
146
+ primarySaleContractAddress: `0x${string}` | undefined;
147
+ filter: PrimarySaleItemsFilter | undefined;
148
+ }];
149
+ declare const primarySaleItemsCountQueryOptions: (args: PrimarySaleItemsCountQueryOptions) => _tanstack_react_query377.OmitKeyof<_tanstack_react_query377.UseQueryOptions<GetCountOfPrimarySaleItemsReturn, Error, GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
150
+ chainId: string;
151
+ primarySaleContractAddress: `0x${string}` | undefined;
152
+ filter: PrimarySaleItemsFilter | undefined;
153
+ }]>, "queryFn"> & {
154
+ queryFn?: _tanstack_react_query377.QueryFunction<GetCountOfPrimarySaleItemsReturn, readonly ["primarySaleItemsCount", {
155
+ chainId: string;
156
+ primarySaleContractAddress: `0x${string}` | undefined;
157
+ filter: PrimarySaleItemsFilter | undefined;
158
+ }], never> | undefined;
159
+ } & {
160
+ queryKey: readonly ["primarySaleItemsCount", {
161
+ chainId: string;
162
+ primarySaleContractAddress: `0x${string}` | undefined;
163
+ filter: PrimarySaleItemsFilter | undefined;
164
+ }] & {
165
+ [dataTagSymbol]: GetCountOfPrimarySaleItemsReturn;
166
+ [dataTagErrorSymbol]: Error;
167
+ };
168
+ };
169
+ //#endregion
170
+ export { FetchPrimarySaleItemParams, FetchPrimarySaleItemsCountParams, FetchPrimarySaleItemsParams, ListPrimarySaleItemsQueryOptions, PrimarySaleItemQueryOptions, PrimarySaleItemsCountQueryOptions, UseCountOfPrimarySaleItemsArgs, countOfPrimarySaleItemsOptions as countOfPrimarySaleItemsOptions$1, fetchCountOfPrimarySaleItems as fetchCountOfPrimarySaleItems$1, fetchPrimarySaleItem as fetchPrimarySaleItem$1, fetchPrimarySaleItems as fetchPrimarySaleItems$1, fetchPrimarySaleItemsCount as fetchPrimarySaleItemsCount$1, getCountOfPrimarySaleItemsQueryKey as getCountOfPrimarySaleItemsQueryKey$1, getListPrimarySaleItemsQueryKey as getListPrimarySaleItemsQueryKey$1, getPrimarySaleItemQueryKey as getPrimarySaleItemQueryKey$1, getPrimarySaleItemsCountQueryKey as getPrimarySaleItemsCountQueryKey$1, listPrimarySaleItemsQueryOptions as listPrimarySaleItemsQueryOptions$1, primarySaleItemQueryOptions as primarySaleItemQueryOptions$1, primarySaleItemsCountQueryOptions as primarySaleItemsCountQueryOptions$1 };
171
+ //# sourceMappingURL=index-DVI_vggD.d.ts.map
@@ -0,0 +1 @@
1
+ export { };
@@ -1,5 +1,8 @@
1
- import { ContractType, CreateReq, GenerateCancelTransactionArgs, GenerateListingTransactionArgs, GenerateOfferTransactionArgs, GenerateSellTransactionArgs, MarketplaceKind, ModalCallbacks, SdkConfig, Step, WalletKind } from "./create-config-DV_dtaLt.js";
2
- import * as _tanstack_react_query255 from "@tanstack/react-query";
1
+ import { ContractType, CreateReq, GenerateCancelTransactionArgs, GenerateListingTransactionArgs, GenerateOfferTransactionArgs, GenerateSellTransactionArgs, MarketplaceKind, ModalCallbacks, SdkConfig, Step, WalletKind } from "./create-config-CFBeD8CB.js";
2
+ import * as _tanstack_react_query299 from "@tanstack/react-query";
3
+ import * as _tanstack_react_query0 from "@tanstack/react-query";
4
+ import * as _tanstack_react_query33 from "@tanstack/react-query";
5
+ import * as _tanstack_react_query41 from "@tanstack/react-query";
3
6
  import { Address, Hex } from "viem";
4
7
 
5
8
  //#region src/react/hooks/transactions/useCancelOrder.d.ts
@@ -76,8 +79,8 @@ interface UseGenerateCancelTransactionArgs {
76
79
  }
77
80
  declare const generateCancelTransaction: (args: GenerateCancelTransactionArgsWithNumberChainId, config: SdkConfig) => Promise<Step[]>;
78
81
  declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactionArgs) => {
79
- generateCancelTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
80
- generateCancelTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
82
+ generateCancelTransaction: _tanstack_react_query299.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
83
+ generateCancelTransactionAsync: _tanstack_react_query299.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
81
84
  data: undefined;
82
85
  variables: undefined;
83
86
  error: null;
@@ -93,8 +96,8 @@ declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactio
93
96
  isPaused: boolean;
94
97
  submittedAt: number;
95
98
  } | {
96
- generateCancelTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
97
- generateCancelTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
99
+ generateCancelTransaction: _tanstack_react_query299.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
100
+ generateCancelTransactionAsync: _tanstack_react_query299.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
98
101
  data: undefined;
99
102
  variables: GenerateCancelTransactionArgsWithNumberChainId;
100
103
  error: null;
@@ -110,8 +113,8 @@ declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactio
110
113
  isPaused: boolean;
111
114
  submittedAt: number;
112
115
  } | {
113
- generateCancelTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
114
- generateCancelTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
116
+ generateCancelTransaction: _tanstack_react_query299.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
117
+ generateCancelTransactionAsync: _tanstack_react_query299.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
115
118
  data: undefined;
116
119
  error: Error;
117
120
  variables: GenerateCancelTransactionArgsWithNumberChainId;
@@ -127,8 +130,8 @@ declare const useGenerateCancelTransaction: (params: UseGenerateCancelTransactio
127
130
  isPaused: boolean;
128
131
  submittedAt: number;
129
132
  } | {
130
- generateCancelTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
131
- generateCancelTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
133
+ generateCancelTransaction: _tanstack_react_query299.UseMutateFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
134
+ generateCancelTransactionAsync: _tanstack_react_query299.UseMutateAsyncFunction<Step[], Error, GenerateCancelTransactionArgsWithNumberChainId, unknown>;
132
135
  data: Step[];
133
136
  error: null;
134
137
  variables: GenerateCancelTransactionArgsWithNumberChainId;
@@ -162,8 +165,8 @@ type GenerateListingTransactionArgsWithNumberChainId = Omit<GenerateListingTrans
162
165
  };
163
166
  declare const generateListingTransaction: (params: GenerateListingTransactionArgsWithNumberChainId, config: SdkConfig) => Promise<Step[]>;
164
167
  declare const useGenerateListingTransaction: (params: UseGenerateListingTransactionArgs) => {
165
- generateListingTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
166
- generateListingTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
168
+ generateListingTransaction: _tanstack_react_query0.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
169
+ generateListingTransactionAsync: _tanstack_react_query0.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
167
170
  data: undefined;
168
171
  variables: undefined;
169
172
  error: null;
@@ -179,8 +182,8 @@ declare const useGenerateListingTransaction: (params: UseGenerateListingTransact
179
182
  isPaused: boolean;
180
183
  submittedAt: number;
181
184
  } | {
182
- generateListingTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
183
- generateListingTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
185
+ generateListingTransaction: _tanstack_react_query0.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
186
+ generateListingTransactionAsync: _tanstack_react_query0.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
184
187
  data: undefined;
185
188
  variables: Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">;
186
189
  error: null;
@@ -196,8 +199,8 @@ declare const useGenerateListingTransaction: (params: UseGenerateListingTransact
196
199
  isPaused: boolean;
197
200
  submittedAt: number;
198
201
  } | {
199
- generateListingTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
200
- generateListingTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
202
+ generateListingTransaction: _tanstack_react_query0.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
203
+ generateListingTransactionAsync: _tanstack_react_query0.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
201
204
  data: undefined;
202
205
  error: Error;
203
206
  variables: Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">;
@@ -213,8 +216,8 @@ declare const useGenerateListingTransaction: (params: UseGenerateListingTransact
213
216
  isPaused: boolean;
214
217
  submittedAt: number;
215
218
  } | {
216
- generateListingTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
217
- generateListingTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
219
+ generateListingTransaction: _tanstack_react_query0.UseMutateFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
220
+ generateListingTransactionAsync: _tanstack_react_query0.UseMutateAsyncFunction<Step[], Error, Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">, unknown>;
218
221
  data: Step[];
219
222
  error: null;
220
223
  variables: Omit<GenerateListingTransactionArgsWithNumberChainId, "chainId">;
@@ -248,8 +251,8 @@ type GenerateOfferTransactionArgsWithNumberChainId = Omit<GenerateOfferTransacti
248
251
  };
249
252
  declare const generateOfferTransaction: (params: GenerateOfferTransactionArgsWithNumberChainId, config: SdkConfig, walletKind?: WalletKind) => Promise<Step[]>;
250
253
  declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionArgs) => {
251
- generateOfferTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
252
- generateOfferTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
254
+ generateOfferTransaction: _tanstack_react_query33.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
255
+ generateOfferTransactionAsync: _tanstack_react_query33.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
253
256
  data: undefined;
254
257
  variables: undefined;
255
258
  error: null;
@@ -265,8 +268,8 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
265
268
  isPaused: boolean;
266
269
  submittedAt: number;
267
270
  } | {
268
- generateOfferTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
269
- generateOfferTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
271
+ generateOfferTransaction: _tanstack_react_query33.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
272
+ generateOfferTransactionAsync: _tanstack_react_query33.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
270
273
  data: undefined;
271
274
  variables: Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">;
272
275
  error: null;
@@ -282,8 +285,8 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
282
285
  isPaused: boolean;
283
286
  submittedAt: number;
284
287
  } | {
285
- generateOfferTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
286
- generateOfferTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
288
+ generateOfferTransaction: _tanstack_react_query33.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
289
+ generateOfferTransactionAsync: _tanstack_react_query33.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
287
290
  data: undefined;
288
291
  error: Error;
289
292
  variables: Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">;
@@ -299,8 +302,8 @@ declare const useGenerateOfferTransaction: (params: UseGenerateOfferTransactionA
299
302
  isPaused: boolean;
300
303
  submittedAt: number;
301
304
  } | {
302
- generateOfferTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
303
- generateOfferTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
305
+ generateOfferTransaction: _tanstack_react_query33.UseMutateFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
306
+ generateOfferTransactionAsync: _tanstack_react_query33.UseMutateAsyncFunction<Step[], Error, Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">, unknown>;
304
307
  data: Step[];
305
308
  error: null;
306
309
  variables: Omit<GenerateOfferTransactionArgsWithNumberChainId, "chainId">;
@@ -327,8 +330,8 @@ type GenerateSellTransactionArgsWithNumberChainId = Omit<GenerateSellTransaction
327
330
  };
328
331
  declare const generateSellTransaction: (args: GenerateSellTransactionArgsWithNumberChainId, config: SdkConfig) => Promise<Step[]>;
329
332
  declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArgs) => {
330
- generateSellTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
331
- generateSellTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
333
+ generateSellTransaction: _tanstack_react_query41.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
334
+ generateSellTransactionAsync: _tanstack_react_query41.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
332
335
  data: undefined;
333
336
  variables: undefined;
334
337
  error: null;
@@ -344,8 +347,8 @@ declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArg
344
347
  isPaused: boolean;
345
348
  submittedAt: number;
346
349
  } | {
347
- generateSellTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
348
- generateSellTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
350
+ generateSellTransaction: _tanstack_react_query41.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
351
+ generateSellTransactionAsync: _tanstack_react_query41.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
349
352
  data: undefined;
350
353
  variables: Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">;
351
354
  error: null;
@@ -361,8 +364,8 @@ declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArg
361
364
  isPaused: boolean;
362
365
  submittedAt: number;
363
366
  } | {
364
- generateSellTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
365
- generateSellTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
367
+ generateSellTransaction: _tanstack_react_query41.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
368
+ generateSellTransactionAsync: _tanstack_react_query41.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
366
369
  data: undefined;
367
370
  error: Error;
368
371
  variables: Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">;
@@ -378,8 +381,8 @@ declare const useGenerateSellTransaction: (params: UseGenerateSellTransactionArg
378
381
  isPaused: boolean;
379
382
  submittedAt: number;
380
383
  } | {
381
- generateSellTransaction: _tanstack_react_query255.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
382
- generateSellTransactionAsync: _tanstack_react_query255.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
384
+ generateSellTransaction: _tanstack_react_query41.UseMutateFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
385
+ generateSellTransactionAsync: _tanstack_react_query41.UseMutateAsyncFunction<Step[], Error, Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">, unknown>;
383
386
  data: Step[];
384
387
  error: null;
385
388
  variables: Omit<GenerateSellTransactionArgsWithNumberChainId, "chainId">;
@@ -443,5 +446,5 @@ declare const useTransferTokens: () => {
443
446
  transferSuccess: boolean;
444
447
  };
445
448
  //#endregion
446
- export { CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, useCancelOrder, useCancelTransactionSteps, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useOrderSteps, useProcessStep, useTransferTokens };
447
- //# sourceMappingURL=index-DMBMM16q.d.ts.map
449
+ export { CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, GenerateListingTransactionProps, GenerateOfferTransactionProps, TransactionStep, TransferTokensParams, UseGenerateListingTransactionArgs, UseGenerateOfferTransactionArgs, generateCancelTransaction as generateCancelTransaction$1, generateListingTransaction as generateListingTransaction$1, generateOfferTransaction as generateOfferTransaction$1, generateSellTransaction as generateSellTransaction$1, useCancelOrder as useCancelOrder$1, useCancelTransactionSteps as useCancelTransactionSteps$1, useGenerateCancelTransaction as useGenerateCancelTransaction$1, useGenerateListingTransaction as useGenerateListingTransaction$1, useGenerateOfferTransaction as useGenerateOfferTransaction$1, useGenerateSellTransaction as useGenerateSellTransaction$1, useOrderSteps as useOrderSteps$1, useProcessStep as useProcessStep$1, useTransferTokens as useTransferTokens$1 };
450
+ //# sourceMappingURL=index-DqxQeYT2.d.ts.map
@@ -1,4 +1,4 @@
1
- import { MarketplaceKind } from "./create-config-DV_dtaLt.js";
1
+ import { MarketplaceKind } from "./create-config-CFBeD8CB.js";
2
2
  import * as _0xsequence_network0 from "@0xsequence/network";
3
3
  import { NetworkConfig } from "@0xsequence/network";
4
4
  import { ComponentType } from "react";
@@ -100,6 +100,22 @@ declare const calculateEarningsAfterFees: (amount: bigint, decimals: number, fee
100
100
  * ```
101
101
  */
102
102
  declare const formatPriceWithFee: (amount: bigint, decimals: number, feePercentage: number) => string;
103
+ declare const calculateTotalOfferCost: (offerAmountRaw: bigint, decimals: number, royaltyPercentage?: number) => bigint;
104
+ /**
105
+ * Validates if a price value meets OpenSea's decimal constraints for offers
106
+ * OpenSea allows maximum 4 decimal places for offers and minimum 0.0001
107
+ * @param value - The price value as a string
108
+ * @returns Object containing validation result and error message
109
+ * @example
110
+ * ```ts
111
+ * const result = validateOpenseaOfferDecimals('0.12345');
112
+ * // Returns { isValid: false, errorMessage: "Offer amount must be at least 0.0001" }
113
+ * ```
114
+ */
115
+ declare const validateOpenseaOfferDecimals: (value: string) => {
116
+ isValid: boolean;
117
+ errorMessage?: string;
118
+ };
103
119
  //#endregion
104
- export { calculateEarningsAfterFees, calculatePriceDifferencePercentage, cn$1 as cn, compareAddress, formatPrice, formatPriceWithFee, getMarketplaceDetails, getNetwork, getPresentableChainName, networkToWagmiChain, truncateEnd, truncateMiddle };
105
- //# sourceMappingURL=index-D-UXGo5d.d.ts.map
120
+ export { calculateEarningsAfterFees as calculateEarningsAfterFees$1, calculatePriceDifferencePercentage as calculatePriceDifferencePercentage$1, calculateTotalOfferCost as calculateTotalOfferCost$1, cn$1, compareAddress as compareAddress$1, formatPrice as formatPrice$3, formatPriceWithFee as formatPriceWithFee$1, getMarketplaceDetails as getMarketplaceDetails$1, getNetwork, getPresentableChainName, networkToWagmiChain, truncateEnd as truncateEnd$1, truncateMiddle as truncateMiddle$1, validateOpenseaOfferDecimals as validateOpenseaOfferDecimals$1 };
121
+ //# sourceMappingURL=index-Dsf9FRtr.d.ts.map
@@ -1,7 +1,7 @@
1
- import { Optional, PropertyFilter as PropertyFilter$1, PropertyType } from "./create-config-DV_dtaLt.js";
2
- import { FiltersQueryOptions } from "./filters-zkMJaPey.js";
3
- import * as _tanstack_react_query308 from "@tanstack/react-query";
4
- import { PropertyFilter } from "@0xsequence/metadata";
1
+ import { Optional, PriceFilter, PropertyFilter, PropertyType } from "./create-config-CFBeD8CB.js";
2
+ import { FiltersQueryOptions } from "./filters-B5niI_fX.js";
3
+ import * as _tanstack_react_query386 from "@tanstack/react-query";
4
+ import { PropertyFilter as PropertyFilter$1 } from "@0xsequence/metadata";
5
5
  import * as nuqs0 from "nuqs";
6
6
 
7
7
  //#region src/react/hooks/ui/useFilterState.d.ts
@@ -18,17 +18,21 @@ type FilterValues = StringFilterValues | IntFilterValues;
18
18
  declare function useFilterState(): {
19
19
  serialize: {
20
20
  (values: Partial<{
21
- filters: PropertyFilter$1[] | null;
21
+ filters: PropertyFilter[] | null;
22
22
  search: string | null;
23
23
  listedOnly: boolean | null;
24
+ priceFilter: boolean | null;
25
+ priceFilters: PriceFilter[] | null;
24
26
  }>): string;
25
27
  (base: string | URLSearchParams | URL, values: Partial<{
26
- filters: PropertyFilter$1[] | null;
28
+ filters: PropertyFilter[] | null;
27
29
  search: string | null;
28
30
  listedOnly: boolean | null;
31
+ priceFilter: boolean | null;
32
+ priceFilters: PriceFilter[] | null;
29
33
  }> | null): string;
30
34
  };
31
- getFilter: (name: string) => PropertyFilter$1 | undefined;
35
+ getFilter: (name: string) => PropertyFilter | undefined;
32
36
  getFilterValues: (name: string) => FilterValues | undefined;
33
37
  isFilterActive: (name: string) => boolean;
34
38
  isStringValueSelected: (name: string, value: string) => boolean;
@@ -37,13 +41,20 @@ declare function useFilterState(): {
37
41
  deleteFilter: (name: string) => void;
38
42
  toggleStringFilterValue: (name: string, value: string) => void;
39
43
  setIntFilterValue: (name: string, min: number, max: number) => void;
44
+ setPriceFilter: (contractAddress: string, min?: string, max?: string) => void;
45
+ getPriceFilter: (contractAddress: string) => PriceFilter | undefined;
46
+ clearPriceFilters: () => void;
40
47
  clearAllFilters: () => void;
41
- filterOptions: PropertyFilter$1[];
48
+ filterOptions: PropertyFilter[];
42
49
  searchText: string;
43
50
  showListedOnly: boolean;
44
- setFilterOptions: (value: PropertyFilter$1[] | ((old: PropertyFilter$1[]) => PropertyFilter$1[] | null) | null, options?: nuqs0.Options) => Promise<URLSearchParams>;
51
+ showPriceFilter: boolean;
52
+ priceFilters: PriceFilter[];
53
+ setFilterOptions: (value: PropertyFilter[] | ((old: PropertyFilter[]) => PropertyFilter[] | null) | null, options?: nuqs0.Options) => Promise<URLSearchParams>;
45
54
  setSearchText: (value: string | ((old: string) => string | null) | null, options?: nuqs0.Options) => Promise<URLSearchParams>;
46
55
  setShowListedOnly: (value: boolean | ((old: boolean) => boolean | null) | null, options?: nuqs0.Options) => Promise<URLSearchParams>;
56
+ setShowPriceFilter: (value: boolean | ((old: boolean) => boolean | null) | null, options?: nuqs0.Options) => Promise<URLSearchParams>;
57
+ setPriceFilters: (value: PriceFilter[] | ((old: PriceFilter[]) => PriceFilter[] | null) | null, options?: nuqs0.Options) => Promise<URLSearchParams>;
47
58
  };
48
59
  //#endregion
49
60
  //#region src/react/hooks/ui/useFilters.d.ts
@@ -107,7 +118,7 @@ type UseFiltersParams = Optional<FiltersQueryOptions, 'config'>;
107
118
  * })
108
119
  * ```
109
120
  */
110
- declare function useFilters(params: UseFiltersParams): _tanstack_react_query308.UseQueryResult<PropertyFilter[], Error>;
121
+ declare function useFilters(params: UseFiltersParams): _tanstack_react_query386.UseQueryResult<PropertyFilter$1[], Error>;
111
122
  /**
112
123
  * Hook to progressively load collection filters
113
124
  *
@@ -154,7 +165,7 @@ declare function useFilters(params: UseFiltersParams): _tanstack_react_query308.
154
165
  declare function useFiltersProgressive(params: UseFiltersParams): {
155
166
  isFetchingValues: boolean;
156
167
  isLoadingNames: boolean;
157
- data: PropertyFilter[];
168
+ data: PropertyFilter$1[];
158
169
  error: Error;
159
170
  isError: true;
160
171
  isPending: false;
@@ -177,13 +188,13 @@ declare function useFiltersProgressive(params: UseFiltersParams): {
177
188
  isRefetching: boolean;
178
189
  isStale: boolean;
179
190
  isEnabled: boolean;
180
- refetch: (options?: _tanstack_react_query308.RefetchOptions) => Promise<_tanstack_react_query308.QueryObserverResult<PropertyFilter[], Error>>;
181
- fetchStatus: _tanstack_react_query308.FetchStatus;
182
- promise: Promise<PropertyFilter[]>;
191
+ refetch: (options?: _tanstack_react_query386.RefetchOptions) => Promise<_tanstack_react_query386.QueryObserverResult<PropertyFilter$1[], Error>>;
192
+ fetchStatus: _tanstack_react_query386.FetchStatus;
193
+ promise: Promise<PropertyFilter$1[]>;
183
194
  } | {
184
195
  isFetchingValues: boolean;
185
196
  isLoadingNames: boolean;
186
- data: PropertyFilter[];
197
+ data: PropertyFilter$1[];
187
198
  error: null;
188
199
  isError: false;
189
200
  isPending: false;
@@ -206,9 +217,9 @@ declare function useFiltersProgressive(params: UseFiltersParams): {
206
217
  isRefetching: boolean;
207
218
  isStale: boolean;
208
219
  isEnabled: boolean;
209
- refetch: (options?: _tanstack_react_query308.RefetchOptions) => Promise<_tanstack_react_query308.QueryObserverResult<PropertyFilter[], Error>>;
210
- fetchStatus: _tanstack_react_query308.FetchStatus;
211
- promise: Promise<PropertyFilter[]>;
220
+ refetch: (options?: _tanstack_react_query386.RefetchOptions) => Promise<_tanstack_react_query386.QueryObserverResult<PropertyFilter$1[], Error>>;
221
+ fetchStatus: _tanstack_react_query386.FetchStatus;
222
+ promise: Promise<PropertyFilter$1[]>;
212
223
  } | {
213
224
  isFetchingValues: boolean;
214
225
  isLoadingNames: boolean;
@@ -235,9 +246,9 @@ declare function useFiltersProgressive(params: UseFiltersParams): {
235
246
  isRefetching: boolean;
236
247
  isStale: boolean;
237
248
  isEnabled: boolean;
238
- refetch: (options?: _tanstack_react_query308.RefetchOptions) => Promise<_tanstack_react_query308.QueryObserverResult<PropertyFilter[], Error>>;
239
- fetchStatus: _tanstack_react_query308.FetchStatus;
240
- promise: Promise<PropertyFilter[]>;
249
+ refetch: (options?: _tanstack_react_query386.RefetchOptions) => Promise<_tanstack_react_query386.QueryObserverResult<PropertyFilter$1[], Error>>;
250
+ fetchStatus: _tanstack_react_query386.FetchStatus;
251
+ promise: Promise<PropertyFilter$1[]>;
241
252
  } | {
242
253
  isFetchingValues: boolean;
243
254
  isLoadingNames: boolean;
@@ -264,9 +275,9 @@ declare function useFiltersProgressive(params: UseFiltersParams): {
264
275
  isRefetching: boolean;
265
276
  isStale: boolean;
266
277
  isEnabled: boolean;
267
- refetch: (options?: _tanstack_react_query308.RefetchOptions) => Promise<_tanstack_react_query308.QueryObserverResult<PropertyFilter[], Error>>;
268
- fetchStatus: _tanstack_react_query308.FetchStatus;
269
- promise: Promise<PropertyFilter[]>;
278
+ refetch: (options?: _tanstack_react_query386.RefetchOptions) => Promise<_tanstack_react_query386.QueryObserverResult<PropertyFilter$1[], Error>>;
279
+ fetchStatus: _tanstack_react_query386.FetchStatus;
280
+ promise: Promise<PropertyFilter$1[]>;
270
281
  } | {
271
282
  isFetchingValues: boolean;
272
283
  isLoadingNames: boolean;
@@ -293,13 +304,13 @@ declare function useFiltersProgressive(params: UseFiltersParams): {
293
304
  isRefetching: boolean;
294
305
  isStale: boolean;
295
306
  isEnabled: boolean;
296
- refetch: (options?: _tanstack_react_query308.RefetchOptions) => Promise<_tanstack_react_query308.QueryObserverResult<PropertyFilter[], Error>>;
297
- fetchStatus: _tanstack_react_query308.FetchStatus;
298
- promise: Promise<PropertyFilter[]>;
307
+ refetch: (options?: _tanstack_react_query386.RefetchOptions) => Promise<_tanstack_react_query386.QueryObserverResult<PropertyFilter$1[], Error>>;
308
+ fetchStatus: _tanstack_react_query386.FetchStatus;
309
+ promise: Promise<PropertyFilter$1[]>;
299
310
  } | {
300
311
  isFetchingValues: boolean;
301
312
  isLoadingNames: boolean;
302
- data: PropertyFilter[];
313
+ data: PropertyFilter$1[];
303
314
  isError: false;
304
315
  error: null;
305
316
  isPending: false;
@@ -322,9 +333,9 @@ declare function useFiltersProgressive(params: UseFiltersParams): {
322
333
  isRefetching: boolean;
323
334
  isStale: boolean;
324
335
  isEnabled: boolean;
325
- refetch: (options?: _tanstack_react_query308.RefetchOptions) => Promise<_tanstack_react_query308.QueryObserverResult<PropertyFilter[], Error>>;
326
- fetchStatus: _tanstack_react_query308.FetchStatus;
327
- promise: Promise<PropertyFilter[]>;
336
+ refetch: (options?: _tanstack_react_query386.RefetchOptions) => Promise<_tanstack_react_query386.QueryObserverResult<PropertyFilter$1[], Error>>;
337
+ fetchStatus: _tanstack_react_query386.FetchStatus;
338
+ promise: Promise<PropertyFilter$1[]>;
328
339
  };
329
340
  type UseFiltersArgs = {
330
341
  chainId: number;
@@ -335,12 +346,12 @@ type UseFiltersArgs = {
335
346
  enabled?: boolean;
336
347
  };
337
348
  };
338
- type UseFilterReturn = PropertyFilter[];
349
+ type UseFilterReturn = PropertyFilter$1[];
339
350
  //#endregion
340
351
  //#region src/react/hooks/ui/useOpenConnectModal.d.ts
341
352
  declare const useOpenConnectModal: () => {
342
353
  openConnectModal: () => void;
343
354
  };
344
355
  //#endregion
345
- export { UseFilterReturn, UseFiltersArgs, UseFiltersParams, useFilterState, useFilters, useFiltersProgressive, useOpenConnectModal };
346
- //# sourceMappingURL=index-DJG0kiII.d.ts.map
356
+ export { UseFilterReturn, UseFiltersArgs, UseFiltersParams, useFilterState as useFilterState$1, useFilters as useFilters$1, useFiltersProgressive as useFiltersProgressive$1, useOpenConnectModal as useOpenConnectModal$1 };
357
+ //# sourceMappingURL=index-DxAReMEO.d.ts.map