@wormhole-foundation/wormhole-connect 3.0.0-beta.10-development → 3.0.0-beta.11-development
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/assets/{evm-Cz5gfo6J.js → evm-DwqzhXfk.js} +2 -2
- package/dist/assets/{index-BE0gG6Qf.js → index-CKPf-3Vo.js} +1 -1
- package/dist/assets/{index-D_PDN2kF.js → index-CYFq9U58.js} +1 -1
- package/dist/assets/{index-BD24Wfvc.js → index-C_YTupmk.js} +1 -1
- package/dist/assets/index-DA4wR-ie.js +1 -0
- package/dist/assets/{index-GZ5zavqs.js → index-GmuqTVr0.js} +1 -1
- package/dist/main.js +74 -74
- package/dist/src/WormholeConnect.d.ts.map +1 -1
- package/dist/src/components/Header.d.ts.map +1 -1
- package/dist/src/config/devnet/chains.d.ts.map +1 -1
- package/dist/src/config/mainnet/chains.d.ts.map +1 -1
- package/dist/src/config/testnet/chains.d.ts.map +1 -1
- package/dist/src/config/tokens.d.ts +1 -1
- package/dist/src/config/tokens.d.ts.map +1 -1
- package/dist/src/config/types.d.ts +2 -4
- package/dist/src/config/types.d.ts.map +1 -1
- package/dist/src/hooks/useAvailableWallets.d.ts +2 -3
- package/dist/src/hooks/useAvailableWallets.d.ts.map +1 -1
- package/dist/src/hooks/useFetchQuotes.d.ts.map +1 -1
- package/dist/src/hooks/useGasSlider.d.ts +2 -3
- package/dist/src/hooks/useGasSlider.d.ts.map +1 -1
- package/dist/src/sdklegacy/config/DEVNET.d.ts.map +1 -1
- package/dist/src/sdklegacy/config/MAINNET.d.ts.map +1 -1
- package/dist/src/sdklegacy/config/TESTNET.d.ts.map +1 -1
- package/dist/src/sdklegacy/types.d.ts +1 -22
- package/dist/src/sdklegacy/types.d.ts.map +1 -1
- package/dist/src/sdklegacy/utils.d.ts +0 -2
- package/dist/src/sdklegacy/utils.d.ts.map +1 -1
- package/dist/src/store/transferInput.d.ts +1 -1
- package/dist/src/store/transferInput.d.ts.map +1 -1
- package/dist/src/store/wallet.d.ts +3 -3
- package/dist/src/store/wallet.d.ts.map +1 -1
- package/dist/src/utils/index.d.ts +2 -6
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/wallet/index.d.ts +5 -5
- package/dist/src/utils/wallet/index.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/AssetPicker/SearchableList/SearchInput.d.ts +1 -0
- package/dist/src/views/v2/Bridge/AssetPicker/SearchableList/SearchInput.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/AssetPicker/SearchableList/index.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/AssetPicker/TokenList.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/Routes/SingleRoute.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/SwapInputs/index.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/WalletConnector/Sidebar.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/index.d.ts.map +1 -1
- package/dist/src/views/v2/Redeem/index.d.ts.map +1 -1
- package/lib/{account-BNwyiy8l.js → account-gVjkECaX.js} +1 -1
- package/lib/{account-DwyagzkO.mjs → account-k-CXVcvA.mjs} +3 -3
- package/lib/{add-CaAYnJ3P.mjs → add-5JNYtbn0.mjs} +1 -1
- package/lib/{add-BTLwOvOZ.js → add-l7uMi5Qp.js} +1 -1
- package/lib/{address-fP2co-yA.mjs → address-BJNAPSnr.mjs} +1 -1
- package/lib/{address-DboettO4.mjs → address-ByLIzxVb.mjs} +1 -1
- package/lib/{address-CCed-aPr.js → address-CSWlEusF.js} +1 -1
- package/lib/{address-XILx3C42.mjs → address-CrYNZ_Nj.mjs} +44 -36
- package/lib/{address-DQaI4gj3.js → address-DGYJWkFz.js} +1 -1
- package/lib/{address-Dj55KIoo.js → address-DfgK_jn7.js} +1 -1
- package/lib/{all-wallets-g1PHj0ct.js → all-wallets-Ci5Fl1c7.js} +1 -1
- package/lib/{all-wallets-n9txrQBL.mjs → all-wallets-DFuKxB4Z.mjs} +1 -1
- package/lib/{app-store-XMImFsCe.mjs → app-store-B0IRo5Ld.mjs} +1 -1
- package/lib/{app-store-BNDHv08u.js → app-store-oBe0hgJk.js} +1 -1
- package/lib/{apple-BeFuMsnp.js → apple-BeItYmiV.js} +1 -1
- package/lib/{apple-N72l5xzV.mjs → apple-C1253BqB.mjs} +1 -1
- package/lib/{aptos-CyWepkzo.js → aptos-CDC4GSyx.js} +1 -1
- package/lib/{aptos-0L0BHb3H.mjs → aptos-CiSMOF3v.mjs} +3 -3
- package/lib/{aptos-BqMeyqxb.js → aptos-IciOSw-S.js} +2 -2
- package/lib/{aptos-BS2IaWwv.mjs → aptos-M18090BQ.mjs} +7 -7
- package/lib/{arrow-bottom-CBSeMq1y.mjs → arrow-bottom-B5idrRLg.mjs} +1 -1
- package/lib/{arrow-bottom-9ZkDz94Q.js → arrow-bottom-DoPQ9bym.js} +1 -1
- package/lib/{arrow-bottom-circle-CwbLgL2F.mjs → arrow-bottom-circle-CUNc1d0l.mjs} +1 -1
- package/lib/{arrow-bottom-circle-DYiWMEvs.js → arrow-bottom-circle-_HzqlrgT.js} +1 -1
- package/lib/{arrow-left-C-UJV-mA.js → arrow-left-DKZtNEET.js} +1 -1
- package/lib/{arrow-left-D69MKmnb.mjs → arrow-left-D_6pmgeW.mjs} +1 -1
- package/lib/{arrow-right-BhLwNQPc.js → arrow-right-BETNsgrF.js} +1 -1
- package/lib/{arrow-right-7G9yNtBl.mjs → arrow-right-CfF4JKUl.mjs} +1 -1
- package/lib/{arrow-top-CahWAE97.mjs → arrow-top-ByBQSpF9.mjs} +1 -1
- package/lib/{arrow-top-Dg2It593.js → arrow-top-_t4PlGZq.js} +1 -1
- package/lib/{bank-DPmi3p8t.js → bank-CGWjW2wg.js} +1 -1
- package/lib/{bank-D8KRyeTE.mjs → bank-D-ByWKrE.mjs} +1 -1
- package/lib/{basic-DfPbK6fQ.mjs → basic-Bg1hSrRy.mjs} +2 -2
- package/lib/{basic-COPQaPYV.js → basic-CkPI-DHw.js} +1 -1
- package/lib/{blake2b-B3WiClFL.js → blake2b-CCJ4LnEi.js} +1 -1
- package/lib/{blake2b-aE1Y9SPf.mjs → blake2b-GH2Zzt65.mjs} +1 -1
- package/lib/{browser-CVFlPbA0.js → browser-C13v_3nT.js} +1 -1
- package/lib/{browser-DuIqgD1X.mjs → browser-D3rK1zZD.mjs} +1 -1
- package/lib/{browser-ponyfill-C02z10qo.js → browser-ponyfill-DqqaJGv_.js} +1 -1
- package/lib/{browser-ponyfill-DpeYhHUN.mjs → browser-ponyfill-JlME40Yz.mjs} +1 -1
- package/lib/{card-DjqoMS8I.mjs → card-C103Zr_s.mjs} +1 -1
- package/lib/{card-D_R3jF-Z.js → card-Cpnj4Pjv.js} +1 -1
- package/lib/{ccip-CrHO1dC-.js → ccip-CEnidIEN.js} +1 -1
- package/lib/{ccip-i_XXGSg2.mjs → ccip-DLDyY4LZ.mjs} +2 -2
- package/lib/{chain-BYKgc1Rl.js → chain-DTh9H2Cq.js} +1 -1
- package/lib/{chain-Yvw9MtzH.mjs → chain-Dq8acwHq.mjs} +1 -1
- package/lib/{checkmark-DOw999Ie.mjs → checkmark-CftBiE_o.mjs} +1 -1
- package/lib/{checkmark-bold-Dd3K5wgK.mjs → checkmark-bold-BiuLRYaw.mjs} +1 -1
- package/lib/{checkmark-bold-Cge3RMDQ.js → checkmark-bold-hTRkqdFs.js} +1 -1
- package/lib/{checkmark-DcyIdeXU.js → checkmark-zYR427D1.js} +1 -1
- package/lib/{chevron-bottom-DQOL6ddO.mjs → chevron-bottom-BbQ_m7D8.mjs} +1 -1
- package/lib/{chevron-bottom-DpWCBCtN.js → chevron-bottom-Dcr8Aaqj.js} +1 -1
- package/lib/{chevron-left-ijPY6xtL.js → chevron-left-B9PTmHIG.js} +1 -1
- package/lib/{chevron-left-CsfpWwbt.mjs → chevron-left-BRcODtkl.mjs} +1 -1
- package/lib/{chevron-right-DW2-OAem.mjs → chevron-right-C8T3XHHk.mjs} +1 -1
- package/lib/{chevron-right-D7f6VXeA.js → chevron-right-NjcF5i-l.js} +1 -1
- package/lib/{chevron-top-BFMGjavt.mjs → chevron-top-DDRuRQDi.mjs} +1 -1
- package/lib/{chevron-top-BKE9MT7D.js → chevron-top-qG-Co151.js} +1 -1
- package/lib/{chrome-store-ChoHQuXc.js → chrome-store-CMfQIa4X.js} +1 -1
- package/lib/{chrome-store-CqO7TK0g.mjs → chrome-store-y7e1zu4m.mjs} +1 -1
- package/lib/{chunk-KJH4KKG6-BK2qMrl4.js → chunk-KJH4KKG6-DOESg_ru.js} +1 -1
- package/lib/{chunk-KJH4KKG6-DS_5OXPM.mjs → chunk-KJH4KKG6-cfe1Zo7n.mjs} +2 -2
- package/lib/{clock-B5FRsuvL.mjs → clock-Ch4B9lTj.mjs} +1 -1
- package/lib/{clock-CPreF9T0.js → clock-D_HlSE4l.js} +1 -1
- package/lib/{close-S0uNyI0k.js → close-CqVBfuUL.js} +1 -1
- package/lib/{close-FqyWSE4_.mjs → close-DV97wtTx.mjs} +1 -1
- package/lib/{coinPlaceholder-Nsqc5lwS.js → coinPlaceholder-Ckw9njof.js} +1 -1
- package/lib/{coinPlaceholder-BZJlLM7Y.mjs → coinPlaceholder-DBEIEMLH.mjs} +1 -1
- package/lib/{compass-CzWYI8YS.js → compass-BRH1TNEt.js} +1 -1
- package/lib/{compass-C15Hbv8k.mjs → compass-DoE_r14r.mjs} +1 -1
- package/lib/constants-CBdrF4sv.js +1 -0
- package/lib/{constants-PdfK5ygX.mjs → constants-DX7-soSQ.mjs} +1 -1
- package/lib/{contract-9GZtHjlK.mjs → contract-D8VzaUQJ.mjs} +1 -1
- package/lib/{contract-B8rZnG63.js → contract-DYtnmT6F.js} +1 -1
- package/lib/{copy-DbrWU_Sn.mjs → copy-BUnH9Rmh.mjs} +1 -1
- package/lib/{copy-BcaWwGsu.js → copy-tsMwqd3u.js} +1 -1
- package/lib/{create-DFS178qc.js → create-BRB2U1qV.js} +1 -1
- package/lib/{create-BTamQq_m.mjs → create-CRa9FZnZ.mjs} +1 -1
- package/lib/{cursor-DPV4BhZQ.mjs → cursor-3mj3Pq0z.mjs} +1 -1
- package/lib/{cursor-C8Q0dpzU.js → cursor-5JnUhK1u.js} +1 -1
- package/lib/{cursor-transparent-_EEiSXcN.mjs → cursor-transparent-BTemyRTO.mjs} +1 -1
- package/lib/{cursor-transparent-Bk2Pis3h.js → cursor-transparent-Cxt6oRht.js} +1 -1
- package/lib/{desktop-DIsvsF3d.js → desktop-BSL1tdXi.js} +1 -1
- package/lib/{desktop-D-l8jhsv.mjs → desktop-DvfmWO_R.mjs} +1 -1
- package/lib/{disconnect-CuuGsNn9.js → disconnect-C1bWgwV-.js} +1 -1
- package/lib/{disconnect-C_byJjKB.mjs → disconnect-Cxkdq6ir.mjs} +1 -1
- package/lib/{discord-BuyE-1NF.mjs → discord-CHx5Xb-9.mjs} +1 -1
- package/lib/{discord-Dw7t9AOU.js → discord-eKk83DRx.js} +1 -1
- package/lib/{etherscan-BpiPFsqX.js → etherscan-DunhJn-2.js} +1 -1
- package/lib/{etherscan-sT9lau-F.mjs → etherscan-YaFa04eY.mjs} +1 -1
- package/lib/{evm-rv7ZlROo.mjs → evm-B1mLJPQm.mjs} +9 -9
- package/lib/{evm-DWT3Nmuq.js → evm-BcBUJ9Y7.js} +2 -2
- package/lib/{evm-BtQQ6viH.js → evm-C_kkwF2N.js} +3 -3
- package/lib/{evm-PlOfGcwB.mjs → evm-Dzv24HTi.mjs} +9 -9
- package/lib/{exclamation-triangle-ca7edyAm.js → exclamation-triangle-Cb8oHsFl.js} +1 -1
- package/lib/{exclamation-triangle-DN4JC4tj.mjs → exclamation-triangle-DfZ9Dte5.mjs} +1 -1
- package/lib/executor.js +1 -1
- package/lib/executor.mjs +36 -36
- package/lib/{extension-B2NwQEJh.mjs → extension-DP-dDsSn.mjs} +1 -1
- package/lib/{extension-BT42HXRo.js → extension-DoOMA86h.js} +1 -1
- package/lib/{external-link-DUXVgd3Q.js → external-link-BqzHACi1.js} +1 -1
- package/lib/{external-link-DPxrE_1B.mjs → external-link-DyHJnsK8.mjs} +1 -1
- package/lib/{facebook-BwiFRhTy.js → facebook-9-sYpqWJ.js} +1 -1
- package/lib/{facebook-nlQKkoy4.mjs → facebook-fuN149kb.mjs} +1 -1
- package/lib/{farcaster-DIPlSB57.mjs → farcaster-CthcgW1p.mjs} +1 -1
- package/lib/{farcaster-B3iRAtGH.js → farcaster-DidNhku_.js} +1 -1
- package/lib/{filters-CADY0oT7.js → filters-ByT7XcVR.js} +1 -1
- package/lib/{filters-BqX98gdQ.mjs → filters-_l_bTNZK.mjs} +1 -1
- package/lib/{github-DCpNepXY.js → github-4qFP3ebJ.js} +1 -1
- package/lib/{github-i2fLJDcn.mjs → github-DLIZSSpT.mjs} +1 -1
- package/lib/{google-CjlC1jg5.js → google-CLB363tb.js} +1 -1
- package/lib/{google-RwvuhA_N.mjs → google-DsUwkwU7.mjs} +1 -1
- package/lib/{help-circle-CAJ7Vj6j.mjs → help-circle-DNIlqXM4.mjs} +1 -1
- package/lib/{help-circle-DbBRCuEk.js → help-circle-MHAS2jcg.js} +1 -1
- package/lib/hosted.js +1 -1
- package/lib/hosted.mjs +1 -1
- package/lib/{id-BGx-wQhp.mjs → id-Dcpxx5Sg.mjs} +1 -1
- package/lib/{id-D37VTwOD.js → id-DgC4wzlk.js} +1 -1
- package/lib/{image-CwP7FRuU.mjs → image-D0i9nEJa.mjs} +1 -1
- package/lib/{image-B6onBOl9.js → image-cNJf0UKs.js} +1 -1
- package/lib/{index-l-WipGzT.js → index--rEdlHs9.js} +1 -1
- package/lib/{index-lIqGH3dA.mjs → index-0V2bg9Sg.mjs} +2 -2
- package/lib/{index-C_onUkEJ.mjs → index-6NFOdkn_.mjs} +5 -5
- package/lib/{index-CaWaUq6Q.mjs → index-B6QoC8kC.mjs} +1 -1
- package/lib/{index-DFnrdKHz.mjs → index-B8CSnOaL.mjs} +4 -4
- package/lib/{index-Cxk2R-Am.mjs → index-BBwY_mLw.mjs} +9 -9
- package/lib/{index-D0EnJJ6x.js → index-BDN9fAFf.js} +1 -1
- package/lib/{index-Dkk8hroQ.js → index-BJjgo7T5.js} +1 -1
- package/lib/{index-DfErM9FS.mjs → index-BOmzGtQH.mjs} +10 -10
- package/lib/{index-hJ9bKuCY.js → index-Bn829hfx.js} +1 -1
- package/lib/{index-Du5REEg_.mjs → index-BsqWniHZ.mjs} +2 -2
- package/lib/{index-DkYpMDuW.mjs → index-BuMERF6V.mjs} +3 -3
- package/lib/{index-BLh5aG8-.mjs → index-BxR9BQdY.mjs} +5 -5
- package/lib/{index-Cf3S05FK.js → index-C9CCEaud.js} +1 -1
- package/lib/{index-C1_cSaXr.js → index-CAZoTTeF.js} +1 -1
- package/lib/{index-CYr_YvMH.js → index-CFikcYS0.js} +1 -1
- package/lib/{index-CS9iBnXX.mjs → index-CJXywlFV.mjs} +5 -5
- package/lib/{index-BEJqMcqT.mjs → index-CSf9Xnts.mjs} +5 -5
- package/lib/{index-Sice5Hou.js → index-CVY5OsmN.js} +2 -2
- package/lib/{index-CmW6KmMC.js → index-C_DPPfkk.js} +1 -1
- package/lib/index-CbF5x2NI.js +1 -0
- package/lib/{index-DS3hzy1U.js → index-Cj6R9JbK.js} +1 -1
- package/lib/{index-Bu-zI45T.js → index-CjojdPoR.js} +1 -1
- package/lib/{index-CNTjCcyR.mjs → index-Co1W4Raf.mjs} +16 -14
- package/lib/{index-5DMnZ3K9.mjs → index-CpYW6xKB.mjs} +5 -5
- package/lib/{index-M9Ba07as.mjs → index-CreVTM0z.mjs} +7 -7
- package/lib/{index-BrGsuxgs.js → index-Csb-_vqa.js} +1 -1
- package/lib/{index-DfLfvzB0.js → index-Cv26ujGL.js} +1 -1
- package/lib/{index-CYYDe2bl.mjs → index-Cvt-EnSZ.mjs} +1 -1
- package/lib/{index-lIhQvgZM.mjs → index-D0eLvswO.mjs} +1 -1
- package/lib/{index-1Jby0-yj.js → index-D4dCJIWy.js} +1 -1
- package/lib/{index-C1JhFb5_.mjs → index-D5Wl9ZPE.mjs} +4 -4
- package/lib/{index-CGQJxGGA.mjs → index-D8pyO0Ut.mjs} +78 -78
- package/lib/{index-DzS1Ll_Q.js → index-DLyteqgH.js} +1 -1
- package/lib/{index-6TUUk7Kw.mjs → index-DUoona4h.mjs} +4 -4
- package/lib/index-DVJDNZXX.js +304 -0
- package/lib/{index-D6bm6RN3.js → index-DZ0LaYyC.js} +1 -1
- package/lib/{index-CXxeK1L6.mjs → index-Dc_4R0qr.mjs} +18061 -18376
- package/lib/{index-CmpBCyPP.js → index-Dg_iItNp.js} +1 -1
- package/lib/{index-D2mvEBkB.mjs → index-Dy8-WjNf.mjs} +8 -8
- package/lib/{index-mQV1DqpZ.mjs → index-FyK0K3it.mjs} +14 -14
- package/lib/{index-uPUSKdDo.js → index-T00Tc9JN.js} +1 -1
- package/lib/{index-BRH2VboQ.mjs → index-WR7oDg9u.mjs} +6 -6
- package/lib/{index-jhd52i9j.js → index-aoDDl5Bh.js} +1 -1
- package/lib/{index-DxGwdrFn.js → index-iIndJffV.js} +1 -1
- package/lib/{index-DlCZRxQL.js → index-uqZQu-qU.js} +1 -1
- package/lib/{index.es-Dw6cvzlo.mjs → index.es-BodjtdqB.mjs} +4 -4
- package/lib/{index.es-BhVEumjV.mjs → index.es-CStVufqy.mjs} +6 -6
- package/lib/{index.es-Ck4NJOYT.js → index.es-DNfg_W4n.js} +1 -1
- package/lib/{index.es-B7jCb8zH.js → index.es-wGYpE9RX.js} +2 -2
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/{info-CTA_ADWS.mjs → info-Ccop_bq-.mjs} +1 -1
- package/lib/{info-BhMx7Zq6.js → info-DhtgwfZc.js} +1 -1
- package/lib/{info-circle-DN9B0Yi6.mjs → info-circle-CZvq1Bbl.mjs} +1 -1
- package/lib/{info-circle-nzb9zoU8.js → info-circle-DzGmwt4i.js} +1 -1
- package/lib/{lightbulb-BYt8eexq.js → lightbulb-C0-qKwLI.js} +1 -1
- package/lib/{lightbulb-CeL9clew.mjs → lightbulb-WpoJQkeo.mjs} +1 -1
- package/lib/{mail-BfIAmg2q.mjs → mail-D1rYl-hP.mjs} +1 -1
- package/lib/{mail-ouAgiQdL.js → mail-D2CE1lj4.js} +1 -1
- package/lib/mayan.js +1 -1
- package/lib/mayan.mjs +9 -9
- package/lib/{mint-DAd13kKg.mjs → mint-CDUlLJB4.mjs} +2 -2
- package/lib/{mint-CDSktsSe.js → mint-CyFSbOaj.js} +1 -1
- package/lib/{mobile-B210vkRD.mjs → mobile-D8slK1-I.mjs} +1 -1
- package/lib/{mobile-D7zXpqST.js → mobile-uBIPQ_3j.js} +1 -1
- package/lib/{more-V7n1plpv.mjs → more-DsX_s58K.mjs} +1 -1
- package/lib/{more-DCu8fdsU.js → more-Dy11lM4m.js} +1 -1
- package/lib/{native-B-Mq6Gpc.js → native-Bdd5l9MQ.js} +1 -1
- package/lib/{native-DciEZuil.mjs → native-D6oc9ERK.mjs} +1 -1
- package/lib/{network-placeholder-DTJGzSV6.js → network-placeholder-4XSy76qO.js} +1 -1
- package/lib/{network-placeholder-DfGVbCNl.mjs → network-placeholder-ClLYl9gN.mjs} +1 -1
- package/lib/{nftPlaceholder-DVPyjtCX.js → nftPlaceholder-Dtm_zH4E.js} +1 -1
- package/lib/{nftPlaceholder-DF43BHqh.mjs → nftPlaceholder-ilscJrWL.mjs} +1 -1
- package/lib/ntt.js +1 -1
- package/lib/ntt.mjs +10 -10
- package/lib/{off-BKTude1x.mjs → off-D3IDpfZg.mjs} +1 -1
- package/lib/{off-DVadjOgd.js → off-N7Q-H26y.js} +1 -1
- package/lib/{platform-BIdtdn6B.js → platform-C7YwgvxU.js} +1 -1
- package/lib/{platform-DRiO8Lpy.js → platform-CgqczEeE.js} +1 -1
- package/lib/{platform-jTR8zNGC.mjs → platform-Ck9W87gm.mjs} +4 -4
- package/lib/{platform-7iep_MVG.mjs → platform-CyoDzIPB.mjs} +4 -4
- package/lib/{platform-DBNuoVoL.js → platform-DbvllBcy.js} +1 -1
- package/lib/{platform-BnY9AR2a.mjs → platform-DkmFvjoG.mjs} +6 -6
- package/lib/{play-store-BCGoGVyc.js → play-store-2p9CBKz9.js} +1 -1
- package/lib/{play-store-yeOJdtps.mjs → play-store-Dnx6-DfM.mjs} +1 -1
- package/lib/{plus-Db3legXY.js → plus-CVTA7O2z.js} +1 -1
- package/lib/{plus-usr0h0Sg.mjs → plus-CngR-jD-.mjs} +1 -1
- package/lib/{provider-jsonrpc-1XU1LSFl.mjs → provider-jsonrpc-BVvalXMV.mjs} +2 -2
- package/lib/{provider-jsonrpc-Ftos7WiF.js → provider-jsonrpc-D033z3Mz.js} +1 -1
- package/lib/{qr-code-TxdsKI2-.js → qr-code-CJEqBG09.js} +1 -1
- package/lib/{qr-code-BHrMFAeD.mjs → qr-code-Ckqp2jcM.mjs} +1 -1
- package/lib/{recycle-horizontal-C029OirL.mjs → recycle-horizontal-BWbxp077.mjs} +1 -1
- package/lib/{recycle-horizontal-CV-Z-xr2.js → recycle-horizontal-CUMI_Frp.js} +1 -1
- package/lib/{refresh-BOyC5R7s.mjs → refresh-BA3qzC0t.mjs} +1 -1
- package/lib/{refresh-gknrXeiN.js → refresh-nBHl-Ex7.js} +1 -1
- package/lib/{reown-logo-E4Y6lFRH.mjs → reown-logo-BIs62gAK.mjs} +1 -1
- package/lib/{reown-logo-EEGXueyS.js → reown-logo-C0OFiwcD.js} +1 -1
- package/lib/{search-BgffY2-W.js → search-C4yW_e7h.js} +1 -1
- package/lib/{search-CS8TeAhL.mjs → search-DWkxod1G.mjs} +1 -1
- package/lib/{secp256k1-C5vdKPJ_.mjs → secp256k1-CzzYFHL9.mjs} +1 -1
- package/lib/{secp256k1-B4pP7t0Q.mjs → secp256k1-D5xGRPak.mjs} +1 -1
- package/lib/{secp256k1-vuensNa0.js → secp256k1-DJxiSxEG.js} +1 -1
- package/lib/{secp256k1-B8yo9NK3.js → secp256k1-DPyD-aqu.js} +1 -1
- package/lib/{send-DAp63gAc.mjs → send-B_-c6x6P.mjs} +1 -1
- package/lib/{send-DPZWMS7g.js → send-CgneLJ89.js} +1 -1
- package/lib/{signer-CjAhJiqS.js → signer-BZ3rTVnM.js} +1 -1
- package/lib/{signer-DJy6KKkU.mjs → signer-DIpGs_9B.mjs} +2 -2
- package/lib/{solana-B-yJpfRk.mjs → solana-AefmV-EX.mjs} +11 -11
- package/lib/solana-BHr-TCKL.js +1 -0
- package/lib/{solana-Cv5Nbmh4.js → solana-Cqhc10CM.js} +4 -4
- package/lib/solana-Dhrl0nvx.mjs +18 -0
- package/lib/{solanaEmbed.esm-Nb0f5Bcf.js → solanaEmbed.esm-CB_O5YXF.js} +1 -1
- package/lib/{solanaEmbed.esm-DyoMhGln.mjs → solanaEmbed.esm-DvSyh3Tl.mjs} +2 -2
- package/lib/src/WormholeConnect.d.ts.map +1 -1
- package/lib/src/components/Header.d.ts.map +1 -1
- package/lib/src/config/devnet/chains.d.ts.map +1 -1
- package/lib/src/config/mainnet/chains.d.ts.map +1 -1
- package/lib/src/config/testnet/chains.d.ts.map +1 -1
- package/lib/src/config/tokens.d.ts +1 -1
- package/lib/src/config/tokens.d.ts.map +1 -1
- package/lib/src/config/types.d.ts +2 -4
- package/lib/src/config/types.d.ts.map +1 -1
- package/lib/src/hooks/useAvailableWallets.d.ts +2 -3
- package/lib/src/hooks/useAvailableWallets.d.ts.map +1 -1
- package/lib/src/hooks/useFetchQuotes.d.ts.map +1 -1
- package/lib/src/hooks/useGasSlider.d.ts +2 -3
- package/lib/src/hooks/useGasSlider.d.ts.map +1 -1
- package/lib/src/sdklegacy/config/DEVNET.d.ts.map +1 -1
- package/lib/src/sdklegacy/config/MAINNET.d.ts.map +1 -1
- package/lib/src/sdklegacy/config/TESTNET.d.ts.map +1 -1
- package/lib/src/sdklegacy/types.d.ts +1 -22
- package/lib/src/sdklegacy/types.d.ts.map +1 -1
- package/lib/src/sdklegacy/utils.d.ts +0 -2
- package/lib/src/sdklegacy/utils.d.ts.map +1 -1
- package/lib/src/store/transferInput.d.ts +1 -1
- package/lib/src/store/transferInput.d.ts.map +1 -1
- package/lib/src/store/wallet.d.ts +3 -3
- package/lib/src/store/wallet.d.ts.map +1 -1
- package/lib/src/utils/index.d.ts +2 -6
- package/lib/src/utils/index.d.ts.map +1 -1
- package/lib/src/utils/wallet/index.d.ts +5 -5
- package/lib/src/utils/wallet/index.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/AssetPicker/SearchableList/SearchInput.d.ts +1 -0
- package/lib/src/views/v2/Bridge/AssetPicker/SearchableList/SearchInput.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/AssetPicker/SearchableList/index.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/AssetPicker/TokenList.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/Routes/SingleRoute.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/SwapInputs/index.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/WalletConnector/Sidebar.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/index.d.ts.map +1 -1
- package/lib/src/views/v2/Redeem/index.d.ts.map +1 -1
- package/lib/{sui-C4YuLBNP.mjs → sui-D17vikGB.mjs} +3 -3
- package/lib/{sui-CViWN23E.js → sui-OtX0-aiw.js} +1 -1
- package/lib/{sui-C4QOXfn4.mjs → sui-jsmS--zo.mjs} +8 -8
- package/lib/{sui-Do3J5v2h.js → sui-wX1yJDdB.js} +1 -1
- package/lib/{swapHorizontal-BXabxyWk.js → swapHorizontal-CaiPRfjP.js} +1 -1
- package/lib/{swapHorizontal-BAl7yPCe.mjs → swapHorizontal-I9IHNlcX.mjs} +1 -1
- package/lib/{swapHorizontalBold-2NjnySxd.js → swapHorizontalBold-COXm4Eoq.js} +1 -1
- package/lib/{swapHorizontalBold-CNpE1U1o.mjs → swapHorizontalBold-DjCg3Gvp.mjs} +1 -1
- package/lib/{swapHorizontalMedium-BwSIk8q4.js → swapHorizontalMedium-BufndsqW.js} +1 -1
- package/lib/{swapHorizontalMedium-D6igpWxG.mjs → swapHorizontalMedium-D5Op20PE.mjs} +1 -1
- package/lib/{swapHorizontalRoundedBold-DP63dC-o.js → swapHorizontalRoundedBold-DOhWyq65.js} +1 -1
- package/lib/{swapHorizontalRoundedBold-B6qi_uT4.mjs → swapHorizontalRoundedBold-DT-dVJCx.mjs} +1 -1
- package/lib/{swapVertical-DosujBg8.mjs → swapVertical--HMMmuaw.mjs} +1 -1
- package/lib/{swapVertical-CkN9z1k4.js → swapVertical-BC9LFE7N.js} +1 -1
- package/lib/{telegram-D3tmdhc2.mjs → telegram-CxCcJyxh.mjs} +1 -1
- package/lib/{telegram-CCqTguAZ.js → telegram-FZjehBdN.js} +1 -1
- package/lib/{three-dots-DIorrO14.mjs → three-dots-CuFQnzau.mjs} +1 -1
- package/lib/{three-dots-CES7HN37.js → three-dots-zFnxhtH1.js} +1 -1
- package/lib/{tokens-D3bLTygd.js → tokens-BBDYlW5N.js} +1 -1
- package/lib/{tokens-CU3HMDM6.mjs → tokens-Ro6NgarI.mjs} +3 -3
- package/lib/{twitch-CTYgEk87.mjs → twitch-Cn9a4jgU.mjs} +1 -1
- package/lib/{twitch-D34MsrHU.js → twitch-pwuV-z6u.js} +1 -1
- package/lib/{twitterIcon-DtgydUL9.js → twitterIcon-C5XFX-OQ.js} +1 -1
- package/lib/{twitterIcon-DGIe51hs.mjs → twitterIcon-D98sKvbq.mjs} +1 -1
- package/lib/{units-DGe2F5PR.js → units-BVg9f9bp.js} +1 -1
- package/lib/{units-Cik_7j3E.mjs → units-De4Es9C-.mjs} +2 -2
- package/lib/{unsignedTransaction-CQnHvnm6.js → unsignedTransaction-3gDumn1W.js} +1 -1
- package/lib/{unsignedTransaction-w2zI4bHP.mjs → unsignedTransaction-DmrfJNQf.mjs} +11 -11
- package/lib/{verify-DeO-Hik_.mjs → verify-BxlOfP9w.mjs} +1 -1
- package/lib/{verify-JdOdGlJW.js → verify-D1TEwpVN.js} +1 -1
- package/lib/{verify-filled-DDjscBOi.js → verify-filled-BrR7ST9b.js} +1 -1
- package/lib/{verify-filled-D3-Qs_-y.mjs → verify-filled-yMiXBbCQ.mjs} +1 -1
- package/lib/{w3m-modal-aad-Io6d.js → w3m-modal-BGlhUPJA.js} +1 -1
- package/lib/{w3m-modal-B0yhKMwq.mjs → w3m-modal-luSHEfx4.mjs} +2 -2
- package/lib/{wallet-yCXA67Qu.mjs → wallet-CEtYecn_.mjs} +1 -1
- package/lib/{wallet-BX_HNOiI.js → wallet-CvHL82h-.js} +1 -1
- package/lib/{wallet-placeholder-CP7SPblM.js → wallet-placeholder-C4f_-N7F.js} +1 -1
- package/lib/{wallet-placeholder-B3Z8IdVs.mjs → wallet-placeholder-Deq6znRH.mjs} +1 -1
- package/lib/{walletconnect-DIjBEyTX.mjs → walletconnect-BBY1yZEn.mjs} +1 -1
- package/lib/{walletconnect-DyRNFsK0.js → walletconnect-CbujsbqX.js} +1 -1
- package/lib/{warning-circle-CXFKWypw.mjs → warning-circle-cokTC_ks.mjs} +1 -1
- package/lib/{warning-circle-D8DVppzp.js → warning-circle-iBEa0DFJ.js} +1 -1
- package/lib/web3-CevzYKNd.mjs +34 -0
- package/lib/{web3-B9XPIqI6.js → web3-IDpqtkwB.js} +1 -1
- package/lib/{x-Xk8iBbmJ.mjs → x-CNsQuYZX.mjs} +1 -1
- package/lib/{x-B8n79hg8.js → x-FvnYgr2g.js} +1 -1
- package/package.json +25 -25
- package/dist/assets/index-C36A04gA.js +0 -1
- package/lib/constants-C24HBTfH.js +0 -1
- package/lib/index-CcYWzKmx.js +0 -1
- package/lib/index-DR9PpmKV.js +0 -304
- package/lib/solana-BduBLBMs.mjs +0 -18
- package/lib/solana-BsxuzgAi.js +0 -1
- package/lib/web3-B2F9atsZ.mjs +0 -34
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./solana-Cqhc10CM.js"),e=o.b`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),o=e.b`<svg
|
|
2
2
|
fill="none"
|
|
3
3
|
viewBox="0 0 21 20"
|
|
4
4
|
>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),o=e.b`<svg fill="none" viewBox="0 0 14 15">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="12"
|
|
4
4
|
height="13"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as m, e as z, r as R, a as h, x as l, C as x, A as y, O as ie, b as w, E as N, R as W, c as Oe, d as E, f as g, S as qe, g as At, W as lt, h as bt, T as it, j as Se, M as Ot, k as we, l as fe, m as mt, n as vt, o as Bt } from "./solana-
|
|
2
|
-
import { n as c, c as d, o as u, r as p, U as Q, e as Nt, f as Ut, a as Mt } from "./index-
|
|
1
|
+
import { i as m, e as z, r as R, a as h, x as l, C as x, A as y, O as ie, b as w, E as N, R as W, c as Oe, d as E, f as g, S as qe, g as At, W as lt, h as bt, T as it, j as Se, M as Ot, k as we, l as fe, m as mt, n as vt, o as Bt } from "./solana-AefmV-EX.mjs";
|
|
2
|
+
import { n as c, c as d, o as u, r as p, U as Q, e as Nt, f as Ut, a as Mt } from "./index-D8pyO0Ut.mjs";
|
|
3
3
|
import { b as qt } from "./browser-BSAOEeIM.mjs";
|
|
4
4
|
const Vt = m`
|
|
5
5
|
:host {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./solana-Cqhc10CM.js"),l=require("./index-CVY5OsmN.js"),st=require("./browser-KlThUlM6.js"),ct=n.i`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
background-color: var(--wui-color-gray-glass-002);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./address-
|
|
1
|
+
"use strict";const e=require("./address-CSWlEusF.js"),x=Uint8Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]),d=Uint32Array.from([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),t=new Uint32Array(32);function y(p,s,h,l,v,r){const n=v[r],i=v[r+1];let o=t[2*p],u=t[2*p+1],a=t[2*s],f=t[2*s+1],b=t[2*h],w=t[2*h+1],B=t[2*l],c=t[2*l+1],E=e.add3L(o,a,n);u=e.add3H(E,u,f,i),o=E|0,{Dh:c,Dl:B}={Dh:c^u,Dl:B^o},{Dh:c,Dl:B}={Dh:e.rotr32H(c,B),Dl:e.rotr32L(c)},{h:w,l:b}=e.add(w,b,c,B),{Bh:f,Bl:a}={Bh:f^w,Bl:a^b},{Bh:f,Bl:a}={Bh:e.rotrSH(f,a,24),Bl:e.rotrSL(f,a,24)},t[2*p]=o,t[2*p+1]=u,t[2*s]=a,t[2*s+1]=f,t[2*h]=b,t[2*h+1]=w,t[2*l]=B,t[2*l+1]=c}function I(p,s,h,l,v,r){const n=v[r],i=v[r+1];let o=t[2*p],u=t[2*p+1],a=t[2*s],f=t[2*s+1],b=t[2*h],w=t[2*h+1],B=t[2*l],c=t[2*l+1],E=e.add3L(o,a,n);u=e.add3H(E,u,f,i),o=E|0,{Dh:c,Dl:B}={Dh:c^u,Dl:B^o},{Dh:c,Dl:B}={Dh:e.rotrSH(c,B,16),Dl:e.rotrSL(c,B,16)},{h:w,l:b}=e.add(w,b,c,B),{Bh:f,Bl:a}={Bh:f^w,Bl:a^b},{Bh:f,Bl:a}={Bh:e.rotrBH(f,a,63),Bl:e.rotrBL(f,a,63)},t[2*p]=o,t[2*p+1]=u,t[2*s]=a,t[2*s+1]=f,t[2*h]=b,t[2*h+1]=w,t[2*l]=B,t[2*l+1]=c}function A(p,s={},h,l,v){if(e.anumber(h),p<0||p>h)throw new Error("outputLen bigger than keyLen");const{key:r,salt:n,personalization:i}=s;if(r!==void 0&&(r.length<1||r.length>h))throw new Error("key length must be undefined or 1.."+h);if(n!==void 0&&n.length!==l)throw new Error("salt must be undefined or "+l);if(i!==void 0&&i.length!==v)throw new Error("personalization must be undefined or "+v)}class L extends e.Hash$1{constructor(s,h){super(),this.finished=!1,this.destroyed=!1,this.length=0,this.pos=0,e.anumber(s),e.anumber(h),this.blockLen=s,this.outputLen=h,this.buffer=new Uint8Array(s),this.buffer32=e.u32$2(this.buffer)}update(s){e.aexists(this),s=e.toBytes$1(s),e.abytes(s);const{blockLen:h,buffer:l,buffer32:v}=this,r=s.length,n=s.byteOffset,i=s.buffer;for(let o=0;o<r;){this.pos===h&&(e.swap32IfBE(v),this.compress(v,0,!1),e.swap32IfBE(v),this.pos=0);const u=Math.min(h-this.pos,r-o),a=n+o;if(u===h&&!(a%4)&&o+u<r){const f=new Uint32Array(i,a,Math.floor((r-o)/4));e.swap32IfBE(f);for(let b=0;o+h<r;b+=v.length,o+=h)this.length+=h,this.compress(f,b,!1);e.swap32IfBE(f);continue}l.set(s.subarray(o,o+u),this.pos),this.pos+=u,this.length+=u,o+=u}return this}digestInto(s){e.aexists(this),e.aoutput(s,this);const{pos:h,buffer32:l}=this;this.finished=!0,e.clean(this.buffer.subarray(h)),e.swap32IfBE(l),this.compress(l,0,!0),e.swap32IfBE(l);const v=e.u32$2(s);this.get().forEach((r,n)=>v[n]=e.swap8IfBE(r))}digest(){const{buffer:s,outputLen:h}=this;this.digestInto(s);const l=s.slice(0,h);return this.destroy(),l}_cloneInto(s){const{buffer:h,length:l,finished:v,destroyed:r,outputLen:n,pos:i}=this;return s||(s=new this.constructor({dkLen:n})),s.set(...this.get()),s.buffer.set(h),s.destroyed=r,s.finished=v,s.length=l,s.pos=i,s.outputLen=n,s}clone(){return this._cloneInto()}}class k extends L{constructor(s={}){const h=s.dkLen===void 0?64:s.dkLen;super(128,h),this.v0l=d[0]|0,this.v0h=d[1]|0,this.v1l=d[2]|0,this.v1h=d[3]|0,this.v2l=d[4]|0,this.v2h=d[5]|0,this.v3l=d[6]|0,this.v3h=d[7]|0,this.v4l=d[8]|0,this.v4h=d[9]|0,this.v5l=d[10]|0,this.v5h=d[11]|0,this.v6l=d[12]|0,this.v6h=d[13]|0,this.v7l=d[14]|0,this.v7h=d[15]|0,A(h,s,64,16,16);let{key:l,personalization:v,salt:r}=s,n=0;if(l!==void 0&&(l=e.toBytes$1(l),n=l.length),this.v0l^=this.outputLen|n<<8|65536|1<<24,r!==void 0){r=e.toBytes$1(r);const i=e.u32$2(r);this.v4l^=e.swap8IfBE(i[0]),this.v4h^=e.swap8IfBE(i[1]),this.v5l^=e.swap8IfBE(i[2]),this.v5h^=e.swap8IfBE(i[3])}if(v!==void 0){v=e.toBytes$1(v);const i=e.u32$2(v);this.v6l^=e.swap8IfBE(i[0]),this.v6h^=e.swap8IfBE(i[1]),this.v7l^=e.swap8IfBE(i[2]),this.v7h^=e.swap8IfBE(i[3])}if(l!==void 0){const i=new Uint8Array(this.blockLen);i.set(l),this.update(i)}}get(){let{v0l:s,v0h:h,v1l:l,v1h:v,v2l:r,v2h:n,v3l:i,v3h:o,v4l:u,v4h:a,v5l:f,v5h:b,v6l:w,v6h:B,v7l:c,v7h:E}=this;return[s,h,l,v,r,n,i,o,u,a,f,b,w,B,c,E]}set(s,h,l,v,r,n,i,o,u,a,f,b,w,B,c,E){this.v0l=s|0,this.v0h=h|0,this.v1l=l|0,this.v1h=v|0,this.v2l=r|0,this.v2h=n|0,this.v3l=i|0,this.v3h=o|0,this.v4l=u|0,this.v4h=a|0,this.v5l=f|0,this.v5h=b|0,this.v6l=w|0,this.v6h=B|0,this.v7l=c|0,this.v7h=E|0}compress(s,h,l){this.get().forEach((o,u)=>t[u]=o),t.set(d,16);let{h:v,l:r}=e.fromBig(BigInt(this.length));t[24]=d[8]^r,t[25]=d[9]^v,l&&(t[28]=~t[28],t[29]=~t[29]);let n=0;const i=x;for(let o=0;o<12;o++)y(0,4,8,12,s,h+2*i[n++]),I(0,4,8,12,s,h+2*i[n++]),y(1,5,9,13,s,h+2*i[n++]),I(1,5,9,13,s,h+2*i[n++]),y(2,6,10,14,s,h+2*i[n++]),I(2,6,10,14,s,h+2*i[n++]),y(3,7,11,15,s,h+2*i[n++]),I(3,7,11,15,s,h+2*i[n++]),y(0,5,10,15,s,h+2*i[n++]),I(0,5,10,15,s,h+2*i[n++]),y(1,6,11,12,s,h+2*i[n++]),I(1,6,11,12,s,h+2*i[n++]),y(2,7,8,13,s,h+2*i[n++]),I(2,7,8,13,s,h+2*i[n++]),y(3,4,9,14,s,h+2*i[n++]),I(3,4,9,14,s,h+2*i[n++]);this.v0l^=t[0]^t[16],this.v0h^=t[1]^t[17],this.v1l^=t[2]^t[18],this.v1h^=t[3]^t[19],this.v2l^=t[4]^t[20],this.v2h^=t[5]^t[21],this.v3l^=t[6]^t[22],this.v3h^=t[7]^t[23],this.v4l^=t[8]^t[24],this.v4h^=t[9]^t[25],this.v5l^=t[10]^t[26],this.v5h^=t[11]^t[27],this.v6l^=t[12]^t[28],this.v6h^=t[13]^t[29],this.v7l^=t[14]^t[30],this.v7h^=t[15]^t[31],e.clean(t)}destroy(){this.destroyed=!0,e.clean(this.buffer32),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const D=e.createOptHasher(p=>new k(p)),$=D;exports.blake2b=$;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b_ as _, b$ as k, c0 as L, c1 as y, c2 as z, c3 as g, c4 as G, c5 as E, c6 as I, c7 as M, c8 as D, c9 as S, ca as U, cb as K, cc as $, cd as H, ce as C, cf as O, cg as j, ch as F, ci as X } from "./address-
|
|
1
|
+
import { b_ as _, b$ as k, c0 as L, c1 as y, c2 as z, c3 as g, c4 as G, c5 as E, c6 as I, c7 as M, c8 as D, c9 as S, ca as U, cb as K, cc as $, cd as H, ce as C, cf as O, cg as j, ch as F, ci as X } from "./address-CrYNZ_Nj.mjs";
|
|
2
2
|
const V = /* @__PURE__ */ Uint8Array.from([
|
|
3
3
|
0,
|
|
4
4
|
1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const w=require("./address-
|
|
1
|
+
"use strict";const w=require("./address-CSWlEusF.js");var D={exports:{}};(function(j,d){var v=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof w.commonjsGlobal<"u"&&w.commonjsGlobal,E=function(){function m(){this.fetch=!1,this.DOMException=v.DOMException}return m.prototype=v,new m}();(function(m){(function(h){var a=typeof m<"u"&&m||typeof self<"u"&&self||typeof w.commonjsGlobal<"u"&&w.commonjsGlobal||{},u={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function H(e){return e&&DataView.prototype.isPrototypeOf(e)}if(u.arrayBuffer)var F=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],S=ArrayBuffer.isView||function(e){return e&&F.indexOf(Object.prototype.toString.call(e))>-1};function b(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function A(e){return typeof e!="string"&&(e=String(e)),e}function g(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return u.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}i.prototype.append=function(e,t){e=b(e),t=A(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},i.prototype.delete=function(e){delete this.map[b(e)]},i.prototype.get=function(e){return e=b(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(b(e))},i.prototype.set=function(e,t){this.map[b(e)]=A(t)},i.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),g(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),g(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),g(e)},u.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);function T(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function P(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function C(e){var t=new FileReader,r=P(t);return t.readAsArrayBuffer(e),r}function I(e){var t=new FileReader,r=P(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),s=n?n[1]:"utf-8";return t.readAsText(e,s),r}function M(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function x(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:u.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:u.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:u.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():u.arrayBuffer&&u.blob&&H(e)?(this._bodyArrayBuffer=x(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=x(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):u.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},u.blob&&(this.blob=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=T(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(u.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return I(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(M(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},u.formData&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}var q=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function L(e){var t=e.toUpperCase();return q.indexOf(t)>-1?t:e}function l(e,t){if(!(this instanceof l))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof l){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new i(t.headers)),this.method=L(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in a){var o=new AbortController;return o.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var s=/\?/;this.url+=(s.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}l.prototype.clone=function(){return new l(this,{body:this._bodyInit})};function G(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),s=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(s),decodeURIComponent(o))}}),t}function N(e){var t=new i,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
|
|
2
2
|
`)===0?n.substr(1,n.length):n}).forEach(function(n){var s=n.split(":"),o=s.shift().trim();if(o){var _=s.join(":").trim();try{t.append(o,_)}catch(O){console.warn("Response "+O.message)}}}),t}R.call(l.prototype);function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}R.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var k=[301,302,303,307,308];c.redirect=function(e,t){if(k.indexOf(t)===-1)throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},h.DOMException=a.DOMException;try{new h.DOMException}catch{h.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},h.DOMException.prototype=Object.create(Error.prototype),h.DOMException.prototype.constructor=h.DOMException}function B(e,t){return new Promise(function(r,n){var s=new l(e,t);if(s.signal&&s.signal.aborted)return n(new h.DOMException("Aborted","AbortError"));var o=new XMLHttpRequest;function _(){o.abort()}o.onload=function(){var f={statusText:o.statusText,headers:N(o.getAllResponseHeaders()||"")};s.url.indexOf("file://")===0&&(o.status<200||o.status>599)?f.status=200:f.status=o.status,f.url="responseURL"in o?o.responseURL:f.headers.get("X-Request-URL");var y="response"in o?o.response:o.responseText;setTimeout(function(){r(new c(y,f))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){n(new h.DOMException("Aborted","AbortError"))},0)};function O(f){try{return f===""&&a.location.href?a.location.href:f}catch{return f}}if(o.open(s.method,O(s.url),!0),s.credentials==="include"?o.withCredentials=!0:s.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(u.blob?o.responseType="blob":u.arrayBuffer&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof i||a.Headers&&t.headers instanceof a.Headers)){var U=[];Object.getOwnPropertyNames(t.headers).forEach(function(f){U.push(b(f)),o.setRequestHeader(f,A(t.headers[f]))}),s.headers.forEach(function(f,y){U.indexOf(y)===-1&&o.setRequestHeader(y,f)})}else s.headers.forEach(function(f,y){o.setRequestHeader(y,f)});s.signal&&(s.signal.addEventListener("abort",_),o.onreadystatechange=function(){o.readyState===4&&s.signal.removeEventListener("abort",_)}),o.send(typeof s._bodyInit>"u"?null:s._bodyInit)})}return B.polyfill=!0,a.fetch||(a.fetch=B,a.Headers=i,a.Request=l,a.Response=c),h.Headers=i,h.Request=l,h.Response=c,h.fetch=B,Object.defineProperty(h,"__esModule",{value:!0}),h})({})})(E),E.fetch.ponyfill=!0,delete E.fetch.polyfill;var p=v.fetch?v:E;d=p.fetch,d.default=p.fetch,d.fetch=p.fetch,d.Headers=p.Headers,d.Request=p.Request,d.Response=p.Response,j.exports=d})(D,D.exports);var V=D.exports;const z=w.getDefaultExportFromCjs(V);exports.o=z;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as V, U as _ } from "./address-
|
|
1
|
+
import { g as V, U as _ } from "./address-CrYNZ_Nj.mjs";
|
|
2
2
|
var x = { exports: {} };
|
|
3
3
|
(function(j, d) {
|
|
4
4
|
var w = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof _ < "u" && _, v = function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./solana-Cqhc10CM.js"),e=C.b`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="12"
|
|
4
4
|
height="13"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./evm-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./evm-C_kkwF2N.js"),n=require("./index-C_DPPfkk.js");class k extends n.BaseError{constructor({callbackSelector:s,cause:t,data:c,extraData:u,sender:d,urls:a}){var o;super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],(o=t.metaMessages)!=null&&o.length?"":[],"Offchain Gateway Call:",a&&[" Gateway URL(s):",...a.map(f=>` ${n.getUrl(f)}`)],` Sender: ${d}`,` Data: ${c}`,` Callback selector: ${s}`,` Extra data: ${u}`].flat(),name:"OffchainLookupError"})}}class b extends n.BaseError{constructor({result:s,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${n.getUrl(t)}`,`Response: ${n.stringify(s)}`],name:"OffchainLookupResponseMalformedError"})}}class L extends n.BaseError{constructor({sender:s,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${s}`],name:"OffchainLookupSenderMismatchError"})}}const E="0x556f1830",m={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function O(i,{blockNumber:s,blockTag:t,data:c,to:u}){const{args:d}=l.decodeErrorResult({data:c,abi:[m]}),[a,o,f,p,r]=d,{ccipRead:e}=i,y=e&&typeof(e==null?void 0:e.request)=="function"?e.request:g;try{if(!l.isAddressEqual(u,a))throw new L({sender:a,to:u});const h=o.includes(l.localBatchGatewayUrl)?await l.localBatchGatewayRequest({data:f,ccipRequest:y}):await y({data:f,sender:a,urls:o}),{data:w}=await l.call(i,{blockNumber:s,blockTag:t,data:l.concat([p,l.encodeAbiParameters([{type:"bytes"},{type:"bytes"}],[h,r])]),to:u});return w}catch(h){throw new k({callbackSelector:p,cause:h,data:c,extraData:r,sender:a,urls:o})}}async function g({data:i,sender:s,urls:t}){var u;let c=new Error("An unknown error occurred.");for(let d=0;d<t.length;d++){const a=t[d],o=a.includes("{data}")?"GET":"POST",f=o==="POST"?{data:i,sender:s}:void 0,p=o==="POST"?{"Content-Type":"application/json"}:{};try{const r=await fetch(a.replace("{sender}",s.toLowerCase()).replace("{data}",i),{body:JSON.stringify(f),headers:p,method:o});let e;if((u=r.headers.get("Content-Type"))!=null&&u.startsWith("application/json")?e=(await r.json()).data:e=await r.text(),!r.ok){c=new n.HttpRequestError({body:f,details:e!=null&&e.error?n.stringify(e.error):r.statusText,headers:r.headers,status:r.status,url:a});continue}if(!n.isHex(e)){c=new b({result:e,url:a});continue}return e}catch(r){c=new n.HttpRequestError({body:f,details:r.message,url:a})}}throw c}exports.ccipRequest=g;exports.offchainLookup=O;exports.offchainLookupAbiItem=m;exports.offchainLookupSignature=E;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as k, i as b, l as L, a as O, b as E, e as x, f as R } from "./evm-
|
|
2
|
-
import { B as p, ai as y, o as w, aj as m, i as M } from "./index-
|
|
1
|
+
import { d as k, i as b, l as L, a as O, b as E, e as x, f as R } from "./evm-Dzv24HTi.mjs";
|
|
2
|
+
import { B as p, ai as y, o as w, aj as m, i as M } from "./index-D0eLvswO.mjs";
|
|
3
3
|
class S extends p {
|
|
4
4
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
|
5
5
|
var o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var d=(e,t,i)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var o=(e,t,i)=>d(e,typeof t!="symbol"?t+"":t,i);const n=require("./address-
|
|
1
|
+
"use strict";var u=Object.defineProperty;var d=(e,t,i)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var o=(e,t,i)=>d(e,typeof t!="symbol"?t+"":t,i);const n=require("./address-CSWlEusF.js");function f(e){return"getVersion"in e}const s={};function B(e,t,i){t in s||(s[t]={});const r=s[t];if(e in r)throw new Error(`Protocol ${e} for protocol ${t} has already registered`);s[t][e]=i}function m(e,t){const i=n.isChain(e)?n.chainToPlatform.get(e):e;return t in s?i in s[t]:!1}function l(e,t){if(t in s){const i=s[t];if(i&&e in i){const r=i[e];if(r)return r}}throw new Error(`No protocols registered for ${e}:${t}. This may be because the platform specific protocol implementation is not registered (by installing and importing it) or no implementation exists for this platform`)}const w=(e,t,i,r)=>l(e,t).fromRpc(i,r);class P{constructor(t,i){o(this,"network");o(this,"config");this.network=t,this.config=i}utils(){return this.constructor}getProtocol(t,i){return w(this.utils()._platform,t,i,this.config)}getProtocolInitializer(t){return l(this.utils()._platform,t)}async parseWormholeMessages(t,i,r){return(await this.getProtocol("WormholeCore",i)).parseTransaction(r)}}class k{constructor(t,i,r){o(this,"network");o(this,"chain");o(this,"config");o(this,"platform");o(this,"rpc");o(this,"protocols",new Map);o(this,"supportsWormholeCore",()=>this.supportsProtocol("WormholeCore"));o(this,"getWormholeCore",()=>this.getProtocol("WormholeCore"));o(this,"supportsTokenBridge",()=>this.supportsProtocol("TokenBridge"));o(this,"getTokenBridge",()=>this.getProtocol("TokenBridge"));o(this,"supportsAutomaticTokenBridge",()=>this.supportsProtocol("AutomaticTokenBridge"));o(this,"getAutomaticTokenBridge",()=>this.getProtocol("AutomaticTokenBridge"));o(this,"supportsCircleBridge",()=>this.supportsProtocol("CircleBridge"));o(this,"getCircleBridge",()=>this.getProtocol("CircleBridge"));o(this,"supportsAutomaticCircleBridge",()=>this.supportsProtocol("AutomaticCircleBridge"));o(this,"getAutomaticCircleBridge",()=>this.getProtocol("AutomaticCircleBridge"));o(this,"supportsIbcBridge",()=>this.supportsProtocol("IbcBridge"));o(this,"getIbcBridge",()=>this.getProtocol("IbcBridge"));o(this,"supportsPorticoBridge",()=>this.supportsProtocol("PorticoBridge"));o(this,"getPorticoBridge",()=>this.getProtocol("PorticoBridge"));o(this,"supportsTBTCBridge",()=>this.supportsProtocol("TBTCBridge"));o(this,"getTBTCBridge",()=>this.getProtocol("TBTCBridge"));this.config=i.config[t],this.platform=i,this.chain=this.config.key,this.network=this.config.network,this.rpc=r}getRpc(){return this.rpc=this.rpc?this.rpc:this.platform.getRpc(this.chain),this.rpc}async getDecimals(t){if(n.isNative(t))return this.config.nativeTokenDecimals;if(this.config.tokenMap){const i=n.canonicalAddress({chain:this.chain,address:t}),r=n.getTokenByAddress(this.network,this.chain,i);if(r)return r.decimals}return this.platform.utils().getDecimals(this.chain,await this.getRpc(),t)}async getBalance(t,i){return this.platform.utils().getBalance(this.chain,await this.getRpc(),t,i)}async getLatestBlock(){return this.platform.utils().getLatestBlock(await this.getRpc())}async getLatestFinalizedBlock(){return this.platform.utils().getLatestFinalizedBlock(await this.getRpc())}async parseTransaction(t){return this.platform.parseWormholeMessages(this.chain,await this.getRpc(),t)}async sendWait(t){return this.platform.utils().sendWait(this.chain,await this.getRpc(),t)}getToken(t){if(this.config.tokenMap&&t in this.config.tokenMap)return this.config.tokenMap[t]}async getNativeWrappedTokenId(){if(this.config.wrappedNative){const{address:i}=this.config.wrappedNative;return{chain:this.chain,address:n.toNative(this.chain,i)}}const t=await this.getTokenBridge();return{chain:this.chain,address:await t.getWrappedNative()}}async getTokenAccount(t,i){return{chain:this.chain,address:t}}supportsProtocol(t){return m(this.chain,t)}async getProtocol(t,i,r){if(!i&&this.protocols.has(t))return this.protocols.get(t);const c=i?{...this.config.contracts,...i}:this.config.contracts,h=r??await this.getRpc(),g=this.platform.getProtocolInitializer(t);let a;if(r){if(i)throw new Error("Custom contracts are currently not supported with custom rpc connection. Add the contracts to the base config.");a=await this.platform.getProtocol(t,h)}else if(f(g)){const p=await g.getVersion(h,c);a=new g(this.network,this.chain,h,c,p)}else a=new g(this.network,this.chain,h,c);return i||this.protocols.set(t,a),a}}exports.ChainContext=k;exports.PlatformContext=P;exports.registerProtocol=B;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
2
|
var u = (r, t, i) => t in r ? l(r, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[t] = i;
|
|
3
3
|
var o = (r, t, i) => u(r, typeof t != "symbol" ? t + "" : t, i);
|
|
4
|
-
import { a6 as d, a5 as f, j as B, q as m, bY as w, a7 as P } from "./address-
|
|
4
|
+
import { a6 as d, a5 as f, j as B, q as m, bY as w, a7 as P } from "./address-CrYNZ_Nj.mjs";
|
|
5
5
|
function k(r) {
|
|
6
6
|
return "getVersion" in r;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 14 14">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg
|
|
2
2
|
width="28"
|
|
3
3
|
height="28"
|
|
4
4
|
viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),o=e.b`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./solana-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./solana-Cqhc10CM.js"),a=t.b`<svg width="36" height="36" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
fill="#fff"
|
|
4
4
|
fill-opacity=".05"
|