@reown/appkit-cdn 1.6.7-basic-test.8.0 → 1.6.7-core-2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-Bo7hlhOK.js → add-DE6xsvo_.js} +2 -2
- package/dist/{add-Bo7hlhOK.js.map → add-DE6xsvo_.js.map} +1 -1
- package/dist/{all-wallets-DiYxd6h8.js → all-wallets-CaSXZUWF.js} +2 -2
- package/dist/{all-wallets-DiYxd6h8.js.map → all-wallets-CaSXZUWF.js.map} +1 -1
- package/dist/{app-store-BwOymb6f.js → app-store-CrDyy3Wa.js} +2 -2
- package/dist/{app-store-BwOymb6f.js.map → app-store-CrDyy3Wa.js.map} +1 -1
- package/dist/{appkit-7F54kjKy.js → appkit-Cly9g1o7.js} +49893 -55110
- package/dist/appkit-Cly9g1o7.js.map +1 -0
- package/dist/appkit.js +8 -8
- package/dist/{apple-2YTcD6RU.js → apple-BbOPLgIX.js} +2 -2
- package/dist/{apple-2YTcD6RU.js.map → apple-BbOPLgIX.js.map} +1 -1
- package/dist/{arrow-bottom-circle-W1sxGKIm.js → arrow-bottom-circle-BFTWJbEj.js} +2 -2
- package/dist/{arrow-bottom-circle-W1sxGKIm.js.map → arrow-bottom-circle-BFTWJbEj.js.map} +1 -1
- package/dist/{arrow-bottom-ZLYjQRVF.js → arrow-bottom-nxwCJBf2.js} +2 -2
- package/dist/{arrow-bottom-ZLYjQRVF.js.map → arrow-bottom-nxwCJBf2.js.map} +1 -1
- package/dist/{arrow-left-DLgnPVzk.js → arrow-left-BWlJ2qlC.js} +2 -2
- package/dist/{arrow-left-DLgnPVzk.js.map → arrow-left-BWlJ2qlC.js.map} +1 -1
- package/dist/{arrow-right-C5iPaK1O.js → arrow-right-BGkJBSWL.js} +2 -2
- package/dist/{arrow-right-C5iPaK1O.js.map → arrow-right-BGkJBSWL.js.map} +1 -1
- package/dist/{arrow-top-CKGwVtz2.js → arrow-top-CW2jDEe4.js} +2 -2
- package/dist/{arrow-top-CKGwVtz2.js.map → arrow-top-CW2jDEe4.js.map} +1 -1
- package/dist/{bank-DeTywVwC.js → bank-1GOPral2.js} +2 -2
- package/dist/{bank-DeTywVwC.js.map → bank-1GOPral2.js.map} +1 -1
- package/dist/{browser-ZHBOTr6m.js → browser-CNMKyt_S.js} +2 -2
- package/dist/{browser-ZHBOTr6m.js.map → browser-CNMKyt_S.js.map} +1 -1
- package/dist/{browser-B8BCrASu.js → browser-CRwbyiDn.js} +2 -2
- package/dist/{browser-B8BCrASu.js.map → browser-CRwbyiDn.js.map} +1 -1
- package/dist/{card-WYAxW4AU.js → card-BobtkMhO.js} +2 -2
- package/dist/{card-WYAxW4AU.js.map → card-BobtkMhO.js.map} +1 -1
- package/dist/{checkmark-D6gNkqXD.js → checkmark-9IgRwflL.js} +2 -2
- package/dist/{checkmark-D6gNkqXD.js.map → checkmark-9IgRwflL.js.map} +1 -1
- package/dist/{checkmark-bold-CVLxIhp1.js → checkmark-bold-BCsyR4P6.js} +2 -2
- package/dist/{checkmark-bold-CVLxIhp1.js.map → checkmark-bold-BCsyR4P6.js.map} +1 -1
- package/dist/{chevron-bottom-BnZrP8ng.js → chevron-bottom-hQ1dLD8u.js} +2 -2
- package/dist/{chevron-bottom-BnZrP8ng.js.map → chevron-bottom-hQ1dLD8u.js.map} +1 -1
- package/dist/{chevron-left-PQlhhfpK.js → chevron-left-B11Abfnf.js} +2 -2
- package/dist/{chevron-left-PQlhhfpK.js.map → chevron-left-B11Abfnf.js.map} +1 -1
- package/dist/{chevron-right-BHxp4jkW.js → chevron-right-Bf32y1EN.js} +2 -2
- package/dist/{chevron-right-BHxp4jkW.js.map → chevron-right-Bf32y1EN.js.map} +1 -1
- package/dist/{chevron-top-BbJGkGfR.js → chevron-top-BO8SByAy.js} +2 -2
- package/dist/{chevron-top-BbJGkGfR.js.map → chevron-top-BO8SByAy.js.map} +1 -1
- package/dist/{chrome-store-Cie71Qem.js → chrome-store-9vnZcqNu.js} +2 -2
- package/dist/{chrome-store-Cie71Qem.js.map → chrome-store-9vnZcqNu.js.map} +1 -1
- package/dist/{clock-IQBTFXEw.js → clock-riZdPcFM.js} +2 -2
- package/dist/{clock-IQBTFXEw.js.map → clock-riZdPcFM.js.map} +1 -1
- package/dist/{close-DxKbHQ06.js → close-DNxPKWKb.js} +2 -2
- package/dist/{close-DxKbHQ06.js.map → close-DNxPKWKb.js.map} +1 -1
- package/dist/{coinPlaceholder-CoskC0O6.js → coinPlaceholder-vaT6n0Dq.js} +2 -2
- package/dist/{coinPlaceholder-CoskC0O6.js.map → coinPlaceholder-vaT6n0Dq.js.map} +1 -1
- package/dist/{compass-IfPXB2uJ.js → compass-BXTAYDkL.js} +2 -2
- package/dist/{compass-IfPXB2uJ.js.map → compass-BXTAYDkL.js.map} +1 -1
- package/dist/{copy-Bjw7HZdA.js → copy-CBRaHGDQ.js} +2 -2
- package/dist/{copy-Bjw7HZdA.js.map → copy-CBRaHGDQ.js.map} +1 -1
- package/dist/{cursor-BEjLiAyG.js → cursor-d-bR9lqy.js} +2 -2
- package/dist/{cursor-BEjLiAyG.js.map → cursor-d-bR9lqy.js.map} +1 -1
- package/dist/{cursor-transparent-B4swj4oX.js → cursor-transparent-DanHbb8L.js} +2 -2
- package/dist/{cursor-transparent-B4swj4oX.js.map → cursor-transparent-DanHbb8L.js.map} +1 -1
- package/dist/{desktop-DWDJAE0j.js → desktop-Ea_pcyLe.js} +2 -2
- package/dist/{desktop-DWDJAE0j.js.map → desktop-Ea_pcyLe.js.map} +1 -1
- package/dist/{disconnect-DyBVvUlm.js → disconnect-CjRyCdF-.js} +2 -2
- package/dist/{disconnect-DyBVvUlm.js.map → disconnect-CjRyCdF-.js.map} +1 -1
- package/dist/{discord-Dy6b3RRH.js → discord-85Fgrjua.js} +2 -2
- package/dist/{discord-Dy6b3RRH.js.map → discord-85Fgrjua.js.map} +1 -1
- package/dist/{email-DghZZFyu.js → email-C29KqpqU.js} +8 -8
- package/dist/{email-DghZZFyu.js.map → email-C29KqpqU.js.map} +1 -1
- package/dist/{embedded-wallet-CGjM19AV.js → embedded-wallet-ChtJ9d8m.js} +10 -10
- package/dist/{embedded-wallet-CGjM19AV.js.map → embedded-wallet-ChtJ9d8m.js.map} +1 -1
- package/dist/{etherscan-CJk7TO4R.js → etherscan-DTm7ibk5.js} +2 -2
- package/dist/{etherscan-CJk7TO4R.js.map → etherscan-DTm7ibk5.js.map} +1 -1
- package/dist/{exclamation-triangle-DiOWokAx.js → exclamation-triangle-DGIy7zhV.js} +2 -2
- package/dist/{exclamation-triangle-DiOWokAx.js.map → exclamation-triangle-DGIy7zhV.js.map} +1 -1
- package/dist/{extension-AzZ-VQ5S.js → extension-BG9HdMPD.js} +2 -2
- package/dist/{extension-AzZ-VQ5S.js.map → extension-BG9HdMPD.js.map} +1 -1
- package/dist/{external-link-Bg6o90yA.js → external-link-Di43C1pf.js} +2 -2
- package/dist/{external-link-Bg6o90yA.js.map → external-link-Di43C1pf.js.map} +1 -1
- package/dist/{facebook-BvIKAWg3.js → facebook-CMAKZiZB.js} +2 -2
- package/dist/{facebook-BvIKAWg3.js.map → facebook-CMAKZiZB.js.map} +1 -1
- package/dist/{farcaster-CMMxDX39.js → farcaster-Dpf9c4MK.js} +2 -2
- package/dist/{farcaster-CMMxDX39.js.map → farcaster-Dpf9c4MK.js.map} +1 -1
- package/dist/{filters-CFLl0iBs.js → filters-CMFnX3RL.js} +2 -2
- package/dist/{filters-CFLl0iBs.js.map → filters-CMFnX3RL.js.map} +1 -1
- package/dist/{github-CmYncmzL.js → github-Bjk1_5qL.js} +2 -2
- package/dist/{github-CmYncmzL.js.map → github-Bjk1_5qL.js.map} +1 -1
- package/dist/{google-Ckse0W4Z.js → google-62muXda9.js} +2 -2
- package/dist/{google-Ckse0W4Z.js.map → google-62muXda9.js.map} +1 -1
- package/dist/{help-circle-BijMy4ht.js → help-circle-CTpQUk-o.js} +2 -2
- package/dist/{help-circle-BijMy4ht.js.map → help-circle-CTpQUk-o.js.map} +1 -1
- package/dist/{id-gO3BEzSg.js → id-Dp8nTGU2.js} +2 -2
- package/dist/{id-gO3BEzSg.js.map → id-Dp8nTGU2.js.map} +1 -1
- package/dist/{if-defined-BUCsuh9s.js → if-defined-DeBuBv8C.js} +78 -78
- package/dist/{if-defined-BUCsuh9s.js.map → if-defined-DeBuBv8C.js.map} +1 -1
- package/dist/{image-DxhE6Fnm.js → image-Dn9sVFNH.js} +2 -2
- package/dist/{image-DxhE6Fnm.js.map → image-Dn9sVFNH.js.map} +1 -1
- package/dist/{index-DPDvs1Rr.js → index-3AIUbrUU.js} +4 -4
- package/dist/{index-DPDvs1Rr.js.map → index-3AIUbrUU.js.map} +1 -1
- package/dist/{index-OJaV5piL.js → index-APZGoFS4.js} +3 -3
- package/dist/{index-OJaV5piL.js.map → index-APZGoFS4.js.map} +1 -1
- package/dist/{index-C9D8IpSa.js → index-B4ozkdcL.js} +3 -3
- package/dist/{index-C9D8IpSa.js.map → index-B4ozkdcL.js.map} +1 -1
- package/dist/{index-CQfiGCux.js → index-BBqt8FI3.js} +3 -3
- package/dist/{index-CQfiGCux.js.map → index-BBqt8FI3.js.map} +1 -1
- package/dist/{index-h2uWrDWR.js → index-BF2zsxDq.js} +4 -4
- package/dist/{index-h2uWrDWR.js.map → index-BF2zsxDq.js.map} +1 -1
- package/dist/{index-DnuurRsQ.js → index-BInOwLdY.js} +7 -7
- package/dist/{index-DnuurRsQ.js.map → index-BInOwLdY.js.map} +1 -1
- package/dist/{index-BL1Vtc1i.js → index-BOUiZbXW.js} +4 -4
- package/dist/{index-BL1Vtc1i.js.map → index-BOUiZbXW.js.map} +1 -1
- package/dist/{index-Bdgknjoz.js → index-BOt3v16B.js} +4 -4
- package/dist/{index-Bdgknjoz.js.map → index-BOt3v16B.js.map} +1 -1
- package/dist/{index-CGcPcD7s.js → index-BV_wsLUs.js} +3 -3
- package/dist/{index-CGcPcD7s.js.map → index-BV_wsLUs.js.map} +1 -1
- package/dist/{index-C0zB454j.js → index-BjEXOY6K.js} +3 -3
- package/dist/{index-C0zB454j.js.map → index-BjEXOY6K.js.map} +1 -1
- package/dist/{index-Clt4Gamg.js → index-BjjSQnZ5.js} +3 -3
- package/dist/{index-Clt4Gamg.js.map → index-BjjSQnZ5.js.map} +1 -1
- package/dist/{index-Bf_CKPQ4.js → index-BkE0sZOy.js} +4 -4
- package/dist/{index-Bf_CKPQ4.js.map → index-BkE0sZOy.js.map} +1 -1
- package/dist/{index-C_NCBpBW.js → index-BoR_58tP.js} +3 -3
- package/dist/{index-C_NCBpBW.js.map → index-BoR_58tP.js.map} +1 -1
- package/dist/{index-BuYXv-te.js → index-BpUy6ELp.js} +4 -4
- package/dist/{index-BuYXv-te.js.map → index-BpUy6ELp.js.map} +1 -1
- package/dist/{index-uQiw5aDt.js → index-BxTB1jb6.js} +4 -4
- package/dist/{index-uQiw5aDt.js.map → index-BxTB1jb6.js.map} +1 -1
- package/dist/{index-0sQOBosT.js → index-C3dCbvuU.js} +3 -3
- package/dist/{index-0sQOBosT.js.map → index-C3dCbvuU.js.map} +1 -1
- package/dist/{index-B3US0ze7.js → index-CIWdN6s7.js} +81 -29
- package/dist/index-CIWdN6s7.js.map +1 -0
- package/dist/{index-BtP6BgXy.js → index-CMFU2wOq.js} +3 -3
- package/dist/{index-BtP6BgXy.js.map → index-CMFU2wOq.js.map} +1 -1
- package/dist/index-CRQSbrdZ.js +3348 -0
- package/dist/index-CRQSbrdZ.js.map +1 -0
- package/dist/{index-D4uZajOt.js → index-CiZ2wBs3.js} +3 -3
- package/dist/{index-D4uZajOt.js.map → index-CiZ2wBs3.js.map} +1 -1
- package/dist/{index-DfXsC6Vx.js → index-Cjc4qIdP.js} +3 -3
- package/dist/{index-DfXsC6Vx.js.map → index-Cjc4qIdP.js.map} +1 -1
- package/dist/{index-D1vsBg_X.js → index-CmoL773p.js} +3 -3
- package/dist/{index-D1vsBg_X.js.map → index-CmoL773p.js.map} +1 -1
- package/dist/{index-_DqHUChI.js → index-CoPIlial.js} +4 -4
- package/dist/{index-_DqHUChI.js.map → index-CoPIlial.js.map} +1 -1
- package/dist/{index-DQibQFkr.js → index-D9nmWywB.js} +4 -4
- package/dist/{index-DQibQFkr.js.map → index-D9nmWywB.js.map} +1 -1
- package/dist/{index-5stOlOiL.js → index-DPRQcYF5.js} +4 -4
- package/dist/{index-5stOlOiL.js.map → index-DPRQcYF5.js.map} +1 -1
- package/dist/{index--8fCrTMB.js → index-DThB6yHY.js} +4 -4
- package/dist/{index--8fCrTMB.js.map → index-DThB6yHY.js.map} +1 -1
- package/dist/{index-BNLFpx_o.js → index-Dew3mRSJ.js} +2 -2
- package/dist/{index-BNLFpx_o.js.map → index-Dew3mRSJ.js.map} +1 -1
- package/dist/{index-Dj8pFty_.js → index-DvMegG3P.js} +3 -505
- package/dist/index-DvMegG3P.js.map +1 -0
- package/dist/{index-B7_8EBSn.js → index-Ee9KL65X.js} +7 -6
- package/dist/{index-B7_8EBSn.js.map → index-Ee9KL65X.js.map} +1 -1
- package/dist/{index-D5X2HlH8.js → index-EipIP3kf.js} +6 -6
- package/dist/{index-D5X2HlH8.js.map → index-EipIP3kf.js.map} +1 -1
- package/dist/{index-cjkE7IEF.js → index-KXOAAHza.js} +5 -5
- package/dist/{index-cjkE7IEF.js.map → index-KXOAAHza.js.map} +1 -1
- package/dist/{index-BiZ2sPMP.js → index-huLhd52f.js} +3 -3
- package/dist/{index-BiZ2sPMP.js.map → index-huLhd52f.js.map} +1 -1
- package/dist/{index.es-DWq-VIEl.js → index.es-E9oLZaOC.js} +3 -3
- package/dist/{index.es-DWq-VIEl.js.map → index.es-E9oLZaOC.js.map} +1 -1
- package/dist/{info-CSgVmziu.js → info-DQT-QmV7.js} +2 -2
- package/dist/{info-CSgVmziu.js.map → info-DQT-QmV7.js.map} +1 -1
- package/dist/{info-circle-Bzkbp00x.js → info-circle-p3wAzkW0.js} +2 -2
- package/dist/{info-circle-Bzkbp00x.js.map → info-circle-p3wAzkW0.js.map} +1 -1
- package/dist/{lightbulb-C-bkgBIb.js → lightbulb-Bnnje34R.js} +2 -2
- package/dist/{lightbulb-C-bkgBIb.js.map → lightbulb-Bnnje34R.js.map} +1 -1
- package/dist/{mail-CGmFg6fK.js → mail-5PSXCI0v.js} +2 -2
- package/dist/{mail-CGmFg6fK.js.map → mail-5PSXCI0v.js.map} +1 -1
- package/dist/{metamask-sdk-BakScGM0.js → metamask-sdk-8ZnQEZHu.js} +576 -584
- package/dist/metamask-sdk-8ZnQEZHu.js.map +1 -0
- package/dist/{mobile-DtRyE0jl.js → mobile-6mHtv3de.js} +2 -2
- package/dist/{mobile-DtRyE0jl.js.map → mobile-6mHtv3de.js.map} +1 -1
- package/dist/{more-KeHkLrDL.js → more-Dlt5sBR_.js} +2 -2
- package/dist/{more-KeHkLrDL.js.map → more-Dlt5sBR_.js.map} +1 -1
- package/dist/{native-Bp8NmofE.js → native-BhQYFetC.js} +2 -2
- package/dist/{native-Bp8NmofE.js.map → native-BhQYFetC.js.map} +1 -1
- package/dist/{network-placeholder-DOqs4Acw.js → network-placeholder-ZwUth56L.js} +2 -2
- package/dist/{network-placeholder-DOqs4Acw.js.map → network-placeholder-ZwUth56L.js.map} +1 -1
- package/dist/{nftPlaceholder-CqCnpGWd.js → nftPlaceholder-BZbdxsVy.js} +2 -2
- package/dist/{nftPlaceholder-CqCnpGWd.js.map → nftPlaceholder-BZbdxsVy.js.map} +1 -1
- package/dist/{off-BjQ1lWwI.js → off-DMjVDy9F.js} +2 -2
- package/dist/{off-BjQ1lWwI.js.map → off-DMjVDy9F.js.map} +1 -1
- package/dist/{onramp-YQOJXd7V.js → onramp-Bcn6fi9Y.js} +12 -12
- package/dist/{onramp-YQOJXd7V.js.map → onramp-Bcn6fi9Y.js.map} +1 -1
- package/dist/{play-store-gd3X2PE-.js → play-store-BB8PxYq4.js} +2 -2
- package/dist/{play-store-gd3X2PE-.js.map → play-store-BB8PxYq4.js.map} +1 -1
- package/dist/{plus-BjhhVCpY.js → plus-BQCGi8aA.js} +2 -2
- package/dist/{plus-BjhhVCpY.js.map → plus-BQCGi8aA.js.map} +1 -1
- package/dist/{qr-code-qjafSsS2.js → qr-code-CkWYDLbl.js} +2 -2
- package/dist/{qr-code-qjafSsS2.js.map → qr-code-CkWYDLbl.js.map} +1 -1
- package/dist/{receive-DkS03GRp.js → receive-BliYuS9o.js} +6 -6
- package/dist/{receive-DkS03GRp.js.map → receive-BliYuS9o.js.map} +1 -1
- package/dist/{recycle-horizontal-Chbf-42q.js → recycle-horizontal-BuvzEP2Z.js} +2 -2
- package/dist/{recycle-horizontal-Chbf-42q.js.map → recycle-horizontal-BuvzEP2Z.js.map} +1 -1
- package/dist/{refresh-B_fq24BN.js → refresh-2H3scIjP.js} +2 -2
- package/dist/{refresh-B_fq24BN.js.map → refresh-2H3scIjP.js.map} +1 -1
- package/dist/{search-CMyddrMM.js → search-C6kAa6cT.js} +2 -2
- package/dist/{search-CMyddrMM.js.map → search-C6kAa6cT.js.map} +1 -1
- package/dist/{send-DLwfVu3X.js → send-CUKUapsP.js} +2 -2
- package/dist/{send-DLwfVu3X.js.map → send-CUKUapsP.js.map} +1 -1
- package/dist/{send-5jN_SWT6.js → send-Dzhh-U1d.js} +10 -10
- package/dist/{send-5jN_SWT6.js.map → send-Dzhh-U1d.js.map} +1 -1
- package/dist/sha3-_pthIdIu.js +507 -0
- package/dist/sha3-_pthIdIu.js.map +1 -0
- package/dist/{socials-BskU39sA.js → socials-DfRR4eSa.js} +11 -11
- package/dist/socials-DfRR4eSa.js.map +1 -0
- package/dist/{swapHorizontal-CkK6Uemb.js → swapHorizontal-Comnyn0B.js} +2 -2
- package/dist/{swapHorizontal-CkK6Uemb.js.map → swapHorizontal-Comnyn0B.js.map} +1 -1
- package/dist/{swapHorizontalBold-EjmeRq01.js → swapHorizontalBold-sfM6wFJK.js} +2 -2
- package/dist/{swapHorizontalBold-EjmeRq01.js.map → swapHorizontalBold-sfM6wFJK.js.map} +1 -1
- package/dist/{swapHorizontalMedium-Dta28Hsi.js → swapHorizontalMedium-DHYNeIT9.js} +2 -2
- package/dist/{swapHorizontalMedium-Dta28Hsi.js.map → swapHorizontalMedium-DHYNeIT9.js.map} +1 -1
- package/dist/{swapHorizontalRoundedBold-c2wfDzBF.js → swapHorizontalRoundedBold-bjbYmfWO.js} +2 -2
- package/dist/{swapHorizontalRoundedBold-c2wfDzBF.js.map → swapHorizontalRoundedBold-bjbYmfWO.js.map} +1 -1
- package/dist/{swapVertical-BWZAOaFe.js → swapVertical-BxaU27nG.js} +2 -2
- package/dist/{swapVertical-BWZAOaFe.js.map → swapVertical-BxaU27nG.js.map} +1 -1
- package/dist/{swaps-CpwnRcad.js → swaps-BzTiyZmt.js} +10 -10
- package/dist/{swaps-CpwnRcad.js.map → swaps-BzTiyZmt.js.map} +1 -1
- package/dist/{telegram-DQpS1hOx.js → telegram-CiKi0tAK.js} +2 -2
- package/dist/{telegram-DQpS1hOx.js.map → telegram-CiKi0tAK.js.map} +1 -1
- package/dist/{three-dots-BIyLH-r_.js → three-dots-BJQoQYgU.js} +2 -2
- package/dist/{three-dots-BIyLH-r_.js.map → three-dots-BJQoQYgU.js.map} +1 -1
- package/dist/{transactions-ClbAR3b3.js → transactions-Bv-oGunp.js} +4 -4
- package/dist/{transactions-ClbAR3b3.js.map → transactions-Bv-oGunp.js.map} +1 -1
- package/dist/{twitch-w1fW9GUX.js → twitch-COTSMXJA.js} +2 -2
- package/dist/{twitch-w1fW9GUX.js.map → twitch-COTSMXJA.js.map} +1 -1
- package/dist/{twitterIcon-NV4rOXLM.js → twitterIcon-D_003_ON.js} +2 -2
- package/dist/{twitterIcon-NV4rOXLM.js.map → twitterIcon-D_003_ON.js.map} +1 -1
- package/dist/{verify-M1n52Kbs.js → verify-CwN_7Z4z.js} +2 -2
- package/dist/{verify-M1n52Kbs.js.map → verify-CwN_7Z4z.js.map} +1 -1
- package/dist/{verify-filled-CaH-d-6a.js → verify-filled-CMaOXVVk.js} +2 -2
- package/dist/{verify-filled-CaH-d-6a.js.map → verify-filled-CMaOXVVk.js.map} +1 -1
- package/dist/{w3m-modal-DuL53Gbm.js → w3m-modal-C3DATvc6.js} +13 -10
- package/dist/w3m-modal-C3DATvc6.js.map +1 -0
- package/dist/{wallet-Dshhbo-h.js → wallet-D84gVoa4.js} +2 -2
- package/dist/{wallet-Dshhbo-h.js.map → wallet-D84gVoa4.js.map} +1 -1
- package/dist/{wallet-placeholder-CjvKtwBY.js → wallet-placeholder-14A7hM7b.js} +2 -2
- package/dist/{wallet-placeholder-CjvKtwBY.js.map → wallet-placeholder-14A7hM7b.js.map} +1 -1
- package/dist/{walletconnect-iX57ADQX.js → walletconnect-8JXyBf8j.js} +2 -2
- package/dist/{walletconnect-iX57ADQX.js.map → walletconnect-8JXyBf8j.js.map} +1 -1
- package/dist/{warning-circle-8Hc0Cz7j.js → warning-circle-B2uvv-rW.js} +2 -2
- package/dist/{warning-circle-8Hc0Cz7j.js.map → warning-circle-B2uvv-rW.js.map} +1 -1
- package/dist/{x-CynCso4V.js → x-w1gCvlpq.js} +2 -2
- package/dist/{x-CynCso4V.js.map → x-w1gCvlpq.js.map} +1 -1
- package/package.json +11 -11
- package/dist/appkit-7F54kjKy.js.map +0 -1
- package/dist/ccip-DElUUMQ2.js +0 -160
- package/dist/ccip-DElUUMQ2.js.map +0 -1
- package/dist/index-B3US0ze7.js.map +0 -1
- package/dist/index-Dj8pFty_.js.map +0 -1
- package/dist/metamask-sdk-BakScGM0.js.map +0 -1
- package/dist/secp256k1-BSI-MLM-.js +0 -1705
- package/dist/secp256k1-BSI-MLM-.js.map +0 -1
- package/dist/socials-BskU39sA.js.map +0 -1
- package/dist/w3m-modal-DuL53Gbm.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as Buffer, $ as getDefaultExportFromCjs, a7 as bytesToHex, a8 as sha256, a9 as EventEmitter } from "./appkit-Cly9g1o7.js";
|
|
2
|
+
import { s as sha3 } from "./sha3-_pthIdIu.js";
|
|
2
3
|
import { D, g, c as clsx, h, y } from "./hooks.module-B8FgZbnF.js";
|
|
3
4
|
class ScopedLocalStorage {
|
|
4
5
|
constructor(scope, module) {
|
|
@@ -853,509 +854,6 @@ class SCWSigner {
|
|
|
853
854
|
return true;
|
|
854
855
|
}
|
|
855
856
|
}
|
|
856
|
-
var sha3 = {};
|
|
857
|
-
var _assert = {};
|
|
858
|
-
Object.defineProperty(_assert, "__esModule", { value: true });
|
|
859
|
-
_assert.anumber = anumber;
|
|
860
|
-
_assert.abytes = abytes;
|
|
861
|
-
_assert.ahash = ahash;
|
|
862
|
-
_assert.aexists = aexists;
|
|
863
|
-
_assert.aoutput = aoutput;
|
|
864
|
-
function anumber(n) {
|
|
865
|
-
if (!Number.isSafeInteger(n) || n < 0)
|
|
866
|
-
throw new Error("positive integer expected, got " + n);
|
|
867
|
-
}
|
|
868
|
-
function isBytes(a) {
|
|
869
|
-
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
870
|
-
}
|
|
871
|
-
function abytes(b, ...lengths) {
|
|
872
|
-
if (!isBytes(b))
|
|
873
|
-
throw new Error("Uint8Array expected");
|
|
874
|
-
if (lengths.length > 0 && !lengths.includes(b.length))
|
|
875
|
-
throw new Error("Uint8Array expected of length " + lengths + ", got length=" + b.length);
|
|
876
|
-
}
|
|
877
|
-
function ahash(h2) {
|
|
878
|
-
if (typeof h2 !== "function" || typeof h2.create !== "function")
|
|
879
|
-
throw new Error("Hash should be wrapped by utils.wrapConstructor");
|
|
880
|
-
anumber(h2.outputLen);
|
|
881
|
-
anumber(h2.blockLen);
|
|
882
|
-
}
|
|
883
|
-
function aexists(instance, checkFinished = true) {
|
|
884
|
-
if (instance.destroyed)
|
|
885
|
-
throw new Error("Hash instance has been destroyed");
|
|
886
|
-
if (checkFinished && instance.finished)
|
|
887
|
-
throw new Error("Hash#digest() has already been called");
|
|
888
|
-
}
|
|
889
|
-
function aoutput(out, instance) {
|
|
890
|
-
abytes(out);
|
|
891
|
-
const min = instance.outputLen;
|
|
892
|
-
if (out.length < min) {
|
|
893
|
-
throw new Error("digestInto() expects output buffer of length at least " + min);
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
var _u64 = {};
|
|
897
|
-
Object.defineProperty(_u64, "__esModule", { value: true });
|
|
898
|
-
_u64.add5L = _u64.add5H = _u64.add4H = _u64.add4L = _u64.add3H = _u64.add3L = _u64.rotlBL = _u64.rotlBH = _u64.rotlSL = _u64.rotlSH = _u64.rotr32L = _u64.rotr32H = _u64.rotrBL = _u64.rotrBH = _u64.rotrSL = _u64.rotrSH = _u64.shrSL = _u64.shrSH = _u64.toBig = void 0;
|
|
899
|
-
_u64.fromBig = fromBig;
|
|
900
|
-
_u64.split = split;
|
|
901
|
-
_u64.add = add;
|
|
902
|
-
const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
|
903
|
-
const _32n = /* @__PURE__ */ BigInt(32);
|
|
904
|
-
function fromBig(n, le = false) {
|
|
905
|
-
if (le)
|
|
906
|
-
return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
|
|
907
|
-
return { h: Number(n >> _32n & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };
|
|
908
|
-
}
|
|
909
|
-
function split(lst, le = false) {
|
|
910
|
-
let Ah = new Uint32Array(lst.length);
|
|
911
|
-
let Al = new Uint32Array(lst.length);
|
|
912
|
-
for (let i = 0; i < lst.length; i++) {
|
|
913
|
-
const { h: h2, l } = fromBig(lst[i], le);
|
|
914
|
-
[Ah[i], Al[i]] = [h2, l];
|
|
915
|
-
}
|
|
916
|
-
return [Ah, Al];
|
|
917
|
-
}
|
|
918
|
-
const toBig = (h2, l) => BigInt(h2 >>> 0) << _32n | BigInt(l >>> 0);
|
|
919
|
-
_u64.toBig = toBig;
|
|
920
|
-
const shrSH = (h2, _l, s) => h2 >>> s;
|
|
921
|
-
_u64.shrSH = shrSH;
|
|
922
|
-
const shrSL = (h2, l, s) => h2 << 32 - s | l >>> s;
|
|
923
|
-
_u64.shrSL = shrSL;
|
|
924
|
-
const rotrSH = (h2, l, s) => h2 >>> s | l << 32 - s;
|
|
925
|
-
_u64.rotrSH = rotrSH;
|
|
926
|
-
const rotrSL = (h2, l, s) => h2 << 32 - s | l >>> s;
|
|
927
|
-
_u64.rotrSL = rotrSL;
|
|
928
|
-
const rotrBH = (h2, l, s) => h2 << 64 - s | l >>> s - 32;
|
|
929
|
-
_u64.rotrBH = rotrBH;
|
|
930
|
-
const rotrBL = (h2, l, s) => h2 >>> s - 32 | l << 64 - s;
|
|
931
|
-
_u64.rotrBL = rotrBL;
|
|
932
|
-
const rotr32H = (_h, l) => l;
|
|
933
|
-
_u64.rotr32H = rotr32H;
|
|
934
|
-
const rotr32L = (h2, _l) => h2;
|
|
935
|
-
_u64.rotr32L = rotr32L;
|
|
936
|
-
const rotlSH = (h2, l, s) => h2 << s | l >>> 32 - s;
|
|
937
|
-
_u64.rotlSH = rotlSH;
|
|
938
|
-
const rotlSL = (h2, l, s) => l << s | h2 >>> 32 - s;
|
|
939
|
-
_u64.rotlSL = rotlSL;
|
|
940
|
-
const rotlBH = (h2, l, s) => l << s - 32 | h2 >>> 64 - s;
|
|
941
|
-
_u64.rotlBH = rotlBH;
|
|
942
|
-
const rotlBL = (h2, l, s) => h2 << s - 32 | l >>> 64 - s;
|
|
943
|
-
_u64.rotlBL = rotlBL;
|
|
944
|
-
function add(Ah, Al, Bh, Bl) {
|
|
945
|
-
const l = (Al >>> 0) + (Bl >>> 0);
|
|
946
|
-
return { h: Ah + Bh + (l / 2 ** 32 | 0) | 0, l: l | 0 };
|
|
947
|
-
}
|
|
948
|
-
const add3L = (Al, Bl, Cl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);
|
|
949
|
-
_u64.add3L = add3L;
|
|
950
|
-
const add3H = (low, Ah, Bh, Ch) => Ah + Bh + Ch + (low / 2 ** 32 | 0) | 0;
|
|
951
|
-
_u64.add3H = add3H;
|
|
952
|
-
const add4L = (Al, Bl, Cl, Dl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);
|
|
953
|
-
_u64.add4L = add4L;
|
|
954
|
-
const add4H = (low, Ah, Bh, Ch, Dh) => Ah + Bh + Ch + Dh + (low / 2 ** 32 | 0) | 0;
|
|
955
|
-
_u64.add4H = add4H;
|
|
956
|
-
const add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);
|
|
957
|
-
_u64.add5L = add5L;
|
|
958
|
-
const add5H = (low, Ah, Bh, Ch, Dh, Eh) => Ah + Bh + Ch + Dh + Eh + (low / 2 ** 32 | 0) | 0;
|
|
959
|
-
_u64.add5H = add5H;
|
|
960
|
-
const u64 = {
|
|
961
|
-
fromBig,
|
|
962
|
-
split,
|
|
963
|
-
toBig,
|
|
964
|
-
shrSH,
|
|
965
|
-
shrSL,
|
|
966
|
-
rotrSH,
|
|
967
|
-
rotrSL,
|
|
968
|
-
rotrBH,
|
|
969
|
-
rotrBL,
|
|
970
|
-
rotr32H,
|
|
971
|
-
rotr32L,
|
|
972
|
-
rotlSH,
|
|
973
|
-
rotlSL,
|
|
974
|
-
rotlBH,
|
|
975
|
-
rotlBL,
|
|
976
|
-
add,
|
|
977
|
-
add3L,
|
|
978
|
-
add3H,
|
|
979
|
-
add4L,
|
|
980
|
-
add4H,
|
|
981
|
-
add5H,
|
|
982
|
-
add5L
|
|
983
|
-
};
|
|
984
|
-
_u64.default = u64;
|
|
985
|
-
var utils = {};
|
|
986
|
-
var crypto$1 = {};
|
|
987
|
-
Object.defineProperty(crypto$1, "__esModule", { value: true });
|
|
988
|
-
crypto$1.crypto = void 0;
|
|
989
|
-
crypto$1.crypto = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
990
|
-
(function(exports) {
|
|
991
|
-
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
992
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
993
|
-
exports.Hash = exports.nextTick = exports.byteSwapIfBE = exports.isLE = void 0;
|
|
994
|
-
exports.isBytes = isBytes2;
|
|
995
|
-
exports.u8 = u8;
|
|
996
|
-
exports.u32 = u32;
|
|
997
|
-
exports.createView = createView;
|
|
998
|
-
exports.rotr = rotr;
|
|
999
|
-
exports.rotl = rotl;
|
|
1000
|
-
exports.byteSwap = byteSwap;
|
|
1001
|
-
exports.byteSwap32 = byteSwap32;
|
|
1002
|
-
exports.bytesToHex = bytesToHex2;
|
|
1003
|
-
exports.hexToBytes = hexToBytes;
|
|
1004
|
-
exports.asyncLoop = asyncLoop;
|
|
1005
|
-
exports.utf8ToBytes = utf8ToBytes;
|
|
1006
|
-
exports.toBytes = toBytes;
|
|
1007
|
-
exports.concatBytes = concatBytes;
|
|
1008
|
-
exports.checkOpts = checkOpts;
|
|
1009
|
-
exports.wrapConstructor = wrapConstructor;
|
|
1010
|
-
exports.wrapConstructorWithOpts = wrapConstructorWithOpts;
|
|
1011
|
-
exports.wrapXOFConstructorWithOpts = wrapXOFConstructorWithOpts;
|
|
1012
|
-
exports.randomBytes = randomBytes;
|
|
1013
|
-
const crypto_1 = crypto$1;
|
|
1014
|
-
const _assert_js_12 = _assert;
|
|
1015
|
-
function isBytes2(a) {
|
|
1016
|
-
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
1017
|
-
}
|
|
1018
|
-
function u8(arr) {
|
|
1019
|
-
return new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);
|
|
1020
|
-
}
|
|
1021
|
-
function u32(arr) {
|
|
1022
|
-
return new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
|
|
1023
|
-
}
|
|
1024
|
-
function createView(arr) {
|
|
1025
|
-
return new DataView(arr.buffer, arr.byteOffset, arr.byteLength);
|
|
1026
|
-
}
|
|
1027
|
-
function rotr(word, shift) {
|
|
1028
|
-
return word << 32 - shift | word >>> shift;
|
|
1029
|
-
}
|
|
1030
|
-
function rotl(word, shift) {
|
|
1031
|
-
return word << shift | word >>> 32 - shift >>> 0;
|
|
1032
|
-
}
|
|
1033
|
-
exports.isLE = (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
|
|
1034
|
-
function byteSwap(word) {
|
|
1035
|
-
return word << 24 & 4278190080 | word << 8 & 16711680 | word >>> 8 & 65280 | word >>> 24 & 255;
|
|
1036
|
-
}
|
|
1037
|
-
exports.byteSwapIfBE = exports.isLE ? (n) => n : (n) => byteSwap(n);
|
|
1038
|
-
function byteSwap32(arr) {
|
|
1039
|
-
for (let i = 0; i < arr.length; i++) {
|
|
1040
|
-
arr[i] = byteSwap(arr[i]);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
const hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
1044
|
-
function bytesToHex2(bytes) {
|
|
1045
|
-
(0, _assert_js_12.abytes)(bytes);
|
|
1046
|
-
let hex = "";
|
|
1047
|
-
for (let i = 0; i < bytes.length; i++) {
|
|
1048
|
-
hex += hexes[bytes[i]];
|
|
1049
|
-
}
|
|
1050
|
-
return hex;
|
|
1051
|
-
}
|
|
1052
|
-
const asciis = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 };
|
|
1053
|
-
function asciiToBase16(ch) {
|
|
1054
|
-
if (ch >= asciis._0 && ch <= asciis._9)
|
|
1055
|
-
return ch - asciis._0;
|
|
1056
|
-
if (ch >= asciis.A && ch <= asciis.F)
|
|
1057
|
-
return ch - (asciis.A - 10);
|
|
1058
|
-
if (ch >= asciis.a && ch <= asciis.f)
|
|
1059
|
-
return ch - (asciis.a - 10);
|
|
1060
|
-
return;
|
|
1061
|
-
}
|
|
1062
|
-
function hexToBytes(hex) {
|
|
1063
|
-
if (typeof hex !== "string")
|
|
1064
|
-
throw new Error("hex string expected, got " + typeof hex);
|
|
1065
|
-
const hl = hex.length;
|
|
1066
|
-
const al = hl / 2;
|
|
1067
|
-
if (hl % 2)
|
|
1068
|
-
throw new Error("hex string expected, got unpadded hex of length " + hl);
|
|
1069
|
-
const array = new Uint8Array(al);
|
|
1070
|
-
for (let ai = 0, hi = 0; ai < al; ai++, hi += 2) {
|
|
1071
|
-
const n1 = asciiToBase16(hex.charCodeAt(hi));
|
|
1072
|
-
const n2 = asciiToBase16(hex.charCodeAt(hi + 1));
|
|
1073
|
-
if (n1 === void 0 || n2 === void 0) {
|
|
1074
|
-
const char = hex[hi] + hex[hi + 1];
|
|
1075
|
-
throw new Error('hex string expected, got non-hex character "' + char + '" at index ' + hi);
|
|
1076
|
-
}
|
|
1077
|
-
array[ai] = n1 * 16 + n2;
|
|
1078
|
-
}
|
|
1079
|
-
return array;
|
|
1080
|
-
}
|
|
1081
|
-
const nextTick = async () => {
|
|
1082
|
-
};
|
|
1083
|
-
exports.nextTick = nextTick;
|
|
1084
|
-
async function asyncLoop(iters, tick, cb) {
|
|
1085
|
-
let ts = Date.now();
|
|
1086
|
-
for (let i = 0; i < iters; i++) {
|
|
1087
|
-
cb(i);
|
|
1088
|
-
const diff = Date.now() - ts;
|
|
1089
|
-
if (diff >= 0 && diff < tick)
|
|
1090
|
-
continue;
|
|
1091
|
-
await (0, exports.nextTick)();
|
|
1092
|
-
ts += diff;
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
function utf8ToBytes(str) {
|
|
1096
|
-
if (typeof str !== "string")
|
|
1097
|
-
throw new Error("utf8ToBytes expected string, got " + typeof str);
|
|
1098
|
-
return new Uint8Array(new TextEncoder().encode(str));
|
|
1099
|
-
}
|
|
1100
|
-
function toBytes(data) {
|
|
1101
|
-
if (typeof data === "string")
|
|
1102
|
-
data = utf8ToBytes(data);
|
|
1103
|
-
(0, _assert_js_12.abytes)(data);
|
|
1104
|
-
return data;
|
|
1105
|
-
}
|
|
1106
|
-
function concatBytes(...arrays) {
|
|
1107
|
-
let sum = 0;
|
|
1108
|
-
for (let i = 0; i < arrays.length; i++) {
|
|
1109
|
-
const a = arrays[i];
|
|
1110
|
-
(0, _assert_js_12.abytes)(a);
|
|
1111
|
-
sum += a.length;
|
|
1112
|
-
}
|
|
1113
|
-
const res = new Uint8Array(sum);
|
|
1114
|
-
for (let i = 0, pad = 0; i < arrays.length; i++) {
|
|
1115
|
-
const a = arrays[i];
|
|
1116
|
-
res.set(a, pad);
|
|
1117
|
-
pad += a.length;
|
|
1118
|
-
}
|
|
1119
|
-
return res;
|
|
1120
|
-
}
|
|
1121
|
-
class Hash {
|
|
1122
|
-
// Safe version that clones internal state
|
|
1123
|
-
clone() {
|
|
1124
|
-
return this._cloneInto();
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
exports.Hash = Hash;
|
|
1128
|
-
function checkOpts(defaults, opts) {
|
|
1129
|
-
if (opts !== void 0 && {}.toString.call(opts) !== "[object Object]")
|
|
1130
|
-
throw new Error("Options should be object or undefined");
|
|
1131
|
-
const merged = Object.assign(defaults, opts);
|
|
1132
|
-
return merged;
|
|
1133
|
-
}
|
|
1134
|
-
function wrapConstructor(hashCons) {
|
|
1135
|
-
const hashC = (msg) => hashCons().update(toBytes(msg)).digest();
|
|
1136
|
-
const tmp = hashCons();
|
|
1137
|
-
hashC.outputLen = tmp.outputLen;
|
|
1138
|
-
hashC.blockLen = tmp.blockLen;
|
|
1139
|
-
hashC.create = () => hashCons();
|
|
1140
|
-
return hashC;
|
|
1141
|
-
}
|
|
1142
|
-
function wrapConstructorWithOpts(hashCons) {
|
|
1143
|
-
const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();
|
|
1144
|
-
const tmp = hashCons({});
|
|
1145
|
-
hashC.outputLen = tmp.outputLen;
|
|
1146
|
-
hashC.blockLen = tmp.blockLen;
|
|
1147
|
-
hashC.create = (opts) => hashCons(opts);
|
|
1148
|
-
return hashC;
|
|
1149
|
-
}
|
|
1150
|
-
function wrapXOFConstructorWithOpts(hashCons) {
|
|
1151
|
-
const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();
|
|
1152
|
-
const tmp = hashCons({});
|
|
1153
|
-
hashC.outputLen = tmp.outputLen;
|
|
1154
|
-
hashC.blockLen = tmp.blockLen;
|
|
1155
|
-
hashC.create = (opts) => hashCons(opts);
|
|
1156
|
-
return hashC;
|
|
1157
|
-
}
|
|
1158
|
-
function randomBytes(bytesLength = 32) {
|
|
1159
|
-
if (crypto_1.crypto && typeof crypto_1.crypto.getRandomValues === "function") {
|
|
1160
|
-
return crypto_1.crypto.getRandomValues(new Uint8Array(bytesLength));
|
|
1161
|
-
}
|
|
1162
|
-
if (crypto_1.crypto && typeof crypto_1.crypto.randomBytes === "function") {
|
|
1163
|
-
return crypto_1.crypto.randomBytes(bytesLength);
|
|
1164
|
-
}
|
|
1165
|
-
throw new Error("crypto.getRandomValues must be defined");
|
|
1166
|
-
}
|
|
1167
|
-
})(utils);
|
|
1168
|
-
Object.defineProperty(sha3, "__esModule", { value: true });
|
|
1169
|
-
sha3.shake256 = sha3.shake128 = sha3.keccak_512 = sha3.keccak_384 = sha3.keccak_256 = sha3.keccak_224 = sha3.sha3_512 = sha3.sha3_384 = sha3.sha3_256 = sha3.sha3_224 = sha3.Keccak = void 0;
|
|
1170
|
-
sha3.keccakP = keccakP;
|
|
1171
|
-
const _assert_js_1 = _assert;
|
|
1172
|
-
const _u64_js_1 = _u64;
|
|
1173
|
-
const utils_js_1 = utils;
|
|
1174
|
-
const SHA3_PI = [];
|
|
1175
|
-
const SHA3_ROTL = [];
|
|
1176
|
-
const _SHA3_IOTA = [];
|
|
1177
|
-
const _0n = /* @__PURE__ */ BigInt(0);
|
|
1178
|
-
const _1n = /* @__PURE__ */ BigInt(1);
|
|
1179
|
-
const _2n = /* @__PURE__ */ BigInt(2);
|
|
1180
|
-
const _7n = /* @__PURE__ */ BigInt(7);
|
|
1181
|
-
const _256n = /* @__PURE__ */ BigInt(256);
|
|
1182
|
-
const _0x71n = /* @__PURE__ */ BigInt(113);
|
|
1183
|
-
for (let round = 0, R = _1n, x = 1, y2 = 0; round < 24; round++) {
|
|
1184
|
-
[x, y2] = [y2, (2 * x + 3 * y2) % 5];
|
|
1185
|
-
SHA3_PI.push(2 * (5 * y2 + x));
|
|
1186
|
-
SHA3_ROTL.push((round + 1) * (round + 2) / 2 % 64);
|
|
1187
|
-
let t = _0n;
|
|
1188
|
-
for (let j = 0; j < 7; j++) {
|
|
1189
|
-
R = (R << _1n ^ (R >> _7n) * _0x71n) % _256n;
|
|
1190
|
-
if (R & _2n)
|
|
1191
|
-
t ^= _1n << (_1n << /* @__PURE__ */ BigInt(j)) - _1n;
|
|
1192
|
-
}
|
|
1193
|
-
_SHA3_IOTA.push(t);
|
|
1194
|
-
}
|
|
1195
|
-
const [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ (0, _u64_js_1.split)(_SHA3_IOTA, true);
|
|
1196
|
-
const rotlH = (h2, l, s) => s > 32 ? (0, _u64_js_1.rotlBH)(h2, l, s) : (0, _u64_js_1.rotlSH)(h2, l, s);
|
|
1197
|
-
const rotlL = (h2, l, s) => s > 32 ? (0, _u64_js_1.rotlBL)(h2, l, s) : (0, _u64_js_1.rotlSL)(h2, l, s);
|
|
1198
|
-
function keccakP(s, rounds = 24) {
|
|
1199
|
-
const B = new Uint32Array(5 * 2);
|
|
1200
|
-
for (let round = 24 - rounds; round < 24; round++) {
|
|
1201
|
-
for (let x = 0; x < 10; x++)
|
|
1202
|
-
B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];
|
|
1203
|
-
for (let x = 0; x < 10; x += 2) {
|
|
1204
|
-
const idx1 = (x + 8) % 10;
|
|
1205
|
-
const idx0 = (x + 2) % 10;
|
|
1206
|
-
const B0 = B[idx0];
|
|
1207
|
-
const B1 = B[idx0 + 1];
|
|
1208
|
-
const Th = rotlH(B0, B1, 1) ^ B[idx1];
|
|
1209
|
-
const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];
|
|
1210
|
-
for (let y2 = 0; y2 < 50; y2 += 10) {
|
|
1211
|
-
s[x + y2] ^= Th;
|
|
1212
|
-
s[x + y2 + 1] ^= Tl;
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
let curH = s[2];
|
|
1216
|
-
let curL = s[3];
|
|
1217
|
-
for (let t = 0; t < 24; t++) {
|
|
1218
|
-
const shift = SHA3_ROTL[t];
|
|
1219
|
-
const Th = rotlH(curH, curL, shift);
|
|
1220
|
-
const Tl = rotlL(curH, curL, shift);
|
|
1221
|
-
const PI = SHA3_PI[t];
|
|
1222
|
-
curH = s[PI];
|
|
1223
|
-
curL = s[PI + 1];
|
|
1224
|
-
s[PI] = Th;
|
|
1225
|
-
s[PI + 1] = Tl;
|
|
1226
|
-
}
|
|
1227
|
-
for (let y2 = 0; y2 < 50; y2 += 10) {
|
|
1228
|
-
for (let x = 0; x < 10; x++)
|
|
1229
|
-
B[x] = s[y2 + x];
|
|
1230
|
-
for (let x = 0; x < 10; x++)
|
|
1231
|
-
s[y2 + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];
|
|
1232
|
-
}
|
|
1233
|
-
s[0] ^= SHA3_IOTA_H[round];
|
|
1234
|
-
s[1] ^= SHA3_IOTA_L[round];
|
|
1235
|
-
}
|
|
1236
|
-
B.fill(0);
|
|
1237
|
-
}
|
|
1238
|
-
class Keccak extends utils_js_1.Hash {
|
|
1239
|
-
// NOTE: we accept arguments in bytes instead of bits here.
|
|
1240
|
-
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
|
1241
|
-
super();
|
|
1242
|
-
this.blockLen = blockLen;
|
|
1243
|
-
this.suffix = suffix;
|
|
1244
|
-
this.outputLen = outputLen;
|
|
1245
|
-
this.enableXOF = enableXOF;
|
|
1246
|
-
this.rounds = rounds;
|
|
1247
|
-
this.pos = 0;
|
|
1248
|
-
this.posOut = 0;
|
|
1249
|
-
this.finished = false;
|
|
1250
|
-
this.destroyed = false;
|
|
1251
|
-
(0, _assert_js_1.anumber)(outputLen);
|
|
1252
|
-
if (0 >= this.blockLen || this.blockLen >= 200)
|
|
1253
|
-
throw new Error("Sha3 supports only keccak-f1600 function");
|
|
1254
|
-
this.state = new Uint8Array(200);
|
|
1255
|
-
this.state32 = (0, utils_js_1.u32)(this.state);
|
|
1256
|
-
}
|
|
1257
|
-
keccak() {
|
|
1258
|
-
if (!utils_js_1.isLE)
|
|
1259
|
-
(0, utils_js_1.byteSwap32)(this.state32);
|
|
1260
|
-
keccakP(this.state32, this.rounds);
|
|
1261
|
-
if (!utils_js_1.isLE)
|
|
1262
|
-
(0, utils_js_1.byteSwap32)(this.state32);
|
|
1263
|
-
this.posOut = 0;
|
|
1264
|
-
this.pos = 0;
|
|
1265
|
-
}
|
|
1266
|
-
update(data) {
|
|
1267
|
-
(0, _assert_js_1.aexists)(this);
|
|
1268
|
-
const { blockLen, state } = this;
|
|
1269
|
-
data = (0, utils_js_1.toBytes)(data);
|
|
1270
|
-
const len = data.length;
|
|
1271
|
-
for (let pos = 0; pos < len; ) {
|
|
1272
|
-
const take = Math.min(blockLen - this.pos, len - pos);
|
|
1273
|
-
for (let i = 0; i < take; i++)
|
|
1274
|
-
state[this.pos++] ^= data[pos++];
|
|
1275
|
-
if (this.pos === blockLen)
|
|
1276
|
-
this.keccak();
|
|
1277
|
-
}
|
|
1278
|
-
return this;
|
|
1279
|
-
}
|
|
1280
|
-
finish() {
|
|
1281
|
-
if (this.finished)
|
|
1282
|
-
return;
|
|
1283
|
-
this.finished = true;
|
|
1284
|
-
const { state, suffix, pos, blockLen } = this;
|
|
1285
|
-
state[pos] ^= suffix;
|
|
1286
|
-
if ((suffix & 128) !== 0 && pos === blockLen - 1)
|
|
1287
|
-
this.keccak();
|
|
1288
|
-
state[blockLen - 1] ^= 128;
|
|
1289
|
-
this.keccak();
|
|
1290
|
-
}
|
|
1291
|
-
writeInto(out) {
|
|
1292
|
-
(0, _assert_js_1.aexists)(this, false);
|
|
1293
|
-
(0, _assert_js_1.abytes)(out);
|
|
1294
|
-
this.finish();
|
|
1295
|
-
const bufferOut = this.state;
|
|
1296
|
-
const { blockLen } = this;
|
|
1297
|
-
for (let pos = 0, len = out.length; pos < len; ) {
|
|
1298
|
-
if (this.posOut >= blockLen)
|
|
1299
|
-
this.keccak();
|
|
1300
|
-
const take = Math.min(blockLen - this.posOut, len - pos);
|
|
1301
|
-
out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);
|
|
1302
|
-
this.posOut += take;
|
|
1303
|
-
pos += take;
|
|
1304
|
-
}
|
|
1305
|
-
return out;
|
|
1306
|
-
}
|
|
1307
|
-
xofInto(out) {
|
|
1308
|
-
if (!this.enableXOF)
|
|
1309
|
-
throw new Error("XOF is not possible for this instance");
|
|
1310
|
-
return this.writeInto(out);
|
|
1311
|
-
}
|
|
1312
|
-
xof(bytes) {
|
|
1313
|
-
(0, _assert_js_1.anumber)(bytes);
|
|
1314
|
-
return this.xofInto(new Uint8Array(bytes));
|
|
1315
|
-
}
|
|
1316
|
-
digestInto(out) {
|
|
1317
|
-
(0, _assert_js_1.aoutput)(out, this);
|
|
1318
|
-
if (this.finished)
|
|
1319
|
-
throw new Error("digest() was already called");
|
|
1320
|
-
this.writeInto(out);
|
|
1321
|
-
this.destroy();
|
|
1322
|
-
return out;
|
|
1323
|
-
}
|
|
1324
|
-
digest() {
|
|
1325
|
-
return this.digestInto(new Uint8Array(this.outputLen));
|
|
1326
|
-
}
|
|
1327
|
-
destroy() {
|
|
1328
|
-
this.destroyed = true;
|
|
1329
|
-
this.state.fill(0);
|
|
1330
|
-
}
|
|
1331
|
-
_cloneInto(to) {
|
|
1332
|
-
const { blockLen, suffix, outputLen, rounds, enableXOF } = this;
|
|
1333
|
-
to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));
|
|
1334
|
-
to.state32.set(this.state32);
|
|
1335
|
-
to.pos = this.pos;
|
|
1336
|
-
to.posOut = this.posOut;
|
|
1337
|
-
to.finished = this.finished;
|
|
1338
|
-
to.rounds = rounds;
|
|
1339
|
-
to.suffix = suffix;
|
|
1340
|
-
to.outputLen = outputLen;
|
|
1341
|
-
to.enableXOF = enableXOF;
|
|
1342
|
-
to.destroyed = this.destroyed;
|
|
1343
|
-
return to;
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
sha3.Keccak = Keccak;
|
|
1347
|
-
const gen = (suffix, blockLen, outputLen) => (0, utils_js_1.wrapConstructor)(() => new Keccak(blockLen, suffix, outputLen));
|
|
1348
|
-
sha3.sha3_224 = gen(6, 144, 224 / 8);
|
|
1349
|
-
sha3.sha3_256 = gen(6, 136, 256 / 8);
|
|
1350
|
-
sha3.sha3_384 = gen(6, 104, 384 / 8);
|
|
1351
|
-
sha3.sha3_512 = gen(6, 72, 512 / 8);
|
|
1352
|
-
sha3.keccak_224 = gen(1, 144, 224 / 8);
|
|
1353
|
-
sha3.keccak_256 = gen(1, 136, 256 / 8);
|
|
1354
|
-
sha3.keccak_384 = gen(1, 104, 384 / 8);
|
|
1355
|
-
sha3.keccak_512 = gen(1, 72, 512 / 8);
|
|
1356
|
-
const genShake = (suffix, blockLen, outputLen) => (0, utils_js_1.wrapXOFConstructorWithOpts)((opts = {}) => new Keccak(blockLen, suffix, opts.dkLen === void 0 ? outputLen : opts.dkLen, true));
|
|
1357
|
-
sha3.shake128 = genShake(31, 168, 128 / 8);
|
|
1358
|
-
sha3.shake256 = genShake(31, 136, 256 / 8);
|
|
1359
857
|
const { keccak_256 } = sha3;
|
|
1360
858
|
function zeros(bytes) {
|
|
1361
859
|
return Buffer.allocUnsafe(bytes).fill(0);
|
|
@@ -3824,4 +3322,4 @@ function createCoinbaseWalletSDK(params) {
|
|
|
3824
3322
|
export {
|
|
3825
3323
|
createCoinbaseWalletSDK
|
|
3826
3324
|
};
|
|
3827
|
-
//# sourceMappingURL=index-
|
|
3325
|
+
//# sourceMappingURL=index-DvMegG3P.js.map
|