@upcoming/multichain-widget 0.10.7 → 0.10.8
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-DWp5DmmJ.mjs → add-CYjqfiwD.mjs} +1 -1
- package/dist/{all-wallets-CJXck_ew.mjs → all-wallets-CyR0YwLf.mjs} +1 -1
- package/dist/{app-store-DOBXshBa.mjs → app-store-BpGZi7Fn.mjs} +1 -1
- package/dist/{apple-3TiiSQGd.mjs → apple-B1cwFA38.mjs} +1 -1
- package/dist/{arrow-bottom-oPMEUPfL.mjs → arrow-bottom-CoExNZSJ.mjs} +1 -1
- package/dist/{arrow-bottom-circle-ogXynBjI.mjs → arrow-bottom-circle-kcA3UxxD.mjs} +1 -1
- package/dist/{arrow-left-CM5PMIST.mjs → arrow-left-vW98_55k.mjs} +1 -1
- package/dist/{arrow-right-CeHMWEI0.mjs → arrow-right-BOh1sgKB.mjs} +1 -1
- package/dist/{arrow-top-Cilz83mu.mjs → arrow-top-Citqv9qg.mjs} +1 -1
- package/dist/{bank-BKbEaXOW.mjs → bank-DhKAB__9.mjs} +1 -1
- package/dist/{basic-gyiYoR5C.mjs → basic-Ds430j1h.mjs} +3 -3
- package/dist/{browser-pcPbisPS.mjs → browser-BbKORXFY.mjs} +1 -1
- package/dist/{card-CKS9MGdh.mjs → card-ApvmjXI_.mjs} +1 -1
- package/dist/{ccip-CsyVgXfa.mjs → ccip-CZyQJkKR.mjs} +1 -1
- package/dist/{checkmark-5kVBsFPF.mjs → checkmark-CHBMDUK6.mjs} +1 -1
- package/dist/{checkmark-bold-CdQ25mFE.mjs → checkmark-bold-DuiDV0QS.mjs} +1 -1
- package/dist/{chevron-bottom-_Gnov6kR.mjs → chevron-bottom-D1YWBG11.mjs} +1 -1
- package/dist/{chevron-left-PviMMi36.mjs → chevron-left-NpOSDyMx.mjs} +1 -1
- package/dist/{chevron-right-B7MjYVOn.mjs → chevron-right-JGnJI-81.mjs} +1 -1
- package/dist/{chevron-top-BWakNEQq.mjs → chevron-top-CMttg6tQ.mjs} +1 -1
- package/dist/{chrome-store-B2oKQD9r.mjs → chrome-store-nWwEbqT7.mjs} +1 -1
- package/dist/{clock-0VmBz2Ji.mjs → clock-CX04rDVq.mjs} +1 -1
- package/dist/{close-ZPMBFjTu.mjs → close-DE5tvkPh.mjs} +1 -1
- package/dist/{coinPlaceholder-BDtQzThi.mjs → coinPlaceholder-VhsT-1F1.mjs} +1 -1
- package/dist/{compass-Bm9TJvUk.mjs → compass-CGzncv3l.mjs} +1 -1
- package/dist/{copy-Cc0VJLod.mjs → copy-DGTWOmfK.mjs} +1 -1
- package/dist/{core-CHKfZCQy.mjs → core-D_8hxeFq.mjs} +3 -3
- package/dist/{cursor-Dj_QP4B3.mjs → cursor-Dbqf2wxe.mjs} +1 -1
- package/dist/{cursor-transparent-BPr03GeX.mjs → cursor-transparent-aiDeN0zy.mjs} +1 -1
- package/dist/{desktop-DUm4nGPh.mjs → desktop-BGsJLEE5.mjs} +1 -1
- package/dist/{disconnect-wDAlMAOd.mjs → disconnect-Yy9I7-Yt.mjs} +1 -1
- package/dist/{discord-D0SC51nC.mjs → discord-CCsQ0ThK.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-DIOejWNS.mjs +4 -0
- package/dist/{etherscan-DCAcroYF.mjs → etherscan-C4N9Iu1t.mjs} +1 -1
- package/dist/{exclamation-triangle-BiEcMMJK.mjs → exclamation-triangle-D6JOxmuH.mjs} +1 -1
- package/dist/{extension-lLnwpuQ2.mjs → extension-DxJmKK3D.mjs} +1 -1
- package/dist/{external-link-CjCkEopU.mjs → external-link-ICMeZvEO.mjs} +1 -1
- package/dist/{facebook-rg7G2ZJv.mjs → facebook-DHEF8rbI.mjs} +1 -1
- package/dist/{farcaster-BPwlDljQ.mjs → farcaster-DhO8WEN7.mjs} +1 -1
- package/dist/{filters-CGYFFuSy.mjs → filters-BnWYUTxw.mjs} +1 -1
- package/dist/{github-CvPmZ1Rr.mjs → github-DTpbD9HX.mjs} +1 -1
- package/dist/{google-YQzlwg4P.mjs → google-BomdNdrK.mjs} +1 -1
- package/dist/{help-circle-l91912SC.mjs → help-circle-BcgJ230e.mjs} +1 -1
- package/dist/{id-aSnh7NZP.mjs → id-VaPoibKz.mjs} +1 -1
- package/dist/{image-Pfwh5GGL.mjs → image-BLsfo_22.mjs} +1 -1
- package/dist/{index-Ct8jbKTi.mjs → index-3WJ36Q8t.mjs} +66 -70
- package/dist/{index-Cj7ENdMG.mjs → index-BgsSDRfj.mjs} +1 -1
- package/dist/{index-XEcq5vh6.mjs → index-CPjtAmVt.mjs} +1 -1
- package/dist/{index-CFgiXOH7.mjs → index-CfVk-MI7.mjs} +78 -78
- package/dist/{index-DNV9kMm9.mjs → index-CiU50Oc-.mjs} +1 -1
- package/dist/{index.es-B0kR3fYq.mjs → index.es-CsoPcTSV.mjs} +3 -3
- package/dist/{info-BAq5YR2a.mjs → info-D-rhI2HC.mjs} +1 -1
- package/dist/{info-circle-Dibi0JEq.mjs → info-circle-DXEChbCF.mjs} +1 -1
- package/dist/{lightbulb-Em3omajD.mjs → lightbulb-B5k87sPh.mjs} +1 -1
- package/dist/{mail-PaHZN5wp.mjs → mail-BPRo3Uzk.mjs} +1 -1
- package/dist/{metamask-sdk-BylBZNzX.mjs → metamask-sdk-brQ-FwoQ.mjs} +1 -1
- package/dist/{mobile-TMIAT03X.mjs → mobile-BITxFVbw.mjs} +1 -1
- package/dist/{more-BnBTlJHp.mjs → more-DBc-dfbC.mjs} +1 -1
- package/dist/multichain-widget.es.js +1 -1
- package/dist/multichain-widget.umd.js +1 -1
- package/dist/{network-placeholder-DDd7DSTo.mjs → network-placeholder-C3Ata17H.mjs} +1 -1
- package/dist/{nftPlaceholder-D5rzpHET.mjs → nftPlaceholder-xzt60ADP.mjs} +1 -1
- package/dist/{off-Znh1LC8P.mjs → off-DKsgoGtf.mjs} +1 -1
- package/dist/{play-store-D6dP6GE_.mjs → play-store-BfAgfrNs.mjs} +1 -1
- package/dist/{plus-BZoSh7vt.mjs → plus-1Zhbht4G.mjs} +1 -1
- package/dist/{qr-code-DAO_Ju_U.mjs → qr-code-CwPjLvKl.mjs} +1 -1
- package/dist/{recycle-horizontal-BqBxU7bk.mjs → recycle-horizontal-DgV11gId.mjs} +1 -1
- package/dist/{refresh-WiD7B0pE.mjs → refresh-COyQ1NAi.mjs} +1 -1
- package/dist/{reown-logo-DACJguzt.mjs → reown-logo-CK1ZZ4Wb.mjs} +1 -1
- package/dist/{search-DUUT6mOW.mjs → search-DhJW2_oC.mjs} +1 -1
- package/dist/{secp256k1-AMPc5bmk.mjs → secp256k1-icJCrVGR.mjs} +1 -1
- package/dist/{send-D_-uvcmj.mjs → send-CVu85v1l.mjs} +1 -1
- package/dist/{swapHorizontal-nNvuRRXT.mjs → swapHorizontal-C1DHBJnD.mjs} +1 -1
- package/dist/{swapHorizontalBold-BA4Z6WWO.mjs → swapHorizontalBold-CxFABzyh.mjs} +1 -1
- package/dist/{swapHorizontalMedium-3l5fzxvV.mjs → swapHorizontalMedium-C5ul5Irw.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-C-kjAnDy.mjs → swapHorizontalRoundedBold-CAQLFItM.mjs} +1 -1
- package/dist/{swapVertical-CBYG7-iV.mjs → swapVertical-D4kRgZYH.mjs} +1 -1
- package/dist/{telegram-C-Y1Ee2S.mjs → telegram-CNFjfNXU.mjs} +1 -1
- package/dist/{three-dots-Cx8T5AjT.mjs → three-dots-CvZESUij.mjs} +1 -1
- package/dist/{twitch-BXksO7VD.mjs → twitch-B6SvObeP.mjs} +1 -1
- package/dist/{twitterIcon-CD_y6w0x.mjs → twitterIcon-DeP401T-.mjs} +1 -1
- package/dist/{verify-DyHvPjRJ.mjs → verify-Bo3OguaX.mjs} +1 -1
- package/dist/{verify-filled-DBu_JMO7.mjs → verify-filled-DLVBRmwr.mjs} +1 -1
- package/dist/{w3m-modal-CJxUBkAr.mjs → w3m-modal-DaSfYyL6.mjs} +2 -2
- package/dist/{wallet-DbxgQq2z.mjs → wallet-DK_aAd-j.mjs} +1 -1
- package/dist/{wallet-placeholder-CbL_q9hK.mjs → wallet-placeholder-BUifqBXB.mjs} +1 -1
- package/dist/{walletconnect-bs0RSCg3.mjs → walletconnect-DG_zrimX.mjs} +1 -1
- package/dist/{warning-circle-Beux84Ja.mjs → warning-circle-COZQ2C7M.mjs} +1 -1
- package/dist/{x-DKa4vUAy.mjs → x-BSJ0ohG9.mjs} +1 -1
- package/package.json +1 -1
- package/dist/en_US-Y4ZOVFV4-Bk_WUzZ6.mjs +0 -4
|
@@ -7048,7 +7048,7 @@ async function TA(e, t) {
|
|
|
7048
7048
|
});
|
|
7049
7049
|
return U === "0x" ? { data: void 0 } : { data: U };
|
|
7050
7050
|
} catch (S) {
|
|
7051
|
-
const z = ywe(S), { offchainLookup: L, offchainLookupSignature: F } = await import("./ccip-
|
|
7051
|
+
const z = ywe(S), { offchainLookup: L, offchainLookupSignature: F } = await import("./ccip-CZyQJkKR.mjs");
|
|
7052
7052
|
if (e.ccipRead !== !1 && z?.slice(0, 10) === F && y)
|
|
7053
7053
|
return { data: await L(e, { data: z, to: y }) };
|
|
7054
7054
|
throw I && z?.slice(0, 10) === "0x101bb98d" ? new g2e({ factory: f }) : cM(S, {
|
|
@@ -40092,7 +40092,7 @@ function GUe(e = {}) {
|
|
|
40092
40092
|
const i = typeof e.preference == "string" ? { options: e.preference } : {
|
|
40093
40093
|
...e.preference,
|
|
40094
40094
|
options: e.preference?.options ?? "all"
|
|
40095
|
-
}, { createBaseAccountSDK: s } = await import("./index-
|
|
40095
|
+
}, { createBaseAccountSDK: s } = await import("./index-CiU50Oc-.mjs");
|
|
40096
40096
|
t = s({
|
|
40097
40097
|
...e,
|
|
40098
40098
|
appChainIds: o.chains.map((u) => u.id),
|
|
@@ -40223,7 +40223,7 @@ function pU(e = {}) {
|
|
|
40223
40223
|
async getProvider() {
|
|
40224
40224
|
async function l() {
|
|
40225
40225
|
const d = await (async () => {
|
|
40226
|
-
const { default: m } = await import("./metamask-sdk-
|
|
40226
|
+
const { default: m } = await import("./metamask-sdk-brQ-FwoQ.mjs");
|
|
40227
40227
|
return typeof m != "function" && typeof m.default == "function" ? m.default : m;
|
|
40228
40228
|
})(), f = {};
|
|
40229
40229
|
for (const m of u.chains)
|
|
@@ -40403,13 +40403,13 @@ function mU(e = {}) {
|
|
|
40403
40403
|
async getProvider() {
|
|
40404
40404
|
if (typeof window < "u" && window?.parent !== window) {
|
|
40405
40405
|
if (!r) {
|
|
40406
|
-
const { default: i } = await import("./index-
|
|
40406
|
+
const { default: i } = await import("./index-CPjtAmVt.mjs"), s = new i(e), c = await IA(() => s.safe.getInfo(), {
|
|
40407
40407
|
timeout: e.unstable_getInfoTimeout ?? 10
|
|
40408
40408
|
});
|
|
40409
40409
|
if (!c)
|
|
40410
40410
|
throw new Error("Could not load Safe information");
|
|
40411
40411
|
const u = await (async () => {
|
|
40412
|
-
const l = await import("./index-
|
|
40412
|
+
const l = await import("./index-BgsSDRfj.mjs").then((d) => d.i);
|
|
40413
40413
|
return typeof l.SafeAppProvider != "function" && typeof l.default.SafeAppProvider == "function" ? l.default.SafeAppProvider : l.SafeAppProvider;
|
|
40414
40414
|
})();
|
|
40415
40415
|
r = new u(c, s);
|
|
@@ -40508,7 +40508,7 @@ function hU(e) {
|
|
|
40508
40508
|
const b = d.chains.map((g) => g.id);
|
|
40509
40509
|
if (!b.length)
|
|
40510
40510
|
return;
|
|
40511
|
-
const { EthereumProvider: m } = await import("./index.es-
|
|
40511
|
+
const { EthereumProvider: m } = await import("./index.es-CsoPcTSV.mjs").then((g) => g.Y);
|
|
40512
40512
|
return await m.init({
|
|
40513
40513
|
...e,
|
|
40514
40514
|
disableProviderPing: !0,
|
|
@@ -41118,7 +41118,7 @@ var uqe = async (e) => {
|
|
|
41118
41118
|
return (await import("./de_DE-PYAO5YD6-DRiWndek.mjs")).default;
|
|
41119
41119
|
case "en":
|
|
41120
41120
|
case "en-US":
|
|
41121
|
-
return (await import("./en_US-Y4ZOVFV4-
|
|
41121
|
+
return (await import("./en_US-Y4ZOVFV4-DIOejWNS.mjs")).default;
|
|
41122
41122
|
case "es":
|
|
41123
41123
|
case "es-419":
|
|
41124
41124
|
return (await import("./es_419-HRGOJ6VT-Bb7kiWEN.mjs")).default;
|
|
@@ -41168,7 +41168,7 @@ var uqe = async (e) => {
|
|
|
41168
41168
|
case "zh-TW":
|
|
41169
41169
|
return (await import("./zh_TW-VNNRNXY7-CyIPkoVZ.mjs")).default;
|
|
41170
41170
|
default:
|
|
41171
|
-
return (await import("./en_US-Y4ZOVFV4-
|
|
41171
|
+
return (await import("./en_US-Y4ZOVFV4-DIOejWNS.mjs")).default;
|
|
41172
41172
|
}
|
|
41173
41173
|
};
|
|
41174
41174
|
async function EN(e) {
|
|
@@ -60437,7 +60437,7 @@ var oi = {}, tG;
|
|
|
60437
60437
|
function Xhe() {
|
|
60438
60438
|
if (tG) return oi;
|
|
60439
60439
|
tG = 1, Object.defineProperty(oi, "__esModule", { value: !0 }), oi.assertSize = t, oi.assertStartOffset = r, oi.assertEndOffset = n, oi.pad = a, oi.trim = o;
|
|
60440
|
-
const e =
|
|
60440
|
+
const e = Qe();
|
|
60441
60441
|
function t(i, s) {
|
|
60442
60442
|
if (e.size(i) > s)
|
|
60443
60443
|
throw new e.SizeOverflowError({
|
|
@@ -60503,7 +60503,7 @@ var nG;
|
|
|
60503
60503
|
function yn() {
|
|
60504
60504
|
if (nG) return et;
|
|
60505
60505
|
nG = 1, Object.defineProperty(et, "__esModule", { value: !0 }), et.SizeExceedsPaddingSizeError = et.SliceOffsetOutOfBoundsError = et.SizeOverflowError = et.InvalidBytesTypeError = et.InvalidBytesBooleanError = void 0, et.assert = c, et.concat = u, et.from = l, et.fromArray = d, et.fromBoolean = f, et.fromHex = h, et.fromNumber = b, et.fromString = m, et.isEqual = g, et.padLeft = C, et.padRight = _, et.random = w, et.size = y, et.slice = E, et.toBigInt = k, et.toBoolean = x, et.toHex = P, et.toNumber = j, et.toString = A, et.trimLeft = I, et.trimRight = O, et.validate = S;
|
|
60506
|
-
const e = /* @__PURE__ */ cc(), t = Jt(), r =
|
|
60506
|
+
const e = /* @__PURE__ */ cc(), t = Jt(), r = Qe(), n = Qhe(), a = Xhe(), o = l5(), i = new TextDecoder(), s = new TextEncoder();
|
|
60507
60507
|
function c(N) {
|
|
60508
60508
|
if (!(N instanceof Uint8Array)) {
|
|
60509
60509
|
if (!N)
|
|
@@ -60907,7 +60907,7 @@ var Hf = {}, oG;
|
|
|
60907
60907
|
function DLe() {
|
|
60908
60908
|
if (oG) return Hf;
|
|
60909
60909
|
oG = 1, Object.defineProperty(Hf, "__esModule", { value: !0 }), Hf.fromRpc = t, Hf.toRpc = r;
|
|
60910
|
-
const e =
|
|
60910
|
+
const e = Qe();
|
|
60911
60911
|
function t(n) {
|
|
60912
60912
|
return {
|
|
60913
60913
|
...n,
|
|
@@ -60930,7 +60930,7 @@ var iG;
|
|
|
60930
60930
|
function Jhe() {
|
|
60931
60931
|
if (iG) return Ff;
|
|
60932
60932
|
iG = 1, Object.defineProperty(Ff, "__esModule", { value: !0 }), Ff.fromRpc = r, Ff.toRpc = n;
|
|
60933
|
-
const e =
|
|
60933
|
+
const e = Qe(), t = DLe();
|
|
60934
60934
|
function r(a) {
|
|
60935
60935
|
return {
|
|
60936
60936
|
...a.baseFeePerGas && {
|
|
@@ -66851,7 +66851,7 @@ var ys = {}, aW;
|
|
|
66851
66851
|
function ia() {
|
|
66852
66852
|
if (aW) return ys;
|
|
66853
66853
|
aW = 1, Object.defineProperty(ys, "__esModule", { value: !0 }), ys.keccak256 = o, ys.ripemd160 = i, ys.sha256 = s, ys.validate = c;
|
|
66854
|
-
const e = /* @__PURE__ */ b0e(), t = /* @__PURE__ */ Ihe(), r = /* @__PURE__ */ Ghe(), n = yn(), a =
|
|
66854
|
+
const e = /* @__PURE__ */ b0e(), t = /* @__PURE__ */ Ihe(), r = /* @__PURE__ */ Ghe(), n = yn(), a = Qe();
|
|
66855
66855
|
function o(u, l = {}) {
|
|
66856
66856
|
const { as: d = typeof u == "string" ? "Hex" : "Bytes" } = l, f = (0, t.keccak_256)(n.from(u));
|
|
66857
66857
|
return d === "Bytes" ? f : a.fromBytes(f);
|
|
@@ -66873,7 +66873,7 @@ var Dt = {}, oW;
|
|
|
66873
66873
|
function PP() {
|
|
66874
66874
|
if (oW) return Dt;
|
|
66875
66875
|
oW = 1, Object.defineProperty(Dt, "__esModule", { value: !0 }), Dt.InvalidSerializedSizeError = Dt.InvalidUncompressedPrefixError = Dt.InvalidCompressedPrefixError = Dt.InvalidPrefixError = Dt.InvalidError = void 0, Dt.assert = a, Dt.compress = o, Dt.from = i, Dt.fromBytes = s, Dt.fromHex = c, Dt.toBytes = u, Dt.toHex = l, Dt.validate = d;
|
|
66876
|
-
const e = yn(), t = Jt(), r =
|
|
66876
|
+
const e = yn(), t = Jt(), r = Qe(), n = l5();
|
|
66877
66877
|
function a(C, _ = {}) {
|
|
66878
66878
|
const { compressed: w } = _, { prefix: y, x: E, y: k } = C;
|
|
66879
66879
|
if (w === !1 || typeof E == "bigint" && typeof k == "bigint") {
|
|
@@ -67119,7 +67119,7 @@ var cW;
|
|
|
67119
67119
|
function mHe() {
|
|
67120
67120
|
if (cW) return Pt;
|
|
67121
67121
|
cW = 1, Object.defineProperty(Pt, "__esModule", { value: !0 }), Pt.decodeParameter = i, Pt.decodeAddress = u, Pt.decodeArray = l, Pt.decodeBool = d, Pt.decodeBytes = f, Pt.decodeNumber = h, Pt.decodeTuple = b, Pt.decodeString = m, Pt.prepareParameters = g, Pt.prepareParameter = C, Pt.encode = _, Pt.encodeAddress = w, Pt.encodeArray = y, Pt.encodeBytes = E, Pt.encodeBoolean = k, Pt.encodeNumber = x, Pt.encodeString = P, Pt.encodeTuple = j, Pt.getArrayComponents = A, Pt.hasDynamicChild = I;
|
|
67122
|
-
const e = el(), t = Bi(), r = yn(), n = Jt(), a =
|
|
67122
|
+
const e = el(), t = Bi(), r = yn(), n = Jt(), a = Qe(), o = Oq();
|
|
67123
67123
|
function i(O, S, z) {
|
|
67124
67124
|
const { checksumAddress: L, staticPosition: F } = z, q = A(S.type);
|
|
67125
67125
|
if (q) {
|
|
@@ -67604,7 +67604,7 @@ var lW;
|
|
|
67604
67604
|
function el() {
|
|
67605
67605
|
if (lW) return At;
|
|
67606
67606
|
lW = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.InvalidTypeError = At.InvalidArrayError = At.LengthMismatchError = At.BytesSizeMismatchError = At.ArrayLengthMismatchError = At.ZeroDataError = At.DataSizeTooSmallError = void 0, At.decode = c, At.encode = u, At.encodePacked = l, At.format = d, At.from = f;
|
|
67607
|
-
const e = /* @__PURE__ */ Ci(), t = Bi(), r = yn(), n = Jt(), a =
|
|
67607
|
+
const e = /* @__PURE__ */ Ci(), t = Bi(), r = yn(), n = Jt(), a = Qe(), o = mHe(), i = A0e(), s = Oq();
|
|
67608
67608
|
function c(y, E, k = {}) {
|
|
67609
67609
|
const { as: x = "Array", checksumAddress: P = !1 } = k, j = typeof E == "string" ? r.fromHex(E) : E, A = i.create(j);
|
|
67610
67610
|
if (r.size(j) === 0 && y.length > 0)
|
|
@@ -67794,7 +67794,7 @@ var Rr = {}, kn = {}, dW;
|
|
|
67794
67794
|
function SP() {
|
|
67795
67795
|
if (dW) return kn;
|
|
67796
67796
|
dW = 1, Object.defineProperty(kn, "__esModule", { value: !0 }), kn.toBytes = a, kn.toHex = o, kn.to = i, kn.decodeRlpCursor = s, kn.readLength = c, kn.readList = u, kn.from = l, kn.fromBytes = d, kn.fromHex = f;
|
|
67797
|
-
const e = yn(), t = Jt(), r =
|
|
67797
|
+
const e = yn(), t = Jt(), r = Qe(), n = A0e();
|
|
67798
67798
|
function a(C) {
|
|
67799
67799
|
return i(C, "Bytes");
|
|
67800
67800
|
}
|
|
@@ -67898,7 +67898,7 @@ var tt = {}, fW;
|
|
|
67898
67898
|
function pc() {
|
|
67899
67899
|
if (fW) return tt;
|
|
67900
67900
|
fW = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.InvalidVError = tt.InvalidYParityError = tt.InvalidSError = tt.InvalidRError = tt.MissingPropertiesError = tt.InvalidSerializedSizeError = void 0, tt.assert = i, tt.fromBytes = s, tt.fromHex = c, tt.extract = u, tt.from = l, tt.fromDerBytes = d, tt.fromDerHex = f, tt.fromLegacy = h, tt.fromRpc = b, tt.fromTuple = m, tt.toBytes = g, tt.toHex = C, tt.toDerBytes = _, tt.toDerHex = w, tt.toLegacy = y, tt.toRpc = E, tt.toTuple = k, tt.validate = x, tt.vToYParity = P, tt.yParityToV = j;
|
|
67901
|
-
const e = /* @__PURE__ */ In(), t = yn(), r = Jt(), n =
|
|
67901
|
+
const e = /* @__PURE__ */ In(), t = yn(), r = Jt(), n = Qe(), a = l5(), o = Oq();
|
|
67902
67902
|
function i(F, q = {}) {
|
|
67903
67903
|
const { recovered: H } = q;
|
|
67904
67904
|
if (typeof F.r > "u")
|
|
@@ -68122,7 +68122,7 @@ var pW;
|
|
|
68122
68122
|
function Iq() {
|
|
68123
68123
|
if (pW) return Rr;
|
|
68124
68124
|
pW = 1, Object.defineProperty(Rr, "__esModule", { value: !0 }), Rr.from = a, Rr.fromRpc = o, Rr.fromRpcList = i, Rr.fromTuple = s, Rr.fromTupleList = c, Rr.getSignPayload = u, Rr.hash = l, Rr.toRpc = d, Rr.toRpcList = f, Rr.toTuple = h, Rr.toTupleList = b;
|
|
68125
|
-
const e = ia(), t =
|
|
68125
|
+
const e = ia(), t = Qe(), r = SP(), n = pc();
|
|
68126
68126
|
function a(m, g = {}) {
|
|
68127
68127
|
return typeof m.chainId == "string" ? o(m) : { ...m, ...g.signature };
|
|
68128
68128
|
}
|
|
@@ -68208,7 +68208,7 @@ var hW;
|
|
|
68208
68208
|
function Rq() {
|
|
68209
68209
|
if (hW) return tn;
|
|
68210
68210
|
hW = 1, Object.defineProperty(tn, "__esModule", { value: !0 }), tn.noble = void 0, tn.createKeyPair = i, tn.getPublicKey = s, tn.getSharedSecret = c, tn.randomPrivateKey = u, tn.recoverAddress = l, tn.recoverPublicKey = d, tn.sign = f, tn.verify = h;
|
|
68211
|
-
const e = /* @__PURE__ */ In(), t = Bi(), r = yn(), n =
|
|
68211
|
+
const e = /* @__PURE__ */ In(), t = Bi(), r = yn(), n = Qe(), a = P0e(), o = PP();
|
|
68212
68212
|
tn.noble = e.secp256k1;
|
|
68213
68213
|
function i(b = {}) {
|
|
68214
68214
|
const { as: m = "Hex" } = b, g = u({ as: m }), C = s({ privateKey: g });
|
|
@@ -68258,7 +68258,7 @@ var bW;
|
|
|
68258
68258
|
function hHe() {
|
|
68259
68259
|
return bW || (bW = 1, (function(e) {
|
|
68260
68260
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.InvalidWrappedSignatureError = e.suffixParameters = e.magicBytes = void 0, e.assert = s, e.from = c, e.unwrap = u, e.wrap = l, e.validate = d;
|
|
68261
|
-
const t = el(), r = Iq(), n = Jt(), a =
|
|
68261
|
+
const t = el(), r = Iq(), n = Jt(), a = Qe(), o = Rq(), i = pc();
|
|
68262
68262
|
e.magicBytes = "0x8010801080108010801080108010801080108010801080108010801080108010", e.suffixParameters = t.from("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");
|
|
68263
68263
|
function s(h) {
|
|
68264
68264
|
if (typeof h == "string") {
|
|
@@ -69654,7 +69654,7 @@ var GW;
|
|
|
69654
69654
|
function L0e() {
|
|
69655
69655
|
if (GW) return jr;
|
|
69656
69656
|
GW = 1, Object.defineProperty(jr, "__esModule", { value: !0 }), jr.InvalidSelectorSizeError = jr.NotFoundError = jr.AmbiguityError = void 0, jr.format = o, jr.from = i, jr.fromAbi = s, jr.getSelector = c, jr.getSignature = u, jr.getSignatureHash = l;
|
|
69657
|
-
const e = /* @__PURE__ */ Ci(), t = Jt(), r = ia(), n =
|
|
69657
|
+
const e = /* @__PURE__ */ Ci(), t = Jt(), r = ia(), n = Qe(), a = EHe();
|
|
69658
69658
|
function o(b) {
|
|
69659
69659
|
return e.formatAbiItem(b);
|
|
69660
69660
|
}
|
|
@@ -69796,7 +69796,7 @@ var VW;
|
|
|
69796
69796
|
function CHe() {
|
|
69797
69797
|
if (VW) return si;
|
|
69798
69798
|
VW = 1, Object.defineProperty(si, "__esModule", { value: !0 }), si.decode = a, si.encode = o, si.format = i, si.from = s, si.fromAbi = c;
|
|
69799
|
-
const e = /* @__PURE__ */ Ci(), t = L0e(), r = el(), n =
|
|
69799
|
+
const e = /* @__PURE__ */ Ci(), t = L0e(), r = el(), n = Qe();
|
|
69800
69800
|
function a(...u) {
|
|
69801
69801
|
const [l, d] = (() => {
|
|
69802
69802
|
if (Array.isArray(u[0])) {
|
|
@@ -69838,7 +69838,7 @@ var Vn = {}, WW;
|
|
|
69838
69838
|
function _He() {
|
|
69839
69839
|
if (WW) return Vn;
|
|
69840
69840
|
WW = 1, Object.defineProperty(Vn, "__esModule", { value: !0 }), Vn.decodeData = a, Vn.decodeResult = o, Vn.encodeData = i, Vn.encodeResult = s, Vn.format = c, Vn.from = u, Vn.fromAbi = l, Vn.getSelector = d;
|
|
69841
|
-
const e = /* @__PURE__ */ Ci(), t = L0e(), r = el(), n =
|
|
69841
|
+
const e = /* @__PURE__ */ Ci(), t = L0e(), r = el(), n = Qe();
|
|
69842
69842
|
function a(...f) {
|
|
69843
69843
|
const [h, b] = (() => {
|
|
69844
69844
|
if (Array.isArray(f[0])) {
|
|
@@ -70080,7 +70080,7 @@ var ou = {}, op = {}, sI = {}, QW;
|
|
|
70080
70080
|
function xHe() {
|
|
70081
70081
|
return QW || (QW = 1, (function(e) {
|
|
70082
70082
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.InvalidWrappedSignatureError = e.universalSignatureValidatorAbi = e.universalSignatureValidatorBytecode = e.magicBytes = void 0, e.assert = a, e.from = o, e.unwrap = i, e.wrap = s, e.validate = c;
|
|
70083
|
-
const t = el(), r = Jt(), n =
|
|
70083
|
+
const t = el(), r = Jt(), n = Qe();
|
|
70084
70084
|
e.magicBytes = "0x6492649264926492649264926492649264926492649264926492649264926492", e.universalSignatureValidatorBytecode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572", e.universalSignatureValidatorAbi = [
|
|
70085
70085
|
{
|
|
70086
70086
|
inputs: [
|
|
@@ -113736,7 +113736,7 @@ var jie;
|
|
|
113736
113736
|
function hbe() {
|
|
113737
113737
|
if (jie) return xn;
|
|
113738
113738
|
jie = 1, Object.defineProperty(xn, "__esModule", { value: !0 }), xn.noble = void 0, xn.createKeyPair = o, xn.getPublicKey = i, xn.getSharedSecret = s, xn.randomPrivateKey = c, xn.recoverPublicKey = u, xn.sign = l, xn.verify = d;
|
|
113739
|
-
const e = /* @__PURE__ */ mbe(), t = yn(), r =
|
|
113739
|
+
const e = /* @__PURE__ */ mbe(), t = yn(), r = Qe(), n = P0e(), a = PP();
|
|
113740
113740
|
xn.noble = e.secp256r1;
|
|
113741
113741
|
function o(f = {}) {
|
|
113742
113742
|
const { as: h = "Hex" } = f, b = c({ as: h }), m = i({ privateKey: b });
|
|
@@ -113783,7 +113783,7 @@ var wI = {}, fo = {}, Aie;
|
|
|
113783
113783
|
function wrt() {
|
|
113784
113784
|
if (Aie) return fo;
|
|
113785
113785
|
Aie = 1, Object.defineProperty(fo, "__esModule", { value: !0 }), fo.fromBytes = i, fo.fromHex = s, fo.fromString = c, fo.toBytes = u, fo.toHex = l, fo.toString = d;
|
|
113786
|
-
const e = yn(), t =
|
|
113786
|
+
const e = yn(), t = Qe(), r = new TextEncoder(), n = new TextDecoder(), a = Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((f, h) => [h, f.charCodeAt(0)])), o = {
|
|
113787
113787
|
...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((f, h) => [f.charCodeAt(0), h])),
|
|
113788
113788
|
61: 0,
|
|
113789
113789
|
45: 62,
|
|
@@ -113827,7 +113827,7 @@ var Aw = {}, Pie;
|
|
|
113827
113827
|
function Ert() {
|
|
113828
113828
|
if (Pie) return Aw;
|
|
113829
113829
|
Pie = 1, Object.defineProperty(Aw, "__esModule", { value: !0 }), Aw.parseAsn1Signature = a, Aw.parseCredentialPublicKey = o;
|
|
113830
|
-
const e = /* @__PURE__ */ mbe(), t =
|
|
113830
|
+
const e = /* @__PURE__ */ mbe(), t = Qe(), r = PP(), n = bbe();
|
|
113831
113831
|
function a(i) {
|
|
113832
113832
|
const s = i[4] === 0 ? 5 : 4, c = s + 32, u = i[c + 2] === 0 ? c + 3 : c + 2, l = BigInt(t.fromBytes(i.slice(s, c))), d = BigInt(t.fromBytes(i.slice(u)));
|
|
113833
113833
|
return {
|
|
@@ -113869,7 +113869,7 @@ var Sie;
|
|
|
113869
113869
|
function bbe() {
|
|
113870
113870
|
return Sie || (Sie = 1, (function(e) {
|
|
113871
113871
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CredentialRequestFailedError = e.CredentialCreationFailedError = e.createChallenge = void 0, e.createCredential = c, e.getAuthenticatorData = u, e.getClientDataJSON = l, e.getCredentialCreationOptions = d, e.getCredentialRequestOptions = f, e.getSignPayload = h, e.sign = b, e.verify = m;
|
|
113872
|
-
const t = wrt(), r = yn(), n = Jt(), a = ia(), o =
|
|
113872
|
+
const t = wrt(), r = yn(), n = Jt(), a = ia(), o = Qe(), i = Ert(), s = hbe();
|
|
113873
113873
|
e.createChallenge = Uint8Array.from([
|
|
113874
113874
|
105,
|
|
113875
113875
|
171,
|
|
@@ -114081,7 +114081,7 @@ var Bie;
|
|
|
114081
114081
|
function g5() {
|
|
114082
114082
|
return Bie || (Bie = 1, (function(e) {
|
|
114083
114083
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.VerificationError = e.InvalidSerializedError = e.MissingPropertiesError = e.CoercionError = e.types = e.magicBytes = void 0, e.assert = f, e.deserialize = h, e.from = b, e.fromRpc = m, e.getType = g, e.serialize = C, e.toRpc = _, e.validate = w, e.verify = y;
|
|
114084
|
-
const t = Bi(), r = Jt(), n =
|
|
114084
|
+
const t = Bi(), r = Jt(), n = Qe(), a = l5(), o = hbe(), i = Rq(), s = pc(), c = bbe(), u = "0x01", l = "0x02", d = "0x03";
|
|
114085
114085
|
e.magicBytes = "0x7777777777777777777777777777777777777777777777777777777777777777", e.types = ["secp256k1", "p256", "webAuthn"];
|
|
114086
114086
|
function f(j) {
|
|
114087
114087
|
const A = g(j);
|
|
@@ -114435,7 +114435,7 @@ var Oie;
|
|
|
114435
114435
|
function UP() {
|
|
114436
114436
|
if (Oie) return Mr;
|
|
114437
114437
|
Oie = 1, Object.defineProperty(Mr, "__esModule", { value: !0 }), Mr.from = a, Mr.fromRpc = o, Mr.fromRpcList = i, Mr.fromTuple = s, Mr.fromTupleList = c, Mr.getSignPayload = u, Mr.hash = l, Mr.toRpc = d, Mr.toRpcList = f, Mr.toTuple = h, Mr.toTupleList = b;
|
|
114438
|
-
const e = ia(), t =
|
|
114438
|
+
const e = ia(), t = Qe(), r = SP(), n = g5();
|
|
114439
114439
|
function a(m, g = {}) {
|
|
114440
114440
|
return typeof m.chainId == "string" ? o(m) : g.signature ? { ...m, signature: g.signature } : m;
|
|
114441
114441
|
}
|
|
@@ -114511,7 +114511,7 @@ var va = {}, Iie;
|
|
|
114511
114511
|
function qP() {
|
|
114512
114512
|
if (Iie) return va;
|
|
114513
114513
|
Iie = 1, Object.defineProperty(va, "__esModule", { value: !0 }), va.from = a, va.fromRpc = o, va.fromTuple = i, va.getSignPayload = s, va.hash = c, va.toRpc = u, va.toTuple = l;
|
|
114514
|
-
const e = ia(), t =
|
|
114514
|
+
const e = ia(), t = Qe(), r = SP(), n = g5();
|
|
114515
114515
|
function a(d, f = {}) {
|
|
114516
114516
|
return typeof d.expiry == "string" ? o(d) : f.signature ? {
|
|
114517
114517
|
...d,
|
|
@@ -114608,7 +114608,7 @@ var t7 = {}, Cs = {}, Rie;
|
|
|
114608
114608
|
function zP() {
|
|
114609
114609
|
if (Rie) return Cs;
|
|
114610
114610
|
Rie = 1, Object.defineProperty(Cs, "__esModule", { value: !0 }), Cs.from = o, Cs.fromAddress = i, Cs.toAddress = s, Cs.compute = c;
|
|
114611
|
-
const e = el(), t = Bi(), r = ia(), n =
|
|
114611
|
+
const e = el(), t = Bi(), r = ia(), n = Qe(), a = "0x20c0";
|
|
114612
114612
|
function o(u) {
|
|
114613
114613
|
return typeof u == "bigint" || typeof u == "number" ? BigInt(u) : i(u);
|
|
114614
114614
|
}
|
|
@@ -114636,7 +114636,7 @@ var Mie;
|
|
|
114636
114636
|
function Crt() {
|
|
114637
114637
|
if (Mie) return t7;
|
|
114638
114638
|
Mie = 1, Object.defineProperty(t7, "__esModule", { value: !0 }), t7.from = n;
|
|
114639
|
-
const e = ia(), t =
|
|
114639
|
+
const e = ia(), t = Qe(), r = zP();
|
|
114640
114640
|
function n(a) {
|
|
114641
114641
|
return e.keccak256(t.concat(t.padLeft(r.toAddress(a.userToken), 32), t.padLeft(r.toAddress(a.validatorToken), 32)));
|
|
114642
114642
|
}
|
|
@@ -114709,7 +114709,7 @@ var CI = {}, qie;
|
|
|
114709
114709
|
function krt() {
|
|
114710
114710
|
return qie || (qie = 1, (function(e) {
|
|
114711
114711
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.toPreHashed = e.roles = void 0, e.serialize = n;
|
|
114712
|
-
const t = ia(), r =
|
|
114712
|
+
const t = ia(), r = Qe();
|
|
114713
114713
|
e.roles = [
|
|
114714
114714
|
"defaultAdmin",
|
|
114715
114715
|
"pause",
|
|
@@ -114732,7 +114732,7 @@ var _I = {}, kI = {}, zie;
|
|
|
114732
114732
|
function ybe() {
|
|
114733
114733
|
return zie || (zie = 1, (function(e) {
|
|
114734
114734
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.fromRpcType = e.toRpcType = void 0, e.fromRpc = a, e.toRpc = o;
|
|
114735
|
-
const t = Iq(), r =
|
|
114735
|
+
const t = Iq(), r = Qe(), n = pc();
|
|
114736
114736
|
e.toRpcType = {
|
|
114737
114737
|
legacy: "0x0",
|
|
114738
114738
|
eip2930: "0x1",
|
|
@@ -114765,7 +114765,7 @@ var Fie;
|
|
|
114765
114765
|
function gbe() {
|
|
114766
114766
|
return Fie || (Fie = 1, (function(e) {
|
|
114767
114767
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.fromRpcType = e.toRpcType = void 0, e.fromRpc = s, e.toRpc = c;
|
|
114768
|
-
const t =
|
|
114768
|
+
const t = Qe(), r = pc(), n = ybe(), a = UP(), o = qP(), i = g5();
|
|
114769
114769
|
e.toRpcType = {
|
|
114770
114770
|
...n.toRpcType,
|
|
114771
114771
|
tempo: "0x76"
|
|
@@ -114797,7 +114797,7 @@ var po = {}, xI = {}, Pw = {}, Nie;
|
|
|
114797
114797
|
function xrt() {
|
|
114798
114798
|
if (Nie) return Pw;
|
|
114799
114799
|
Nie = 1, Object.defineProperty(Pw, "__esModule", { value: !0 }), Pw.fromRpc = t, Pw.toRpc = r;
|
|
114800
|
-
const e =
|
|
114800
|
+
const e = Qe();
|
|
114801
114801
|
function t(n, a = {}) {
|
|
114802
114802
|
return {
|
|
114803
114803
|
...n,
|
|
@@ -114825,7 +114825,7 @@ var Die;
|
|
|
114825
114825
|
function Trt() {
|
|
114826
114826
|
return Die || (Die = 1, (function(e) {
|
|
114827
114827
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.toRpcType = e.fromRpcType = e.toRpcStatus = e.fromRpcStatus = void 0, e.fromRpc = n, e.toRpc = a;
|
|
114828
|
-
const t =
|
|
114828
|
+
const t = Qe(), r = xrt();
|
|
114829
114829
|
e.fromRpcStatus = {
|
|
114830
114830
|
"0x0": "reverted",
|
|
114831
114831
|
"0x1": "success"
|
|
@@ -114911,7 +114911,7 @@ var r7 = {}, Sw = {}, Hie;
|
|
|
114911
114911
|
function Art() {
|
|
114912
114912
|
if (Hie) return Sw;
|
|
114913
114913
|
Hie = 1, Object.defineProperty(Sw, "__esModule", { value: !0 }), Sw.fromRpc = n, Sw.toRpc = a;
|
|
114914
|
-
const e = Iq(), t =
|
|
114914
|
+
const e = Iq(), t = Qe(), r = ybe();
|
|
114915
114915
|
function n(o) {
|
|
114916
114916
|
const i = o;
|
|
114917
114917
|
return typeof o.authorizationList < "u" && (i.authorizationList = e.fromRpcList(o.authorizationList)), typeof o.chainId < "u" && (i.chainId = t.toNumber(o.chainId)), typeof o.gas < "u" && (i.gas = t.toBigInt(o.gas)), typeof o.gasPrice < "u" && (i.gasPrice = t.toBigInt(o.gasPrice)), typeof o.maxFeePerBlobGas < "u" && (i.maxFeePerBlobGas = t.toBigInt(o.maxFeePerBlobGas)), typeof o.maxFeePerGas < "u" && (i.maxFeePerGas = t.toBigInt(o.maxFeePerGas)), typeof o.maxPriorityFeePerGas < "u" && (i.maxPriorityFeePerGas = t.toBigInt(o.maxPriorityFeePerGas)), typeof o.nonce < "u" && (i.nonce = t.toBigInt(o.nonce)), typeof o.type < "u" && (i.type = r.fromRpcType[o.type] || o.type), typeof o.value < "u" && (i.value = t.toBigInt(o.value)), i;
|
|
@@ -114926,7 +114926,7 @@ var Gie;
|
|
|
114926
114926
|
function Prt() {
|
|
114927
114927
|
if (Gie) return r7;
|
|
114928
114928
|
Gie = 1, Object.defineProperty(r7, "__esModule", { value: !0 }), r7.toRpc = i;
|
|
114929
|
-
const e =
|
|
114929
|
+
const e = Qe(), t = Art(), r = UP(), n = qP(), a = zP(), o = gbe();
|
|
114930
114930
|
function i(s) {
|
|
114931
114931
|
const c = t.toRpc({
|
|
114932
114932
|
...s,
|
|
@@ -114951,7 +114951,7 @@ var TI = {}, _s = {}, Vie;
|
|
|
114951
114951
|
function Srt() {
|
|
114952
114952
|
if (Vie) return _s;
|
|
114953
114953
|
Vie = 1, Object.defineProperty(_s, "__esModule", { value: !0 }), _s.InvalidStorageKeySizeError = void 0, _s.fromTupleList = a, _s.toTupleList = o;
|
|
114954
|
-
const e = Bi(), t = Jt(), r = ia(), n =
|
|
114954
|
+
const e = Bi(), t = Jt(), r = ia(), n = Qe();
|
|
114955
114955
|
function a(s) {
|
|
114956
114956
|
const c = [];
|
|
114957
114957
|
for (let u = 0; u < s.length; u++) {
|
|
@@ -115128,7 +115128,7 @@ var Zie;
|
|
|
115128
115128
|
function Irt() {
|
|
115129
115129
|
return Zie || (Zie = 1, (function(e) {
|
|
115130
115130
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.InvalidValidityWindowError = e.CallsEmptyError = e.type = e.serializedType = e.feePayerMagic = void 0, e.assert = h, e.deserialize = b, e.from = m, e.serialize = g, e.getSignPayload = C, e.hash = _, e.getFeePayerSignPayload = w, e.validate = y;
|
|
115131
|
-
const t = Srt(), r = Bi(), n = Jt(), a = ia(), o =
|
|
115131
|
+
const t = Srt(), r = Bi(), n = Jt(), a = ia(), o = Qe(), i = SP(), s = pc(), c = Ort(), u = UP(), l = qP(), d = g5(), f = zP();
|
|
115132
115132
|
e.feePayerMagic = "0x78", e.serializedType = "0x76", e.type = "tempo";
|
|
115133
115133
|
function h(x) {
|
|
115134
115134
|
const { calls: P, chainId: j, maxFeePerGas: A, maxPriorityFeePerGas: I, validBefore: O, validAfter: S } = x;
|
|
@@ -115296,7 +115296,7 @@ var cu = {}, AI = {}, Xie;
|
|
|
115296
115296
|
function vbe() {
|
|
115297
115297
|
return Xie || (Xie = 1, (function(e) {
|
|
115298
115298
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.z_TxEnvelopeTempo = e.z_SignatureEnvelope = e.z_KeyAuthorization = void 0, e.getType = c, e.isTempo = u, e.deserialize = l, e.serialize = d;
|
|
115299
|
-
const t =
|
|
115299
|
+
const t = Qe(), r = Rq(), n = pc(), a = /* @__PURE__ */ cA(), o = o5(), i = OP(), s = Mo();
|
|
115300
115300
|
function c(m) {
|
|
115301
115301
|
const g = m.account;
|
|
115302
115302
|
return g?.keyType && g.keyType !== "secp256k1" || typeof m.calls < "u" || typeof m.feePayer < "u" || typeof m.feeToken < "u" || typeof m.keyAuthorization < "u" || typeof m.nonceKey < "u" || typeof m.signature < "u" || typeof m.validBefore < "u" || typeof m.validAfter < "u" ? "tempo" : m.type ? m.type : (0, o.getTransactionType)(m);
|
|
@@ -115425,7 +115425,7 @@ var Jie;
|
|
|
115425
115425
|
function Rrt() {
|
|
115426
115426
|
if (Jie) return cu;
|
|
115427
115427
|
Jie = 1, Object.defineProperty(cu, "__esModule", { value: !0 }), cu.formatTransaction = s, cu.formatTransactionReceipt = c, cu.formatTransactionRequest = u;
|
|
115428
|
-
const e =
|
|
115428
|
+
const e = Qe(), t = /* @__PURE__ */ cA(), r = Et(), n = aa(), a = Ro(), o = Cr(), i = vbe();
|
|
115429
115429
|
function s(l) {
|
|
115430
115430
|
if (!(0, i.isTempo)(l))
|
|
115431
115431
|
return (0, n.formatTransaction)(l);
|
|
@@ -115483,7 +115483,7 @@ var wa = {}, Yie;
|
|
|
115483
115483
|
function Mrt() {
|
|
115484
115484
|
if (Yie) return wa;
|
|
115485
115485
|
Yie = 1, Object.defineProperty(wa, "__esModule", { value: !0 }), wa.store = void 0, wa.create = t, wa.getCacheKey = r, wa.getEntry = n, wa.reset = a, wa.getNonceKey = o;
|
|
115486
|
-
const e =
|
|
115486
|
+
const e = Qe();
|
|
115487
115487
|
wa.store = t();
|
|
115488
115488
|
function t() {
|
|
115489
115489
|
return /* @__PURE__ */ new Map();
|
|
@@ -123370,30 +123370,26 @@ async function Cot(e, t) {
|
|
|
123370
123370
|
}
|
|
123371
123371
|
function _ot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChainId: o, library: i, bzzUsdPrice: s }) {
|
|
123372
123372
|
const [c, u] = We(o), [l, d] = We(i.constants.nullAddress), [f, h] = We(null), [b, m] = We(null), [g, C] = We(!0), [_, w] = We(null), [y, E] = We("pending"), [k, x] = We({}), [P, j] = We({}), A = whe({ chains: Pbe }), I = V3e(), { chains: O } = cot(), S = qfe(), z = O && S ? O.filter((ae) => S.some((we) => ae.id === we.id)) : [], { data: L } = iot("https://api.relay.link", { chainIds: [c] }), { switchChainAsync: F } = zfe(), q = _?.details?.currencyIn, H = q?.amount && q.currency?.decimals ? new R7(q?.amount, q?.currency?.decimals) : null, N = z.find((ae) => ae.id === c)?.displayName || "N/A", D = (L || []).find((ae) => ae.address === l), U = D ? D.symbol : "N/A", V = Qn.xBZZ.fromFloat(a.bzzAmount), Q = a.nativeAmount + i.constants.daiDustAmount.toFloat(), K = V.toFloat() * s, Z = (K + Q) * 1.1, J = f && H ? f.value >= H.value : !0, { sendTransactionAsync: Y } = H3e();
|
|
123373
|
-
it(() => {
|
|
123374
|
-
|
|
123375
|
-
|
|
123376
|
-
|
|
123377
|
-
|
|
123378
|
-
|
|
123379
|
-
|
|
123380
|
-
|
|
123381
|
-
|
|
123382
|
-
|
|
123383
|
-
|
|
123384
|
-
|
|
123385
|
-
|
|
123386
|
-
|
|
123387
|
-
|
|
123388
|
-
|
|
123389
|
-
|
|
123390
|
-
|
|
123391
|
-
|
|
123392
|
-
|
|
123393
|
-
console.error("Error fetching selected token balance:", ae);
|
|
123394
|
-
}
|
|
123395
|
-
}, li.minutes(1));
|
|
123396
|
-
}, [a.sourceAddress, c, l, i, h]), it(() => {
|
|
123373
|
+
it(() => ln.runAndSetInterval(() => {
|
|
123374
|
+
i.getTokenPrice(l, c).then((ae) => m(ae)).catch((ae) => {
|
|
123375
|
+
console.error("Error fetching selected token price:", ae);
|
|
123376
|
+
});
|
|
123377
|
+
}, li.minutes(1)), [i, l, c, m]), it(() => ln.runAndSetInterval(async () => {
|
|
123378
|
+
try {
|
|
123379
|
+
const ae = l === i.constants.nullAddress ? void 0 : l, we = `${a.sourceAddress}-${c}-${ae}`, le = await FR.get(
|
|
123380
|
+
we,
|
|
123381
|
+
li.minutes(1),
|
|
123382
|
+
async () => vfe(Abe, {
|
|
123383
|
+
address: a.sourceAddress,
|
|
123384
|
+
token: ae,
|
|
123385
|
+
chainId: c
|
|
123386
|
+
})
|
|
123387
|
+
);
|
|
123388
|
+
h(le);
|
|
123389
|
+
} catch (ae) {
|
|
123390
|
+
console.error("Error fetching selected token balance:", ae);
|
|
123391
|
+
}
|
|
123392
|
+
}, li.minutes(1)), [a.sourceAddress, c, l, i, h]), it(() => {
|
|
123397
123393
|
if (l)
|
|
123398
123394
|
return ln.runAndSetInterval(async () => {
|
|
123399
123395
|
if (!f || !b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as sh, aG as Ot, aH as fr, aI as ch, aJ as uh, aK as dh, aL as v1, o as E1 } from "./index-
|
|
1
|
+
import { aF as sh, aG as Ot, aH as fr, aI as ch, aJ as uh, aK as dh, aL as v1, o as E1 } from "./index-3WJ36Q8t.mjs";
|
|
2
2
|
import { r as j1 } from "./index-sJo3KuR-.mjs";
|
|
3
3
|
import { r as P1 } from "./events-BCEOhv4q.mjs";
|
|
4
4
|
function w1(e, a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as T } from "./index-sJo3KuR-.mjs";
|
|
2
|
-
import { j as y, k, m as I } from "./index-
|
|
2
|
+
import { j as y, k, m as I } from "./index-3WJ36Q8t.mjs";
|
|
3
3
|
const q = () => "9.1.0", v = (t) => t.toString(16).padStart(2, "0"), C = (t) => {
|
|
4
4
|
const e = new Uint8Array(t / 2);
|
|
5
5
|
return window.crypto.getRandomValues(e), Array.from(e, v).join("");
|