@0xsequence/marketplace-sdk 1.1.1 → 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 (327) hide show
  1. package/CHANGELOG.md +34 -3
  2. package/dist/{BellIcon-ByhygxBO.js → BellIcon-DMKEumAz.js} +2 -2
  3. package/dist/BellIcon-DMKEumAz.js.map +1 -0
  4. package/dist/{CartIcon-Bt3rQYGk.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.map +1 -1
  9. package/dist/{alien_swap-DoY6XfMA.js → alien_swap-Cq8LuElo.js} +1 -1
  10. package/dist/{alien_swap-DoY6XfMA.js.map → alien_swap-Cq8LuElo.js.map} +1 -1
  11. package/dist/{api-BoO0V5aJ.js → api-GwTR0dBA.js} +8 -49
  12. package/dist/api-GwTR0dBA.js.map +1 -0
  13. package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz-0yye_c-Z.js} +1 -1
  14. package/dist/{aqua-xyz-BBDxnG14.js.map → aqua-xyz-0yye_c-Z.js.map} +1 -1
  15. package/dist/{aura-DGx2zwvF.js → aura-TaxFvTFQ.js} +1 -1
  16. package/dist/{aura-DGx2zwvF.js.map → aura-TaxFvTFQ.js.map} +1 -1
  17. package/dist/{blur-D8GKrRrq.js → blur-BupOTobO.js} +1 -1
  18. package/dist/{blur-D8GKrRrq.js.map → blur-BupOTobO.js.map} +1 -1
  19. package/dist/{builder-api-BFuZNOaN.js → builder-api-m4JAA6ee.js} +3 -3
  20. package/dist/builder-api-m4JAA6ee.js.map +1 -0
  21. package/dist/{builder.gen-B9wR2nvF.js → builder.gen--XD71cNL.js} +2 -2
  22. package/dist/builder.gen--XD71cNL.js.map +1 -0
  23. package/dist/{coinbase-DOry4PXY.js → coinbase-DTgZ4wDT.js} +1 -1
  24. package/dist/{coinbase-DOry4PXY.js.map → coinbase-DTgZ4wDT.js.map} +1 -1
  25. package/dist/{collectibles-C_H8jMGH.js → collectibles-CZ6i8sXK.js} +15 -49
  26. package/dist/collectibles-CZ6i8sXK.js.map +1 -0
  27. package/dist/{collections-CKummc-R.js → collections-5NcU-7ZR.js} +92 -10
  28. package/dist/collections-5NcU-7ZR.js.map +1 -0
  29. package/dist/{components-CosnX7F9.js → components-CY8kx2kb.js} +13 -9
  30. package/dist/components-CY8kx2kb.js.map +1 -0
  31. package/dist/{contracts-BP_0vX48.js → contracts-DRJHF89h.js} +4 -3
  32. package/dist/{contracts-BP_0vX48.js.map → contracts-DRJHF89h.js.map} +1 -1
  33. package/dist/{create-config-CIfejoCk.js → create-config-BxyfYCEk.js} +6 -5
  34. package/dist/create-config-BxyfYCEk.js.map +1 -0
  35. package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config-CFBeD8CB.d.ts} +47 -60
  36. package/dist/{element-ciybd_VF.js → element-D4dDznlu.js} +1 -1
  37. package/dist/{element-ciybd_VF.js.map → element-D4dDznlu.js.map} +1 -1
  38. package/dist/{filters-V-V8Dn8f.d.ts → filters-B5niI_fX.d.ts} +7 -7
  39. package/dist/{foundation-Bq4lRz4x.js → foundation-GHZOKAzN.js} +1 -1
  40. package/dist/{foundation-Bq4lRz4x.js.map → foundation-GHZOKAzN.js.map} +1 -1
  41. package/dist/{index-BeRV-7AX.d.ts → index-8scPf0CS.d.ts} +2 -2
  42. package/dist/index-9qsplZ8r.d.ts +18 -0
  43. package/dist/{index-BZIJTQT0.d.ts → index-BIuYTMc2.d.ts} +10 -9
  44. package/dist/{index-C4MUKshG.d.ts → index-BNrz99xy.d.ts} +3 -3
  45. package/dist/{index-Bsx6XsC2.d.ts → index-BYQOPS8e.d.ts} +116 -62
  46. package/dist/{index-DUXfvhxs.d.ts → index-BkZ7SPLc.d.ts} +19 -29
  47. package/dist/{index-NlPMNcqh.d.ts → index-BnUku_aF.d.ts} +109 -114
  48. package/dist/{index-Stm5u0I0.d.ts → index-BtDAHMW_.d.ts} +9 -12
  49. package/dist/{index-BOiHR01C.d.ts → index-C-c_M_sE.d.ts} +10 -9
  50. package/dist/{index-DWt6yrIG.d.ts → index-CNIiC8Z_.d.ts} +11 -8
  51. package/dist/{index-DmudgrsN.d.ts → index-CbERNN3s.d.ts} +26 -16
  52. package/dist/{index-CxpFwGvR.d.ts → index-CsfxsN0t.d.ts} +4 -4
  53. package/dist/{index-CxA34wP1.d.ts → index-DASjaiJL.d.ts} +105 -19
  54. package/dist/{index-Bxzjy0d1.d.ts → index-DD7Vc4cE.d.ts} +2 -2
  55. package/dist/{index-DqXd1EeB.d.ts → index-DIc8OqWV.d.ts} +7 -6
  56. package/dist/{index-CnEbXm_t.d.ts → index-DVI_vggD.d.ts} +53 -12
  57. package/dist/{index-CPzvNmq9.d.ts → index-DqxQeYT2.d.ts} +39 -36
  58. package/dist/{index-CS65jqOq.d.ts → index-Dsf9FRtr.d.ts} +19 -3
  59. package/dist/{index-DFEnA6Wa.d.ts → index-DxAReMEO.d.ts} +34 -34
  60. package/dist/{index-U-zp70of.d.ts → index-UXRoZmd_.d.ts} +8 -12
  61. package/dist/{index-DwKr18CI.d.ts → index-isFvc5gd.d.ts} +2 -2
  62. package/dist/{index-BtWMBHeP.d.ts → index-j3nuJWyJ.d.ts} +13 -9
  63. package/dist/{index-C-745li7.d.ts → index-nVb7o0hc.d.ts} +2 -2
  64. package/dist/{index-D9LPlmbC.d.ts → index-pbE88Tt7.d.ts} +2 -2
  65. package/dist/index.d.ts +8 -8
  66. package/dist/index.js +9 -9
  67. package/dist/{inventory-Dd7TazvZ.js → inventory--t6Zu55O.js} +21 -18
  68. package/dist/inventory--t6Zu55O.js.map +1 -0
  69. package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated-BlE5mSzh.d.ts} +32 -32
  70. package/dist/{listCollections-BB9FxKj2.d.ts → listCollections-DWyqFSQ3.d.ts} +143 -66
  71. package/dist/{looks-rare-6H--x3AM.js → looks-rare-2HBhMpOf.js} +1 -1
  72. package/dist/{looks-rare-6H--x3AM.js.map → looks-rare-2HBhMpOf.js.map} +1 -1
  73. package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing-DsunDO1c.d.ts} +38 -28
  74. package/dist/{magic-eden-BoxEQ1Li.js → magic-eden-BYdTp-uk.js} +1 -1
  75. package/dist/{magic-eden-BoxEQ1Li.js.map → magic-eden-BYdTp-uk.js.map} +1 -1
  76. package/dist/{manifold-DycKsljb.js → manifold-yE0x6ZmO.js} +1 -1
  77. package/dist/{manifold-DycKsljb.js.map → manifold-yE0x6ZmO.js.map} +1 -1
  78. package/dist/{market-C3HV-awQ.js → market-DuBpFsDg.js} +27 -17
  79. package/dist/market-DuBpFsDg.js.map +1 -0
  80. package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies-BgwmbGFk.d.ts} +20 -9
  81. package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies-Bolonndy.js} +13 -7
  82. package/dist/marketCurrencies-Bolonndy.js.map +1 -0
  83. package/dist/marketplace-NQB-sEQL.js.map +1 -1
  84. package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos-Cz9RrtQo.js} +21 -21
  85. package/dist/marketplace-logos-Cz9RrtQo.js.map +1 -0
  86. package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen-906FrJQJ.js} +24 -5
  87. package/dist/marketplace.gen-906FrJQJ.js.map +1 -0
  88. package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig-Bqjo7NYO.js} +8 -4
  89. package/dist/marketplaceConfig-Bqjo7NYO.js.map +1 -0
  90. package/dist/{mintify-Dyqyo8jQ.js → mintify-BXQx3mZB.js} +1 -1
  91. package/dist/{mintify-Dyqyo8jQ.js.map → mintify-BXQx3mZB.js.map} +1 -1
  92. package/dist/{network-DtmiMhcg.js → network-DwdZ_5-7.js} +2 -2
  93. package/dist/network-DwdZ_5-7.js.map +1 -0
  94. package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain-Ct-hGq8M.js} +4 -3
  95. package/dist/networkconfigToWagmiChain-Ct-hGq8M.js.map +1 -0
  96. package/dist/{nftx-2LbFjj9Q.js → nftx-B929_3Ce.js} +1 -1
  97. package/dist/{nftx-2LbFjj9Q.js.map → nftx-B929_3Ce.js.map} +1 -1
  98. package/dist/{okx-CBEWJNsR.js → okx-sZ0-Udny.js} +1 -1
  99. package/dist/{okx-CBEWJNsR.js.map → okx-sZ0-Udny.js.map} +1 -1
  100. package/dist/{open-sea-Dxntz_PA.js → open-sea-DO9PhTrz.js} +1 -1
  101. package/dist/{open-sea-Dxntz_PA.js.map → open-sea-DO9PhTrz.js.map} +1 -1
  102. package/dist/{orders-DnFfZAXV.js → orders-DH76ym2e.js} +16 -9
  103. package/dist/orders-DH76ym2e.js.map +1 -0
  104. package/dist/primary-sale-1u4QlPdA.js.map +1 -1
  105. package/dist/{primary-sales-Dmsi6bqj.js → primary-sales-CECrqatg.js} +49 -7
  106. package/dist/primary-sales-CECrqatg.js.map +1 -0
  107. package/dist/{query-BWbCsXLY.d.ts → query-brXxOcH0.d.ts} +1 -1
  108. package/dist/{rarible-CS0SupHr.js → rarible-Ccb2hs7y.js} +1 -1
  109. package/dist/{rarible-CS0SupHr.js.map → rarible-Ccb2hs7y.js.map} +1 -1
  110. package/dist/react/_internal/api/index.d.ts +2 -2
  111. package/dist/react/_internal/api/index.js +6 -6
  112. package/dist/react/_internal/databeat/index.d.ts +1 -1
  113. package/dist/react/_internal/databeat/index.js +28 -29
  114. package/dist/react/_internal/index.d.ts +2 -2
  115. package/dist/react/_internal/index.js +8 -8
  116. package/dist/react/_internal/wagmi/index.d.ts +1 -1
  117. package/dist/react/_internal/wagmi/index.js +3 -3
  118. package/dist/react/hooks/config/index.d.ts +8 -8
  119. package/dist/react/hooks/config/index.js +28 -29
  120. package/dist/react/hooks/contracts/index.d.ts +6 -6
  121. package/dist/react/hooks/contracts/index.js +8 -8
  122. package/dist/react/hooks/data/collectibles/index.d.ts +10 -10
  123. package/dist/react/hooks/data/collectibles/index.js +28 -29
  124. package/dist/react/hooks/data/collections/index.d.ts +11 -11
  125. package/dist/react/hooks/data/collections/index.js +29 -30
  126. package/dist/react/hooks/data/index.d.ts +37 -37
  127. package/dist/react/hooks/data/index.js +29 -30
  128. package/dist/react/hooks/data/inventory/index.d.ts +36 -36
  129. package/dist/react/hooks/data/inventory/index.js +28 -29
  130. package/dist/react/hooks/data/market/index.d.ts +11 -11
  131. package/dist/react/hooks/data/market/index.js +28 -29
  132. package/dist/react/hooks/data/orders/index.d.ts +10 -10
  133. package/dist/react/hooks/data/orders/index.js +28 -29
  134. package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
  135. package/dist/react/hooks/data/primary-sales/index.js +29 -30
  136. package/dist/react/hooks/data/tokens/index.d.ts +4 -4
  137. package/dist/react/hooks/data/tokens/index.js +28 -29
  138. package/dist/react/hooks/index.d.ts +37 -37
  139. package/dist/react/hooks/index.js +29 -30
  140. package/dist/react/hooks/transactions/index.d.ts +2 -2
  141. package/dist/react/hooks/transactions/index.js +28 -29
  142. package/dist/react/hooks/ui/index.d.ts +4 -4
  143. package/dist/react/hooks/ui/index.js +28 -29
  144. package/dist/react/hooks/utils/index.d.ts +36 -36
  145. package/dist/react/hooks/utils/index.js +28 -29
  146. package/dist/react/index.d.ts +37 -37
  147. package/dist/react/index.js +29 -30
  148. package/dist/react/queries/collectibles/index.d.ts +10 -10
  149. package/dist/react/queries/collectibles/index.js +12 -13
  150. package/dist/react/queries/collections/index.d.ts +11 -11
  151. package/dist/react/queries/collections/index.js +11 -11
  152. package/dist/react/queries/index.d.ts +24 -24
  153. package/dist/react/queries/index.js +22 -23
  154. package/dist/react/queries/inventory/index.d.ts +2 -2
  155. package/dist/react/queries/inventory/index.js +12 -12
  156. package/dist/react/queries/market/index.d.ts +5 -5
  157. package/dist/react/queries/market/index.js +12 -12
  158. package/dist/react/queries/orders/index.d.ts +10 -10
  159. package/dist/react/queries/orders/index.js +8 -8
  160. package/dist/react/queries/primary-sales/index.d.ts +4 -4
  161. package/dist/react/queries/primary-sales/index.js +9 -9
  162. package/dist/react/queries/tokens/index.d.ts +4 -4
  163. package/dist/react/queries/tokens/index.js +8 -9
  164. package/dist/react/queries/utils/index.d.ts +3 -3
  165. package/dist/react/queries/utils/index.js +12 -12
  166. package/dist/react/ssr/index.d.ts +7 -7
  167. package/dist/react/ssr/index.js +8 -8
  168. package/dist/react/ssr/index.js.map +1 -1
  169. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
  170. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +12 -12
  171. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
  172. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +28 -29
  173. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
  174. package/dist/react/ui/components/marketplace-collectible-card/index.js +28 -29
  175. package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
  176. package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +8 -8
  177. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  178. package/dist/react/ui/components/marketplace-logos/index.js +1 -1
  179. package/dist/react/ui/icons/index.js +8 -8
  180. package/dist/react/ui/index.d.ts +4 -4
  181. package/dist/react/ui/index.js +28 -29
  182. package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
  183. package/dist/react/ui/modals/_internal/components/actionModal/index.js +28 -29
  184. package/dist/react/utils/index.d.ts +1 -1
  185. package/dist/react/utils/index.js +6 -6
  186. package/dist/{react-DE852KeT.js → react-CBsgOdVP.js} +608 -735
  187. package/dist/react-CBsgOdVP.js.map +1 -0
  188. package/dist/{sequence-paCCener.js → sequence-CRdb1yEs.js} +1 -1
  189. package/dist/{sequence-paCCener.js.map → sequence-CRdb1yEs.js.map} +1 -1
  190. package/dist/styles/index.css +1 -1
  191. package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap-BIklG2gq.js} +1 -1
  192. package/dist/{sudo-swap-9rH2EgfT.js.map → sudo-swap-BIklG2gq.js.map} +1 -1
  193. package/dist/{super-rare-DHIuWtRw.js → super-rare-h8645_5E.js} +1 -1
  194. package/dist/{super-rare-DHIuWtRw.js.map → super-rare-h8645_5E.js.map} +1 -1
  195. package/dist/token-Cv7l2ZaL.js.map +1 -1
  196. package/dist/{tokenBalances-ibDerNmM.js → tokenBalances-CouzNX4j.js} +6 -12
  197. package/dist/tokenBalances-CouzNX4j.js.map +1 -0
  198. package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies-C3zJll0M.d.ts} +32 -39
  199. package/dist/{tokens-cGxMadd8.js → tokens-BvIRUCGG.js} +58 -27
  200. package/dist/tokens-BvIRUCGG.js.map +1 -0
  201. package/dist/transaction-DZUW5RHu.js.map +1 -1
  202. package/dist/types/index.d.ts +1 -1
  203. package/dist/types/index.js +2 -2
  204. package/dist/types-B_-cnkcP.js.map +1 -1
  205. package/dist/{types-D2TJ1dwv.d.ts → types-CMDwfhfR.d.ts} +5 -5
  206. package/dist/utils/abi/index.d.ts +4 -4
  207. package/dist/utils/abi/marketplace/index.d.ts +1 -1
  208. package/dist/utils/abi/primary-sale/index.d.ts +1 -1
  209. package/dist/utils/abi/token/index.d.ts +1 -1
  210. package/dist/utils/index.d.ts +7 -7
  211. package/dist/utils/index.js +7 -7
  212. package/dist/{utils-BfpDVibN.js → utils-9ToOvt-c.js} +50 -7
  213. package/dist/utils-9ToOvt-c.js.map +1 -0
  214. package/dist/{utils-BqxcalL2.js → utils-B6di6O-C.js} +2 -2
  215. package/dist/utils-B6di6O-C.js.map +1 -0
  216. package/dist/{utils-BCgNhBFR.js → utils-BCYTEOvy.js} +17 -7
  217. package/dist/utils-BCYTEOvy.js.map +1 -0
  218. package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt-CbSeUSXe.js} +5 -4
  219. package/dist/{waitForTransactionReceipt-DieAnV52.js.map → waitForTransactionReceipt-CbSeUSXe.js.map} +1 -1
  220. package/dist/{x2y2-45WDooeh.js → x2y2-OvF__ugj.js} +1 -1
  221. package/dist/{x2y2-45WDooeh.js.map → x2y2-OvF__ugj.js.map} +1 -1
  222. package/dist/{zora-CbeBoLvQ.js → zora-DzCeu-eE.js} +1 -1
  223. package/dist/{zora-CbeBoLvQ.js.map → zora-DzCeu-eE.js.map} +1 -1
  224. package/package.json +38 -38
  225. package/src/react/_internal/api/__mocks__/marketplace.msw.ts +13 -0
  226. package/src/react/_internal/api/index.ts +0 -1
  227. package/src/react/_internal/api/marketplace.gen.ts +70 -26
  228. package/src/react/_internal/api/query-keys.ts +9 -0
  229. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +0 -9
  230. package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -16
  231. package/src/react/hooks/data/collectibles/useTokenBalances.tsx +0 -9
  232. package/src/react/hooks/data/collections/index.ts +2 -0
  233. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
  234. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
  235. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
  236. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
  237. package/src/react/hooks/data/inventory/useInventory.tsx +1 -10
  238. package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
  239. package/src/react/hooks/data/primary-sales/index.ts +1 -0
  240. package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
  241. package/src/react/hooks/data/tokens/useListBalances.tsx +1 -10
  242. package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -13
  243. package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +2 -0
  244. package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
  245. package/src/react/hooks/transactions/useProcessStep.ts +8 -6
  246. package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
  247. package/src/react/providers/modal-provider.tsx +2 -1
  248. package/src/react/queries/collectibles/balanceOfCollectible.ts +1 -15
  249. package/src/react/queries/collectibles/listCollectibles.ts +1 -54
  250. package/src/react/queries/collectibles/tokenBalances.ts +1 -15
  251. package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
  252. package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
  253. package/src/react/queries/collections/index.ts +2 -0
  254. package/src/react/queries/inventory/inventory.ts +2 -9
  255. package/src/react/queries/market/marketCurrencies.ts +8 -1
  256. package/src/react/queries/primary-sales/index.ts +1 -0
  257. package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
  258. package/src/react/queries/tokens/listBalances.ts +1 -21
  259. package/src/react/queries/tokens/tokenSupplies.ts +2 -31
  260. package/src/react/queries/utils/comparePrices.ts +13 -1
  261. package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
  262. package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
  263. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +2 -2
  264. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +0 -2
  265. package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
  266. package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
  267. package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +0 -23
  268. package/src/react/ui/modals/MakeOfferModal/Modal.tsx +22 -2
  269. package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +2 -0
  270. package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -0
  271. package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -0
  272. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +15 -12
  273. package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
  274. package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
  275. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +148 -11
  276. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
  277. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
  278. package/src/styles/styles.ts +1 -1
  279. package/src/utils/networkconfigToWagmiChain.ts +7 -0
  280. package/src/utils/price.ts +58 -0
  281. package/test/const.ts +2 -0
  282. package/test/server-setup.ts +0 -2
  283. package/.changeset/honest-peas-arrive.md +0 -5
  284. package/.changeset/real-tips-stick.md +0 -8
  285. package/.changeset/tall-pandas-wear.md +0 -8
  286. package/dist/BellIcon-ByhygxBO.js.map +0 -1
  287. package/dist/CartIcon-Bt3rQYGk.js.map +0 -1
  288. package/dist/CollectibleCard-CVpdgXA8.d.ts +0 -8
  289. package/dist/api-BoO0V5aJ.js.map +0 -1
  290. package/dist/builder-api-BFuZNOaN.js.map +0 -1
  291. package/dist/builder.gen-B9wR2nvF.js.map +0 -1
  292. package/dist/collectibles-C_H8jMGH.js.map +0 -1
  293. package/dist/collections-CKummc-R.js.map +0 -1
  294. package/dist/components-CosnX7F9.js.map +0 -1
  295. package/dist/create-config-CIfejoCk.js.map +0 -1
  296. package/dist/index-DNNUeZEq.d.ts +0 -18
  297. package/dist/inventory-Dd7TazvZ.js.map +0 -1
  298. package/dist/listBalances-BxpxBCvn.js +0 -57
  299. package/dist/listBalances-BxpxBCvn.js.map +0 -1
  300. package/dist/market-C3HV-awQ.js.map +0 -1
  301. package/dist/marketCurrencies-sKrTX0og.js.map +0 -1
  302. package/dist/marketplace-logos-D4dS1Foy.js.map +0 -1
  303. package/dist/marketplace.gen-ksUafDqS.js.map +0 -1
  304. package/dist/marketplaceConfig-UHQMM9fq.js.map +0 -1
  305. package/dist/network-DtmiMhcg.js.map +0 -1
  306. package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
  307. package/dist/orders-DnFfZAXV.js.map +0 -1
  308. package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
  309. package/dist/react-DE852KeT.js.map +0 -1
  310. package/dist/tokenBalances-ibDerNmM.js.map +0 -1
  311. package/dist/tokens-cGxMadd8.js.map +0 -1
  312. package/dist/utils-BCgNhBFR.js.map +0 -1
  313. package/dist/utils-BfpDVibN.js.map +0 -1
  314. package/dist/utils-BqxcalL2.js.map +0 -1
  315. package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
  316. package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
  317. package/src/react/_internal/api/laos-api.ts +0 -106
  318. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
  319. package/src/react/queries/collectibles/__tests__/balanceOfCollectible.laos.test.ts +0 -123
  320. package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +0 -123
  321. package/src/react/queries/inventory/__tests__/inventory.laos.test.ts +0 -499
  322. package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +0 -481
  323. /package/dist/{index-6wsMChsg.d.ts → index-CCggO_hw.d.ts} +0 -0
  324. /package/dist/{index-CZUtOTjh.d.ts → index-CKefEBrI.d.ts} +0 -0
  325. /package/dist/{index-DW3njUfb.d.ts → index-DgsCqh_P.d.ts} +0 -0
  326. /package/dist/{index-DewGsFz5.d.ts → index-xpO4AQyS.d.ts} +0 -0
  327. /package/dist/{queries-KOcILNJO.js → queries-CyajGg_O.js} +0 -0
@@ -8,7 +8,6 @@ import {
8
8
  type AdditionalFee,
9
9
  getMarketplaceClient,
10
10
  getQueryClient,
11
- getSequenceApiClient,
12
11
  type MarketplaceKind,
13
12
  type Step,
14
13
  StepType,
@@ -100,23 +99,6 @@ export const getBuyCollectableParams = async ({
100
99
  ? ['custom']
101
100
  : checkoutOptions.nftCheckout || [];
102
101
 
103
- const isTransakSupported = creditCardProviders.includes('transak');
104
-
105
- let transakContractId: string | undefined;
106
-
107
- if (isTransakSupported) {
108
- const sequenceApiClient = getSequenceApiClient(config);
109
- const transakContractIdResponse =
110
- await sequenceApiClient.checkoutOptionsGetTransakContractID({
111
- chainId,
112
- contractAddress: buyStep.to,
113
- });
114
-
115
- if (transakContractIdResponse.contractId !== '') {
116
- transakContractId = transakContractIdResponse.contractId;
117
- }
118
- }
119
-
120
102
  return {
121
103
  chain: chainId,
122
104
  collectibles: [
@@ -161,11 +143,6 @@ export const getBuyCollectableParams = async ({
161
143
  buyModalStore.send({ type: 'close' });
162
144
  },
163
145
  }),
164
- ...(transakContractId && {
165
- transakConfig: {
166
- contractId: transakContractId,
167
- },
168
- }),
169
146
  onRampProvider,
170
147
  successActionButtons: callbacks?.successActionButtons,
171
148
  } satisfies SelectPaymentSettings;
@@ -16,6 +16,7 @@ import {
16
16
  useMarketplaceConfig,
17
17
  } from '../../../hooks';
18
18
  import { useConnectorMetadata } from '../../../hooks/config/useConnectorMetadata';
19
+ import { useRoyalty } from '../../../hooks/utils/useRoyalty';
19
20
  import { ErrorLogBox } from '../../components/_internals/ErrorLogBox';
20
21
  import { ActionModal } from '../_internal/components/actionModal/ActionModal';
21
22
  import { ErrorModal } from '../_internal/components/actionModal/ErrorModal';
@@ -100,10 +101,21 @@ const Modal = observer(() => {
100
101
  isError: currenciesIsError,
101
102
  } = useMarketCurrencies({
102
103
  chainId,
104
+ collectionAddress,
103
105
  includeNativeCurrency: false,
104
106
  });
107
+
108
+ const { data: royalty, isLoading: royaltyLoading } = useRoyalty({
109
+ chainId,
110
+ collectionAddress,
111
+ collectibleId,
112
+ });
113
+
105
114
  const modalLoading =
106
- collectableIsLoading || collectionIsLoading || currenciesLoading;
115
+ collectableIsLoading ||
116
+ collectionIsLoading ||
117
+ currenciesLoading ||
118
+ royaltyLoading;
107
119
 
108
120
  const {
109
121
  isLoading,
@@ -159,7 +171,12 @@ const Modal = observer(() => {
159
171
  );
160
172
  }
161
173
 
162
- if (!modalLoading && (!currencies || currencies.length === 0)) {
174
+ const shouldShowNoERC20Error =
175
+ !currenciesLoading &&
176
+ !currenciesIsError &&
177
+ (!currencies || currencies.length === 0);
178
+
179
+ if (shouldShowNoERC20Error) {
163
180
  return (
164
181
  <ErrorModal
165
182
  isOpen={makeOfferModal$.isOpen.get()}
@@ -280,6 +297,9 @@ const Modal = observer(() => {
280
297
  orderbookKind={orderbookKind}
281
298
  modalType="offer"
282
299
  disabled={shouldHideOfferButton}
300
+ feeData={{
301
+ royaltyPercentage: royalty ? Number(royalty.percentage) : 0,
302
+ }}
283
303
  />
284
304
 
285
305
  {collection?.type === ContractType.ERC1155 && (
@@ -31,6 +31,8 @@ const mockCurrency = {
31
31
  nativeCurrency: false,
32
32
  createdAt: new Date().toISOString(),
33
33
  updatedAt: new Date().toISOString(),
34
+ openseaListing: true,
35
+ openseaOffer: true,
34
36
  };
35
37
 
36
38
  describe('MakeOfferModal', () => {
@@ -6,6 +6,7 @@ import {
6
6
  type CreateReq,
7
7
  type GenerateOfferTransactionArgs,
8
8
  getMarketplaceClient,
9
+ OfferType,
9
10
  type OrderbookKind,
10
11
  type QueryArg,
11
12
  StepType,
@@ -55,6 +56,7 @@ export const useGetTokenApprovalData = (
55
56
  orderbook: params.orderbook,
56
57
  offer,
57
58
  additionalFees: [],
59
+ offerType: OfferType.item,
58
60
  } satisfies GenerateOfferTransactionArgs;
59
61
  const steps = await marketplaceClient
60
62
  .generateOfferTransaction(args)
@@ -6,6 +6,7 @@ import { getSequenceMarketplaceRequestId } from '../../../../../utils/getSequenc
6
6
  import {
7
7
  balanceQueries,
8
8
  collectableKeys,
9
+ OfferType,
9
10
  StepType,
10
11
  type TransactionSteps,
11
12
  } from '../../../../_internal';
@@ -78,6 +79,7 @@ export const useTransactionSteps = ({
78
79
  expiry: new Date(Number(offerInput.offer.expiry) * 1000),
79
80
  },
80
81
  additionalFees: [],
82
+ offerType: OfferType.item,
81
83
  });
82
84
 
83
85
  return steps;
@@ -3,14 +3,12 @@
3
3
  import { Skeleton } from '@0xsequence/design-system';
4
4
  import { useEffect } from 'react';
5
5
  import type { Address } from 'viem';
6
- import { compareAddress } from '../../../../../../utils';
7
6
  import { type Currency, OrderbookKind } from '../../../../../_internal';
8
7
  import { useMarketCurrencies } from '../../../../../hooks/data/market/useMarketCurrencies';
9
8
  import {
10
9
  CustomSelect,
11
10
  type SelectItem,
12
11
  } from '../../../../components/_internals/custom-select/CustomSelect';
13
- import { getOpenseaCurrencyForChain } from '../../constants/opensea-currencies';
14
12
 
15
13
  type CurrencyOptionsSelectProps = {
16
14
  collectionAddress: Address;
@@ -42,17 +40,18 @@ function CurrencyOptionsSelect({
42
40
 
43
41
  // Filter currencies for OpenSea
44
42
  let filteredCurrencies = currencies;
43
+
45
44
  if (currencies && orderbookKind === OrderbookKind.opensea && modalType) {
46
- const openseaCurrency = getOpenseaCurrencyForChain(chainId, modalType);
47
- if (openseaCurrency) {
48
- // Filter to only show the OpenSea-supported currency
49
- filteredCurrencies = currencies.filter((currency) =>
50
- compareAddress(
51
- currency.contractAddress,
52
- openseaCurrency.address as Address,
53
- ),
54
- );
55
- }
45
+ // Filter currencies based on OpenSea support flags from API
46
+ filteredCurrencies = currencies.filter((currency) => {
47
+ if (modalType === 'listing') {
48
+ return currency.openseaListing;
49
+ }
50
+ if (modalType === 'offer') {
51
+ return currency.openseaOffer;
52
+ }
53
+ return false;
54
+ });
56
55
  }
57
56
 
58
57
  // set default currency
@@ -99,6 +98,9 @@ function CurrencyOptionsSelect({
99
98
  }
100
99
  };
101
100
 
101
+ // Disable dropdown for OpenSea since there's typically only one currency
102
+ const isDropdownDisabled = orderbookKind === OrderbookKind.opensea;
103
+
102
104
  return (
103
105
  <CustomSelect
104
106
  items={options}
@@ -107,6 +109,7 @@ function CurrencyOptionsSelect({
107
109
  value: selectedCurrency.contractAddress,
108
110
  content: selectedCurrency.symbol,
109
111
  }}
112
+ disabled={isDropdownDisabled}
110
113
  testId="currency-select"
111
114
  />
112
115
  );
@@ -19,6 +19,8 @@ describe('FloorPriceText', () => {
19
19
  nativeCurrency: true,
20
20
  createdAt: '',
21
21
  updatedAt: '',
22
+ openseaListing: true,
23
+ openseaOffer: true,
22
24
  };
23
25
 
24
26
  const mockProps = {
@@ -68,7 +68,7 @@ export default function FloorPriceText({
68
68
  }
69
69
 
70
70
  return (
71
- <div className="flex w-full items-center justify-between gap-2">
71
+ <div className="flex w-full flex-wrap items-center justify-between gap-2">
72
72
  <Text className="text-left font-body font-medium text-muted text-xs">
73
73
  {floorPriceDifferenceText}
74
74
  </Text>
@@ -1,15 +1,21 @@
1
1
  'use client';
2
2
 
3
- import { NumericInput, Text } from '@0xsequence/design-system';
3
+ import {
4
+ InfoIcon,
5
+ NumericInput,
6
+ Text,
7
+ Tooltip,
8
+ } from '@0xsequence/design-system';
4
9
  import { useEffect, useRef, useState } from 'react';
5
- import { type Address, parseUnits } from 'viem';
10
+ import { type Address, formatUnits, parseUnits } from 'viem';
6
11
  import { useAccount } from 'wagmi';
7
12
  import {
8
13
  type Currency,
9
14
  OrderbookKind,
10
15
  type Price,
11
16
  } from '../../../../../../types';
12
- import { cn } from '../../../../../../utils';
17
+ import { calculateTotalOfferCost, cn } from '../../../../../../utils';
18
+ import { validateOpenseaOfferDecimals } from '../../../../../../utils/price';
13
19
  import { useConvertPriceToUSD } from '../../../../../hooks';
14
20
  import { useCurrencyBalance } from '../../../../../hooks/data/tokens/useCurrencyBalance';
15
21
  import CurrencyImage from '../currencyImage';
@@ -31,6 +37,10 @@ type PriceInputProps = {
31
37
  orderbookKind?: OrderbookKind;
32
38
  setOpenseaLowestPriceCriteriaMet?: (state: boolean) => void;
33
39
  modalType?: 'listing' | 'offer';
40
+ // Fee data for enhanced balance checking in offers
41
+ feeData?: {
42
+ royaltyPercentage?: number;
43
+ };
34
44
  };
35
45
 
36
46
  export default function PriceInput({
@@ -46,6 +56,7 @@ export default function PriceInput({
46
56
  orderbookKind,
47
57
  setOpenseaLowestPriceCriteriaMet,
48
58
  modalType,
59
+ feeData,
49
60
  }: PriceInputProps) {
50
61
  const { address: accountAddress } = useAccount();
51
62
  const inputRef = useRef<HTMLInputElement>(null);
@@ -85,13 +96,69 @@ export default function PriceInput({
85
96
  chainId,
86
97
  userAddress: accountAddress,
87
98
  });
99
+ const getTotalRequiredBalance = () => {
100
+ if (!priceAmountRaw || !currencyDecimals) return BigInt(0);
101
+
102
+ const offerAmountRaw = BigInt(priceAmountRaw);
103
+
104
+ // For offers, include fees in balance calculation
105
+ if (modalType === 'offer' && feeData) {
106
+ return calculateTotalOfferCost(
107
+ offerAmountRaw,
108
+ currencyDecimals,
109
+ feeData.royaltyPercentage || 0,
110
+ );
111
+ }
112
+
113
+ return offerAmountRaw;
114
+ };
88
115
 
89
116
  const balanceError =
90
117
  !!checkBalance?.enabled &&
91
118
  !!isBalanceSuccess &&
92
119
  !!priceAmountRaw &&
93
120
  !!currencyDecimals &&
94
- BigInt(priceAmountRaw) > BigInt(balance?.value || 0n);
121
+ getTotalRequiredBalance() > BigInt(balance?.value || 0n);
122
+
123
+ const hasEnoughForBaseOffer =
124
+ !!isBalanceSuccess &&
125
+ !!priceAmountRaw &&
126
+ BigInt(priceAmountRaw) <= BigInt(balance?.value || 0n);
127
+
128
+ const getRoyaltyFeeAmount = () => {
129
+ if (!priceAmountRaw || !currencyDecimals || !feeData?.royaltyPercentage) {
130
+ return null;
131
+ }
132
+
133
+ const offerAmount = BigInt(priceAmountRaw);
134
+ const royaltyFeeAmount =
135
+ (offerAmount * BigInt(Math.round(feeData.royaltyPercentage * 100))) /
136
+ BigInt(10000);
137
+
138
+ return formatUnits(royaltyFeeAmount, currencyDecimals);
139
+ };
140
+
141
+ const royaltyFeeFormatted = getRoyaltyFeeAmount();
142
+
143
+ const RoyaltyFeeTooltip = ({ children }: { children: React.ReactNode }) => (
144
+ <Tooltip
145
+ message={
146
+ <div className="flex flex-col gap-1">
147
+ <Text className="font-body font-medium text-xs">
148
+ A royalty fee is a percentage of each resale
149
+ </Text>
150
+ <Text className="font-body font-medium text-xs">
151
+ price that automatically compensates the original
152
+ </Text>
153
+ <Text className="font-body font-medium text-xs">
154
+ creator every time their collectible changes hands.
155
+ </Text>
156
+ </div>
157
+ }
158
+ >
159
+ {children}
160
+ </Tooltip>
161
+ );
95
162
 
96
163
  const openseaLowestPriceCriteriaMet =
97
164
  orderbookKind === OrderbookKind.opensea &&
@@ -108,6 +175,9 @@ export default function PriceInput({
108
175
 
109
176
  const [value, setValue] = useState('0');
110
177
  const prevCurrencyDecimals = useRef(currencyDecimals);
178
+ const [openseaDecimalError, setOpenseaDecimalError] = useState<string | null>(
179
+ null,
180
+ );
111
181
 
112
182
  // Handle currency changes and adjust the raw amount accordingly
113
183
  useEffect(() => {
@@ -139,6 +209,24 @@ export default function PriceInput({
139
209
 
140
210
  if (!price || !onPriceChange) return;
141
211
 
212
+ // Validate OpenSea decimal constraints for offers
213
+ if (orderbookKind === OrderbookKind.opensea && modalType === 'offer') {
214
+ const validation = validateOpenseaOfferDecimals(newValue);
215
+ if (!validation.isValid) {
216
+ setOpenseaDecimalError(validation.errorMessage || null);
217
+ try {
218
+ const parsedAmount = parseUnits(newValue, Number(currencyDecimals));
219
+ const updatedPrice = { ...price, amountRaw: parsedAmount.toString() };
220
+ onPriceChange(updatedPrice);
221
+ } catch {
222
+ const updatedPrice = { ...price, amountRaw: '0' };
223
+ onPriceChange(updatedPrice);
224
+ }
225
+ return;
226
+ }
227
+ setOpenseaDecimalError(null);
228
+ }
229
+
142
230
  try {
143
231
  const parsedAmount = parseUnits(newValue, Number(currencyDecimals));
144
232
  const updatedPrice = { ...price, amountRaw: parsedAmount.toString() };
@@ -187,20 +275,60 @@ export default function PriceInput({
187
275
  </div>
188
276
 
189
277
  {balanceError && (
190
- <Text
191
- className="-bottom-5 absolute font-body font-medium text-xs"
192
- color="negative"
193
- >
194
- Insufficient balance
195
- </Text>
278
+ <div className="mt-2">
279
+ <Text className="font-body font-medium text-xs" color="negative">
280
+ {modalType === 'offer' &&
281
+ hasEnoughForBaseOffer &&
282
+ royaltyFeeFormatted &&
283
+ Number(royaltyFeeFormatted) > 0 ? (
284
+ <RoyaltyFeeTooltip>
285
+ <div className="flex items-center gap-1">
286
+ <InfoIcon className="h-4 w-4 text-negative" />
287
+ <Text
288
+ className="font-body font-medium text-xs"
289
+ color="negative"
290
+ >
291
+ You need {royaltyFeeFormatted} {currency?.symbol} for
292
+ royalty fees
293
+ </Text>
294
+ </div>
295
+ </RoyaltyFeeTooltip>
296
+ ) : (
297
+ 'Insufficient balance'
298
+ )}
299
+ </Text>
300
+ </div>
196
301
  )}
197
302
 
303
+ {!balanceError &&
304
+ modalType === 'offer' &&
305
+ royaltyFeeFormatted &&
306
+ Number(royaltyFeeFormatted) > 0 && (
307
+ <div className="mt-2">
308
+ <RoyaltyFeeTooltip>
309
+ <div className="flex items-center gap-1">
310
+ <InfoIcon className="h-4 w-4 text-text-50" />
311
+
312
+ <Text className="font-body font-medium text-xs" color="text50">
313
+ Total:{' '}
314
+ {(Number(value) + Number(royaltyFeeFormatted))
315
+ .toFixed(6)
316
+ .replace(/\.?0+$/, '')}{' '}
317
+ {currency?.symbol} (includes {royaltyFeeFormatted}{' '}
318
+ {currency?.symbol} royalty fee)
319
+ </Text>
320
+ </div>
321
+ </RoyaltyFeeTooltip>
322
+ </div>
323
+ )}
324
+
198
325
  {!balanceError &&
199
326
  priceAmountRaw !== '0' &&
200
327
  !openseaLowestPriceCriteriaMet &&
201
328
  orderbookKind === OrderbookKind.opensea &&
202
329
  !isConversionLoading &&
203
- modalType === 'offer' && (
330
+ modalType === 'offer' &&
331
+ !openseaDecimalError && (
204
332
  <Text
205
333
  className="-bottom-5 absolute font-body font-medium text-xs"
206
334
  color="negative"
@@ -208,6 +336,15 @@ export default function PriceInput({
208
336
  Lowest price must be at least $0.01
209
337
  </Text>
210
338
  )}
339
+
340
+ {!balanceError &&
341
+ openseaDecimalError &&
342
+ orderbookKind === OrderbookKind.opensea &&
343
+ modalType === 'offer' && (
344
+ <Text className="font-body font-medium text-xs" color="negative">
345
+ {openseaDecimalError}
346
+ </Text>
347
+ )}
211
348
  </div>
212
349
  );
213
350
  }
@@ -109,7 +109,7 @@ export default function TransactionDetails({
109
109
  0 {price.currency.symbol}
110
110
  </Text>
111
111
  ) : overflow.status ? (
112
- <Tooltip message={formattedAmount + ' ' + price.currency.symbol}>
112
+ <Tooltip message={`${formattedAmount} ${price.currency.symbol}`}>
113
113
  <div className="flex items-center">
114
114
  <ChevronRightIcon className="h-3 w-3 text-text-100" />
115
115
  <Text
@@ -113,6 +113,8 @@ describe('Transaction Status Modal Utils', () => {
113
113
  createdAt: '2024-01-21T00:00:00Z',
114
114
  updatedAt: '2024-01-21T00:00:00Z',
115
115
  status: CurrencyStatus.active,
116
+ openseaListing: true,
117
+ openseaOffer: true,
116
118
  },
117
119
  },
118
120
  }),
@@ -27,7 +27,7 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
27
27
  --tw-gradient-via-position: 50%;
28
28
  --tw-gradient-to-position: 100%;
29
29
  }
30
- /*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
30
+ /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
31
31
  @layer properties;
32
32
  @layer theme, base, components, utilities;
33
33
  @layer theme {
@@ -14,4 +14,11 @@ export const networkToWagmiChain = (network: NetworkConfig): Chain => ({
14
14
  http: [network.rpcUrl],
15
15
  },
16
16
  },
17
+ contracts: network.ensAddress
18
+ ? {
19
+ ensRegistry: {
20
+ address: network.ensAddress as `0x${string}`,
21
+ },
22
+ }
23
+ : undefined,
17
24
  });
@@ -129,3 +129,61 @@ export const formatPriceWithFee = (
129
129
  return '0';
130
130
  }
131
131
  };
132
+
133
+ export const calculateTotalOfferCost = (
134
+ offerAmountRaw: bigint,
135
+ decimals: number,
136
+ royaltyPercentage = 0,
137
+ ): bigint => {
138
+ try {
139
+ const dnumAmount = [offerAmountRaw, decimals] as dn.Dnum;
140
+ let totalCost = dn.from(dnumAmount);
141
+
142
+ if (royaltyPercentage > 0) {
143
+ const royaltyFee = dn.multiply(
144
+ totalCost,
145
+ dn.from((royaltyPercentage / 100).toString(), decimals),
146
+ );
147
+ totalCost = dn.add(totalCost, royaltyFee);
148
+ }
149
+
150
+ const totalCostString = dn.format(totalCost, {
151
+ digits: decimals,
152
+ trailingZeros: true,
153
+ });
154
+
155
+ const cleanAmount = totalCostString.replace(/,/g, '');
156
+
157
+ return BigInt(Math.round(Number(cleanAmount) * 10 ** decimals));
158
+ } catch (error) {
159
+ console.error('Error calculating total offer cost:', error);
160
+ return offerAmountRaw;
161
+ }
162
+ };
163
+
164
+ /**
165
+ * Validates if a price value meets OpenSea's decimal constraints for offers
166
+ * OpenSea allows maximum 4 decimal places for offers and minimum 0.0001
167
+ * @param value - The price value as a string
168
+ * @returns Object containing validation result and error message
169
+ * @example
170
+ * ```ts
171
+ * const result = validateOpenseaOfferDecimals('0.12345');
172
+ * // Returns { isValid: false, errorMessage: "Offer amount must be at least 0.0001" }
173
+ * ```
174
+ */
175
+ export const validateOpenseaOfferDecimals = (
176
+ value: string,
177
+ ): { isValid: boolean; errorMessage?: string } => {
178
+ if (!value || value === '0') return { isValid: true };
179
+
180
+ const [_, decimals = ''] = value.split('.');
181
+ if (decimals.length > 4) {
182
+ return {
183
+ isValid: false,
184
+ errorMessage: 'Offer amount must be at least 0.0001',
185
+ };
186
+ }
187
+
188
+ return { isValid: true };
189
+ };
package/test/const.ts CHANGED
@@ -61,6 +61,8 @@ export const TEST_CURRENCY: Currency = {
61
61
  nativeCurrency: false,
62
62
  createdAt: '2021-01-01T00:00:00.000Z',
63
63
  updatedAt: '2021-01-01T00:00:00.000Z',
64
+ openseaListing: true,
65
+ openseaOffer: true,
64
66
  };
65
67
 
66
68
  export const TEST_CURRENCY_2: Currency = {
@@ -2,7 +2,6 @@ import { HttpResponse, http as mswHttp } from 'msw';
2
2
  import { setupServer } from 'msw/node';
3
3
  import { handlers as marketplaceConfigHandlers } from '../src/react/_internal/api/__mocks__/builder.msw';
4
4
  import { handlers as indexerHandlers } from '../src/react/_internal/api/__mocks__/indexer.msw';
5
- import { laosHandlers } from '../src/react/_internal/api/__mocks__/laos.msw';
6
5
  import { handlers as marketplaceHandlers } from '../src/react/_internal/api/__mocks__/marketplace.msw';
7
6
  import { handlers as metadataHandlers } from '../src/react/_internal/api/__mocks__/metadata.msw';
8
7
 
@@ -18,6 +17,5 @@ export const server = setupServer(
18
17
  ...metadataHandlers,
19
18
  ...indexerHandlers,
20
19
  ...marketplaceConfigHandlers,
21
- ...laosHandlers,
22
20
  tickHandler,
23
21
  );
@@ -1,5 +0,0 @@
1
- ---
2
- "@0xsequence/marketplace-sdk": patch
3
- ---
4
-
5
- Added price filter functionality with new components, badges, and state management, improving filtering and user experience.
@@ -1,8 +0,0 @@
1
- ---
2
- "@0xsequence/marketplace-sdk": patch
3
- ---
4
-
5
- fix(calendar): set selected date to end of day for ‘Today’ selection
6
-
7
- Selecting ‘Today’ previously set the time to 00:00, which could correspond to a past time and cause order errors.
8
- Added `setToEndOfDay` utility and updated `setSelectedDate` to ensure the selected date is set to 23:59:59.999.
@@ -1,8 +0,0 @@
1
- ---
2
- "@0xsequence/marketplace-sdk": patch
3
- ---
4
-
5
- feat(payment): show loading modal while fetching payment params
6
-
7
- Previously, null was returned while waiting for payment parameters to load between quantity selection and the checkout modal.
8
- Now, a LoadingModal is displayed, giving users visual feedback and preventing actions outside the checkout flow during this state.
@@ -1 +0,0 @@
1
- {"version":3,"file":"BellIcon-ByhygxBO.js","names":[],"sources":["../src/react/ui/icons/iconVariants.ts","../src/react/ui/icons/BellIcon.tsx"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\nexport const iconVariants = cva('block shrink-0', {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: 'w-4 h-4',\n\t\t\tsm: 'w-5 h-5',\n\t\t\tmd: 'w-6 h-6',\n\t\t\tlg: 'w-7 h-7',\n\t\t\txl: 'w-9 h-9',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'md',\n\t},\n});\n","'use client';\n\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-17 w-17\"\n\t\tviewBox=\"0 0 17 17\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-labelledby=\"bell-title\"\n\t\t{...props}\n\t>\n\t\t<title id=\"bell-title\">Notification Bell</title>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M12.3127 7.45705V9.74274C12.3127 10.3805 12.6293 10.6971 12.9647 11.0326L12.9652 11.033L12.9679 11.0358C13.3205 11.3893 13.6843 11.754 13.6843 12.4854C13.6843 12.5491 13.6335 12.5998 13.57 12.5998H3.51277C3.44959 12.5998 3.39844 12.5489 3.39844 12.4854C3.39844 11.7539 3.76242 11.389 4.11507 11.0354L4.11754 11.033C4.45305 10.6975 4.76984 10.3807 4.76984 9.74245V7.45676C4.76984 5.6932 5.98854 4.21248 7.62704 3.802V3.11399C7.62704 2.60926 8.03659 2.19971 8.54132 2.19971C9.04606 2.19971 9.45561 2.60926 9.45561 3.11399V3.802C11.094 4.21286 12.3127 5.69335 12.3127 7.45705ZM10.3698 13.1711C10.3698 14.1809 9.55099 14.9997 8.54121 14.9997C7.53128 14.9997 6.71272 14.181 6.71272 13.1711H10.3698ZM8.758 7.70501C9.30005 7.85574 9.6696 7.99832 9.86302 8.13224C10.1776 8.35015 10.3374 8.67657 10.338 9.106C10.338 9.7284 10.1359 10.1706 9.72956 10.4326C9.50571 10.5778 9.18295 10.6723 8.75846 10.7195V11.4005H8.42657V10.7195C7.74604 10.6746 7.28244 10.4349 7.04094 9.99812C6.90703 9.76157 6.83984 9.44246 6.83984 9.04019H7.46277C7.48004 9.35983 7.53041 9.59501 7.6135 9.74163C7.75837 10.0063 8.0303 10.1548 8.42664 10.1861V8.27703C7.9177 8.18078 7.54357 8.01963 7.30116 7.79532C7.0605 7.57102 6.93929 7.25914 6.93929 6.86234C6.93929 6.50686 7.06917 6.18768 7.32977 5.90212C7.58991 5.61657 7.95581 5.47132 8.42619 5.46675V5.00049H8.75808V5.45861C9.22343 5.4927 9.58119 5.62981 9.82863 5.87039C10.0787 6.11144 10.2086 6.43062 10.2204 6.82651H9.60569C9.5907 6.64899 9.54299 6.49507 9.4631 6.36884C9.31595 6.13183 9.08076 6.00697 8.758 5.99518V7.70501ZM7.80143 7.36315C7.95574 7.49478 8.16369 7.58608 8.42611 7.63691L8.42619 5.98886C8.11651 5.99936 7.89723 6.09424 7.76651 6.2681C7.63572 6.4447 7.57036 6.62815 7.57036 6.82019C7.57036 7.05081 7.64705 7.23289 7.80143 7.36315ZM8.75747 10.2033C9.15883 10.1847 9.43305 10.0394 9.58606 9.76522C9.66504 9.62408 9.70415 9.46285 9.70399 9.27948C9.70399 8.98624 9.59686 8.76376 9.38123 8.61121C9.2582 8.52219 9.05079 8.4391 8.75747 8.35921V10.2033Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgBellIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgBellIcon;\n"],"mappings":";;;;;AAEA,MAAa,eAAe,IAAI,kBAAkB;CACjD,UAAU,EACT,MAAM;EACL,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,EACD;CACD,iBAAiB,EAChB,MAAM,MACN;CACD,CAAC;;;;ACRF,MAAM,OAAO,UACZ,qBAAC;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,mBAAgB;CAChB,GAAI;YAEJ,oBAAC;EAAM,IAAG;YAAa;GAAyB,EAChD,oBAAC;EACA,UAAS;EACT,UAAS;EACT,GAAE;EACF,MAAK;GACJ;EACG;AAGP,MAAM,eAAe,EAAE,WAAW,OAAO,KAAM,GAAG,YACjD,oBAAC;CACA,WAAW,GACV,aAAa,EACZ,MACA,CAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,uBAAe"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CartIcon-Bt3rQYGk.js","names":["Svg","Svg"],"sources":["../src/react/ui/icons/InfoIcon.tsx","../src/react/ui/icons/CalendarIcon.tsx","../src/react/ui/icons/CartIcon.tsx"],"sourcesContent":["'use client';\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-label=\"Information\"\n\t\t{...props}\n\t>\n\t\t<title>Information icon</title>\n\t\t<path d=\"M10.75 8.75V13.75H9.25V8.75H10.75Z\" fill=\"white\" />\n\t\t<path\n\t\t\td=\"M9.37508 7.47656C9.55997 7.65885 9.78263 7.75 10.043 7.75C10.2097 7.75 10.3634 7.70833 10.504 7.625C10.6446 7.53906 10.7579 7.42578 10.8438 7.28516C10.9324 7.14193 10.9779 6.98438 10.9805 6.8125C10.9779 6.55729 10.8829 6.33854 10.6954 6.15625C10.5079 5.97396 10.2904 5.88281 10.043 5.88281C9.78263 5.88281 9.55997 5.97396 9.37508 6.15625C9.19279 6.33854 9.10294 6.55729 9.10555 6.8125C9.10294 7.07031 9.19279 7.29167 9.37508 7.47656Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM10 16.5C13.5899 16.5 16.5 13.5899 16.5 10C16.5 6.41015 13.5899 3.5 10 3.5C6.41015 3.5 3.5 6.41015 3.5 10C3.5 13.5899 6.41015 16.5 10 16.5Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgInfoIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgInfoIcon;\n","'use client';\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-label=\"Calendar icon\"\n\t\t{...props}\n\t>\n\t\t<title>Calendar icon</title>\n\t\t<path\n\t\t\td=\"M4.57634 17.5C3.73146 17.5 3.08946 17.2816 2.65034 16.8449C2.21678 16.4081 2 15.7586 2 14.8965V5.10352C2 4.24135 2.21678 3.59189 2.65034 3.15513C3.08946 2.71838 3.73146 2.5 4.57634 2.5H15.4237C16.2741 2.5 16.9161 2.72121 17.3497 3.16364C17.7832 3.6004 18 4.24702 18 5.10352V14.8965C18 15.753 17.7832 16.3996 17.3497 16.8364C16.9161 17.2788 16.2741 17.5 15.4237 17.5H4.57634ZM4.55133 15.9515H15.4403C15.7738 15.9515 16.0295 15.8636 16.2074 15.6877C16.3908 15.5062 16.4825 15.2396 16.4825 14.888V7.44328C16.4825 7.08593 16.3908 6.81934 16.2074 6.64351C16.0295 6.46767 15.7738 6.37975 15.4403 6.37975H4.55133C4.21782 6.37975 3.96213 6.46767 3.78426 6.64351C3.61195 6.81934 3.52579 7.08593 3.52579 7.44328V14.888C3.52579 15.2396 3.61195 15.5062 3.78426 15.6877C3.96213 15.8636 4.21782 15.9515 4.55133 15.9515ZM8.48671 9.17896C8.34775 9.17896 8.25048 9.15343 8.19489 9.10238C8.13931 9.05133 8.11152 8.95207 8.11152 8.80459V8.33664C8.11152 8.19484 8.13931 8.09841 8.19489 8.04736C8.25048 7.99064 8.34775 7.96228 8.48671 7.96228H8.94528C9.0898 7.96228 9.18708 7.99064 9.2371 8.04736C9.29269 8.09841 9.32048 8.19484 9.32048 8.33664V8.80459C9.32048 8.95207 9.29269 9.05133 9.2371 9.10238C9.18708 9.15343 9.0898 9.17896 8.94528 9.17896H8.48671ZM11.0714 9.17896C10.9269 9.17896 10.8268 9.15343 10.7712 9.10238C10.7212 9.05133 10.6962 8.95207 10.6962 8.80459V8.33664C10.6962 8.19484 10.7212 8.09841 10.7712 8.04736C10.8268 7.99064 10.9269 7.96228 11.0714 7.96228H11.5383C11.6773 7.96228 11.7745 7.99064 11.8301 8.04736C11.8857 8.09841 11.9135 8.19484 11.9135 8.33664V8.80459C11.9135 8.95207 11.8857 9.05133 11.8301 9.10238C11.7745 9.15343 11.6773 9.17896 11.5383 9.17896H11.0714ZM13.6477 9.17896C13.5088 9.17896 13.4115 9.15343 13.3559 9.10238C13.3003 9.05133 13.2725 8.95207 13.2725 8.80459V8.33664C13.2725 8.19484 13.3003 8.09841 13.3559 8.04736C13.4115 7.99064 13.5088 7.96228 13.6477 7.96228H14.1146C14.2592 7.96228 14.3564 7.99064 14.4065 8.04736C14.462 8.09841 14.4898 8.19484 14.4898 8.33664V8.80459C14.4898 8.95207 14.462 9.05133 14.4065 9.10238C14.3564 9.15343 14.2592 9.17896 14.1146 9.17896H13.6477ZM5.90203 11.7825C5.75751 11.7825 5.65746 11.7541 5.60188 11.6974C5.55185 11.6407 5.52684 11.5442 5.52684 11.4081V10.9317C5.52684 10.7842 5.55185 10.6849 5.60188 10.6339C5.65746 10.5828 5.75751 10.5573 5.90203 10.5573H6.36894C6.5079 10.5573 6.60518 10.5828 6.66076 10.6339C6.71635 10.6849 6.74414 10.7842 6.74414 10.9317V11.4081C6.74414 11.5442 6.71635 11.6407 6.66076 11.6974C6.60518 11.7541 6.5079 11.7825 6.36894 11.7825H5.90203ZM8.48671 11.7825C8.34775 11.7825 8.25048 11.7541 8.19489 11.6974C8.13931 11.6407 8.11152 11.5442 8.11152 11.4081V10.9317C8.11152 10.7842 8.13931 10.6849 8.19489 10.6339C8.25048 10.5828 8.34775 10.5573 8.48671 10.5573H8.94528C9.0898 10.5573 9.18708 10.5828 9.2371 10.6339C9.29269 10.6849 9.32048 10.7842 9.32048 10.9317V11.4081C9.32048 11.5442 9.29269 11.6407 9.2371 11.6974C9.18708 11.7541 9.0898 11.7825 8.94528 11.7825H8.48671ZM11.0714 11.7825C10.9269 11.7825 10.8268 11.7541 10.7712 11.6974C10.7212 11.6407 10.6962 11.5442 10.6962 11.4081V10.9317C10.6962 10.7842 10.7212 10.6849 10.7712 10.6339C10.8268 10.5828 10.9269 10.5573 11.0714 10.5573H11.5383C11.6773 10.5573 11.7745 10.5828 11.8301 10.6339C11.8857 10.6849 11.9135 10.7842 11.9135 10.9317V11.4081C11.9135 11.5442 11.8857 11.6407 11.8301 11.6974C11.7745 11.7541 11.6773 11.7825 11.5383 11.7825H11.0714ZM13.6477 11.7825C13.5088 11.7825 13.4115 11.7541 13.3559 11.6974C13.3003 11.6407 13.2725 11.5442 13.2725 11.4081V10.9317C13.2725 10.7842 13.3003 10.6849 13.3559 10.6339C13.4115 10.5828 13.5088 10.5573 13.6477 10.5573H14.1146C14.2592 10.5573 14.3564 10.5828 14.4065 10.6339C14.462 10.6849 14.4898 10.7842 14.4898 10.9317V11.4081C14.4898 11.5442 14.462 11.6407 14.4065 11.6974C14.3564 11.7541 14.2592 11.7825 14.1146 11.7825H13.6477ZM5.90203 14.369C5.75751 14.369 5.65746 14.3434 5.60188 14.2924C5.55185 14.2414 5.52684 14.1421 5.52684 13.9946V13.5267C5.52684 13.3849 5.55185 13.2884 5.60188 13.2374C5.65746 13.1807 5.75751 13.1523 5.90203 13.1523H6.36894C6.5079 13.1523 6.60518 13.1807 6.66076 13.2374C6.71635 13.2884 6.74414 13.3849 6.74414 13.5267V13.9946C6.74414 14.1421 6.71635 14.2414 6.66076 14.2924C6.60518 14.3434 6.5079 14.369 6.36894 14.369H5.90203ZM8.48671 14.369C8.34775 14.369 8.25048 14.3434 8.19489 14.2924C8.13931 14.2414 8.11152 14.1421 8.11152 13.9946V13.5267C8.11152 13.3849 8.13931 13.2884 8.19489 13.2374C8.25048 13.1807 8.34775 13.1523 8.48671 13.1523H8.94528C9.0898 13.1523 9.18708 13.1807 9.2371 13.2374C9.29269 13.2884 9.32048 13.3849 9.32048 13.5267V13.9946C9.32048 14.1421 9.29269 14.2414 9.2371 14.2924C9.18708 14.3434 9.0898 14.369 8.94528 14.369H8.48671ZM11.0714 14.369C10.9269 14.369 10.8268 14.3434 10.7712 14.2924C10.7212 14.2414 10.6962 14.1421 10.6962 13.9946V13.5267C10.6962 13.3849 10.7212 13.2884 10.7712 13.2374C10.8268 13.1807 10.9269 13.1523 11.0714 13.1523H11.5383C11.6773 13.1523 11.7745 13.1807 11.8301 13.2374C11.8857 13.2884 11.9135 13.3849 11.9135 13.5267V13.9946C11.9135 14.1421 11.8857 14.2414 11.8301 14.2924C11.7745 14.3434 11.6773 14.369 11.5383 14.369H11.0714Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgCalendarIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgCalendarIcon;\n","'use client';\n\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-labelledby=\"cart-title\"\n\t\t{...props}\n\t>\n\t\t<title id=\"cart-title\">Cart Icon</title>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M2.5 3.46836C2.5 3.20969 2.72366 3 2.99955 3H5.16925C5.88938 3 6.5077 3.48022 6.64172 4.14359L8.33188 12.5093C8.37655 12.7304 8.58266 12.8905 8.8227 12.8905H16.987C17.2629 12.8905 17.4866 13.1002 17.4866 13.3589C17.4866 13.6175 17.2629 13.8272 16.987 13.8272H8.8227C8.10257 13.8272 7.48425 13.347 7.35023 12.6836L5.66007 4.31793C5.6154 4.0968 5.40929 3.93673 5.16925 3.93673H2.99955C2.72366 3.93673 2.5 3.72704 2.5 3.46836Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M18.0003 5.34182H6.40946L7.49564 10.8234H17.0736C17.3133 10.8234 17.5193 10.6637 17.5643 10.443L18.491 5.89813C18.5498 5.60942 18.3138 5.34182 18.0003 5.34182Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M10.0889 15.8559C10.0889 16.4878 9.54259 17 8.86866 17C8.19473 17 7.64841 16.4878 7.64841 15.8559C7.64841 15.2241 8.19473 14.7119 8.86866 14.7119C9.54259 14.7119 10.0889 15.2241 10.0889 15.8559Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M16.6268 15.8559C16.6268 16.4878 16.0804 17 15.4065 17C14.7326 17 14.1863 16.4878 14.1863 15.8559C14.1863 15.2241 14.7326 14.7119 15.4065 14.7119C16.0804 14.7119 16.6268 15.2241 16.6268 15.8559Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgCartIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgCartIcon;\n"],"mappings":";;;;;AAMA,MAAMA,SAAO,UACZ,qBAAC;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,cAAW;CACX,GAAI;;EAEJ,oBAAC,qBAAM,qBAAwB;EAC/B,oBAAC;GAAK,GAAE;GAAqC,MAAK;IAAU;EAC5D,oBAAC;GACA,GAAE;GACF,MAAK;IACJ;EACF,oBAAC;GACA,UAAS;GACT,UAAS;GACT,GAAE;GACF,MAAK;IACJ;;EACG;AAGP,MAAM,eAAe,EAAE,WAAW,OAAO,KAAM,GAAG,YACjD,oBAACA;CACA,WAAW,GACV,aAAa,EACZ,MACA,CAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,uBAAe;;;;ACrCf,MAAMC,SAAO,UACZ,qBAAC;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,cAAW;CACX,GAAI;YAEJ,oBAAC,qBAAM,kBAAqB,EAC5B,oBAAC;EACA,GAAE;EACF,MAAK;GACJ;EACG;AAGP,MAAM,mBAAmB,EAAE,WAAW,OAAO,KAAM,GAAG,YACrD,oBAACA;CACA,WAAW,GACV,aAAa,EACZ,MACA,CAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,2BAAe;;;;AC7Bf,MAAM,OAAO,UACZ,qBAAC;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,mBAAgB;CAChB,GAAI;;EAEJ,oBAAC;GAAM,IAAG;aAAa;IAAiB;EACxC,oBAAC;GACA,UAAS;GACT,UAAS;GACT,GAAE;GACF,MAAK;IACJ;EACF,oBAAC;GACA,GAAE;GACF,MAAK;IACJ;EACF,oBAAC;GACA,GAAE;GACF,MAAK;IACJ;EACF,oBAAC;GACA,GAAE;GACF,MAAK;IACJ;;EACG;AAGP,MAAM,eAAe,EAAE,WAAW,OAAO,KAAM,GAAG,YACjD,oBAAC;CACA,WAAW,GACV,aAAa,EACZ,MACA,CAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,uBAAe"}
@@ -1,8 +0,0 @@
1
- import { CollectibleCardProps } from "./types-D2TJ1dwv.js";
2
- import * as react_jsx_runtime30 from "react/jsx-runtime";
3
-
4
- //#region src/react/ui/components/marketplace-collectible-card/CollectibleCard.d.ts
5
- declare function CollectibleCard(props: CollectibleCardProps): react_jsx_runtime30.JSX.Element | undefined;
6
- //#endregion
7
- export { CollectibleCard };
8
- //# sourceMappingURL=CollectibleCard-CVpdgXA8.d.ts.map