@dcl/shop 1.12.2-34952267751.commit-238b526 → 1.12.2-34968681691.commit-d61728d

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 (233) hide show
  1. package/_assets/{Activity-siWjYXXC.js → Activity-jrYWoNWZ.js} +4 -4
  2. package/_assets/{AnimatedBackground-BugetQOT.js → AnimatedBackground-2cw5u_BI.js} +2 -2
  3. package/_assets/{Assets-DlgKLJ-E.js → Assets-Cchkrb-r.js} +3 -3
  4. package/_assets/{Authorizations-BbD7n7VP.js → Authorizations-T3uJtCS4.js} +2 -2
  5. package/_assets/{Cart-C2JINVsV.js → Cart-CBOmt4gy.js} +2 -2
  6. package/_assets/{Collection--VRQWagp.js → Collection-LJIgB-hh.js} +2 -2
  7. package/_assets/{CollectionCarousel-DJ22bLsm.js → CollectionCarousel-DOHjFwS8.js} +3 -3
  8. package/_assets/{Confetti-upwjxWRl.js → Confetti-JgyDQdwe.js} +4 -4
  9. package/_assets/{ConstantsUtil-CVlcVbe3.js → ConstantsUtil-DmRxn1rN.js} +2 -2
  10. package/_assets/{ContentClient-DFKBUKq9.js → ContentClient-CD-EotOo.js} +2 -2
  11. package/_assets/{Creator-CnvTIUIR.js → Creator-C7kvawHs.js} +2 -2
  12. package/_assets/{DeploymentBuilder-B0_Tu7hd.js → DeploymentBuilder-DCCjtm_I.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-r2Vm5Com.js → EmotePlaybackBar-BbLe7eRv.js} +5 -5
  14. package/_assets/{ErrorNotice-DdXfJJQ5.js → ErrorNotice-ClgCsoly.js} +2 -2
  15. package/_assets/{Event-Di_H3_8X.js → Event-DhYM6Kku.js} +2 -2
  16. package/_assets/{ExchangeController-CDFzZYyn.js → ExchangeController-dxIMhhH6.js} +2 -2
  17. package/_assets/{Faq-C6G9icRA.js → Faq-C-bTf4Y0.js} +2 -2
  18. package/_assets/{GetCredits-C3TmZRkA.js → GetCredits-D3Xq5hPG.js} +2 -2
  19. package/_assets/{Grow-eSBVpy87.js → Grow-BvUzv11K.js} +2 -2
  20. package/_assets/{HelpersUtil-DX5u_vH_.js → HelpersUtil-C5tFlPhe.js} +2 -2
  21. package/_assets/{ItemDetail-D-qm5dRj.js → ItemDetail-CK7EmJz5.js} +2 -2
  22. package/_assets/{LoadMore-D-sqkeqn.js → LoadMore-Dr8VkfDh.js} +2 -2
  23. package/_assets/{ManaPricingBanner.styles-C7DuwIf7.js → ManaPricingBanner.styles-BoYJiExd.js} +2 -2
  24. package/_assets/{MyAssets-D-74TXj0.js → MyAssets-Bq5EfGXz.js} +100 -100
  25. package/_assets/{MyFavorites-BrahbeXJ.js → MyFavorites-DPchePEj.js} +2 -2
  26. package/_assets/{NetworkUtil-Clofb_T-.js → NetworkUtil-BKqUtqwI.js} +2 -2
  27. package/_assets/{NotFound-C2zk4xTg.js → NotFound-Dk8Z881t.js} +2 -2
  28. package/_assets/{NotificationsBell-Dbe2NDDi.js → NotificationsBell-B2ftwDIa.js} +2 -2
  29. package/_assets/{OutfitDetail-DNvTjhl5.js → OutfitDetail-Bi1HxcUD.js} +2 -2
  30. package/_assets/{OutfitPreview-CzJ7zFyn.js → OutfitPreview-BMWPKAju.js} +2 -2
  31. package/_assets/{OutfitStudio-BQmOHxV3.js → OutfitStudio-uadbCnWe.js} +2 -2
  32. package/_assets/{StoreSettings-DXOqr7lc.js → StoreSettings-uagN_SLs.js} +2 -2
  33. package/_assets/{Success-0aSNITFG.js → Success-BdTd6dvD.js} +2 -2
  34. package/_assets/{SwapController-B_2D4qoY.js → SwapController-907hDWHh.js} +2 -2
  35. package/_assets/{TradeService-7U6O3-yI.js → TradeService-D8u1ihWD.js} +2 -2
  36. package/_assets/{W3MFrameProviderSingleton-o4NRojJJ.js → W3MFrameProviderSingleton-BNVADE8q.js} +4 -4
  37. package/_assets/{WebCryptoP256-DcssHpK7.js → WebCryptoP256-BWknsl3S.js} +2 -2
  38. package/_assets/{authorizations-BpA7J6nv.js → authorizations-YF2LYI5X.js} +2 -2
  39. package/_assets/{basic-CU1kWM_B.js → basic-UNZdIk-L.js} +2 -2
  40. package/_assets/{biconomy-CG4oe_pD.js → biconomy-BZjucA9X.js} +2 -2
  41. package/_assets/{browseLayout.styles-4ap7kx9k.js → browseLayout.styles-BcdBGvBJ.js} +2 -2
  42. package/_assets/{browser-xz-gmjRJ.js → browser-ClZ-a39n.js} +2 -2
  43. package/_assets/{browser-CNhrcETW.js → browser-Dnf4Mz6g.js} +2 -2
  44. package/_assets/{browser-ponyfill-DnS23_qH.js → browser-ponyfill-B84avFIe.js} +2 -2
  45. package/_assets/{builder-Uh_QHIQ6.js → builder-BW_XFxl3.js} +2 -2
  46. package/_assets/{buy-B5M_2UT-.js → buy-DrunLbTj.js} +2 -2
  47. package/_assets/{buy-gasless-By4UCL5G.js → buy-gasless-CaWC_7zf.js} +2 -2
  48. package/_assets/{categories-s25qDcz8.js → categories-yaclHH8q.js} +2 -2
  49. package/_assets/{ccip-DvbgVSwB.js → ccip-B4or4G2y.js} +2 -2
  50. package/_assets/{ccip-CfmbFrZH.js → ccip-BVjwmdSL.js} +2 -2
  51. package/_assets/{chains-m-fvvDHS.js → chains-Jbsww7Kt.js} +2 -2
  52. package/_assets/collectionPage.styles-CCcFOdZW.js +41 -0
  53. package/_assets/{common-DxHICWNQ.js → common-BmZvsWU1.js} +2 -2
  54. package/_assets/{controller-DqPjxg9H.js → controller-CB4tnDkG.js} +3 -3
  55. package/_assets/{core-DoDkK-JQ.js → core-Ex9v02O-.js} +5 -5
  56. package/_assets/{createSvgIcon-AK7VRVN4.js → createSvgIcon-BkGTqzv8.js} +2 -2
  57. package/_assets/{crumbs.styles-BBOgiQ-V.js → crumbs.styles-CymYINH8.js} +2 -2
  58. package/_assets/{custom-BnrdIOOX.js → custom-CeorJzLL.js} +2 -2
  59. package/_assets/{data-capture-B2_dizO_.js → data-capture-R53qzCaY.js} +2 -2
  60. package/_assets/{dcl-schemas-DU0vGMAi.js → dcl-schemas-DG9Rrz5z.js} +2 -2
  61. package/_assets/{decimals-BGOT8ITj.js → decimals-DMTp1mRe.js} +2 -2
  62. package/_assets/{decimals-B3xpoTsT.js → decimals-DUQR67xd.js} +2 -2
  63. package/_assets/{detectExtension-Lc4xlnmZ.js → detectExtension-BoCHA82D.js} +2 -2
  64. package/_assets/{disposePreview-BnC_0-K_.js → disposePreview-HSnE8fg0.js} +2 -2
  65. package/_assets/{email-CHpYsXDV.js → email-C4Nes9lN.js} +2 -2
  66. package/_assets/{embedded-wallet-Bu8ad7yi.js → embedded-wallet-DmXBYftX.js} +2 -2
  67. package/_assets/{emotion-styled.browser.esm-tLBNQtjX.js → emotion-styled.browser.esm-CrQ9Ohk0.js} +2 -2
  68. package/_assets/{engine-WQ_PFTkV.js → engine-Bhi-4jDu.js} +2 -2
  69. package/_assets/{errors-Bska53t6.js → errors-BNoZdkky.js} +2 -2
  70. package/_assets/{estimate-l1-fee-CpYC06aO.js → estimate-l1-fee-2Fq4t_6c.js} +2 -2
  71. package/_assets/{eth_estimateGas-BQ8foI_n.js → eth_estimateGas-CI0WJ02w.js} +2 -2
  72. package/_assets/{eth_getStorageAt-B6MCehWg.js → eth_getStorageAt-BhyM3UhZ.js} +2 -2
  73. package/_assets/{eth_getTransactionCount-gXfe8bkr.js → eth_getTransactionCount-CV8awliF.js} +2 -2
  74. package/_assets/{ethereum-Csbrq78G.js → ethereum-DPMEzS8d.js} +2 -2
  75. package/_assets/{ethers-DOxpBstR.js → ethers-CJMNYBDD.js} +2 -2
  76. package/_assets/{events-CVTjJMET.js → events-CAUsd5bh.js} +2 -2
  77. package/_assets/{execute-BNeM18Ox.js → execute-D6hIo909.js} +3 -3
  78. package/_assets/{extractIPFS-YpxmKw9M.js → extractIPFS-Kt4ZPiLk.js} +2 -2
  79. package/_assets/{features-nCqFC4Hp.js → features-BzrHTTh4.js} +2 -2
  80. package/_assets/{fetchTokenMetadata-Coko2qOP.js → fetchTokenMetadata-CImk_QM8.js} +3 -3
  81. package/_assets/{field.styles-C0hP5Nvw.js → field.styles-BEV0a4Z8.js} +2 -2
  82. package/_assets/{fortmatic-d2zOBJsV.js → fortmatic-qinwifaj.js} +2 -2
  83. package/_assets/{get-bytecode-DkyBhWG0.js → get-bytecode-DJSRuIfT.js} +2 -2
  84. package/_assets/{get-ecosystem-wallet-info-JLiYFqKn.js → get-ecosystem-wallet-info-BQ_zAKWh.js} +2 -2
  85. package/_assets/{getBalance-8WdMwmlE.js → getBalance-DtYGtInZ.js} +3 -3
  86. package/_assets/{getInstalledModules-Bn-WMWvZ.js → getInstalledModules-BhM5n_9F.js} +2 -2
  87. package/_assets/{getNFT-BygCA-zb.js → getNFT-CN3te82N.js} +2 -2
  88. package/_assets/{getNFT-D7H4s4bO.js → getNFT-D2EGL-DY.js} +3 -3
  89. package/_assets/{grid.styles-BJJSFZSz.js → grid.styles-DXUh2mDk.js} +2 -2
  90. package/_assets/{hashTypedData-CCQr4xhM.js → hashTypedData-MYLBBo9Y.js} +2 -2
  91. package/_assets/{hashTypedData-LyJcbtjj.js → hashTypedData-lRiN7lQR.js} +2 -2
  92. package/_assets/{in-app-B4RhGBCh.js → in-app-CrLt4WT4.js} +2 -2
  93. package/_assets/{in-app-wallet-calls-9KSXE9GH.js → in-app-wallet-calls-CRtE-4pM.js} +2 -2
  94. package/_assets/{index-P43ylXlL.js → index-0I7FBmLL.js} +2 -2
  95. package/_assets/{index-CrTPPk7j.js → index-465FFqd4.js} +2 -2
  96. package/_assets/{index-FeiBiOm6.js → index-8UuFrV0f.js} +2 -2
  97. package/_assets/{index-CxRbA6MI.js → index-B6ckJUxz.js} +2 -2
  98. package/_assets/{index-DzzXwSZ_.js → index-B9TY65-n.js} +3 -3
  99. package/_assets/{index-CapZaipt.js → index-BDDqHAZd.js} +4 -4
  100. package/_assets/{index-C2wWmtlM.js → index-BDFuFsIc.js} +2 -2
  101. package/_assets/{index-CiyGPGO9.js → index-BE-Pu0vI.js} +2 -2
  102. package/_assets/{index-2hLftpjl.js → index-BEJ7CMDD.js} +2 -2
  103. package/_assets/{index-DThURYeF.js → index-BLOPtDqh.js} +2 -2
  104. package/_assets/{index-C-I-VAtj.js → index-BRKmUfmp.js} +2 -2
  105. package/_assets/{index-Da4inYY3.js → index-BTZczyGj.js} +2 -2
  106. package/_assets/{index-CxKeAG-J.js → index-BTh8g2Rp.js} +2 -2
  107. package/_assets/{index-CvgtFUyg.js → index-BV-f1rcf.js} +2 -2
  108. package/_assets/{index-Cn5i7pxA.js → index-BdEiCc0V.js} +2 -2
  109. package/_assets/{index-qdxlhv6O.js → index-BekhhFBG.js} +2 -2
  110. package/_assets/{index-CoHZlbxe.js → index-BhgOwCHI.js} +2 -2
  111. package/_assets/{index-D4RODIqW.css → index-BkUcVOvQ.css} +1 -1
  112. package/_assets/{index-BIIfWRsm.js → index-Bn9pEQIy.js} +2 -2
  113. package/_assets/{index-DCuIjSa3.js → index-BvfVhPmP.js} +2 -2
  114. package/_assets/{index-DdRwH_39.js → index-BwlA1aaJ.js} +4 -4
  115. package/_assets/{index-BR_dJjYg.js → index-Bwsh7KKj.js} +2 -2
  116. package/_assets/{index-xqaY6JvQ.js → index-Byg5E0wJ.js} +2 -2
  117. package/_assets/{index-DAqJHTwr.js → index-BzyULz3d.js} +2 -2
  118. package/_assets/{index-C8kaVPrn.js → index-C13UuH-8.js} +2 -2
  119. package/_assets/{index-DUOPuDtZ.js → index-CBGaEx7k.js} +2 -2
  120. package/_assets/{index-Bxumz6fq.js → index-CBJL5Lgi.js} +2 -2
  121. package/_assets/{index-Dbnvtlu9.js → index-CCDB3UlI.js} +2 -2
  122. package/_assets/{index-Ct1LvV9T.js → index-CDHjsN4-.js} +2 -2
  123. package/_assets/{index-xAvWfXcL.js → index-CRa6nMtD.js} +2 -2
  124. package/_assets/{index-6WQDsbX1.js → index-CWsn0MVr.js} +2 -2
  125. package/_assets/{index-DXza9S1H.js → index-CZMMa7z5.js} +2 -2
  126. package/_assets/{index-CYQC6fE_.js → index-C_8x-HKs.js} +2 -2
  127. package/_assets/{index-B6UXzlO7.js → index-C_aTZTUN.js} +2 -2
  128. package/_assets/{index-DBH3OwKH.js → index-CbfVvQKQ.js} +2 -2
  129. package/_assets/{index-BAnXoBQa.js → index-CcSm9fX_.js} +2 -2
  130. package/_assets/{index-BOLPfj8p.js → index-CqdSjrau.js} +2 -2
  131. package/_assets/{index-ChCaLJWf.js → index-CrZGn3V8.js} +2 -2
  132. package/_assets/{index-b1B_uAjk.js → index-CzSz6bmu.js} +2 -2
  133. package/_assets/{index-BRihLNDO.js → index-D1YxMOZD.js} +2 -2
  134. package/_assets/{index-B13-c4P_.js → index-D6oUCB6a.js} +2 -2
  135. package/_assets/{index-BzrU_xTj.js → index-D7ySqt24.js} +2 -2
  136. package/_assets/{index-CAPkL9qq.js → index-D9jQnGun.js} +2 -2
  137. package/_assets/{index-CY3jvlYI.js → index-DBHPeOT5.js} +2 -2
  138. package/_assets/{index-CKwTnm7g.js → index-DCO5bROp.js} +2 -2
  139. package/_assets/{index-B0fhzNVc.js → index-DEbI6zJu.js} +3 -3
  140. package/_assets/{index-xtcL5SzR.js → index-DOek4sNO.js} +2 -2
  141. package/_assets/{index-HfXmqqOB.js → index-DPG2GUwd.js} +2 -2
  142. package/_assets/{index-BYcTSIVf.js → index-DR7YV2gO.js} +2 -2
  143. package/_assets/{index-B2jE74v0.js → index-DUhpcP7W.js} +2 -2
  144. package/_assets/{index-D7lw4vKg.js → index-D_thG_X0.js} +3 -3
  145. package/_assets/{index-Dt4Q6hxP.js → index-DdZdZH54.js} +2 -2
  146. package/_assets/{index-Bbdi2im4.js → index-DgCb5qsB.js} +2 -2
  147. package/_assets/{index-G4LsqNWU.js → index-DgTBuFZZ.js} +2 -2
  148. package/_assets/{index-ZubpwVm5.js → index-Dj-sWvd-.js} +2 -2
  149. package/_assets/{index-z3GWPvvT.js → index-DuAGtgEt.js} +2 -2
  150. package/_assets/{index-Df_2haqu.js → index-DyuVy1hh.js} +2 -2
  151. package/_assets/{index-CL1zwzqa.js → index-HaNiJJj7.js} +2 -2
  152. package/_assets/{index-CAwE9Yy4.js → index-KogMcMgM.js} +4 -4
  153. package/_assets/{index-CZyzFCL9.js → index-_VzfFaH7.js} +2 -2
  154. package/_assets/{index-KGKbIgYc.js → index-fVfrsq3-.js} +197 -197
  155. package/_assets/{index-UeOBzUmn.js → index-m-mW7tBT.js} +2 -2
  156. package/_assets/{index-B0P4rhnH.js → index-mJNRsai_.js} +2 -2
  157. package/_assets/{index-PoXBOo9s.js → index-o5Kr4nH4.js} +2 -2
  158. package/_assets/{index-CTXBNDaR.js → index-qxgomgzg.js} +3 -3
  159. package/_assets/{index-BuBMGMtY.js → index-rOgwHRBy.js} +2 -2
  160. package/_assets/{index-ovYwqG3U.js → index-uOBbMLH1.js} +2 -2
  161. package/_assets/{index-CUwG9Gow.js → index-yYoCyJm0.js} +2 -2
  162. package/_assets/{index.es-DPNqN1VR.js → index.es-BYbP7qKW.js} +2 -2
  163. package/_assets/{index.es-Cn1837qk.js → index.es-CBnWkDWE.js} +2 -2
  164. package/_assets/{index.es-CdrKIXAf.js → index.es-DbvmB8Hz.js} +5 -5
  165. package/_assets/{index.es-Hocc0M2s.js → index.es-Z1WflUVe.js} +2 -2
  166. package/_assets/{items-empty-Db7ykBge.js → items-empty-BW_AkfMw.js} +2 -2
  167. package/_assets/{jump-C3eF7452.js → jump-DpZ_H_aD.js} +2 -2
  168. package/_assets/{linkAccount-Dg1gRdCu.js → linkAccount-D-4XkPjZ.js} +2 -2
  169. package/_assets/{localBatchGatewayRequest-o2tz0Xkw.js → localBatchGatewayRequest-OsgCBNTu.js} +2 -2
  170. package/_assets/{native-CvGGXrJP.js → native-DKBEZ83U.js} +2 -2
  171. package/_assets/{networks-DpUYbi2j.js → networks-C2xwNyRf.js} +2 -2
  172. package/_assets/{onramp-DrkhTAlE.js → onramp-B6nWf10-.js} +2 -2
  173. package/_assets/{openzeppelin-CqDJzb_H.js → openzeppelin-Diuo_yCD.js} +2 -2
  174. package/_assets/{ownerOf-BtEo_nZi.js → ownerOf-BWkhY882.js} +2 -2
  175. package/_assets/{parseNft-5q27IIJ4.js → parseNft-u-4kmGsK.js} +3 -3
  176. package/_assets/{parseSignature-iObXbLbJ.js → parseSignature-CsT18GhO.js} +2 -2
  177. package/_assets/{parseSignature-BCGLPNhC.js → parseSignature-jN7oN0GI.js} +4 -4
  178. package/_assets/{passkeys-4vxYlgiO.js → passkeys-CTXuXCfx.js} +2 -2
  179. package/_assets/{pay-with-exchange-BRIaMBg2.js → pay-with-exchange-BJuv8V6R.js} +2 -2
  180. package/_assets/{prepare-contract-call-DzSUrXuE.js → prepare-contract-call-uRIzxupc.js} +2 -2
  181. package/_assets/{qr-overlay-K_inpcHR.js → qr-overlay--7W-iuad.js} +4 -4
  182. package/_assets/{react-CbiDtrwy.js → react-BT1DRxg0.js} +2 -2
  183. package/_assets/{receive-BsVhuoyI.js → receive-BwOH-nle.js} +2 -2
  184. package/_assets/{resolveImplementation-DpzhGxRX.js → resolveImplementation-1JkowYx7.js} +2 -2
  185. package/_assets/{resume-buy-BvCiqn2w.js → resume-buy-CWeRH5M6.js} +2 -2
  186. package/_assets/{rpc-C_QkhZkG.js → rpc-B4prFU2a.js} +2 -2
  187. package/_assets/{sales-empty-CbN8gNFb.js → sales-empty-NUQXvOkl.js} +2 -2
  188. package/_assets/{search-empty-v82Jfcsb.js → search-empty-Ozh9aYwC.js} +2 -2
  189. package/_assets/{secp256k1-B5JWxdoq.js → secp256k1-B_NYc5Il.js} +2 -2
  190. package/_assets/{secp256k1-DO1HKk_9.js → secp256k1-Cc_wcAuB.js} +2 -2
  191. package/_assets/{secp256k1-B8ClqkT8.js → secp256k1-VlK93Orv.js} +2 -2
  192. package/_assets/{send-CEpYMZe7.js → send-DVHwVtxL.js} +2 -2
  193. package/_assets/{send-batch-transaction-CJvetNA5.js → send-batch-transaction-_X5Yvjn5.js} +2 -2
  194. package/_assets/{send-eip712-transaction-BpCm1YSI.js → send-eip712-transaction-yWD_jIzZ.js} +3 -3
  195. package/_assets/{send-gasless-transaction-BQ5n3ZLO.js → send-gasless-transaction-BHT2RYSc.js} +3 -3
  196. package/_assets/{send-transaction-CQcs63ct.js → send-transaction-BaeXDarf.js} +3 -3
  197. package/_assets/{sendMetaTransaction-CbxM2dJ4.js → sendMetaTransaction-Bkp77jP5.js} +2 -2
  198. package/_assets/{sendRawTransaction-D-J01xpv.js → sendRawTransaction-CyJ8NDZj.js} +4 -4
  199. package/_assets/{sentry-pksVc8Y1.js → sentry-DAGaybiy.js} +3 -3
  200. package/_assets/{serializeTransaction-BNmuM5Vp.js → serializeTransaction-DXxxJc7P.js} +2 -2
  201. package/_assets/{session-proposal-xZsE3jVs.js → session-proposal-DLqTKK3p.js} +2 -2
  202. package/_assets/{session-request-DZrNMJCR.js → session-request-DWfXqC4U.js} +3 -3
  203. package/_assets/{sha256-DWDaWrQD.js → sha256-OlqvKl9o.js} +2 -2
  204. package/_assets/{sha3-DbomSxuI.js → sha3-BDxbouvg.js} +2 -2
  205. package/_assets/{signing-BwRlgyGP.js → signing-CGeazqai.js} +4 -4
  206. package/_assets/{skeleton.styles-CTlrCuJj.js → skeleton.styles-C8iLuc4D.js} +2 -2
  207. package/_assets/{socials-xQSQwdy_.js → socials-CgDFcyf2.js} +2 -2
  208. package/_assets/{styled-C37YZplh.js → styled-C4NeqzHW.js} +2 -2
  209. package/_assets/{swaps-JSJu9ZEk.js → swaps-Bu7ntZyj.js} +2 -2
  210. package/_assets/{thirdweb-0WodtONG.js → thirdweb-Pxlrk3RX.js} +4 -4
  211. package/_assets/{to-serializable-transaction-B9zCzvuC.js → to-serializable-transaction-H-VNrW1G.js} +3 -3
  212. package/_assets/{totalSupply-CQm-t9gk.js → totalSupply-Bc9h1F8V.js} +2 -2
  213. package/_assets/{transaction-dnqRlxqs.js → transaction-DBqXoeOX.js} +2 -2
  214. package/_assets/{transactionReceipt-zwt2ZXmW.js → transactionReceipt-SSeob30N.js} +2 -2
  215. package/_assets/{transactions-BOc83Sc_.js → transactions-CbZ7Ba42.js} +2 -2
  216. package/_assets/{useCreditPacks-C9QUVT1i.js → useCreditPacks-kxQZm5SR.js} +2 -2
  217. package/_assets/{useInfiniteGrid-Cgk7ZeHL.js → useInfiniteGrid-xjb6zl5n.js} +2 -2
  218. package/_assets/{useStore-D5kMn0mR.js → useStore-6NfPLZYM.js} +3 -3
  219. package/_assets/{useTheme-vTP9z_Gm.js → useTheme-D6_hJUHx.js} +2 -2
  220. package/_assets/{utils-DrNnWK05.js → utils-CDHiYwmg.js} +2 -2
  221. package/_assets/{verifyHash-DIESi3OJ.js → verifyHash-BstDgncb.js} +2 -2
  222. package/_assets/{w3m-modal-6MmYKXgB.js → w3m-modal-CZB-kKPl.js} +2 -2
  223. package/_assets/{w3m-modal-q9WU-JG5.js → w3m-modal-CgHAhbd7.js} +2 -2
  224. package/_assets/{wait-for-tx-receipt-rUn3vghV.js → wait-for-tx-receipt-C-5fT5xk.js} +2 -2
  225. package/_assets/{wallet-BYrWPu9Q.js → wallet-CE_PuHwW.js} +2 -2
  226. package/_assets/{wallets-uhB6Tvqm.js → wallets-DTbIig3q.js} +6 -6
  227. package/_assets/{web-connector-BOij74Y4.js → web-connector-CtRYaueX.js} +4 -4
  228. package/_assets/{writeContract-CfRoYwPI.js → writeContract-qguDostC.js} +2 -2
  229. package/_assets/{zora-sepolia-PqJWDgc_.js → zora-sepolia-CIDy4bI-.js} +2 -2
  230. package/_assets/{zoraTestnet-C9-KL1tb.js → zoraTestnet-DGLwJRHJ.js} +2 -2
  231. package/index.html +11 -11
  232. package/package.json +2 -2
  233. package/_assets/collectionPage.styles-CPno7D9g.js +0 -41
@@ -1,2 +1,2 @@
1
- import"./react-CbiDtrwy.js";import{r as I}from"./index-CiyGPGO9.js";import{az as w}from"./sendRawTransaction-D-J01xpv.js";import{c as k,e as v}from"./hashTypedData-LyJcbtjj.js";import"./NetworkUtil-Clofb_T-.js";import"./sentry-pksVc8Y1.js";import"./index-KGKbIgYc.js";import"./dcl-schemas-DU0vGMAi.js";import"./ethers-DOxpBstR.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6a2b40f3-daf3-4294-8705-488d84e46ea4",t._sentryDebugIdIdentifier="sentry-dbid-6a2b40f3-daf3-4294-8705-488d84e46ea4")}catch{}})();const q=()=>"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:q()}});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 _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();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(!_(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"},d={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,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.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,d.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 h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{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 h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("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 S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=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 k(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 v({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)}),_(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}}D([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 S(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,q as getSDKVersion,_ as isObjectEIP712TypedData};
2
- //# sourceMappingURL=index-UeOBzUmn.js.map
1
+ import"./react-BT1DRxg0.js";import{r as I}from"./index-BE-Pu0vI.js";import{az as w}from"./sendRawTransaction-CyJ8NDZj.js";import{c as k,e as v}from"./hashTypedData-lRiN7lQR.js";import"./NetworkUtil-BKqUtqwI.js";import"./sentry-DAGaybiy.js";import"./index-fVfrsq3-.js";import"./dcl-schemas-DG9Rrz5z.js";import"./ethers-CJMNYBDD.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6a2b40f3-daf3-4294-8705-488d84e46ea4",t._sentryDebugIdIdentifier="sentry-dbid-6a2b40f3-daf3-4294-8705-488d84e46ea4")}catch{}})();const q=()=>"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:q()}});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 _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();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(!_(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"},d={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,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.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,d.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 h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{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 h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("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 S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=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 k(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 v({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)}),_(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}}D([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 S(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,q as getSDKVersion,_ as isObjectEIP712TypedData};
2
+ //# sourceMappingURL=index-m-mW7tBT.js.map