@wormhole-foundation/wormhole-connect 3.0.2-beta.0-development → 3.0.2-beta.1-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/README.md +1 -1
- package/dist/assets/{basic-ChNCp6rI.js → basic-PUjrTVXb.js} +1 -1
- package/dist/assets/{evm-DSirgd5b.js → evm-CO5UWnAY.js} +2 -2
- package/dist/assets/{index-L-lC4rqb.js → index-1lzfHdT2.js} +1 -1
- package/dist/assets/{index-CHfaLf5J.js → index-DBVZDYF7.js} +1 -1
- package/dist/assets/index-DKlPX3ZI.js +1 -0
- package/dist/assets/{index-BtCrMDAu.js → index-Ddk7n7Ti.js} +1 -1
- package/dist/assets/{index-HhyysXFu.js → index-DyUmO4PR.js} +1 -1
- package/dist/assets/{index-BiwA3Bbq.js → index-MMzKxP1N.js} +1 -1
- package/dist/assets/{secp256k1-Cd7rIav0.js → secp256k1-0LtSM2L1.js} +1 -1
- package/dist/assets/{secp256k1-BQBOR8e3.js → secp256k1-DwTU3j1N.js} +1 -1
- package/dist/assets/{solana-DcwLWeKT.js → solana-DlGdMBSL.js} +4 -4
- package/dist/assets/{w3m-modal-DdptuLHe.js → w3m-modal-DD9Jgepz.js} +1 -1
- package/dist/main.js +72 -70
- package/dist/src/AppRouter.d.ts.map +1 -1
- package/dist/src/config/mainnet/tokens.d.ts.map +1 -1
- package/dist/src/config/testnet/tokens.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/exports/index.d.ts +2 -2
- package/dist/src/exports/index.d.ts.map +1 -1
- package/dist/src/hooks/useFetchQuotes.d.ts.map +1 -1
- package/dist/src/icons/Chains/PLUME.d.ts.map +1 -1
- package/dist/src/icons/PoweredBy.d.ts.map +1 -1
- package/dist/src/icons/Routing.d.ts +5 -0
- package/dist/src/icons/Routing.d.ts.map +1 -0
- package/dist/src/icons/Tokens/PLUME.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/utils/coingecko.d.ts.map +1 -1
- package/dist/src/utils/formatNumber.d.ts +23 -0
- package/dist/src/utils/formatNumber.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +3 -1
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/routes.d.ts +12 -0
- package/dist/src/utils/routes.d.ts.map +1 -0
- package/dist/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
- package/dist/src/views/v2/Bridge/Routes/SingleRoute.d.ts.map +1 -1
- package/dist/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/AmountInput/index.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/AssetPicker/index.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/GasSlider/index.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/Routes/Eta.d.ts +6 -0
- package/dist/src/views/v3/Bridge/Routes/Eta.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RouteBadge.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts +7 -6
- package/dist/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/Routes/RoutesLink.d.ts +7 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesLink.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesList.d.ts +2 -1
- package/dist/src/views/v3/Bridge/Routes/RoutesList.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/Routes/RoutesLoader.d.ts +4 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesLoader.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesModal.d.ts +6 -5
- package/dist/src/views/v3/Bridge/Routes/RoutesModal.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/Routes/SingleRoute.d.ts +1 -0
- package/dist/src/views/v3/Bridge/Routes/SingleRoute.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/Routes/index.d.ts.map +1 -1
- package/dist/src/views/v3/Redeem/TransactionDetails/index.d.ts.map +1 -1
- package/lib/account-Br8E7RB6.js +1 -0
- package/lib/{account-BTK2b2Fv.mjs → account-CVa_3S2g.mjs} +1 -1
- package/lib/{address-8wLqn60W.mjs → address-BApwdEpr.mjs} +96 -96
- package/lib/address-BwQqFkyh.js +1 -0
- package/lib/address-C2pxq9b2.js +1 -0
- package/lib/{address-n0gAFMrZ.mjs → address-f6joE_ig.mjs} +12 -12
- package/lib/aptos-CMRGggVs.js +2 -0
- package/lib/{aptos-CK-j196x.js → aptos-CTKQNmlP.js} +1 -1
- package/lib/{aptos-B-DJQlwt.mjs → aptos-CfFbx7uf.mjs} +9 -9
- package/lib/{aptos-Bwcz9wZX.mjs → aptos-fozuppXh.mjs} +3 -3
- package/lib/{basic-DHWVLmCq.mjs → basic-BA2aRJJn.mjs} +2 -2
- package/lib/{basic-B5ZFelC_.js → basic-DUWaF2I0.js} +1 -1
- package/lib/{basic-E2M-9h1u.js → basic-DeiUayOA.js} +1 -1
- package/lib/{basic-Pour9Ggp.mjs → basic-DoC8u7J8.mjs} +2 -2
- package/lib/{blake2b-C5HyObld.mjs → blake2b-BGxWUAjG.mjs} +23 -23
- package/lib/blake2b-Fj1aPKgL.js +1 -0
- package/lib/{browser-ponyfill-jK8MKVVg.mjs → browser-ponyfill-D5AN8ZPp.mjs} +1 -1
- package/lib/browser-ponyfill-Dn6gsMYK.js +2 -0
- package/lib/{chain-Bm6u6eUF.mjs → chain-DAw2I5H8.mjs} +1 -1
- package/lib/chain-DnPXlO8g.js +1 -0
- package/lib/chunk-KJH4KKG6-BjF7YUcU.js +470 -0
- package/lib/{chunk-KJH4KKG6-DJsu-Y-X.mjs → chunk-KJH4KKG6-DmVjhXO7.mjs} +144 -144
- package/lib/{constants-Cf2YMjNo.js → constants-BtNs_2F4.js} +1 -1
- package/lib/{constants-B7AbX6qr.mjs → constants-Dcc2nVaW.mjs} +3 -3
- package/lib/contract-BEHYQLvJ.js +1 -0
- package/lib/{contract-llnN6ki0.mjs → contract-BkMAZomO.mjs} +123 -123
- package/lib/{core-CF5c7Vev.mjs → core-BHV42Qa0.mjs} +25 -26
- package/lib/core-CV23yxnG.js +889 -0
- package/lib/create-CHcGblj6.js +1 -0
- package/lib/{create-Dm87_0zG.mjs → create-CKLtL7hr.mjs} +1 -1
- package/lib/{evm-BYIGg8e4.mjs → evm-Bf7qbM19.mjs} +42 -42
- package/lib/{evm-B2hUWkt7.js → evm-ClWkquRx.js} +2 -2
- package/lib/{evm-fvvpk-li.mjs → evm-DhMoy8cH.mjs} +6 -6
- package/lib/{evm-DFNbMHoa.js → evm-tXmzU9Xp.js} +2 -2
- package/lib/executor.js +1 -1
- package/lib/executor.mjs +145 -138
- package/lib/hosted.js +1 -1
- package/lib/hosted.mjs +1 -1
- package/lib/{index-Cwo5AKUC.mjs → index-1rCCpdwd.mjs} +5 -5
- package/lib/{index-DBCa3k0j.mjs → index-3HvzWPL7.mjs} +9 -9
- package/lib/{index-MOwE6ses.mjs → index-B7ztYPhr.mjs} +21 -22
- package/lib/index-BM-0SeYB.js +1 -0
- package/lib/{index-DiQ8Ytrt.mjs → index-BTnpftLz.mjs} +1 -1
- package/lib/{index-BiCMaXJS.js → index-BWQMi6Rj.js} +1 -1
- package/lib/index-BbgKw2pu.js +1 -0
- package/lib/index-BblcpkoK.js +1 -0
- package/lib/index-Bfblsmud.js +1 -0
- package/lib/{index-C_0yAOSX.mjs → index-BfkFXEnG.mjs} +25082 -24072
- package/lib/{index-fi1sh8vr.mjs → index-BijBPDRn.mjs} +2 -2
- package/lib/index-BoquY9R2.js +337 -0
- package/lib/index-C2NtsO9Q.js +1 -0
- package/lib/{index-CNuk-XLX.mjs → index-C4JmrizV.mjs} +4 -4
- package/lib/index-C8TtXpOf.js +1 -0
- package/lib/index-CB8kOyIP.js +1 -0
- package/lib/index-CInVjUCW.js +1 -0
- package/lib/{index-BF11RebI.mjs → index-CLTklDbp.mjs} +1 -1
- package/lib/index-CQvgeH_r.js +1 -0
- package/lib/{index-DzYjoSJp.mjs → index-CUnOYRFQ.mjs} +23 -24
- package/lib/{index-DGh9LzN1.mjs → index-CWe_BTdo.mjs} +31 -31
- package/lib/{index-2Bz1Np4K.mjs → index-CZ91lJ9M.mjs} +5 -5
- package/lib/{index-Dgy1FO7C.js → index-CgyVnj6U.js} +1 -1
- package/lib/{index-BzJcFdt_.mjs → index-Clr2JjoJ.mjs} +44 -44
- package/lib/index-CnnCCv6Q.js +1 -0
- package/lib/{index-CJnRWlFf.mjs → index-CwxGLNEk.mjs} +48 -49
- package/lib/index-D7BLfz05.js +1 -0
- package/lib/index-DM7C-wvQ.js +3 -0
- package/lib/{index-DhIh3xiW.mjs → index-DNy_sNGr.mjs} +8 -8
- package/lib/{index-BZaRg0yd.mjs → index-DVcaDWmz.mjs} +1 -1
- package/lib/{index-CsAigASU.mjs → index-DWOP9OBp.mjs} +17 -17
- package/lib/{index-CTLz8Fz0.mjs → index-Dda5qc2t.mjs} +13 -14
- package/lib/{index-CLBXF_zH.mjs → index-DeaiBvpG.mjs} +16 -16
- package/lib/index-HOuGP-7b.js +1 -0
- package/lib/{index-Dt2uNp-N.mjs → index-KZve3tYJ.mjs} +4 -4
- package/lib/{index-CJDBidKv.mjs → index-SIyXqCAN.mjs} +41 -41
- package/lib/index-WhVYPMUr.js +1 -0
- package/lib/index-hmjT4xa7.js +1 -0
- package/lib/index-ledagFNU.js +1 -0
- package/lib/index-pbRVlgcN.js +1 -0
- package/lib/{index-BpQXUhR4.mjs → index-qK7AyMAk.mjs} +23 -27
- package/lib/index-ttZu99PZ.js +1 -0
- package/lib/{index.es-BqRBGIq6.mjs → index.es-BXRQf6Oi.mjs} +25 -26
- package/lib/index.es-BjGaOok5.js +11 -0
- package/lib/index.es-D6S74vhi.js +27 -0
- package/lib/{index.es-DgCZuUzB.mjs → index.es-cOw8juwf.mjs} +741 -737
- package/lib/index.js +1 -1
- package/lib/index.mjs +17 -16
- package/lib/mayan.js +3 -3
- package/lib/mayan.mjs +918 -891
- package/lib/mint-CL36R6ED.js +1 -0
- package/lib/{mint-Dc-VsiAn.mjs → mint-DunEG1jV.mjs} +32 -33
- package/lib/ntt.js +1 -1
- package/lib/ntt.mjs +2332 -2373
- package/lib/platform-7vCWzCny.js +1 -0
- package/lib/platform-BKhoO9So.js +1 -0
- package/lib/{platform-B95L0Vxv.mjs → platform-BN6LFtXE.mjs} +16 -16
- package/lib/{platform-DnP_1wGA.mjs → platform-BYLu9SzP.mjs} +4 -4
- package/lib/platform-Bbe26nx7.js +1 -0
- package/lib/{platform-DiG7WY9Z.mjs → platform-DCgWqmh1.mjs} +4 -4
- package/lib/{provider-jsonrpc-CRABh2gN.mjs → provider-jsonrpc-Bmgnrmpy.mjs} +155 -155
- package/lib/provider-jsonrpc-CbtP2Ffg.js +1 -0
- package/lib/{secp256k1-zHHDNAlH.mjs → secp256k1-BDQEvyHq.mjs} +1 -1
- package/lib/{secp256k1-obBDPYM-.mjs → secp256k1-C77Oh9AA.mjs} +1 -1
- package/lib/{secp256k1-2hq3Jk4g.mjs → secp256k1-CCn2vlXj.mjs} +1 -1
- package/lib/{secp256k1-B94G4gyy.js → secp256k1-CHAR40au.js} +1 -1
- package/lib/{secp256k1-DCcAh19h.js → secp256k1-D-DmPYcJ.js} +1 -1
- package/lib/{secp256k1-CjndBUS7.js → secp256k1-DYWDlveU.js} +1 -1
- package/lib/{signer-N_ccpPOz.mjs → signer-BIcn81N5.mjs} +18 -18
- package/lib/signer-H7atraks.js +1 -0
- package/lib/{solana-_Ha4YgiP.mjs → solana-B0QSg7B3.mjs} +30 -30
- package/lib/solana-Cs5VyB20.js +900 -0
- package/lib/solana-uvHG8JV5.js +1 -0
- package/lib/solana-zyfOlbhb.mjs +18 -0
- package/lib/{solanaEmbed.esm-DK5RIquB.mjs → solanaEmbed.esm-BqdznDuW.mjs} +623 -622
- package/lib/solanaEmbed.esm-D8vtESE6.js +10 -0
- package/lib/src/AppRouter.d.ts.map +1 -1
- package/lib/src/config/mainnet/tokens.d.ts.map +1 -1
- package/lib/src/config/testnet/tokens.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/exports/index.d.ts +2 -2
- package/lib/src/exports/index.d.ts.map +1 -1
- package/lib/src/hooks/useFetchQuotes.d.ts.map +1 -1
- package/lib/src/icons/Chains/PLUME.d.ts.map +1 -1
- package/lib/src/icons/PoweredBy.d.ts.map +1 -1
- package/lib/src/icons/Routing.d.ts +5 -0
- package/lib/src/icons/Routing.d.ts.map +1 -0
- package/lib/src/icons/Tokens/PLUME.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/utils/coingecko.d.ts.map +1 -1
- package/lib/src/utils/formatNumber.d.ts +23 -0
- package/lib/src/utils/formatNumber.d.ts.map +1 -0
- package/lib/src/utils/index.d.ts +3 -1
- package/lib/src/utils/index.d.ts.map +1 -1
- package/lib/src/utils/routes.d.ts +12 -0
- package/lib/src/utils/routes.d.ts.map +1 -0
- package/lib/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
- package/lib/src/views/v2/Bridge/Routes/SingleRoute.d.ts.map +1 -1
- package/lib/src/views/v2/Redeem/TransactionDetails/index.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/AmountInput/index.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/AssetPicker/index.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/GasSlider/index.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/Routes/Eta.d.ts +6 -0
- package/lib/src/views/v3/Bridge/Routes/Eta.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RouteBadge.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts +7 -6
- package/lib/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/Routes/RoutesLink.d.ts +7 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesLink.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesList.d.ts +2 -1
- package/lib/src/views/v3/Bridge/Routes/RoutesList.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/Routes/RoutesLoader.d.ts +4 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesLoader.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesModal.d.ts +6 -5
- package/lib/src/views/v3/Bridge/Routes/RoutesModal.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/Routes/SingleRoute.d.ts +1 -0
- package/lib/src/views/v3/Bridge/Routes/SingleRoute.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/Routes/index.d.ts.map +1 -1
- package/lib/src/views/v3/Redeem/TransactionDetails/index.d.ts.map +1 -1
- package/lib/{sui-CQcQ6w_P.mjs → sui-B38DyOqM.mjs} +44 -44
- package/lib/{sui-BplKFZQu.mjs → sui-BpfnZR4f.mjs} +3 -3
- package/lib/sui-CT9MWY38.js +1 -0
- package/lib/{sui-_hvmCvD8.js → sui-DXQAMRQJ.js} +1 -1
- package/lib/{tokens-DNv0ZNvU.js → tokens-CmINcwKk.js} +31 -31
- package/lib/{tokens-Dl4YwW18.mjs → tokens-YxAPPVy3.mjs} +1726 -1724
- package/lib/transfer-BQ72fByU.js +1 -0
- package/lib/transfer-bTW0j9yh.mjs +58 -0
- package/lib/units-Ckije3Qv.js +1 -0
- package/lib/{units-DPWUSE6J.mjs → units-CtyvuzxQ.mjs} +13 -13
- package/lib/unsignedTransaction-C6Qp42VS.js +1 -0
- package/lib/{unsignedTransaction-DwcUilyN.mjs → unsignedTransaction-CXB-QCUC.mjs} +18 -18
- package/lib/{w3m-modal-BJILsxDp.mjs → w3m-modal-B7LUHLWC.mjs} +2 -2
- package/lib/{w3m-modal-D4CpFxO2.mjs → w3m-modal-BOTzBqbc.mjs} +2 -2
- package/lib/{w3m-modal-CrfHWSrF.js → w3m-modal-BTb03-7B.js} +1 -1
- package/lib/{w3m-modal-CBG2MSPp.js → w3m-modal-xmdf4r6V.js} +1 -1
- package/lib/web3-COTIsLs8.js +22 -0
- package/lib/{address-B-XN4tFw.mjs → web3-DYVeiqSa.mjs} +6599 -6576
- package/package.json +32 -32
- package/dist/assets/index-BWPgrXHs.js +0 -1
- package/lib/account-cRt2xMoW.js +0 -1
- package/lib/address-BGujeWtN.js +0 -22
- package/lib/address-C7DIAk4M.js +0 -1
- package/lib/address-KNhRm6oe.js +0 -1
- package/lib/aptos-f5TqmvqV.js +0 -2
- package/lib/blake2b-B-MRXUPb.js +0 -1
- package/lib/browser-ponyfill-CE6vRkjp.js +0 -2
- package/lib/chain-Hsn22HAP.js +0 -1
- package/lib/chunk-KJH4KKG6-CoyI75Ig.js +0 -470
- package/lib/contract-D2fTrJgn.js +0 -1
- package/lib/core-v0G9f7LX.js +0 -889
- package/lib/create-DoZZ7ciL.js +0 -1
- package/lib/index-B8-KKWD-.js +0 -1
- package/lib/index-BHbvgOMD.js +0 -1
- package/lib/index-BHfUgvSV.js +0 -1
- package/lib/index-BTKC7Hou.js +0 -1
- package/lib/index-BWXglAWd.js +0 -1
- package/lib/index-Bpp8C4u8.js +0 -1
- package/lib/index-CF2fHBHJ.js +0 -3
- package/lib/index-CTPz98nv.js +0 -1
- package/lib/index-ClMoiji-.js +0 -1
- package/lib/index-ClsVcH6F.js +0 -1
- package/lib/index-CqOI6LVu.js +0 -1
- package/lib/index-DCz_4mcz.js +0 -1
- package/lib/index-DKksdvND.js +0 -335
- package/lib/index-DRv3ZpVL.js +0 -1
- package/lib/index-DYqo8IhM.js +0 -1
- package/lib/index-DZubce9o.js +0 -1
- package/lib/index-DprM_IpB.js +0 -1
- package/lib/index-DshEQYMA.js +0 -1
- package/lib/index-JrM783SN.js +0 -1
- package/lib/index.es-C6YhioMN.js +0 -27
- package/lib/index.es-D3Xxxr8I.js +0 -11
- package/lib/mint-DlXC3sGi.js +0 -1
- package/lib/platform-B1XoDKoN.js +0 -1
- package/lib/platform-COuZC5Zc.js +0 -1
- package/lib/platform-NG3efAb2.js +0 -1
- package/lib/provider-jsonrpc-pXNHQF7n.js +0 -1
- package/lib/signer-CCa6npZ3.js +0 -1
- package/lib/solana-BJ3aReZw.mjs +0 -18
- package/lib/solana-BwyVgP30.js +0 -1
- package/lib/solana-CanFuMgA.js +0 -900
- package/lib/solanaEmbed.esm-C--1F7Lx.js +0 -10
- package/lib/sui-Bs83Gy5Z.js +0 -1
- package/lib/units-BvcKDiAx.js +0 -1
- package/lib/unsignedTransaction-dN_5EJf5.js +0 -1
- package/lib/web3-Bu_6UejS.mjs +0 -67
- package/lib/web3-Doz_0RHD.js +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { d as R } from "./
|
|
2
|
-
import { e as js, E as uo } from "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { k as fu, b as Sc } from "./index.es-BqRBGIq6.mjs";
|
|
1
|
+
import { d as R } from "./web3-DYVeiqSa.mjs";
|
|
2
|
+
import { I as _r, g as nu, f as At, t as lt, c as $, a as wr, C as ou, b as Nc, d as au, e as cu, h as Gr, s as On, i as js, k as ui, A as Ac, E as tt, j as lu, l as uu, y as yt, m as $s, r as Sr, O as uo, o as _t, n as du, p as ho, q as po, u as Ki, N as go, P as Po, Q as hu, v as pu, w as gu, x as To, z as ur, B as _c, D as es, F as jt, G as os, H as Dt } from "./index.es-cOw8juwf.mjs";
|
|
3
|
+
import { k as fu, b as Sc } from "./index.es-BXRQf6Oi.mjs";
|
|
5
4
|
import { B as $r, p as _e, b as ri, a as Xe, s as et, r as Ls, c as mu, f as Oo, i as gr, d as Pt } from "./lit-element-DHQZP6We.mjs";
|
|
6
5
|
import { f as wu, x as Ei, t as ko } from "./http-BfeP64Cg.mjs";
|
|
7
|
-
import "./browser-ponyfill-
|
|
6
|
+
import "./browser-ponyfill-D5AN8ZPp.mjs";
|
|
8
7
|
const z = {
|
|
9
8
|
WC_NAME_SUFFIX: ".reown.id",
|
|
10
9
|
WC_NAME_SUFFIX_LEGACY: ".wcn.id",
|
|
@@ -4398,7 +4397,7 @@ function Ld(t) {
|
|
|
4398
4397
|
return Dd(`0x${e}`);
|
|
4399
4398
|
}
|
|
4400
4399
|
async function Fd({ hash: t, signature: e }) {
|
|
4401
|
-
const s = ii(t) ? t : Un(t), { secp256k1: r } = await import("./secp256k1-
|
|
4400
|
+
const s = ii(t) ? t : Un(t), { secp256k1: r } = await import("./secp256k1-BDQEvyHq.mjs");
|
|
4402
4401
|
return `0x${(() => {
|
|
4403
4402
|
if (typeof e == "object" && "r" in e && "s" in e) {
|
|
4404
4403
|
const { r: l, s: u, v: d, yParity: p } = e, f = Number(p ?? d), w = Bo(f);
|
|
@@ -7692,7 +7691,7 @@ class cy extends dd {
|
|
|
7692
7691
|
this.logger.fatal(`Fatal socket error: ${s.message}`), this.events.emit(qe.error, s), this.logger.fatal("Fatal socket error received, closing transport"), this.transportClose();
|
|
7693
7692
|
}), ue(this, "registerProviderListeners", () => {
|
|
7694
7693
|
this.provider.on(Ct.payload, this.onPayloadHandler), this.provider.on(Ct.connect, this.onConnectHandler), this.provider.on(Ct.disconnect, this.onDisconnectHandler), this.provider.on(Ct.error, this.onProviderErrorHandler);
|
|
7695
|
-
}), this.core = e.core, this.logger = typeof e.logger < "u" && typeof e.logger != "string" ? tt(e.logger, this.name) :
|
|
7694
|
+
}), this.core = e.core, this.logger = typeof e.logger < "u" && typeof e.logger != "string" ? tt(e.logger, this.name) : uo(ui({ level: e.logger || Lf })), this.messages = new Ww(this.logger, e.core), this.subscriber = new iy(this, this.logger), this.publisher = new Jw(this, this.logger), this.relayUrl = (e == null ? void 0 : e.relayUrl) || Ol, this.projectId = e.projectId, Jd() ? this.packageName = zo() : Yd() && (this.bundleId = zo()), this.provider = {};
|
|
7696
7695
|
}
|
|
7697
7696
|
async init() {
|
|
7698
7697
|
if (this.logger.trace("Initialized"), this.registerEventListeners(), await Promise.all([this.messages.init(), this.subscriber.init()]), this.initialized = !0, this.subscriber.hasAnyTopics) try {
|
|
@@ -7857,11 +7856,11 @@ class cy extends dd {
|
|
|
7857
7856
|
return i && this.logger.warn(`Ignoring duplicate message: ${r}`), i;
|
|
7858
7857
|
}
|
|
7859
7858
|
async onProviderPayload(e) {
|
|
7860
|
-
if (this.logger.debug("Incoming Relay Payload"), this.logger.trace({ type: "payload", direction: "incoming", payload: e }),
|
|
7859
|
+
if (this.logger.debug("Incoming Relay Payload"), this.logger.trace({ type: "payload", direction: "incoming", payload: e }), ho(e)) {
|
|
7861
7860
|
if (!e.method.endsWith(Mf)) return;
|
|
7862
7861
|
const s = e.params, { topic: r, message: i, publishedAt: n, attestation: o } = s.data, a = { topic: r, message: i, publishedAt: n, transportType: Ae.relay, attestation: o };
|
|
7863
7862
|
this.logger.debug("Emitting Relayer Payload"), this.logger.trace(Ka({ type: "event", event: s.id }, a)), this.events.emit(s.id, a), await this.acknowledgePayload(e), await this.onMessageEvent(a);
|
|
7864
|
-
} else
|
|
7863
|
+
} else po(e) && this.events.emit(qe.message_ack, e);
|
|
7865
7864
|
}
|
|
7866
7865
|
async onMessageEvent(e) {
|
|
7867
7866
|
await this.shouldIgnoreMessageEvent(e) || (await this.recordMessageEvent(e, Di.inbound), this.events.emit(qe.message, e));
|
|
@@ -8113,7 +8112,7 @@ class Ws extends hd {
|
|
|
8113
8112
|
var By = Object.defineProperty, qy = (t, e, s) => e in t ? By(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, ne = (t, e, s) => qy(t, typeof e != "symbol" ? e + "" : e, s);
|
|
8114
8113
|
class jy {
|
|
8115
8114
|
constructor(e, s) {
|
|
8116
|
-
this.core = e, this.logger = s, ne(this, "name", Hf), ne(this, "version", Kf), ne(this, "events", new
|
|
8115
|
+
this.core = e, this.logger = s, ne(this, "name", Hf), ne(this, "version", Kf), ne(this, "events", new go()), ne(this, "pairings"), ne(this, "initialized", !1), ne(this, "storagePrefix", Kt), ne(this, "ignoredPayloadTypes", [ns]), ne(this, "registeredMethods", []), ne(this, "init", async () => {
|
|
8117
8116
|
this.initialized || (await this.pairings.init(), await this.cleanup(), this.registerRelayerEvents(), this.registerExpirerEvents(), this.initialized = !0, this.logger.trace("Initialized"));
|
|
8118
8117
|
}), ne(this, "register", ({ methods: r }) => {
|
|
8119
8118
|
this.isInitialized(), this.registeredMethods = [.../* @__PURE__ */ new Set([...this.registeredMethods, ...r])];
|
|
@@ -8300,7 +8299,7 @@ class jy {
|
|
|
8300
8299
|
const { topic: s, message: r, transportType: i } = e;
|
|
8301
8300
|
if (this.pairings.keys.includes(s) && i !== Ae.link_mode && !this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(r))) try {
|
|
8302
8301
|
const n = await this.core.crypto.decode(s, r);
|
|
8303
|
-
|
|
8302
|
+
ho(n) ? (this.core.history.set(s, n), await this.onRelayEventRequest({ topic: s, payload: n })) : po(n) && (await this.core.history.resolve(n), await this.onRelayEventResponse({ topic: s, payload: n }), this.core.history.delete(s, n.id)), await this.core.relayer.messages.ack(s, r);
|
|
8304
8303
|
} catch (n) {
|
|
8305
8304
|
this.logger.error(n);
|
|
8306
8305
|
}
|
|
@@ -8823,7 +8822,7 @@ var vb = Object.defineProperty, Eb = Object.defineProperties, Cb = Object.getOwn
|
|
|
8823
8822
|
}, Ze = (t, e) => Eb(t, Cb(e)), C = (t, e, s) => no(t, typeof e != "symbol" ? e + "" : e, s);
|
|
8824
8823
|
class Ab extends Ed {
|
|
8825
8824
|
constructor(e) {
|
|
8826
|
-
super(e), C(this, "name", hb), C(this, "events", new
|
|
8825
|
+
super(e), C(this, "name", hb), C(this, "events", new go()), C(this, "initialized", !1), C(this, "requestQueue", { state: Bt.idle, queue: [] }), C(this, "sessionRequestQueue", { state: Bt.idle, queue: [] }), C(this, "requestQueueDelay", $.ONE_SECOND), C(this, "expectedPairingMethodMap", /* @__PURE__ */ new Map()), C(this, "recentlyDeletedMap", /* @__PURE__ */ new Map()), C(this, "recentlyDeletedLimit", 200), C(this, "relayMessageCache", []), C(this, "pendingSessions", /* @__PURE__ */ new Map()), C(this, "init", async () => {
|
|
8827
8826
|
this.initialized || (await this.cleanup(), this.registerRelayerEvents(), this.registerExpirerEvents(), this.registerPairingEvents(), await this.registerLinkModeListeners(), this.client.core.pairing.register({ methods: Object.keys(Me) }), this.initialized = !0, setTimeout(async () => {
|
|
8828
8827
|
await this.processPendingMessageEvents(), this.sessionRequestQueue.queue = this.getPendingSessionRequests(), this.processSessionRequestQueue();
|
|
8829
8828
|
}, $.toMiliseconds(this.requestQueueDelay)));
|
|
@@ -9785,7 +9784,7 @@ class Ab extends Ed {
|
|
|
9785
9784
|
const { topic: s, message: r, attestation: i, transportType: n } = e, { publicKey: o } = this.client.auth.authKeys.keys.includes(Li) ? this.client.auth.authKeys.get(Li) : { publicKey: void 0 };
|
|
9786
9785
|
try {
|
|
9787
9786
|
const a = await this.client.core.crypto.decode(s, r, { receiverPublicKey: o, encoding: n === Ae.link_mode ? gs : Ut });
|
|
9788
|
-
|
|
9787
|
+
ho(a) ? (this.client.core.history.set(s, a), await this.onRelayEventRequest({ topic: s, payload: a, attestation: i, transportType: n, encryptedId: zt(r) })) : po(a) ? (await this.client.core.history.resolve(a), await this.onRelayEventResponse({ topic: s, payload: a, transportType: n }), this.client.core.history.delete(s, a.id)) : await this.onRelayEventUnknownPayload({ topic: s, payload: a, transportType: n }), await this.client.core.relayer.messages.ack(s, r);
|
|
9789
9788
|
} catch (a) {
|
|
9790
9789
|
this.client.logger.error(a);
|
|
9791
9790
|
}
|
|
@@ -10008,7 +10007,7 @@ let Lb = class Kl extends vd {
|
|
|
10008
10007
|
throw this.logger.error(i.message), i;
|
|
10009
10008
|
}
|
|
10010
10009
|
}), this.name = (e == null ? void 0 : e.name) || In.name, this.metadata = Zd(e == null ? void 0 : e.metadata), this.signConfig = e == null ? void 0 : e.signConfig;
|
|
10011
|
-
const s = typeof (e == null ? void 0 : e.logger) < "u" && typeof (e == null ? void 0 : e.logger) != "string" ? e.logger :
|
|
10010
|
+
const s = typeof (e == null ? void 0 : e.logger) < "u" && typeof (e == null ? void 0 : e.logger) != "string" ? e.logger : uo(ui({ level: (e == null ? void 0 : e.logger) || In.logger }));
|
|
10012
10011
|
this.core = (e == null ? void 0 : e.core) || new lb(e), this.logger = tt(s, this.name), this.session = new Sb(this.core, this.logger), this.proposal = new _b(this.core, this.logger), this.pendingRequest = new Pb(this.core, this.logger), this.engine = new Ab(this), this.auth = new $b(this.core, this.logger);
|
|
10013
10012
|
}
|
|
10014
10013
|
static async init(e) {
|
|
@@ -10953,7 +10952,7 @@ var i0 = Object.defineProperty, n0 = Object.defineProperties, o0 = Object.getOwn
|
|
|
10953
10952
|
}, Pn = (t, e) => n0(t, o0(e)), It = (t, e, s) => co(t, typeof e != "symbol" ? e + "" : e, s);
|
|
10954
10953
|
class _o {
|
|
10955
10954
|
constructor(e) {
|
|
10956
|
-
It(this, "client"), It(this, "namespaces"), It(this, "optionalNamespaces"), It(this, "sessionProperties"), It(this, "scopedProperties"), It(this, "events", new
|
|
10955
|
+
It(this, "client"), It(this, "namespaces"), It(this, "optionalNamespaces"), It(this, "sessionProperties"), It(this, "scopedProperties"), It(this, "events", new go()), It(this, "rpcProviders", {}), It(this, "session"), It(this, "providerOpts"), It(this, "logger"), It(this, "uri"), It(this, "disableProviderPing", !1), this.providerOpts = e, this.logger = typeof (e == null ? void 0 : e.logger) < "u" && typeof (e == null ? void 0 : e.logger) != "string" ? e.logger : uo(ui({ level: (e == null ? void 0 : e.logger) || ac })), this.disableProviderPing = (e == null ? void 0 : e.disableProviderPing) || !1;
|
|
10957
10956
|
}
|
|
10958
10957
|
static async init(e) {
|
|
10959
10958
|
const s = new _o(e);
|
|
@@ -11657,7 +11656,7 @@ const Tn = [
|
|
|
11657
11656
|
}
|
|
11658
11657
|
};
|
|
11659
11658
|
let si, Es, Cs;
|
|
11660
|
-
function
|
|
11659
|
+
function K0(t, e) {
|
|
11661
11660
|
si = document.createElement("style"), Es = document.createElement("style"), Cs = document.createElement("style"), si.textContent = mr(t).core.cssText, Es.textContent = mr(t).dark.cssText, Cs.textContent = mr(t).light.cssText, document.head.appendChild(si), document.head.appendChild(Es), document.head.appendChild(Cs), su(e);
|
|
11662
11661
|
}
|
|
11663
11662
|
function su(t) {
|
|
@@ -12366,7 +12365,7 @@ function mr(t) {
|
|
|
12366
12365
|
`
|
|
12367
12366
|
};
|
|
12368
12367
|
}
|
|
12369
|
-
const
|
|
12368
|
+
const V0 = gr`
|
|
12370
12369
|
*,
|
|
12371
12370
|
*::after,
|
|
12372
12371
|
*::before,
|
|
@@ -12382,7 +12381,7 @@ const G0 = gr`
|
|
|
12382
12381
|
font-family: var(--wui-font-family);
|
|
12383
12382
|
backface-visibility: hidden;
|
|
12384
12383
|
}
|
|
12385
|
-
`,
|
|
12384
|
+
`, G0 = gr`
|
|
12386
12385
|
button,
|
|
12387
12386
|
a {
|
|
12388
12387
|
cursor: pointer;
|
|
@@ -12437,7 +12436,7 @@ const G0 = gr`
|
|
|
12437
12436
|
outline: none;
|
|
12438
12437
|
appearance: none;
|
|
12439
12438
|
}
|
|
12440
|
-
`,
|
|
12439
|
+
`, J0 = gr`
|
|
12441
12440
|
.wui-color-inherit {
|
|
12442
12441
|
color: var(--wui-color-inherit);
|
|
12443
12442
|
}
|
|
@@ -14212,7 +14211,7 @@ class iu extends E0 {
|
|
|
14212
14211
|
}
|
|
14213
14212
|
async injectModalUi() {
|
|
14214
14213
|
if (!Ic && Z.isClient()) {
|
|
14215
|
-
if (await import("./basic-
|
|
14214
|
+
if (await import("./basic-DoC8u7J8.mjs"), await import("./w3m-modal-BOTzBqbc.mjs"), !document.querySelector("w3m-modal")) {
|
|
14216
14215
|
const s = document.createElement("w3m-modal");
|
|
14217
14216
|
!A.state.disableAppend && !A.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
|
|
14218
14217
|
}
|
|
@@ -14228,7 +14227,7 @@ function I0(t) {
|
|
|
14228
14227
|
sdkVersion: `html-core-${C0}`
|
|
14229
14228
|
});
|
|
14230
14229
|
}
|
|
14231
|
-
const
|
|
14230
|
+
const Y0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14232
14231
|
__proto__: null,
|
|
14233
14232
|
AppKit: iu,
|
|
14234
14233
|
createAppKit: I0
|
|
@@ -14247,19 +14246,19 @@ export {
|
|
|
14247
14246
|
Fi as b,
|
|
14248
14247
|
Oc as c,
|
|
14249
14248
|
Y as d,
|
|
14250
|
-
|
|
14249
|
+
G0 as e,
|
|
14251
14250
|
z as f,
|
|
14252
14251
|
h as g,
|
|
14253
14252
|
Rt as h,
|
|
14254
14253
|
$t as i,
|
|
14255
14254
|
Ee as j,
|
|
14256
|
-
|
|
14255
|
+
J0 as k,
|
|
14257
14256
|
Zr as l,
|
|
14258
14257
|
Os as m,
|
|
14259
14258
|
p0 as n,
|
|
14260
14259
|
W as o,
|
|
14261
|
-
|
|
14262
|
-
|
|
14263
|
-
|
|
14260
|
+
K0 as p,
|
|
14261
|
+
Y0 as q,
|
|
14262
|
+
V0 as r,
|
|
14264
14263
|
bt as w
|
|
14265
14264
|
};
|