@dcl/shop 0.1.0-30043940031.commit-1a0b88f → 0.1.0-30098548645.commit-d41f1c2

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 (244) hide show
  1. package/assets/Activity-BqXTjVty.js +244 -0
  2. package/assets/{AnimatedBackground-DKAviRVb.js → AnimatedBackground-B1wSbdZF.js} +3 -3
  3. package/assets/{Assets-CbIX010b.js → Assets-uNZ9-jka.js} +11 -11
  4. package/assets/{Assets.styles-C5zpZCUK.js → Assets.styles-C-xsD5dl.js} +6 -6
  5. package/assets/Authorizations-W1UUdrPD.js +175 -0
  6. package/assets/Cart-Blw7vVhV.js +3 -0
  7. package/assets/{CircularProgress-CeVjKviE.js → CircularProgress-BFfCy1Hd.js} +1 -1
  8. package/assets/{Collection-CdFvuhxV.js → Collection-DQPRvrkF.js} +2 -2
  9. package/assets/CollectionCarousel-D2Bi7Sgm.js +1 -0
  10. package/assets/{ConstantsUtil-CJUlyS7R.js → ConstantsUtil-DamObtDN.js} +1 -1
  11. package/assets/{ContentClient-DtuNqgIp.js → ContentClient-JBAwNjZ1.js} +1 -1
  12. package/assets/Creator-DPwgF8OQ.js +1 -0
  13. package/assets/{CssVarsProvider-B0QPJ9UY.js → CssVarsProvider-Cp4XcbYa.js} +3 -3
  14. package/assets/{DeploymentBuilder-Bt5zjBVh.js → DeploymentBuilder-Ch1YSyjd.js} +1 -1
  15. package/assets/{ErrorNotice-C7soUjRV.js → ErrorNotice-Cmr8aXJs.js} +1 -1
  16. package/assets/{ExchangeController-aeqEXROB.js → ExchangeController-DdMMOoWf.js} +1 -1
  17. package/assets/GetCredits-BbXMUpEL.js +1 -0
  18. package/assets/{HelpersUtil-fELrO7Xi.js → HelpersUtil-CQPNVThh.js} +1 -1
  19. package/assets/ImportListings-DvBSRPqC.js +5 -0
  20. package/assets/ItemDetail--8GO0Wno.css +1 -0
  21. package/assets/ItemDetail-CVK9Pwv2.js +1437 -0
  22. package/assets/{LoadMore-CHlPzPXC.js → LoadMore-Co82ACWq.js} +1 -1
  23. package/assets/{MarketCheckout-dyTQT0v3.js → MarketCheckout-CXF5RWuK.js} +1 -1
  24. package/assets/MyAssets-BPoXrFd-.js +258 -0
  25. package/assets/{MyFavorites-B7HUqvEe.js → MyFavorites-BLOtKEJq.js} +1 -1
  26. package/assets/{NetworkUtil-Xp0fNa8X.js → NetworkUtil-xdrSr8Td.js} +1 -1
  27. package/assets/{NotFound-DgN5Ojh9.js → NotFound-B-Y9Dm45.js} +1 -1
  28. package/assets/PrimaryListModal-cAIZGy2D.js +320 -0
  29. package/assets/{StoreSettings-Bx7T9d4h.js → StoreSettings-Bos_AZlO.js} +3 -3
  30. package/assets/{StoreSettings-Bk5IXwNu.css → StoreSettings-qz4M138c.css} +1 -1
  31. package/assets/{Success-B45Qtg3D.js → Success-DNHF9FcH.js} +1 -1
  32. package/assets/{SwapController-qtGuRSFp.js → SwapController-Bk4YDtlv.js} +1 -1
  33. package/assets/{Tooltip-BjVKL7Fw.js → Tooltip-CMiyDsYT.js} +1 -1
  34. package/assets/{TradeService-DWfELVYz.js → TradeService-B-E0tJaw.js} +1 -1
  35. package/assets/{W3MFrameProviderSingleton-BYvOktGz.js → W3MFrameProviderSingleton-B4WegxTX.js} +3 -3
  36. package/assets/{WebCryptoP256-BaA8puph.js → WebCryptoP256-CIN8LP5I.js} +1 -1
  37. package/assets/authorizations-xecfPSH8.js +1 -0
  38. package/assets/{basic-Ceg7-rw5.js → basic-DrYgU33R.js} +1 -1
  39. package/assets/{biconomy-dWuJAVG6.js → biconomy-BkGZoSRG.js} +1 -1
  40. package/assets/{browser-9oFjBwrz.js → browser-EKOgZpqm.js} +1 -1
  41. package/assets/browser-ponyfill-CjkfloA2.js +1 -0
  42. package/assets/{browser-ponyfill-DMgE6PM5.js → browser-ponyfill-sXwzu6Qj.js} +1 -1
  43. package/assets/builder-CdMpbqLu.js +1 -0
  44. package/assets/buy-DnDBBIJp.js +1 -0
  45. package/assets/{buy-gasless-C7VsNrLp.js → buy-gasless-DITQks7J.js} +1 -1
  46. package/assets/{cart-checkout-QeMYLp4l.js → cart-checkout-DldS-zcM.js} +1 -1
  47. package/assets/{categories-DDZgtl6y.js → categories-q4cmLb4w.js} +5 -5
  48. package/assets/{ccip-D1vE27l0.js → ccip-6xULYkiQ.js} +1 -1
  49. package/assets/{ccip-O9QIlP6E.js → ccip-Iagv6b6U.js} +1 -1
  50. package/assets/{chains-Bzau33xB.js → chains-Ce3mOHm7.js} +1 -1
  51. package/assets/collection-9XqBYepL.js +1 -0
  52. package/assets/{common-BaN-pXG4.js → common-D_VcNXlU.js} +1 -1
  53. package/assets/{controller-BDtPSPmx.js → controller-CGXADiD7.js} +2 -2
  54. package/assets/{core-LjTvFg1D.js → core-ClJQ0SHg.js} +4 -4
  55. package/assets/{custom-COtXL8aP.js → custom-CRZtbdh1.js} +1 -1
  56. package/assets/{data-capture-CXZOXZ6B.js → data-capture-Brtecicz.js} +1 -1
  57. package/assets/decimals-Br2WcHKo.js +1 -0
  58. package/assets/{decimals-DaU_ek4_.js → decimals-DIRnQ_Ef.js} +1 -1
  59. package/assets/{detectExtension-C2ped1rb.js → detectExtension-DBVDFtUM.js} +1 -1
  60. package/assets/{email-BS7ZREiA.js → email-Dc521KI9.js} +1 -1
  61. package/assets/{embedded-wallet-CWaQUjgL.js → embedded-wallet-qO37cv4b.js} +1 -1
  62. package/assets/{emotion-styled.browser.esm-c2FFx3DR.js → emotion-styled.browser.esm-CdNioFJM.js} +1 -1
  63. package/assets/{engine-bGCn900B.js → engine-C38d94-_.js} +1 -1
  64. package/assets/{errors-D2EYBG38.js → errors-BHedmHUe.js} +1 -1
  65. package/assets/estimate-l1-fee-BIFy_-EC.js +1 -0
  66. package/assets/eth_estimateGas-DhEvfMK1.js +1 -0
  67. package/assets/{eth_getStorageAt-CvOhghFe.js → eth_getStorageAt-C5DWgtYS.js} +1 -1
  68. package/assets/eth_getTransactionCount-CYnx77q9.js +1 -0
  69. package/assets/{ethereum-B_IIMsg0.js → ethereum-C11g7mpZ.js} +1 -1
  70. package/assets/{ethers-w5dOkonM.js → ethers-BJDbBwOP.js} +1 -1
  71. package/assets/{execute-DySDEvjB.js → execute-CxvgrSL8.js} +2 -2
  72. package/assets/{extractIPFS-mhjpSq1K.js → extractIPFS-CvNdY0iH.js} +1 -1
  73. package/assets/{features-DLc5WZYN.js → features-CLCrkR7s.js} +1 -1
  74. package/assets/{fetchTokenMetadata-C9wYmfXl.js → fetchTokenMetadata-ChVieTUE.js} +2 -2
  75. package/assets/{fortmatic-DhmlcDbL.js → fortmatic-bc1cz1bJ.js} +1 -1
  76. package/assets/{get-bytecode-D38h1G96.js → get-bytecode-B9DXJUIQ.js} +1 -1
  77. package/assets/get-ecosystem-wallet-info-zShJZuFf.js +1 -0
  78. package/assets/{getBalance-j6TTPwxJ.js → getBalance-D426yGLP.js} +2 -2
  79. package/assets/{getInstalledModules-3Q5HYxkN.js → getInstalledModules-_oxiIuvc.js} +1 -1
  80. package/assets/getNFT-DDdhWmh5.js +1 -0
  81. package/assets/{getNFT-BJKaB30S.js → getNFT-DbYpgeGV.js} +2 -2
  82. package/assets/{getOverlayAlpha-Dgr3elr3.js → getOverlayAlpha-DF26uj8z.js} +1 -1
  83. package/assets/{hashTypedData-C3LWcJNr.js → hashTypedData-DBErsqac.js} +1 -1
  84. package/assets/{hashTypedData-B3ueg2tO.js → hashTypedData-ZQ4gFkel.js} +1 -1
  85. package/assets/{import-CT__rglP.js → import-ZCCl3Kgl.js} +1 -1
  86. package/assets/{in-app-eO_XP67Y.js → in-app-CpdkUQeY.js} +1 -1
  87. package/assets/{in-app-wallet-calls-CaxSZMND.js → in-app-wallet-calls-dlczJBmg.js} +1 -1
  88. package/assets/index-B-GW8Cic.js +1 -0
  89. package/assets/{index-LLNcsqnt.js → index-BCFHpbdv.js} +1 -1
  90. package/assets/{index-D7KDT9M9.js → index-BH2TijWz.js} +1 -1
  91. package/assets/{index-CqYbCFw1.js → index-BJ8Gi1m8.js} +1 -1
  92. package/assets/{index-BfnFZQqu.js → index-BKypSXDA.js} +1 -1
  93. package/assets/{index-BNz2c_gH.js → index-BPE4c8Hm.js} +1 -1
  94. package/assets/{index-DTVGIjcC.js → index-BTEpBP4F.js} +1 -1
  95. package/assets/{index-Bt4sSx0j.js → index-BUxPYCpI.js} +1 -1
  96. package/assets/{index-Chf28tkX.js → index-BYL4Amcw.js} +1 -1
  97. package/assets/{index-BLif3fcT.js → index-Be_wjnpZ.js} +1 -1
  98. package/assets/{index-D-DOtIYj.js → index-BfgxxLyc.js} +1 -1
  99. package/assets/{index-I60bR1z0.js → index-BmClkpNO.js} +1 -1
  100. package/assets/{index-B7mff2o2.js → index-BoQpPvsJ.js} +3 -3
  101. package/assets/{index-BLHU8DgF.js → index-BpsxTpFt.js} +1 -1
  102. package/assets/{index-CoBli9XK.js → index-BqBeehVu.js} +1 -1
  103. package/assets/{index-D2Lec10t.js → index-BwP2pQ92.js} +1 -1
  104. package/assets/{index-Dp3Py-Ws.js → index-C1J0uyJU.js} +1 -1
  105. package/assets/{index-C6h_WU9m.js → index-C8X5uQxK.js} +1 -1
  106. package/assets/{index-B6KO-WXc.js → index-C8gW1uS_.js} +1 -1
  107. package/assets/{index-lVvjFIjk.js → index-CBz9QBMp.js} +1 -1
  108. package/assets/{index-BcatoSfw.js → index-CIVsEPCC.js} +1 -1
  109. package/assets/{index-BR4zrdA9.js → index-CO8EAj61.js} +2 -2
  110. package/assets/index-CUtMWqIp.css +1 -0
  111. package/assets/{index-Ck1Cgm82.js → index-C_3MXGQ5.js} +1 -1
  112. package/assets/{index-UvWrbkyR.js → index-C_96F6p3.js} +1 -1
  113. package/assets/{index-dVV4LZRn.js → index-Cf3Ptwp7.js} +1 -1
  114. package/assets/{index-FmAwtPUy.js → index-CmFvRPK_.js} +1 -1
  115. package/assets/{index-BzQBX2p-.js → index-CnNzrERF.js} +1 -1
  116. package/assets/{index-CI_Eucnr.js → index-CtyVceSL.js} +3 -3
  117. package/assets/{index-BgEzTrtV.js → index-CwuYCSTt.js} +1 -1
  118. package/assets/{index-DRB-gQiu.js → index-D0UaCvc1.js} +1 -1
  119. package/assets/{index-BLLuYu72.js → index-D9WRMnJQ.js} +1 -1
  120. package/assets/{index-D84f1SZS.js → index-DCT6sOxM.js} +1 -1
  121. package/assets/{index-CSlkMlP4.js → index-DHqnjZXk.js} +1 -1
  122. package/assets/{index-Bk6ayCIs.js → index-DL1-u2m5.js} +1 -1
  123. package/assets/{index-DQ1f3JN6.js → index-DTFks6GD.js} +1 -1
  124. package/assets/{index-BTO-tMff.js → index-DTSWcrXA.js} +1 -1
  125. package/assets/{index-BCdiIcLt.js → index-DUHukso9.js} +1 -1
  126. package/assets/{index-DPeNzqnx.js → index-DWo6WByw.js} +1 -1
  127. package/assets/{index-QTjwITlm.js → index-DXsS9lM4.js} +1 -1
  128. package/assets/{index-D4SQVwZS.js → index-DZWZ4ZjC.js} +3 -3
  129. package/assets/{index-DtCbj4Bu.js → index-DjNqY58Q.js} +1 -1
  130. package/assets/{index-ahfZZDfz.js → index-DkV39niV.js} +2 -2
  131. package/assets/{index-yeRgwVVL.js → index-Dkdo-C-7.js} +2 -2
  132. package/assets/{index-DGOaB47n.js → index-DsEcY3jS.js} +1 -1
  133. package/assets/{index-Cfbe2Qvo.js → index-DsmEu83d.js} +2 -2
  134. package/assets/{index-CPhNis9E.js → index-Dum_hwGS.js} +1 -1
  135. package/assets/{index-BgKrxOfP.js → index-Dw9WIdKs.js} +1 -1
  136. package/assets/{index-B7P0UO1e.js → index-Dz6EILW5.js} +1 -1
  137. package/assets/{index-Bi7dtaTz.js → index-FfFqAJ3l.js} +1 -1
  138. package/assets/{index-DDk8aurE.js → index-GYAvpxvp.js} +1 -1
  139. package/assets/{index-6eUPFQAl.js → index-GctTWB_u.js} +1 -1
  140. package/assets/{index-BbfDA6Q2.js → index-Ix0aAVOz.js} +1 -1
  141. package/assets/{index-DFwKLiGe.js → index-LwWUxbJ1.js} +1 -1
  142. package/assets/index-N282EqWL.js +289 -0
  143. package/assets/{index-DhuOONXr.js → index-PtVfNA02.js} +1 -1
  144. package/assets/{index-DSY1kJ-n.js → index-SeXxQE7d.js} +1 -1
  145. package/assets/{index-QMzB_9kT.js → index-cm1yskAO.js} +1 -1
  146. package/assets/{index-CLZOJwm_.js → index-dOPjS08E.js} +3 -3
  147. package/assets/{index-DnjriEQ8.js → index-dc-VQ6_u.js} +1 -1
  148. package/assets/{index-F4KCRFXO.js → index-ej1HeaVq.js} +1 -1
  149. package/assets/{index-RYFuERlG.js → index-hSbfPxTM.js} +1 -1
  150. package/assets/{index-BAbZ1oMa.js → index-oDGz3alu.js} +1 -1
  151. package/assets/{index-CoY6w5ve.js → index-uRCNAkhD.js} +1 -1
  152. package/assets/{index-DTEyrFW2.js → index-xEDt5tK0.js} +2 -2
  153. package/assets/{index.es-DcggvVah.js → index.es-8l4m8O48.js} +1 -1
  154. package/assets/{index.es-pkeG3qQo.js → index.es-BAkCd3hx.js} +4 -4
  155. package/assets/{index.es-BxDkRG0j.js → index.es-mQdmYoWw.js} +1 -1
  156. package/assets/{linkAccount-e50lqdUE.js → linkAccount-Dt1RoiMg.js} +1 -1
  157. package/assets/{localBatchGatewayRequest-B7VW_3F8.js → localBatchGatewayRequest-C-QF008k.js} +1 -1
  158. package/assets/{mana-rate-Ez6IlT0x.js → mana-rate-B5qogWAy.js} +1 -1
  159. package/assets/{native-BMBZUPnx.js → native-8psXkTNV.js} +1 -1
  160. package/assets/{networks-CuAkQzro.js → networks-DTf6JA_i.js} +1 -1
  161. package/assets/{onramp-C5uxESKn.js → onramp-C6_Jmv_4.js} +1 -1
  162. package/assets/{openzeppelin-CEEpXs6H.js → openzeppelin-BI3jzvYe.js} +1 -1
  163. package/assets/{ownerOf-dLmWQ3QZ.js → ownerOf-CGV4XkwU.js} +1 -1
  164. package/assets/{parseNft-CjnCetmp.js → parseNft-BJiElQOd.js} +2 -2
  165. package/assets/{parseSignature-CjHHoeVW.js → parseSignature-BTArmdp-.js} +1 -1
  166. package/assets/{parseSignature-Ba1mhqh5.js → parseSignature-YsYfChHW.js} +3 -3
  167. package/assets/{passkeys-DKJW-FEa.js → passkeys-ClpAr2XQ.js} +1 -1
  168. package/assets/{pay-with-exchange-yOexVTa_.js → pay-with-exchange-BrMLcJvy.js} +1 -1
  169. package/assets/{prepare-contract-call-aT1l2NVg.js → prepare-contract-call-CWZtwOpY.js} +1 -1
  170. package/assets/{qr-overlay-CurN-_cO.js → qr-overlay-DFoBAvax.js} +3 -3
  171. package/assets/{react-C51i12iP.js → react-BXazHbBy.js} +1 -1
  172. package/assets/{receive-Bvf5SspN.js → receive-2v3kqZfq.js} +1 -1
  173. package/assets/{resolveImplementation-BMaNFS8w.js → resolveImplementation-Cz7jydx-.js} +1 -1
  174. package/assets/{rpc-Bclh4OVX.js → rpc-DcYX9vLT.js} +1 -1
  175. package/assets/{secp256k1-B7PtKdKr.js → secp256k1-CRO1xSNd.js} +1 -1
  176. package/assets/{secp256k1-BznDUTmG.js → secp256k1-D0kj9oiG.js} +1 -1
  177. package/assets/{secp256k1---Cfb5Gr.js → secp256k1-Du_5cnvk.js} +1 -1
  178. package/assets/{send-BxN6VGCE.js → send-EHrmCt5p.js} +1 -1
  179. package/assets/{send-batch-transaction-BY7yHkGa.js → send-batch-transaction-DrLYa7mf.js} +1 -1
  180. package/assets/{send-eip712-transaction-RXT3aSSm.js → send-eip712-transaction-DWQC0CYI.js} +2 -2
  181. package/assets/send-gasless-transaction-DraXgpfw.js +2 -0
  182. package/assets/{send-transaction-BvCcEvFd.js → send-transaction-Di96Go1T.js} +2 -2
  183. package/assets/{sendRawTransaction-BJZ0BEjt.js → sendRawTransaction-CzOwT9zB.js} +3 -3
  184. package/assets/{sentry-DKBoGDXH.js → sentry-CLqlZ0dX.js} +1 -1
  185. package/assets/{serializeTransaction-CRJP65Ad.js → serializeTransaction-BVfMAhW_.js} +1 -1
  186. package/assets/{session-proposal-Dvj-F2wQ.js → session-proposal-DQbScMFK.js} +1 -1
  187. package/assets/{session-request-Ce-DwiYu.js → session-request-BSJWiNx1.js} +2 -2
  188. package/assets/{sha256-BcAs0Y4r.js → sha256-CHkDhyAO.js} +1 -1
  189. package/assets/{signing-BCzW8Yh4.js → signing-BTj_vr30.js} +3 -3
  190. package/assets/{socials-2qO6GWvx.js → socials-Ca0m8Bc6.js} +1 -1
  191. package/assets/{swaps-Byx37cWK.js → swaps-Bxufbu_7.js} +1 -1
  192. package/assets/{thirdweb-Bzinkygh.js → thirdweb-BSXHM0bk.js} +3 -3
  193. package/assets/{to-serializable-transaction-BPYyQKxa.js → to-serializable-transaction-BiEB81zL.js} +2 -2
  194. package/assets/{totalSupply-BCBM6uY2.js → totalSupply-D7o26vFv.js} +1 -1
  195. package/assets/{trade-encoding-Bq9nPTSy.js → trade-encoding-6_dO5FYh.js} +1 -1
  196. package/assets/{transaction-Db6pntE5.js → transaction-B7gL56RA.js} +1 -1
  197. package/assets/{transactionReceipt-7aTE2Yz3.js → transactionReceipt-WUy2-DIs.js} +1 -1
  198. package/assets/{transactions-Y7mX5hPf.js → transactions-Ddu0qS1y.js} +1 -1
  199. package/assets/{useCreditPacks-CG7L_UQ4.js → useCreditPacks-BXDDD38Z.js} +1 -1
  200. package/assets/{useInfiniteGrid-H1sfBdhy.js → useInfiniteGrid-BokrX5YA.js} +1 -1
  201. package/assets/useManaRate-CtZMBb6a.js +1 -0
  202. package/assets/{useStore-Cbt7cLyp.js → useStore-DL2tZW7o.js} +2 -2
  203. package/assets/useTheme-B-xHZMoE.js +1 -0
  204. package/assets/{useTheme-CauhIIJq.js → useTheme-Tgfl6yPv.js} +1 -1
  205. package/assets/{utils-DBnU1jhd.js → utils-CPrJV6vP.js} +1 -1
  206. package/assets/{verifyHash-BzzdH-JT.js → verifyHash-DEKVRRCg.js} +1 -1
  207. package/assets/{w3m-modal-R9G6tUSA.js → w3m-modal-BOayHahj.js} +1 -1
  208. package/assets/{w3m-modal-Uf8zuJST.js → w3m-modal-DGk65SCN.js} +1 -1
  209. package/assets/{wait-for-tx-receipt-UIT99Yyq.js → wait-for-tx-receipt-C-yyIlse.js} +1 -1
  210. package/assets/{wallets-CgBIBei6.js → wallets-CKstZZYA.js} +5 -5
  211. package/assets/{web-connector-B1ptdbTS.js → web-connector-Df1Nw4jg.js} +3 -3
  212. package/assets/{writeContract-aQQPNQN6.js → writeContract-EXXVPkwI.js} +1 -1
  213. package/assets/{zora-sepolia-Bwjy_6bk.js → zora-sepolia-DQJtwyvj.js} +1 -1
  214. package/assets/{zoraTestnet-BxMHEDAV.js → zoraTestnet-Dj9qFBkp.js} +1 -1
  215. package/index.html +11 -11
  216. package/package.json +2 -2
  217. package/assets/Activity-CnoF6F3Z.js +0 -243
  218. package/assets/Authorizations-4u2_v7qf.js +0 -163
  219. package/assets/Cart-C1woE131.js +0 -3
  220. package/assets/CollectionCarousel-BC4r8J9j.js +0 -1
  221. package/assets/Creator-Cpw9Qy_r.js +0 -1
  222. package/assets/GetCredits-BfCzeAeD.js +0 -1
  223. package/assets/ImportListings-CxJDA8Su.js +0 -5
  224. package/assets/ItemDetail-BF1WOMVU.css +0 -1
  225. package/assets/ItemDetail-D1Xe6t7i.js +0 -82
  226. package/assets/MyAssets-C_wlVXNb.js +0 -258
  227. package/assets/PrimaryListModal-vBauRE_Q.js +0 -1
  228. package/assets/address-DrURAr9O.js +0 -1
  229. package/assets/authorizations-BdVBiEr7.js +0 -1
  230. package/assets/browser-ponyfill-Djb5Py6a.js +0 -1
  231. package/assets/buy-B_TXfJF4.js +0 -1
  232. package/assets/collection-d97cPr3w.js +0 -1
  233. package/assets/decimals-HChuNAkm.js +0 -1
  234. package/assets/estimate-l1-fee-CEy_ASr7.js +0 -1
  235. package/assets/eth_estimateGas-DcV1bi0C.js +0 -1
  236. package/assets/eth_getTransactionCount-BNyI69eR.js +0 -1
  237. package/assets/get-ecosystem-wallet-info-B4KRbr6l.js +0 -1
  238. package/assets/getNFT-B7SHBqxZ.js +0 -1
  239. package/assets/index-CkvNUeW9.css +0 -1
  240. package/assets/index-DH3Yzbz3.js +0 -1
  241. package/assets/index-k1Bog_tr.js +0 -289
  242. package/assets/send-gasless-transaction-DDPuuxQ-.js +0 -2
  243. package/assets/useManaRate-BO1b19Qr.js +0 -1
  244. package/assets/useTheme-TzAV5P1-.js +0 -1
@@ -1 +1 @@
1
- import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-BJZ0BEjt.js";import{c as I,e as q}from"./hashTypedData-B3ueg2tO.js";import"./NetworkUtil-Xp0fNa8X.js";import"./sentry-DKBoGDXH.js";import"./react-C51i12iP.js";import"./index-k1Bog_tr.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-w5dOkonM.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};
1
+ import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-CzOwT9zB.js";import{c as I,e as q}from"./hashTypedData-ZQ4gFkel.js";import"./NetworkUtil-xdrSr8Td.js";import"./sentry-CLqlZ0dX.js";import"./react-BXazHbBy.js";import"./index-N282EqWL.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BJDbBwOP.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};