@0xsequence/marketplace-sdk 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/CHANGELOG.md +54 -3
  2. package/dist/{BellIcon-ByhygxBO.js → BellIcon.js} +4 -4
  3. package/dist/BellIcon.js.map +1 -0
  4. package/dist/{CartIcon-Bt3rQYGk.js → CartIcon.js} +7 -7
  5. package/dist/CartIcon.js.map +1 -0
  6. package/dist/CollectibleCard.d.ts +8 -0
  7. package/dist/{_internal-DkS2VUn5.js → _internal.js} +2 -2
  8. package/dist/_internal.js.map +1 -0
  9. package/dist/{abi-fa-o9gH3.js → abi.js} +2 -2
  10. package/dist/abi.js.map +1 -0
  11. package/dist/{alien_swap-DoY6XfMA.js → alien_swap.js} +1 -1
  12. package/dist/alien_swap.js.map +1 -0
  13. package/dist/{api-BoO0V5aJ.js → api.js} +13 -64
  14. package/dist/api.js.map +1 -0
  15. package/dist/{aqua-xyz-BBDxnG14.js → aqua-xyz.js} +1 -1
  16. package/dist/aqua-xyz.js.map +1 -0
  17. package/dist/{aura-DGx2zwvF.js → aura.js} +1 -1
  18. package/dist/aura.js.map +1 -0
  19. package/dist/{blur-D8GKrRrq.js → blur.js} +1 -1
  20. package/dist/blur.js.map +1 -0
  21. package/dist/{builder-api-BFuZNOaN.js → builder-api.js} +3 -3
  22. package/dist/builder-api.js.map +1 -0
  23. package/dist/{builder.gen-B9wR2nvF.js → builder.gen.js} +3 -6
  24. package/dist/builder.gen.js.map +1 -0
  25. package/dist/{coinbase-DOry4PXY.js → coinbase.js} +1 -1
  26. package/dist/coinbase.js.map +1 -0
  27. package/dist/{collectibles-C_H8jMGH.js → collectibles.js} +9 -48
  28. package/dist/collectibles.js.map +1 -0
  29. package/dist/{collections-CKummc-R.js → collections.js} +79 -8
  30. package/dist/collections.js.map +1 -0
  31. package/dist/{components-CosnX7F9.js → components.js} +12 -14
  32. package/dist/components.js.map +1 -0
  33. package/dist/{contracts-BP_0vX48.js → contracts.js} +4 -4
  34. package/dist/contracts.js.map +1 -0
  35. package/dist/{create-config-ZOB7i4ZJ.d.ts → create-config.d.ts} +47 -60
  36. package/dist/{create-config-CIfejoCk.js → create-config.js} +10 -13
  37. package/dist/create-config.js.map +1 -0
  38. package/dist/{element-ciybd_VF.js → element.js} +1 -1
  39. package/dist/element.js.map +1 -0
  40. package/dist/{filters-V-V8Dn8f.d.ts → filters.d.ts} +7 -7
  41. package/dist/{foundation-Bq4lRz4x.js → foundation.js} +1 -1
  42. package/dist/foundation.js.map +1 -0
  43. package/dist/index.d.ts +8 -8
  44. package/dist/index.js +16 -16
  45. package/dist/{index-DUXfvhxs.d.ts → index10.d.ts} +14 -29
  46. package/dist/{index-CxA34wP1.d.ts → index11.d.ts} +101 -23
  47. package/dist/{index-BtWMBHeP.d.ts → index12.d.ts} +11 -9
  48. package/dist/{index-DmudgrsN.d.ts → index13.d.ts} +16 -16
  49. package/dist/{index-U-zp70of.d.ts → index14.d.ts} +9 -13
  50. package/dist/{index-Stm5u0I0.d.ts → index16.d.ts} +7 -10
  51. package/dist/{index-BZIJTQT0.d.ts → index17.d.ts} +9 -9
  52. package/dist/{index-CnEbXm_t.d.ts → index19.d.ts} +50 -12
  53. package/dist/{index-C-745li7.d.ts → index2.d.ts} +2 -2
  54. package/dist/{index-BOiHR01C.d.ts → index21.d.ts} +9 -9
  55. package/dist/{index-Bsx6XsC2.d.ts → index23.d.ts} +100 -59
  56. package/dist/{index-CPzvNmq9.d.ts → index24.d.ts} +36 -36
  57. package/dist/{index-DFEnA6Wa.d.ts → index25.d.ts} +18 -18
  58. package/dist/{index-DqXd1EeB.d.ts → index26.d.ts} +14 -7
  59. package/dist/{index-NlPMNcqh.d.ts → index27.d.ts} +102 -114
  60. package/dist/{index-DWt6yrIG.d.ts → index28.d.ts} +8 -8
  61. package/dist/{index-C4MUKshG.d.ts → index29.d.ts} +3 -3
  62. package/dist/{index-BeRV-7AX.d.ts → index3.d.ts} +2 -2
  63. package/dist/{index-Bxzjy0d1.d.ts → index4.d.ts} +2 -2
  64. package/dist/{index-DwKr18CI.d.ts → index5.d.ts} +2 -2
  65. package/dist/{index-D9LPlmbC.d.ts → index6.d.ts} +2 -2
  66. package/dist/{index-CS65jqOq.d.ts → index7.d.ts} +19 -3
  67. package/dist/index8.d.ts +18 -0
  68. package/dist/{index-CxpFwGvR.d.ts → index9.d.ts} +4 -4
  69. package/dist/{inventory-Dd7TazvZ.js → inventory.js} +11 -15
  70. package/dist/inventory.js.map +1 -0
  71. package/dist/{listCollectiblesPaginated-Cy2_qEZA.d.ts → listCollectiblesPaginated.d.ts} +24 -29
  72. package/dist/{listCollections-BB9FxKj2.d.ts → listCollections.d.ts} +170 -100
  73. package/dist/{looks-rare-6H--x3AM.js → looks-rare.js} +1 -1
  74. package/dist/looks-rare.js.map +1 -0
  75. package/dist/{lowestListing-Cbsi6M1K.d.ts → lowestListing.d.ts} +28 -28
  76. package/dist/{magic-eden-BoxEQ1Li.js → magic-eden.js} +1 -1
  77. package/dist/magic-eden.js.map +1 -0
  78. package/dist/{manifold-DycKsljb.js → manifold.js} +1 -1
  79. package/dist/manifold.js.map +1 -0
  80. package/dist/{market-C3HV-awQ.js → market.js} +7 -9
  81. package/dist/market.js.map +1 -0
  82. package/dist/{marketCurrencies-Bpw1bIO0.d.ts → marketCurrencies.d.ts} +19 -9
  83. package/dist/{marketCurrencies-sKrTX0og.js → marketCurrencies.js} +10 -7
  84. package/dist/marketCurrencies.js.map +1 -0
  85. package/dist/{marketplace-logos-D4dS1Foy.js → marketplace-logos.js} +23 -23
  86. package/dist/marketplace-logos.js.map +1 -0
  87. package/dist/{marketplace.gen-ksUafDqS.js → marketplace.gen.js} +25 -9
  88. package/dist/marketplace.gen.js.map +1 -0
  89. package/dist/{marketplace-NQB-sEQL.js → marketplace.js} +2 -2
  90. package/dist/marketplace.js.map +1 -0
  91. package/dist/{marketplaceConfig-UHQMM9fq.js → marketplaceConfig.js} +3 -3
  92. package/dist/marketplaceConfig.js.map +1 -0
  93. package/dist/{mintify-Dyqyo8jQ.js → mintify.js} +1 -1
  94. package/dist/mintify.js.map +1 -0
  95. package/dist/{network-DtmiMhcg.js → network.js} +3 -3
  96. package/dist/network.js.map +1 -0
  97. package/dist/{networkconfigToWagmiChain-DbUf6HiO.js → networkconfigToWagmiChain.js} +4 -3
  98. package/dist/networkconfigToWagmiChain.js.map +1 -0
  99. package/dist/{nftx-2LbFjj9Q.js → nftx.js} +1 -1
  100. package/dist/nftx.js.map +1 -0
  101. package/dist/{okx-CBEWJNsR.js → okx.js} +1 -1
  102. package/dist/okx.js.map +1 -0
  103. package/dist/{open-sea-Dxntz_PA.js → open-sea.js} +1 -1
  104. package/dist/open-sea.js.map +1 -0
  105. package/dist/{orders-DnFfZAXV.js → orders.js} +10 -10
  106. package/dist/orders.js.map +1 -0
  107. package/dist/{primary-sale-1u4QlPdA.js → primary-sale.js} +2 -2
  108. package/dist/primary-sale.js.map +1 -0
  109. package/dist/{primary-sales-Dmsi6bqj.js → primary-sales.js} +41 -3
  110. package/dist/primary-sales.js.map +1 -0
  111. package/dist/{query-BWbCsXLY.d.ts → query.d.ts} +2 -2
  112. package/dist/{rarible-CS0SupHr.js → rarible.js} +1 -1
  113. package/dist/rarible.js.map +1 -0
  114. package/dist/react/_internal/api/index.d.ts +2 -2
  115. package/dist/react/_internal/api/index.js +7 -7
  116. package/dist/react/_internal/databeat/index.d.ts +1 -1
  117. package/dist/react/_internal/databeat/index.js +37 -38
  118. package/dist/react/_internal/index.d.ts +2 -2
  119. package/dist/react/_internal/index.js +11 -11
  120. package/dist/react/_internal/wagmi/index.d.ts +1 -1
  121. package/dist/react/_internal/wagmi/index.js +5 -5
  122. package/dist/react/hooks/config/index.d.ts +8 -8
  123. package/dist/react/hooks/config/index.js +37 -38
  124. package/dist/react/hooks/contracts/index.d.ts +6 -6
  125. package/dist/react/hooks/contracts/index.js +15 -15
  126. package/dist/react/hooks/data/collectibles/index.d.ts +4 -10
  127. package/dist/react/hooks/data/collectibles/index.js +37 -38
  128. package/dist/react/hooks/data/collections/index.d.ts +11 -11
  129. package/dist/react/hooks/data/collections/index.js +38 -39
  130. package/dist/react/hooks/data/index.d.ts +37 -37
  131. package/dist/react/hooks/data/index.js +38 -39
  132. package/dist/react/hooks/data/inventory/index.d.ts +36 -36
  133. package/dist/react/hooks/data/inventory/index.js +37 -38
  134. package/dist/react/hooks/data/market/index.d.ts +5 -11
  135. package/dist/react/hooks/data/market/index.js +37 -38
  136. package/dist/react/hooks/data/orders/index.d.ts +4 -10
  137. package/dist/react/hooks/data/orders/index.js +37 -38
  138. package/dist/react/hooks/data/primary-sales/index.d.ts +37 -37
  139. package/dist/react/hooks/data/primary-sales/index.js +38 -39
  140. package/dist/react/hooks/data/tokens/index.d.ts +4 -4
  141. package/dist/react/hooks/data/tokens/index.js +37 -38
  142. package/dist/react/hooks/index.d.ts +37 -37
  143. package/dist/react/hooks/index.js +38 -39
  144. package/dist/react/hooks/transactions/index.d.ts +2 -2
  145. package/dist/react/hooks/transactions/index.js +37 -38
  146. package/dist/react/hooks/ui/index.d.ts +4 -4
  147. package/dist/react/hooks/ui/index.js +37 -38
  148. package/dist/react/hooks/utils/index.d.ts +36 -36
  149. package/dist/react/hooks/utils/index.js +37 -38
  150. package/dist/react/index.d.ts +37 -37
  151. package/dist/react/index.js +38 -39
  152. package/dist/react/queries/collectibles/index.d.ts +4 -10
  153. package/dist/react/queries/collectibles/index.js +20 -21
  154. package/dist/react/queries/collections/index.d.ts +11 -11
  155. package/dist/react/queries/collections/index.js +19 -19
  156. package/dist/react/queries/index.d.ts +24 -24
  157. package/dist/react/queries/index.js +30 -31
  158. package/dist/react/queries/inventory/index.d.ts +2 -2
  159. package/dist/react/queries/inventory/index.js +20 -20
  160. package/dist/react/queries/market/index.d.ts +5 -5
  161. package/dist/react/queries/market/index.js +20 -20
  162. package/dist/react/queries/orders/index.d.ts +4 -10
  163. package/dist/react/queries/orders/index.js +11 -11
  164. package/dist/react/queries/primary-sales/index.d.ts +4 -4
  165. package/dist/react/queries/primary-sales/index.js +12 -12
  166. package/dist/react/queries/tokens/index.d.ts +4 -4
  167. package/dist/react/queries/tokens/index.js +11 -12
  168. package/dist/react/queries/utils/index.d.ts +3 -3
  169. package/dist/react/queries/utils/index.js +20 -20
  170. package/dist/react/ssr/index.d.ts +7 -7
  171. package/dist/react/ssr/index.js +13 -16
  172. package/dist/react/ssr/index.js.map +1 -1
  173. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +2 -2
  174. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +20 -20
  175. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +7 -10
  176. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +37 -38
  177. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +4 -4
  178. package/dist/react/ui/components/marketplace-collectible-card/index.js +37 -38
  179. package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
  180. package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +11 -11
  181. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  182. package/dist/react/ui/components/marketplace-logos/index.js +1 -1
  183. package/dist/react/ui/icons/index.js +14 -14
  184. package/dist/react/ui/index.d.ts +4 -4
  185. package/dist/react/ui/index.js +37 -38
  186. package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
  187. package/dist/react/ui/modals/_internal/components/actionModal/index.js +37 -38
  188. package/dist/react/utils/index.d.ts +1 -1
  189. package/dist/react/utils/index.js +7 -7
  190. package/dist/{react-DE852KeT.js → react.js} +720 -926
  191. package/dist/react.js.map +1 -0
  192. package/dist/{sequence-paCCener.js → sequence.js} +1 -1
  193. package/dist/sequence.js.map +1 -0
  194. package/dist/{src-Dz2CfBL0.js → src.js} +2 -2
  195. package/dist/src.js.map +1 -0
  196. package/dist/styles/index.css +1 -1
  197. package/dist/{sudo-swap-9rH2EgfT.js → sudo-swap.js} +1 -1
  198. package/dist/sudo-swap.js.map +1 -0
  199. package/dist/{super-rare-DHIuWtRw.js → super-rare.js} +1 -1
  200. package/dist/super-rare.js.map +1 -0
  201. package/dist/{token-Cv7l2ZaL.js → token.js} +2 -2
  202. package/dist/token.js.map +1 -0
  203. package/dist/{tokenBalances-ibDerNmM.js → tokenBalances.js} +4 -11
  204. package/dist/tokenBalances.js.map +1 -0
  205. package/dist/{tokenSupplies-Bfe8RHzI.d.ts → tokenSupplies.d.ts} +19 -30
  206. package/dist/{tokens-cGxMadd8.js → tokens.js} +47 -22
  207. package/dist/tokens.js.map +1 -0
  208. package/dist/{transaction-DZUW5RHu.js → transaction.js} +2 -2
  209. package/dist/transaction.js.map +1 -0
  210. package/dist/types/index.d.ts +1 -1
  211. package/dist/types/index.js +3 -3
  212. package/dist/{types-D2TJ1dwv.d.ts → types.d.ts} +3 -3
  213. package/dist/{types-B_-cnkcP.js → types.js} +2 -2
  214. package/dist/types.js.map +1 -0
  215. package/dist/utils/abi/index.d.ts +4 -4
  216. package/dist/utils/abi/index.js +4 -4
  217. package/dist/utils/abi/marketplace/index.d.ts +1 -1
  218. package/dist/utils/abi/marketplace/index.js +1 -1
  219. package/dist/utils/abi/primary-sale/index.d.ts +1 -1
  220. package/dist/utils/abi/primary-sale/index.js +1 -1
  221. package/dist/utils/abi/token/index.d.ts +1 -1
  222. package/dist/utils/abi/token/index.js +1 -1
  223. package/dist/utils/index.d.ts +7 -7
  224. package/dist/utils/index.js +13 -13
  225. package/dist/{utils-BfpDVibN.js → utils.js} +42 -4
  226. package/dist/utils.js.map +1 -0
  227. package/dist/{utils-BCgNhBFR.js → utils2.js} +11 -5
  228. package/dist/utils2.js.map +1 -0
  229. package/dist/{utils-BqxcalL2.js → utils3.js} +3 -3
  230. package/dist/utils3.js.map +1 -0
  231. package/dist/{waitForTransactionReceipt-DieAnV52.js → waitForTransactionReceipt.js} +3 -3
  232. package/dist/waitForTransactionReceipt.js.map +1 -0
  233. package/dist/{x2y2-45WDooeh.js → x2y2.js} +1 -1
  234. package/dist/x2y2.js.map +1 -0
  235. package/dist/{zora-CbeBoLvQ.js → zora.js} +1 -1
  236. package/dist/zora.js.map +1 -0
  237. package/package.json +42 -42
  238. package/src/react/_internal/api/__mocks__/marketplace.msw.ts +13 -0
  239. package/src/react/_internal/api/index.ts +0 -1
  240. package/src/react/_internal/api/marketplace.gen.ts +70 -26
  241. package/src/react/_internal/api/query-keys.ts +9 -0
  242. package/src/react/_internal/wagmi/get-connectors.ts +12 -1
  243. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +0 -9
  244. package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -16
  245. package/src/react/hooks/data/collectibles/useTokenBalances.tsx +0 -9
  246. package/src/react/hooks/data/collections/index.ts +2 -0
  247. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +112 -0
  248. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.tsx +74 -0
  249. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +110 -0
  250. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.tsx +74 -0
  251. package/src/react/hooks/data/inventory/useInventory.tsx +1 -10
  252. package/src/react/hooks/data/market/useMarketCurrencies.test.tsx +31 -2
  253. package/src/react/hooks/data/primary-sales/index.ts +1 -0
  254. package/src/react/hooks/data/primary-sales/usePrimarySaleItem.tsx +71 -0
  255. package/src/react/hooks/data/tokens/useListBalances.tsx +1 -10
  256. package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -13
  257. package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +2 -0
  258. package/src/react/hooks/transactions/useProcessStep.test.tsx +8 -6
  259. package/src/react/hooks/transactions/useProcessStep.ts +8 -6
  260. package/src/react/hooks/utils/useComparePrices.test.tsx +1 -1
  261. package/src/react/providers/modal-provider.tsx +2 -1
  262. package/src/react/queries/collectibles/balanceOfCollectible.ts +1 -15
  263. package/src/react/queries/collectibles/listCollectibles.ts +1 -54
  264. package/src/react/queries/collectibles/tokenBalances.ts +1 -15
  265. package/src/react/queries/collections/activeListingsCurrencies.ts +84 -0
  266. package/src/react/queries/collections/activeOffersCurrencies.ts +84 -0
  267. package/src/react/queries/collections/index.ts +2 -0
  268. package/src/react/queries/inventory/inventory.ts +2 -9
  269. package/src/react/queries/market/marketCurrencies.ts +8 -1
  270. package/src/react/queries/primary-sales/index.ts +1 -0
  271. package/src/react/queries/primary-sales/primarySaleItem.ts +80 -0
  272. package/src/react/queries/tokens/listBalances.ts +1 -21
  273. package/src/react/queries/tokens/tokenSupplies.ts +2 -31
  274. package/src/react/queries/utils/comparePrices.ts +13 -1
  275. package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +2 -0
  276. package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +4 -18
  277. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +2 -2
  278. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +0 -2
  279. package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +3 -0
  280. package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +152 -141
  281. package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +1 -0
  282. package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +44 -60
  283. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +381 -0
  284. package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +257 -0
  285. package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +0 -23
  286. package/src/react/ui/modals/MakeOfferModal/Modal.tsx +22 -2
  287. package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +2 -0
  288. package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -0
  289. package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -0
  290. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +1 -1
  291. package/src/react/ui/modals/TransferModal/index.tsx +24 -2
  292. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +15 -12
  293. package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +2 -0
  294. package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +1 -1
  295. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +148 -11
  296. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +1 -1
  297. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
  298. package/src/styles/styles.ts +2 -2
  299. package/src/utils/networkconfigToWagmiChain.ts +7 -0
  300. package/src/utils/price.ts +58 -0
  301. package/test/const.ts +2 -0
  302. package/test/server-setup.ts +0 -2
  303. package/tsdown.config.ts +1 -0
  304. package/.changeset/honest-peas-arrive.md +0 -5
  305. package/.changeset/real-tips-stick.md +0 -8
  306. package/.changeset/tall-pandas-wear.md +0 -8
  307. package/dist/BellIcon-ByhygxBO.js.map +0 -1
  308. package/dist/CartIcon-Bt3rQYGk.js.map +0 -1
  309. package/dist/CollectibleCard-CVpdgXA8.d.ts +0 -8
  310. package/dist/_internal-DkS2VUn5.js.map +0 -1
  311. package/dist/abi-fa-o9gH3.js.map +0 -1
  312. package/dist/alien_swap-DoY6XfMA.js.map +0 -1
  313. package/dist/api-BoO0V5aJ.js.map +0 -1
  314. package/dist/aqua-xyz-BBDxnG14.js.map +0 -1
  315. package/dist/aura-DGx2zwvF.js.map +0 -1
  316. package/dist/blur-D8GKrRrq.js.map +0 -1
  317. package/dist/builder-api-BFuZNOaN.js.map +0 -1
  318. package/dist/builder.gen-B9wR2nvF.js.map +0 -1
  319. package/dist/coinbase-DOry4PXY.js.map +0 -1
  320. package/dist/collectibles-C_H8jMGH.js.map +0 -1
  321. package/dist/collections-CKummc-R.js.map +0 -1
  322. package/dist/components-CosnX7F9.js.map +0 -1
  323. package/dist/contracts-BP_0vX48.js.map +0 -1
  324. package/dist/create-config-CIfejoCk.js.map +0 -1
  325. package/dist/element-ciybd_VF.js.map +0 -1
  326. package/dist/foundation-Bq4lRz4x.js.map +0 -1
  327. package/dist/index-DNNUeZEq.d.ts +0 -18
  328. package/dist/inventory-Dd7TazvZ.js.map +0 -1
  329. package/dist/listBalances-BxpxBCvn.js +0 -57
  330. package/dist/listBalances-BxpxBCvn.js.map +0 -1
  331. package/dist/looks-rare-6H--x3AM.js.map +0 -1
  332. package/dist/magic-eden-BoxEQ1Li.js.map +0 -1
  333. package/dist/manifold-DycKsljb.js.map +0 -1
  334. package/dist/market-C3HV-awQ.js.map +0 -1
  335. package/dist/marketCurrencies-sKrTX0og.js.map +0 -1
  336. package/dist/marketplace-NQB-sEQL.js.map +0 -1
  337. package/dist/marketplace-logos-D4dS1Foy.js.map +0 -1
  338. package/dist/marketplace.gen-ksUafDqS.js.map +0 -1
  339. package/dist/marketplaceConfig-UHQMM9fq.js.map +0 -1
  340. package/dist/mintify-Dyqyo8jQ.js.map +0 -1
  341. package/dist/network-DtmiMhcg.js.map +0 -1
  342. package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +0 -1
  343. package/dist/nftx-2LbFjj9Q.js.map +0 -1
  344. package/dist/okx-CBEWJNsR.js.map +0 -1
  345. package/dist/open-sea-Dxntz_PA.js.map +0 -1
  346. package/dist/orders-DnFfZAXV.js.map +0 -1
  347. package/dist/primary-sale-1u4QlPdA.js.map +0 -1
  348. package/dist/primary-sales-Dmsi6bqj.js.map +0 -1
  349. package/dist/rarible-CS0SupHr.js.map +0 -1
  350. package/dist/react-DE852KeT.js.map +0 -1
  351. package/dist/sequence-paCCener.js.map +0 -1
  352. package/dist/src-Dz2CfBL0.js.map +0 -1
  353. package/dist/sudo-swap-9rH2EgfT.js.map +0 -1
  354. package/dist/super-rare-DHIuWtRw.js.map +0 -1
  355. package/dist/token-Cv7l2ZaL.js.map +0 -1
  356. package/dist/tokenBalances-ibDerNmM.js.map +0 -1
  357. package/dist/tokens-cGxMadd8.js.map +0 -1
  358. package/dist/transaction-DZUW5RHu.js.map +0 -1
  359. package/dist/types-B_-cnkcP.js.map +0 -1
  360. package/dist/utils-BCgNhBFR.js.map +0 -1
  361. package/dist/utils-BfpDVibN.js.map +0 -1
  362. package/dist/utils-BqxcalL2.js.map +0 -1
  363. package/dist/waitForTransactionReceipt-DieAnV52.js.map +0 -1
  364. package/dist/x2y2-45WDooeh.js.map +0 -1
  365. package/dist/zora-CbeBoLvQ.js.map +0 -1
  366. package/src/react/_internal/api/__mocks__/laos.msw.ts +0 -387
  367. package/src/react/_internal/api/__tests__/laos-api.test.ts +0 -756
  368. package/src/react/_internal/api/laos-api.ts +0 -106
  369. package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +0 -367
  370. package/src/react/queries/collectibles/__tests__/balanceOfCollectible.laos.test.ts +0 -123
  371. package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +0 -123
  372. package/src/react/queries/inventory/__tests__/inventory.laos.test.ts +0 -499
  373. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155Checkout.test.tsx +0 -395
  374. package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +0 -103
  375. package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +0 -481
  376. /package/dist/{index-6wsMChsg.d.ts → index15.d.ts} +0 -0
  377. /package/dist/{index-CZUtOTjh.d.ts → index18.d.ts} +0 -0
  378. /package/dist/{index-DW3njUfb.d.ts → index20.d.ts} +0 -0
  379. /package/dist/{index-DewGsFz5.d.ts → index22.d.ts} +0 -0
  380. /package/dist/{queries-KOcILNJO.js → queries.js} +0 -0
  381. /package/dist/{wagmi-Bseovd6Q.js → wagmi.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { MarketplaceKind } from "./create-config-ZOB7i4ZJ.js";
1
+ import { qr as MarketplaceKind } from "./create-config.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-CS65jqOq.d.ts.map
120
+ export { formatPriceWithFee as a, getNetwork as c, cn$1 as d, compareAddress as f, formatPrice as i, getPresentableChainName as l, truncateMiddle as m, calculatePriceDifferencePercentage as n, validateOpenseaOfferDecimals as o, truncateEnd as p, calculateTotalOfferCost as r, networkToWagmiChain as s, calculateEarningsAfterFees as t, getMarketplaceDetails as u };
121
+ //# sourceMappingURL=index7.d.ts.map
@@ -0,0 +1,18 @@
1
+ import { W as MarketplaceSdkContext, Xi as WalletKind, c as MarketplaceConfig } from "./create-config.js";
2
+ import * as _tanstack_react_query45 from "@tanstack/react-query";
3
+
4
+ //#region src/react/hooks/config/useConfig.d.ts
5
+ declare function useConfig(): MarketplaceSdkContext;
6
+ //#endregion
7
+ //#region src/react/hooks/config/useConnectorMetadata.d.ts
8
+ declare const useConnectorMetadata: () => {
9
+ isWaaS: boolean;
10
+ isSequence: boolean | undefined;
11
+ walletKind: WalletKind;
12
+ };
13
+ //#endregion
14
+ //#region src/react/hooks/config/useMarketplaceConfig.d.ts
15
+ declare const useMarketplaceConfig: () => _tanstack_react_query45.UseQueryResult<MarketplaceConfig, Error>;
16
+ //#endregion
17
+ export { useConnectorMetadata as n, useConfig as r, useMarketplaceConfig as t };
18
+ //# sourceMappingURL=index8.d.ts.map
@@ -1,5 +1,5 @@
1
- import { ContractType } from "./create-config-ZOB7i4ZJ.js";
2
- import { ERC1155_SALES_CONTRACT_ABI_V0, ERC1155_SALES_CONTRACT_ABI_V1, ERC721_SALE_ABI_V0, ERC721_SALE_ABI_V1 } from "./index-DwKr18CI.js";
1
+ import { Lt as ContractType } from "./create-config.js";
2
+ import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "./index5.js";
3
3
  import { Address } from "viem";
4
4
 
5
5
  //#region src/react/hooks/contracts/useSalesContractABI.d.ts
@@ -57,5 +57,5 @@ declare function useSalesContractABI({
57
57
  enabled
58
58
  }: UseSalesContractABIProps): UseSalesContractABIResult;
59
59
  //#endregion
60
- export { SalesContractVersion, useSalesContractABI };
61
- //# sourceMappingURL=index-CxpFwGvR.d.ts.map
60
+ export { useSalesContractABI as n, SalesContractVersion as t };
61
+ //# sourceMappingURL=index9.d.ts.map
@@ -1,8 +1,8 @@
1
- import { getQueryClient } from "./api-BoO0V5aJ.js";
2
- import { MetadataStatus } from "./marketplace.gen-ksUafDqS.js";
3
- import { compareAddress } from "./utils-BfpDVibN.js";
4
- import { fetchMarketplaceConfig } from "./marketplaceConfig-UHQMM9fq.js";
5
- import { tokenBalancesOptions } from "./tokenBalances-ibDerNmM.js";
1
+ import { _ as getQueryClient } from "./api.js";
2
+ import { h as MetadataStatus } from "./marketplace.gen.js";
3
+ import { l as compareAddress } from "./utils.js";
4
+ import { t as fetchMarketplaceConfig } from "./marketplaceConfig.js";
5
+ import { r as tokenBalancesOptions } from "./tokenBalances.js";
6
6
  import { queryOptions } from "@tanstack/react-query";
7
7
 
8
8
  //#region src/react/queries/inventory/inventory.ts
@@ -23,19 +23,18 @@ function collectibleFromTokenBalance(token) {
23
23
  balance: token.balance
24
24
  };
25
25
  }
26
- async function fetchIndexerTokens(chainId, accountAddress, collectionAddress, config, isLaos721) {
26
+ async function fetchIndexerTokens(chainId, accountAddress, collectionAddress, config) {
27
27
  return { collectibles: (await getQueryClient().fetchQuery(tokenBalancesOptions({
28
28
  collectionAddress,
29
29
  userAddress: accountAddress,
30
30
  chainId,
31
- isLaos721,
32
31
  includeMetadata: true
33
32
  }, config))).map((balance) => collectibleFromTokenBalance(balance)) };
34
33
  }
35
34
  async function fetchInventory(args, config, page) {
36
- const { accountAddress, collectionAddress, chainId, isLaos721 } = args;
35
+ const { accountAddress, collectionAddress, chainId } = args;
37
36
  const isTradable = ((await fetchMarketplaceConfig({ config }))?.market.collections || []).some((collection) => compareAddress(collection.itemsAddress, collectionAddress));
38
- const { collectibles } = await fetchIndexerTokens(chainId, accountAddress, collectionAddress, config, isLaos721);
37
+ const { collectibles } = await fetchIndexerTokens(chainId, accountAddress, collectionAddress, config);
39
38
  return {
40
39
  collectibles,
41
40
  page: {
@@ -56,10 +55,7 @@ function inventoryOptions(args, config) {
56
55
  args.query?.page ?? 1,
57
56
  args.query?.pageSize ?? 30
58
57
  ],
59
- queryFn: () => fetchInventory({
60
- ...args,
61
- isLaos721: args.isLaos721 ?? false
62
- }, config, {
58
+ queryFn: () => fetchInventory({ ...args }, config, {
63
59
  page: args.query?.page ?? 1,
64
60
  pageSize: args.query?.pageSize ?? 30
65
61
  }),
@@ -68,5 +64,5 @@ function inventoryOptions(args, config) {
68
64
  }
69
65
 
70
66
  //#endregion
71
- export { fetchInventory, inventoryOptions };
72
- //# sourceMappingURL=inventory-Dd7TazvZ.js.map
67
+ export { inventoryOptions as n, fetchInventory as t };
68
+ //# sourceMappingURL=inventory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory.js","names":[],"sources":["../src/react/queries/inventory/inventory.ts"],"sourcesContent":["import type { ContractInfo, TokenBalance } from '@0xsequence/indexer';\nimport { queryOptions } from '@tanstack/react-query';\nimport type { Address } from 'viem';\nimport type { Page, SdkConfig } from '../../../types';\nimport { compareAddress } from '../../../utils';\nimport {\n\ttype ContractType,\n\tgetQueryClient,\n\tMetadataStatus,\n} from '../../_internal';\nimport { tokenBalancesOptions } from '../collectibles/tokenBalances';\nimport { fetchMarketplaceConfig } from '../market/marketplaceConfig';\n\nexport interface UseInventoryArgs {\n\taccountAddress: Address;\n\tcollectionAddress: Address;\n\tchainId: number;\n\tincludeNonTradable?: boolean;\n\tquery?: {\n\t\tenabled?: boolean;\n\t\tpage?: number;\n\t\tpageSize?: number;\n\t};\n}\n\ntype GetInventoryArgs = Omit<UseInventoryArgs, 'query'>;\n\ninterface CollectibleWithBalance {\n\tmetadata: {\n\t\ttokenId: string;\n\t\tattributes: Array<any>;\n\t\timage?: string;\n\t\tname: string;\n\t\tdescription?: string;\n\t\tvideo?: string;\n\t\taudio?: string;\n\t\tstatus: MetadataStatus;\n\t};\n\tbalance: string;\n\tcontractInfo?: ContractInfo;\n\tcontractType: ContractType.ERC1155 | ContractType.ERC721;\n}\n\nexport interface CollectiblesResponse {\n\tcollectibles: CollectibleWithBalance[];\n\tpage: Page;\n\tisTradable: boolean;\n}\n\nfunction collectibleFromTokenBalance(\n\ttoken: TokenBalance,\n): CollectibleWithBalance {\n\treturn {\n\t\tmetadata: {\n\t\t\ttokenId: token.tokenID ?? '',\n\t\t\tattributes: token.tokenMetadata?.attributes ?? [],\n\t\t\timage: token.tokenMetadata?.image,\n\t\t\tname: token.tokenMetadata?.name ?? '',\n\t\t\tdescription: token.tokenMetadata?.description,\n\t\t\tvideo: token.tokenMetadata?.video,\n\t\t\taudio: token.tokenMetadata?.audio,\n\t\t\tstatus: MetadataStatus.AVAILABLE,\n\t\t},\n\t\tcontractInfo: token.contractInfo,\n\t\tcontractType: token.contractType as unknown as\n\t\t\t| ContractType.ERC1155\n\t\t\t| ContractType.ERC721,\n\t\tbalance: token.balance,\n\t};\n}\n\nasync function fetchIndexerTokens(\n\tchainId: number,\n\taccountAddress: Address,\n\tcollectionAddress: Address,\n\tconfig: SdkConfig,\n): Promise<{ collectibles: CollectibleWithBalance[] }> {\n\tconst queryClient = getQueryClient();\n\tconst balances = await queryClient.fetchQuery(\n\t\ttokenBalancesOptions(\n\t\t\t{\n\t\t\t\tcollectionAddress,\n\t\t\t\tuserAddress: accountAddress,\n\t\t\t\tchainId,\n\t\t\t\tincludeMetadata: true,\n\t\t\t},\n\t\t\tconfig,\n\t\t),\n\t);\n\n\tconst collectibles = balances.map((balance) =>\n\t\tcollectibleFromTokenBalance(balance),\n\t);\n\n\treturn {\n\t\tcollectibles,\n\t};\n}\n\nexport async function fetchInventory(\n\targs: GetInventoryArgs,\n\tconfig: SdkConfig,\n\tpage: Page,\n): Promise<CollectiblesResponse> {\n\tconst { accountAddress, collectionAddress, chainId } = args;\n\tconst marketplaceConfig = await fetchMarketplaceConfig({ config });\n\n\tconst marketCollections = marketplaceConfig?.market.collections || [];\n\n\tconst isMarketCollection = marketCollections.some((collection) =>\n\t\tcompareAddress(collection.itemsAddress, collectionAddress),\n\t);\n\n\t// Determine if this collection is tradable (market collection vs shop collection)\n\tconst isTradable = isMarketCollection;\n\n\t// Fetch collectibles from indexer\n\tconst { collectibles } = await fetchIndexerTokens(\n\t\tchainId,\n\t\taccountAddress,\n\t\tcollectionAddress,\n\t\tconfig,\n\t);\n\n\treturn {\n\t\tcollectibles,\n\t\tpage: {\n\t\t\tpage: page.page,\n\t\t\tpageSize: page.pageSize,\n\t\t},\n\t\tisTradable,\n\t};\n}\n\nexport function inventoryOptions(args: UseInventoryArgs, config: SdkConfig) {\n\tconst enabledQuery = args.query?.enabled ?? true;\n\tconst enabled =\n\t\tenabledQuery && !!args.accountAddress && !!args.collectionAddress;\n\n\treturn queryOptions({\n\t\tqueryKey: [\n\t\t\t'inventory',\n\t\t\targs.accountAddress,\n\t\t\targs.collectionAddress,\n\t\t\targs.chainId,\n\t\t\targs.query?.page ?? 1,\n\t\t\targs.query?.pageSize ?? 30,\n\t\t],\n\t\tqueryFn: () =>\n\t\t\tfetchInventory(\n\t\t\t\t{\n\t\t\t\t\t...args,\n\t\t\t\t},\n\t\t\t\tconfig,\n\t\t\t\t{\n\t\t\t\t\tpage: args.query?.page ?? 1,\n\t\t\t\t\tpageSize: args.query?.pageSize ?? 30,\n\t\t\t\t},\n\t\t\t),\n\t\tenabled,\n\t});\n}\n"],"mappings":";;;;;;;;AAiDA,SAAS,4BACR,OACyB;AACzB,QAAO;EACN,UAAU;GACT,SAAS,MAAM,WAAW;GAC1B,YAAY,MAAM,eAAe,cAAc,EAAE;GACjD,OAAO,MAAM,eAAe;GAC5B,MAAM,MAAM,eAAe,QAAQ;GACnC,aAAa,MAAM,eAAe;GAClC,OAAO,MAAM,eAAe;GAC5B,OAAO,MAAM,eAAe;GAC5B,QAAQ,eAAe;GACvB;EACD,cAAc,MAAM;EACpB,cAAc,MAAM;EAGpB,SAAS,MAAM;EACf;;AAGF,eAAe,mBACd,SACA,gBACA,mBACA,QACsD;AAkBtD,QAAO,EACN,eAjBgB,MADG,gBAAgB,CACD,WAClC,qBACC;EACC;EACA,aAAa;EACb;EACA,iBAAiB;EACjB,EACD,OACA,CACD,EAE6B,KAAK,YAClC,4BAA4B,QAAQ,CACpC,EAIA;;AAGF,eAAsB,eACrB,MACA,QACA,MACgC;CAChC,MAAM,EAAE,gBAAgB,mBAAmB,YAAY;CAUvD,MAAM,eAToB,MAAM,uBAAuB,EAAE,QAAQ,CAAC,GAErB,OAAO,eAAe,EAAE,EAExB,MAAM,eAClD,eAAe,WAAW,cAAc,kBAAkB,CAC1D;CAMD,MAAM,EAAE,iBAAiB,MAAM,mBAC9B,SACA,gBACA,mBACA,OACA;AAED,QAAO;EACN;EACA,MAAM;GACL,MAAM,KAAK;GACX,UAAU,KAAK;GACf;EACD;EACA;;AAGF,SAAgB,iBAAiB,MAAwB,QAAmB;CAE3E,MAAM,WADe,KAAK,OAAO,WAAW,SAE3B,CAAC,CAAC,KAAK,kBAAkB,CAAC,CAAC,KAAK;AAEjD,QAAO,aAAa;EACnB,UAAU;GACT;GACA,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK,OAAO,QAAQ;GACpB,KAAK,OAAO,YAAY;GACxB;EACD,eACC,eACC,EACC,GAAG,MACH,EACD,QACA;GACC,MAAM,KAAK,OAAO,QAAQ;GAC1B,UAAU,KAAK,OAAO,YAAY;GAClC,CACD;EACF;EACA,CAAC"}
@@ -1,9 +1,9 @@
1
- import { CardType, CollectiblesFilter, ListCollectibleActivitiesArgs, ListCollectibleActivitiesReturn, ListCollectiblesArgs, ListCollectiblesReturn, OrderSide, Page as Page$2, SdkConfig, SortBy, ValuesOptional } from "./create-config-ZOB7i4ZJ.js";
2
- import { StandardInfiniteQueryOptions, StandardQueryOptions } from "./query-BWbCsXLY.js";
3
- import * as _tanstack_react_query257 from "@tanstack/react-query";
1
+ import { Cr as ListCollectiblesReturn, G as SdkConfig, K as CardType, Sr as ListCollectiblesArgs, _r as ListCollectibleActivitiesReturn, gr as ListCollectibleActivitiesArgs, j as ValuesOptional, jt as CollectiblesFilter, ni as OrderSide, oi as Page$2, wi as SortBy } from "./create-config.js";
2
+ import { n as StandardQueryOptions, t as StandardInfiniteQueryOptions } from "./query.js";
3
+ import * as _tanstack_react_query7 from "@tanstack/react-query";
4
4
  import { UseQueryParameters } from "wagmi/query";
5
- import * as _0xsequence_indexer2 from "@0xsequence/indexer";
6
- import * as _0xsequence_metadata124 from "@0xsequence/metadata";
5
+ import * as _0xsequence_indexer5 from "@0xsequence/indexer";
6
+ import * as _0xsequence_metadata0 from "@0xsequence/metadata";
7
7
  import { GetTokenMetadataArgs } from "@0xsequence/metadata";
8
8
  import { Address } from "viem";
9
9
 
@@ -13,7 +13,6 @@ type UseBalanceOfCollectibleArgs = {
13
13
  collectableId: string;
14
14
  userAddress: Address | undefined;
15
15
  chainId: number;
16
- isLaos721?: boolean;
17
16
  includeMetadata?: boolean;
18
17
  query?: UseQueryParameters;
19
18
  };
@@ -26,7 +25,7 @@ type UseBalanceOfCollectibleArgs = {
26
25
  */
27
26
  declare function fetchBalanceOfCollectible(args: Omit<UseBalanceOfCollectibleArgs, 'userAddress'> & {
28
27
  userAddress: Address;
29
- }, config: SdkConfig): Promise<_0xsequence_indexer2.TokenBalance>;
28
+ }, config: SdkConfig): Promise<_0xsequence_indexer5.TokenBalance>;
30
29
  declare function getBalanceOfCollectibleQueryKey(args: UseBalanceOfCollectibleArgs): readonly ["collectable", "collectable", "details", "userBalances", {
31
30
  chainId: number;
32
31
  accountAddress: `0x${string}` | undefined;
@@ -37,7 +36,6 @@ declare function getBalanceOfCollectibleQueryKey(args: UseBalanceOfCollectibleAr
37
36
  verifiedOnly: boolean;
38
37
  includeContracts: `0x${string}`[];
39
38
  } | undefined;
40
- isLaos721: boolean | undefined;
41
39
  }];
42
40
  /**
43
41
  * Creates a tanstack query options object for the balance query
@@ -46,7 +44,7 @@ declare function getBalanceOfCollectibleQueryKey(args: UseBalanceOfCollectibleAr
46
44
  * @param config - SDK configuration
47
45
  * @returns Query options configuration
48
46
  */
49
- declare function balanceOfCollectibleOptions(args: UseBalanceOfCollectibleArgs, config: SdkConfig): _tanstack_react_query257.UseQueryOptions<_0xsequence_indexer2.TokenBalance, Error, _0xsequence_indexer2.TokenBalance, readonly ["collectable", "collectable", "details", "userBalances", {
47
+ declare function balanceOfCollectibleOptions(args: UseBalanceOfCollectibleArgs, config: SdkConfig): _tanstack_react_query7.UseQueryOptions<_0xsequence_indexer5.TokenBalance, Error, _0xsequence_indexer5.TokenBalance, readonly ["collectable", "collectable", "details", "userBalances", {
50
48
  chainId: number;
51
49
  accountAddress: `0x${string}` | undefined;
52
50
  contractAddress: `0x${string}`;
@@ -56,9 +54,8 @@ declare function balanceOfCollectibleOptions(args: UseBalanceOfCollectibleArgs,
56
54
  verifiedOnly: boolean;
57
55
  includeContracts: `0x${string}`[];
58
56
  } | undefined;
59
- isLaos721: boolean | undefined;
60
57
  }]> & {
61
- initialData?: _0xsequence_indexer2.TokenBalance | _tanstack_react_query257.InitialDataFunction<_0xsequence_indexer2.TokenBalance> | undefined;
58
+ initialData?: _0xsequence_indexer5.TokenBalance | _tanstack_react_query7.InitialDataFunction<_0xsequence_indexer5.TokenBalance> | undefined;
62
59
  } & {
63
60
  queryKey: readonly ["collectable", "collectable", "details", "userBalances", {
64
61
  chainId: number;
@@ -70,9 +67,8 @@ declare function balanceOfCollectibleOptions(args: UseBalanceOfCollectibleArgs,
70
67
  verifiedOnly: boolean;
71
68
  includeContracts: `0x${string}`[];
72
69
  } | undefined;
73
- isLaos721: boolean | undefined;
74
70
  }] & {
75
- [dataTagSymbol]: _0xsequence_indexer2.TokenBalance;
71
+ [dataTagSymbol]: _0xsequence_indexer5.TokenBalance;
76
72
  [dataTagErrorSymbol]: Error;
77
73
  };
78
74
  };
@@ -87,7 +83,7 @@ interface FetchCollectibleParams extends Omit<GetTokenMetadataArgs, 'chainID' |
87
83
  /**
88
84
  * Fetches collectible metadata from the metadata API
89
85
  */
90
- declare function fetchCollectible(params: FetchCollectibleParams): Promise<_0xsequence_metadata124.TokenMetadata>;
86
+ declare function fetchCollectible(params: FetchCollectibleParams): Promise<_0xsequence_metadata0.TokenMetadata>;
91
87
  type CollectibleQueryOptions = ValuesOptional<FetchCollectibleParams> & {
92
88
  query?: StandardQueryOptions;
93
89
  };
@@ -96,12 +92,12 @@ declare function getCollectibleQueryKey(params: CollectibleQueryOptions): readon
96
92
  contractAddress: string | undefined;
97
93
  tokenIDs: string[];
98
94
  }];
99
- declare function collectibleQueryOptions(params: CollectibleQueryOptions): _tanstack_react_query257.OmitKeyof<_tanstack_react_query257.UseQueryOptions<_0xsequence_metadata124.TokenMetadata, Error, _0xsequence_metadata124.TokenMetadata, readonly ["collectable", "details", {
95
+ declare function collectibleQueryOptions(params: CollectibleQueryOptions): _tanstack_react_query7.OmitKeyof<_tanstack_react_query7.UseQueryOptions<_0xsequence_metadata0.TokenMetadata, Error, _0xsequence_metadata0.TokenMetadata, readonly ["collectable", "details", {
100
96
  chainID: string;
101
97
  contractAddress: string | undefined;
102
98
  tokenIDs: string[];
103
99
  }]>, "queryFn"> & {
104
- queryFn?: _tanstack_react_query257.QueryFunction<_0xsequence_metadata124.TokenMetadata, readonly ["collectable", "details", {
100
+ queryFn?: _tanstack_react_query7.QueryFunction<_0xsequence_metadata0.TokenMetadata, readonly ["collectable", "details", {
105
101
  chainID: string;
106
102
  contractAddress: string | undefined;
107
103
  tokenIDs: string[];
@@ -112,7 +108,7 @@ declare function collectibleQueryOptions(params: CollectibleQueryOptions): _tans
112
108
  contractAddress: string | undefined;
113
109
  tokenIDs: string[];
114
110
  }] & {
115
- [dataTagSymbol]: _0xsequence_metadata124.TokenMetadata;
111
+ [dataTagSymbol]: _0xsequence_metadata0.TokenMetadata;
116
112
  [dataTagErrorSymbol]: Error;
117
113
  };
118
114
  };
@@ -136,11 +132,11 @@ declare function getCountOfCollectablesQueryKey(params: CountOfCollectablesQuery
136
132
  chainId: string;
137
133
  contractAddress: string | undefined;
138
134
  }];
139
- declare function countOfCollectablesQueryOptions(params: CountOfCollectablesQueryOptions): _tanstack_react_query257.OmitKeyof<_tanstack_react_query257.UseQueryOptions<number, Error, number, readonly ["collectable", "counts", {
135
+ declare function countOfCollectablesQueryOptions(params: CountOfCollectablesQueryOptions): _tanstack_react_query7.OmitKeyof<_tanstack_react_query7.UseQueryOptions<number, Error, number, readonly ["collectable", "counts", {
140
136
  chainId: string;
141
137
  contractAddress: string | undefined;
142
138
  }]>, "queryFn"> & {
143
- queryFn?: _tanstack_react_query257.QueryFunction<number, readonly ["collectable", "counts", {
139
+ queryFn?: _tanstack_react_query7.QueryFunction<number, readonly ["collectable", "counts", {
144
140
  chainId: string;
145
141
  contractAddress: string | undefined;
146
142
  }], never> | undefined;
@@ -180,7 +176,7 @@ declare function getListCollectibleActivitiesQueryKey(params: ListCollectibleAct
180
176
  sort: SortBy[] | undefined;
181
177
  } | undefined;
182
178
  }];
183
- declare function listCollectibleActivitiesQueryOptions(params: ListCollectibleActivitiesQueryOptions): _tanstack_react_query257.OmitKeyof<_tanstack_react_query257.UseQueryOptions<ListCollectibleActivitiesReturn, Error, ListCollectibleActivitiesReturn, readonly ["collectable", "collectibleActivities", {
179
+ declare function listCollectibleActivitiesQueryOptions(params: ListCollectibleActivitiesQueryOptions): _tanstack_react_query7.OmitKeyof<_tanstack_react_query7.UseQueryOptions<ListCollectibleActivitiesReturn, Error, ListCollectibleActivitiesReturn, readonly ["collectable", "collectibleActivities", {
184
180
  chainId: string;
185
181
  contractAddress: `0x${string}` | undefined;
186
182
  tokenId: string | undefined;
@@ -190,7 +186,7 @@ declare function listCollectibleActivitiesQueryOptions(params: ListCollectibleAc
190
186
  sort: SortBy[] | undefined;
191
187
  } | undefined;
192
188
  }]>, "queryFn"> & {
193
- queryFn?: _tanstack_react_query257.QueryFunction<ListCollectibleActivitiesReturn, readonly ["collectable", "collectibleActivities", {
189
+ queryFn?: _tanstack_react_query7.QueryFunction<ListCollectibleActivitiesReturn, readonly ["collectable", "collectibleActivities", {
194
190
  chainId: string;
195
191
  contractAddress: `0x${string}` | undefined;
196
192
  tokenId: string | undefined;
@@ -220,7 +216,6 @@ declare function listCollectibleActivitiesQueryOptions(params: ListCollectibleAc
220
216
  interface FetchListCollectiblesParams extends Omit<ListCollectiblesArgs, 'chainId' | 'contractAddress'> {
221
217
  chainId: number;
222
218
  collectionAddress: Address;
223
- isLaos721?: boolean;
224
219
  cardType?: CardType;
225
220
  config: SdkConfig;
226
221
  enabled?: boolean;
@@ -238,13 +233,13 @@ declare function getListCollectiblesQueryKey(params: ListCollectiblesQueryOption
238
233
  side: OrderSide | undefined;
239
234
  filter: CollectiblesFilter | undefined;
240
235
  }];
241
- declare function listCollectiblesQueryOptions(params: ListCollectiblesQueryOptions): _tanstack_react_query257.OmitKeyof<_tanstack_react_query257.UseInfiniteQueryOptions<ListCollectiblesReturn, Error, _tanstack_react_query257.InfiniteData<ListCollectiblesReturn, unknown>, readonly ["collectable", "list", {
236
+ declare function listCollectiblesQueryOptions(params: ListCollectiblesQueryOptions): _tanstack_react_query7.OmitKeyof<_tanstack_react_query7.UseInfiniteQueryOptions<ListCollectiblesReturn, Error, _tanstack_react_query7.InfiniteData<ListCollectiblesReturn, unknown>, readonly ["collectable", "list", {
242
237
  chainId: string;
243
238
  contractAddress: `0x${string}` | undefined;
244
239
  side: OrderSide | undefined;
245
240
  filter: CollectiblesFilter | undefined;
246
241
  }], Page$2>, "queryFn"> & {
247
- queryFn?: _tanstack_react_query257.QueryFunction<ListCollectiblesReturn, readonly ["collectable", "list", {
242
+ queryFn?: _tanstack_react_query7.QueryFunction<ListCollectiblesReturn, readonly ["collectable", "list", {
248
243
  chainId: string;
249
244
  contractAddress: `0x${string}` | undefined;
250
245
  side: OrderSide | undefined;
@@ -257,7 +252,7 @@ declare function listCollectiblesQueryOptions(params: ListCollectiblesQueryOptio
257
252
  side: OrderSide | undefined;
258
253
  filter: CollectiblesFilter | undefined;
259
254
  }] & {
260
- [dataTagSymbol]: _tanstack_react_query257.InfiniteData<ListCollectiblesReturn, unknown>;
255
+ [dataTagSymbol]: _tanstack_react_query7.InfiniteData<ListCollectiblesReturn, unknown>;
261
256
  [dataTagErrorSymbol]: Error;
262
257
  };
263
258
  };
@@ -287,7 +282,7 @@ declare function getListCollectiblesPaginatedQueryKey(params: ListCollectiblesPa
287
282
  pageSize: number;
288
283
  } | undefined;
289
284
  }];
290
- declare function listCollectiblesPaginatedQueryOptions(params: ListCollectiblesPaginatedQueryOptions): _tanstack_react_query257.OmitKeyof<_tanstack_react_query257.UseQueryOptions<ListCollectiblesReturn, Error, ListCollectiblesReturn, readonly ["collectable", "list", "paginated", {
285
+ declare function listCollectiblesPaginatedQueryOptions(params: ListCollectiblesPaginatedQueryOptions): _tanstack_react_query7.OmitKeyof<_tanstack_react_query7.UseQueryOptions<ListCollectiblesReturn, Error, ListCollectiblesReturn, readonly ["collectable", "list", "paginated", {
291
286
  chainId: string;
292
287
  contractAddress: `0x${string}` | undefined;
293
288
  side: OrderSide | undefined;
@@ -297,7 +292,7 @@ declare function listCollectiblesPaginatedQueryOptions(params: ListCollectiblesP
297
292
  pageSize: number;
298
293
  } | undefined;
299
294
  }]>, "queryFn"> & {
300
- queryFn?: _tanstack_react_query257.QueryFunction<ListCollectiblesReturn, readonly ["collectable", "list", "paginated", {
295
+ queryFn?: _tanstack_react_query7.QueryFunction<ListCollectiblesReturn, readonly ["collectable", "list", "paginated", {
301
296
  chainId: string;
302
297
  contractAddress: `0x${string}` | undefined;
303
298
  side: OrderSide | undefined;
@@ -323,5 +318,5 @@ declare function listCollectiblesPaginatedQueryOptions(params: ListCollectiblesP
323
318
  };
324
319
  };
325
320
  //#endregion
326
- export { CollectibleQueryOptions, CountOfCollectablesQueryOptions, FetchCollectibleParams, FetchCountOfCollectablesParams, FetchListCollectibleActivitiesParams, FetchListCollectiblesPaginatedParams, FetchListCollectiblesParams, ListCollectibleActivitiesQueryOptions, ListCollectiblesPaginatedQueryOptions, ListCollectiblesQueryOptions, UseBalanceOfCollectibleArgs, balanceOfCollectibleOptions, collectibleQueryOptions, countOfCollectablesQueryOptions, fetchBalanceOfCollectible, fetchCollectible, fetchCountOfCollectables, fetchListCollectibleActivities, fetchListCollectibles, fetchListCollectiblesPaginated, getBalanceOfCollectibleQueryKey, getCollectibleQueryKey, getCountOfCollectablesQueryKey, getListCollectibleActivitiesQueryKey, getListCollectiblesPaginatedQueryKey, getListCollectiblesQueryKey, listCollectibleActivitiesQueryOptions, listCollectiblesPaginatedQueryOptions, listCollectiblesQueryOptions };
327
- //# sourceMappingURL=listCollectiblesPaginated-Cy2_qEZA.d.ts.map
321
+ export { collectibleQueryOptions as C, balanceOfCollectibleOptions as D, UseBalanceOfCollectibleArgs as E, fetchBalanceOfCollectible as O, FetchCollectibleParams as S, getCollectibleQueryKey as T, FetchCountOfCollectablesParams as _, listCollectiblesPaginatedQueryOptions as a, getCountOfCollectablesQueryKey as b, fetchListCollectibles as c, FetchListCollectibleActivitiesParams as d, ListCollectibleActivitiesQueryOptions as f, CountOfCollectablesQueryOptions as g, listCollectibleActivitiesQueryOptions as h, getListCollectiblesPaginatedQueryKey as i, getBalanceOfCollectibleQueryKey as k, getListCollectiblesQueryKey as l, getListCollectibleActivitiesQueryKey as m, ListCollectiblesPaginatedQueryOptions as n, FetchListCollectiblesParams as o, fetchListCollectibleActivities as p, fetchListCollectiblesPaginated as r, ListCollectiblesQueryOptions as s, FetchListCollectiblesPaginatedParams as t, listCollectiblesQueryOptions as u, countOfCollectablesQueryOptions as v, fetchCollectible as w, CollectibleQueryOptions as x, fetchCountOfCollectables as y };
322
+ //# sourceMappingURL=listCollectiblesPaginated.d.ts.map