@etherplay/dev-wallet-host 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/site/assets/{App-jiH5KsZN.js → App-D0QkDuoP.js} +58 -48
- package/site/assets/App-D0QkDuoP.js.map +1 -0
- package/site/assets/{bignumbers-CDwemtjh.js → bignumbers-BGIGSjwl.js} +2 -2
- package/site/assets/{bignumbers-CDwemtjh.js.map → bignumbers-BGIGSjwl.js.map} +1 -1
- package/site/assets/{index-BQfjfSli.js → index-8gYgsO00.js} +6 -6
- package/site/assets/{index-BQfjfSli.js.map → index-8gYgsO00.js.map} +1 -1
- package/site/assets/{index-B0bHIDP-.js → index-B6H9q3i4.js} +2 -2
- package/site/assets/{index-B0bHIDP-.js.map → index-B6H9q3i4.js.map} +1 -1
- package/site/assets/{index-LuGvuWDj.js → index-CZi5KT9y.js} +6 -6
- package/site/assets/{index-LuGvuWDj.js.map → index-CZi5KT9y.js.map} +1 -1
- package/site/assets/{index-CNWQNI4F.js → index-DnlmYyqP.js} +8 -8
- package/site/assets/{index-CNWQNI4F.js.map → index-DnlmYyqP.js.map} +1 -1
- package/site/assets/{index-CY5VRUKw.js → index-Z023RREk.js} +4 -4
- package/site/assets/{index-CY5VRUKw.js.map → index-Z023RREk.js.map} +1 -1
- package/site/assets/{index--WaQfBnk.js → index-quu2OWZ0.js} +3 -3
- package/site/assets/{index--WaQfBnk.js.map → index-quu2OWZ0.js.map} +1 -1
- package/site/assets/{login-Djc2e6Ld.js → login-FHGSC3BX.js} +3 -3
- package/site/assets/{login-Djc2e6Ld.js.map → login-FHGSC3BX.js.map} +1 -1
- package/site/assets/{typed-data-B1d1daZe.js → typed-data-Bvq38f41.js} +4 -4
- package/site/assets/{typed-data-B1d1daZe.js.map → typed-data-Bvq38f41.js.map} +1 -1
- package/site/assets/{utf8-CL2y2HZA.js → utf8-DPK3Cnp_.js} +2 -2
- package/site/assets/{utf8-CL2y2HZA.js.map → utf8-DPK3Cnp_.js.map} +1 -1
- package/site/login/index.html +1 -1
- package/site/assets/App-jiH5KsZN.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etherplay/dev-wallet-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "The Etherplay sign-in host, prebuilt, for DEVELOPMENT and e2e only - run it next to your app the way you run a faucet. Unfit for real accounts by construction.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"etherplay",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-quu2OWZ0.js","assets/index-client-8kPxwRn_.js","assets/login-FHGSC3BX.js","assets/login-Dm0rG43D.css","assets/index-8gYgsO00.js","assets/typed-data-Bvq38f41.js","assets/utf8-DPK3Cnp_.js","assets/index-B6H9q3i4.js","assets/index-CZi5KT9y.js","assets/bignumbers-BGIGSjwl.js","assets/index-DnlmYyqP.js","assets/index-Z023RREk.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -20,7 +20,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
20
20
|
});
|
|
21
21
|
var _a, _b, _c, _d, _e, _t, _e2, _s, _a2, _i, _r, _o, _n, _h, _d2, _c2, _p, _E_instances, m_fn, _f, _e3, _s2, _t2, _i2, _o2, _r2, _n2, _a3, _c3, _g2, _h2, _d3, _l, _g, _h3;
|
|
22
22
|
import { i as is_array, g as get_prototype_of, o as object_prototype, c as create_text, a as active_effect, b as get_first_child, d as is_firefox, T as TEMPLATE_FRAGMENT, e as TEMPLATE_USE_IMPORT_NODE, f as block, E as EFFECT_TRANSPARENT, r as resume_effect, h as branch, p as pause_effect, U as UNINITIALIZED, j as get$2, k as derived_safe_equal, I as INERT, l as array_from, m as mutable_source, s as source$1, n as internal_set, q as pause_children, t as clear_text_content, u as run_out_transitions, v as destroy_effect, w as EACH_INDEX_REACTIVE, x as EACH_ITEM_REACTIVE, y as EACH_ITEM_IMMUTABLE, z as get_next_sibling, A as EACH_IS_CONTROLLED, B as queue_micro_task, C as EACH_IS_ANIMATED, D as effect, F as untrack, G as render_effect, H as deep_read_state, J as safe_not_equal$1, L as LOADING_ATTR_SYMBOL, N as NAMESPACE_HTML, K as get_descriptors, S as STATE_SYMBOL, M as component_context, O as user_pre_effect, P as user_effect, Q as run_all, R as run, V as derived, W as noop$3, X as teardown, Y as define_property, Z as set, _ as proxy, $ as get_descriptor, a0 as props_invalid_value, a1 as LEGACY_DERIVED_PROP, a2 as PROPS_IS_UPDATED, a3 as safe_equals, a4 as PROPS_IS_BINDABLE, a5 as LEGACY_PROPS, a6 as PROPS_IS_LAZY_INITIAL, a7 as legacy_mode_flag, a8 as PROPS_IS_RUNES, a9 as PROPS_IS_IMMUTABLE, aa as enable_legacy_mode_flag, ab as delegate, ac as push, ad as user_derived, ae as sibling, af as pop, ag as child, ah as template_effect, ai as set_text, aj as first_child, ak as onMount, al as event, am as state } from "./index-client-8kPxwRn_.js";
|
|
23
|
-
import { _ as __vitePreload, h as hostConfig } from "./login-
|
|
23
|
+
import { _ as __vitePreload, h as hostConfig } from "./login-FHGSC3BX.js";
|
|
24
24
|
const empty = [];
|
|
25
25
|
function snapshot(value, skip_warning = false) {
|
|
26
26
|
return clone(value, /* @__PURE__ */ new Map(), "", empty);
|
|
@@ -5789,6 +5789,39 @@ let Keccak$1 = class Keccak extends Hash$1 {
|
|
|
5789
5789
|
};
|
|
5790
5790
|
const gen$1 = (suffix, blockLen, outputLen) => createHasher(() => new Keccak$1(blockLen, suffix, outputLen));
|
|
5791
5791
|
const keccak_256$1 = /* @__PURE__ */ (() => gen$1(1, 136, 256 / 8))();
|
|
5792
|
+
function extract(hash, ikm, salt) {
|
|
5793
|
+
ahash$1(hash);
|
|
5794
|
+
if (salt === void 0)
|
|
5795
|
+
salt = new Uint8Array(hash.outputLen);
|
|
5796
|
+
return hmac$1(hash, toBytes$1(salt), toBytes$1(ikm));
|
|
5797
|
+
}
|
|
5798
|
+
const HKDF_COUNTER = /* @__PURE__ */ Uint8Array.from([0]);
|
|
5799
|
+
const EMPTY_BUFFER = /* @__PURE__ */ Uint8Array.of();
|
|
5800
|
+
function expand(hash, prk, info, length = 32) {
|
|
5801
|
+
ahash$1(hash);
|
|
5802
|
+
anumber$3(length);
|
|
5803
|
+
const olen = hash.outputLen;
|
|
5804
|
+
if (length > 255 * olen)
|
|
5805
|
+
throw new Error("Length should be <= 255*HashLen");
|
|
5806
|
+
const blocks = Math.ceil(length / olen);
|
|
5807
|
+
if (info === void 0)
|
|
5808
|
+
info = EMPTY_BUFFER;
|
|
5809
|
+
const okm = new Uint8Array(blocks * olen);
|
|
5810
|
+
const HMAC3 = hmac$1.create(hash, prk);
|
|
5811
|
+
const HMACTmp = HMAC3._cloneInto();
|
|
5812
|
+
const T3 = new Uint8Array(HMAC3.outputLen);
|
|
5813
|
+
for (let counter = 0; counter < blocks; counter++) {
|
|
5814
|
+
HKDF_COUNTER[0] = counter + 1;
|
|
5815
|
+
HMACTmp.update(counter === 0 ? EMPTY_BUFFER : T3).update(info).update(HKDF_COUNTER).digestInto(T3);
|
|
5816
|
+
okm.set(T3, olen * counter);
|
|
5817
|
+
HMAC3._cloneInto(HMACTmp);
|
|
5818
|
+
}
|
|
5819
|
+
HMAC3.destroy();
|
|
5820
|
+
HMACTmp.destroy();
|
|
5821
|
+
clean(T3, HKDF_COUNTER);
|
|
5822
|
+
return okm.slice(0, length);
|
|
5823
|
+
}
|
|
5824
|
+
const hkdf = (hash, ikm, salt, info, length) => expand(hash, extract(hash, ikm, salt), info, length);
|
|
5792
5825
|
function anumber$1(n4) {
|
|
5793
5826
|
if (!Number.isSafeInteger(n4) || n4 < 0)
|
|
5794
5827
|
throw new Error("positive integer expected, got " + n4);
|
|
@@ -8962,39 +8995,6 @@ const x25519 = /* @__PURE__ */ (() => {
|
|
|
8962
8995
|
adjustScalarBytes
|
|
8963
8996
|
});
|
|
8964
8997
|
})();
|
|
8965
|
-
function extract(hash, ikm, salt) {
|
|
8966
|
-
ahash$1(hash);
|
|
8967
|
-
if (salt === void 0)
|
|
8968
|
-
salt = new Uint8Array(hash.outputLen);
|
|
8969
|
-
return hmac$1(hash, toBytes$1(salt), toBytes$1(ikm));
|
|
8970
|
-
}
|
|
8971
|
-
const HKDF_COUNTER = /* @__PURE__ */ Uint8Array.from([0]);
|
|
8972
|
-
const EMPTY_BUFFER = /* @__PURE__ */ Uint8Array.of();
|
|
8973
|
-
function expand(hash, prk, info, length = 32) {
|
|
8974
|
-
ahash$1(hash);
|
|
8975
|
-
anumber$3(length);
|
|
8976
|
-
const olen = hash.outputLen;
|
|
8977
|
-
if (length > 255 * olen)
|
|
8978
|
-
throw new Error("Length should be <= 255*HashLen");
|
|
8979
|
-
const blocks = Math.ceil(length / olen);
|
|
8980
|
-
if (info === void 0)
|
|
8981
|
-
info = EMPTY_BUFFER;
|
|
8982
|
-
const okm = new Uint8Array(blocks * olen);
|
|
8983
|
-
const HMAC3 = hmac$1.create(hash, prk);
|
|
8984
|
-
const HMACTmp = HMAC3._cloneInto();
|
|
8985
|
-
const T3 = new Uint8Array(HMAC3.outputLen);
|
|
8986
|
-
for (let counter = 0; counter < blocks; counter++) {
|
|
8987
|
-
HKDF_COUNTER[0] = counter + 1;
|
|
8988
|
-
HMACTmp.update(counter === 0 ? EMPTY_BUFFER : T3).update(info).update(HKDF_COUNTER).digestInto(T3);
|
|
8989
|
-
okm.set(T3, olen * counter);
|
|
8990
|
-
HMAC3._cloneInto(HMACTmp);
|
|
8991
|
-
}
|
|
8992
|
-
HMAC3.destroy();
|
|
8993
|
-
HMACTmp.destroy();
|
|
8994
|
-
clean(T3, HKDF_COUNTER);
|
|
8995
|
-
return okm.slice(0, length);
|
|
8996
|
-
}
|
|
8997
|
-
const hkdf = (hash, ikm, salt, info, length) => expand(hash, extract(hash, ikm, salt), info, length);
|
|
8998
8998
|
function hkdfSha256(ikm, info, length) {
|
|
8999
8999
|
return hkdf(sha256$1, ikm, new Uint8Array(0), info, length);
|
|
9000
9000
|
}
|
|
@@ -9433,11 +9433,20 @@ function fromSignatureToKey(signature) {
|
|
|
9433
9433
|
const hash = keccak_256$1(hexToBytes$2(signature.slice(2)));
|
|
9434
9434
|
return `0x${bytesToHex$2(hash)}`;
|
|
9435
9435
|
}
|
|
9436
|
+
const ORIGIN_DATA_SECRET_LABEL = "etherplay-connect origin data secret";
|
|
9437
|
+
function deriveDataSecret(originKey) {
|
|
9438
|
+
const ikm = hexToBytes$2(originKey.slice(2));
|
|
9439
|
+
if (ikm.length !== 32) {
|
|
9440
|
+
throw new Error("the origin entropy must be 32 bytes");
|
|
9441
|
+
}
|
|
9442
|
+
return `0x${bytesToHex$2(hkdf(sha256$1, ikm, new Uint8Array(0), ORIGIN_DATA_SECRET_LABEL, 32))}`;
|
|
9443
|
+
}
|
|
9436
9444
|
function deriveOriginKeys(originKeySignature, accountGenerator2) {
|
|
9437
9445
|
const originKey = fromSignatureToKey(originKeySignature);
|
|
9438
9446
|
const originAccount = accountGenerator2.fromMnemonicToAccount(fromEntropyKeyToMnemonic(originKey), 0);
|
|
9439
9447
|
const keySet = deriveKeySet(originKey);
|
|
9440
|
-
|
|
9448
|
+
const dataSecret = deriveDataSecret(originKey);
|
|
9449
|
+
return { originAccount, keySet, dataSecret };
|
|
9441
9450
|
}
|
|
9442
9451
|
function deriveEtherplayAccount(key, mechanism2, accountGenerator2) {
|
|
9443
9452
|
const mnemonic = fromEntropyKeyToMnemonic(key);
|
|
@@ -9457,7 +9466,7 @@ async function deriveOriginAccount(origin2, account, accountGenerator2, granted)
|
|
|
9457
9466
|
const accountMnemonic = fromEntropyKeyToMnemonic(account.localAccount.key);
|
|
9458
9467
|
const accountObject = accountGenerator2.fromMnemonicToAccount(accountMnemonic, account.localAccount.index);
|
|
9459
9468
|
const originKeySignature = await accountGenerator2.signTextMessage(originKeyMessage(origin2), accountObject.privateKey);
|
|
9460
|
-
const { originAccount, keySet } = deriveOriginKeys(originKeySignature, accountGenerator2);
|
|
9469
|
+
const { originAccount, keySet, dataSecret } = deriveOriginKeys(originKeySignature, accountGenerator2);
|
|
9461
9470
|
const savedPublicKeyPublicationSignature = await accountGenerator2.signTextMessage(originPublicKeyPublicationMessage(origin2, keySet), accountObject.privateKey);
|
|
9462
9471
|
const savedDelegations = [];
|
|
9463
9472
|
for (const delegation of (granted == null ? void 0 : granted.delegations) || []) {
|
|
@@ -9484,6 +9493,7 @@ async function deriveOriginAccount(origin2, account, accountGenerator2, granted)
|
|
|
9484
9493
|
privateKey: originAccount.privateKey
|
|
9485
9494
|
},
|
|
9486
9495
|
keySet,
|
|
9496
|
+
dataSecret,
|
|
9487
9497
|
metadata: {},
|
|
9488
9498
|
mechanismUsed: account.signer.mechanismUsed,
|
|
9489
9499
|
savedPublicKeyPublicationSignature,
|
|
@@ -17217,7 +17227,7 @@ let n$9 = (_e = class {
|
|
|
17217
17227
|
}
|
|
17218
17228
|
static async init({ sentry: e4, configuration: o5 }) {
|
|
17219
17229
|
if (e4) return void (_e.sentry = e4);
|
|
17220
|
-
const a5 = await __vitePreload(() => import("./index
|
|
17230
|
+
const a5 = await __vitePreload(() => import("./index-quu2OWZ0.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
17221
17231
|
_e.sentry = new a5.BrowserClient({ dsn: r$a, integrations: [], stackParser: a5.defaultStackParser, transport: a5.makeFetchTransport }), _e.baseTags = { projectId: (o5 == null ? void 0 : o5.baseConfiguration.publishableKey) ?? "", sdk: t$d, sdkVersion: o$9 }, _e.processQueuedCalls();
|
|
17222
17232
|
}
|
|
17223
17233
|
static processQueuedCalls() {
|
|
@@ -17610,15 +17620,15 @@ const t$8 = async (t6) => {
|
|
|
17610
17620
|
let g2 = a5;
|
|
17611
17621
|
if ([T$1.UPGRADEABLE_V5, T$1.UPGRADEABLE_V6].includes(d2)) {
|
|
17612
17622
|
const e4 = { name: "Openfort", version: "0.5", chainId: Number(o5), verifyingContract: c3 }, t7 = { OpenfortMessage: [{ name: "hashedMessage", type: "bytes32" }] }, a6 = { hashedMessage: g2 }, { _TypedDataEncoder: s6 } = await __vitePreload(async () => {
|
|
17613
|
-
const { _TypedDataEncoder: s7 } = await import("./index-
|
|
17623
|
+
const { _TypedDataEncoder: s7 } = await import("./index-8gYgsO00.js");
|
|
17614
17624
|
return { _TypedDataEncoder: s7 };
|
|
17615
17625
|
}, true ? __vite__mapDeps([4,5,6,7,1,2,3]) : void 0);
|
|
17616
17626
|
g2 = s6.hash(e4, t7, a6);
|
|
17617
17627
|
}
|
|
17618
17628
|
const P2 = await s5.sign(g2, false, false);
|
|
17619
17629
|
if (i3 && n4 && [T$1.UPGRADEABLE_V5, T$1.UPGRADEABLE_V6].includes(d2)) {
|
|
17620
|
-
const { id: e4 } = await __vitePreload(() => import("./index-
|
|
17621
|
-
const { defaultAbiCoder: t8 } = await import("./index-
|
|
17630
|
+
const { id: e4 } = await __vitePreload(() => import("./index-8gYgsO00.js"), true ? __vite__mapDeps([4,5,6,7,1,2,3]) : void 0), { defaultAbiCoder: t7 } = await __vitePreload(async () => {
|
|
17631
|
+
const { defaultAbiCoder: t8 } = await import("./index-CZi5KT9y.js");
|
|
17622
17632
|
return { defaultAbiCoder: t8 };
|
|
17623
17633
|
}, true ? __vite__mapDeps([8,7,9,6,1,2,3]) : void 0), { hexConcat: a6 } = await __vitePreload(async () => {
|
|
17624
17634
|
const { hexConcat: a7 } = await Promise.resolve().then(() => index$1);
|
|
@@ -17664,7 +17674,7 @@ const t$7 = async ({ params: t6, signer: o5, account: n4 }) => {
|
|
|
17664
17674
|
const i3 = t6[0], d2 = t6[1];
|
|
17665
17675
|
if (!d2 || !i3) throw new A$1(E$2.INVALID_PARAMS, "personal_sign requires an address and a message");
|
|
17666
17676
|
if (d2.toLowerCase() !== n4.address.toLowerCase()) throw new A$1(E$2.INVALID_PARAMS, "personal_sign requires the signer to be the from address");
|
|
17667
|
-
const { hashMessage: p5 } = await __vitePreload(() => import("./index-
|
|
17677
|
+
const { hashMessage: p5 } = await __vitePreload(() => import("./index-8gYgsO00.js"), true ? __vite__mapDeps([4,5,6,7,1,2,3]) : void 0);
|
|
17668
17678
|
return await t$8({ hash: p5(n$a(i3)), implementationType: n4.implementationType || n4.type, chainId: Number(n4.chainId), signer: o5, address: d2, salt: n4.salt, factoryAddress: n4.factoryAddress, ownerAddress: n4.ownerAddress });
|
|
17669
17679
|
};
|
|
17670
17680
|
function a$6(t6) {
|
|
@@ -19154,7 +19164,7 @@ const r$5 = ["types", "domain", "primaryType", "message"], n$5 = (a5, n4) => {
|
|
|
19154
19164
|
if (!c3 || !h2) throw new A$1(E$2.INVALID_PARAMS, `${s5} requires an address and a typed data JSON`);
|
|
19155
19165
|
const { chainId: m2 } = await o5.detectNetwork(), I2 = n$5(h2, m2), y3 = { ...I2.types };
|
|
19156
19166
|
delete y3.EIP712Domain;
|
|
19157
|
-
const { _TypedDataEncoder: A3 } = await __vitePreload(() => import("./index-
|
|
19167
|
+
const { _TypedDataEncoder: A3 } = await __vitePreload(() => import("./index-8gYgsO00.js"), true ? __vite__mapDeps([4,5,6,7,1,2,3]) : void 0), w2 = A3.hash(I2.domain, y3, I2.message);
|
|
19158
19168
|
return await t$8({ hash: w2, implementationType: i3, chainId: m2, signer: d2, address: c3, ownerAddress: p5.ownerAddress, factoryAddress: p5.factoryAddress, salt: p5.salt });
|
|
19159
19169
|
};
|
|
19160
19170
|
var C$1;
|
|
@@ -19189,7 +19199,7 @@ let E$1 = (_f = class {
|
|
|
19189
19199
|
async getRpcProvider() {
|
|
19190
19200
|
if (!__privateGet(this, _o)) {
|
|
19191
19201
|
const e4 = await s$9.fromStorage(__privateGet(this, _t)), s5 = (e4 == null ? void 0 : e4.chainId) || (__privateGet(this, _s) ? Number(Object.keys(__privateGet(this, _s))[0]) : void 0) || 8453;
|
|
19192
|
-
await __vitePreload(() => import("./index-
|
|
19202
|
+
await __vitePreload(() => import("./index-DnlmYyqP.js"), true ? __vite__mapDeps([10,7,5,6,11,9,1,2,3]) : void 0).then((t6) => {
|
|
19193
19203
|
const e5 = __privateGet(this, _s) ? __privateGet(this, _s)[s5] : void 0;
|
|
19194
19204
|
__privateSet(this, _o, new t6.StaticJsonRpcProvider(e5 ?? t$a[s5]));
|
|
19195
19205
|
});
|
|
@@ -19233,7 +19243,7 @@ let E$1 = (_f = class {
|
|
|
19233
19243
|
const o5 = await this.getRpcProvider(), { chainId: n4 } = await o5.detectNetwork(), [h2] = s5.params || [];
|
|
19234
19244
|
h2.chainId || (h2.chainId = n4.toString());
|
|
19235
19245
|
const c3 = s$8(h2), { serialize: p5 } = await __vitePreload(async () => {
|
|
19236
|
-
const { serialize: p6 } = await import("./index-
|
|
19246
|
+
const { serialize: p6 } = await import("./index-Z023RREk.js").then((n5) => n5.i);
|
|
19237
19247
|
return { serialize: p6 };
|
|
19238
19248
|
}, true ? __vite__mapDeps([11,7,9]) : void 0), w2 = (t6) => ({ legacy: 0, eip2930: 1, eip1559: 2 })[t6], { gas: u4, ...l3 } = c3, g2 = { ...l3, gasLimit: u4, to: c3.to ?? void 0, type: w2(c3.type) }, f3 = p5(g2), { keccak256: S2 } = await __vitePreload(async () => {
|
|
19239
19249
|
const { keccak256: S3 } = await Promise.resolve().then(() => index);
|
|
@@ -19290,7 +19300,7 @@ let E$1 = (_f = class {
|
|
|
19290
19300
|
await __privateGet(this, _i).call(this);
|
|
19291
19301
|
try {
|
|
19292
19302
|
const e4 = parseInt(s5.params[0].chainId, 16);
|
|
19293
|
-
await t6.switchChain({ chainId: e4 }), await __vitePreload(() => import("./index-
|
|
19303
|
+
await t6.switchChain({ chainId: e4 }), await __vitePreload(() => import("./index-DnlmYyqP.js"), true ? __vite__mapDeps([10,7,5,6,11,9,1,2,3]) : void 0).then((t7) => {
|
|
19294
19304
|
const s6 = __privateGet(this, _s) ? __privateGet(this, _s)[e4] : void 0;
|
|
19295
19305
|
__privateSet(this, _o, new t7.StaticJsonRpcProvider(s6 ?? t$a[e4]));
|
|
19296
19306
|
}), __privateGet(this, _r).emit(C$1.CHAIN_CHANGED, r$b(e4));
|
|
@@ -20161,7 +20171,7 @@ class k {
|
|
|
20161
20171
|
if (!i3) throw new s$b(E$4.MISSING_SIGNER, "No account found");
|
|
20162
20172
|
const n4 = { ...r7 };
|
|
20163
20173
|
delete n4.EIP712Domain;
|
|
20164
|
-
const { _TypedDataEncoder: d2 } = await __vitePreload(() => import("./index-
|
|
20174
|
+
const { _TypedDataEncoder: d2 } = await __vitePreload(() => import("./index-8gYgsO00.js"), true ? __vite__mapDeps([4,5,6,7,1,2,3]) : void 0), h2 = d2.hash(e4, n4, t6);
|
|
20165
20175
|
return await t$8({ hash: h2, implementationType: i3.implementationType || i3.type, chainId: Number(i3.chainId), signer: s5, address: i3.address, ownerAddress: i3.ownerAddress, factoryAddress: i3.factoryAddress, salt: i3.salt });
|
|
20166
20176
|
}
|
|
20167
20177
|
async exportPrivateKey() {
|
|
@@ -23031,4 +23041,4 @@ export {
|
|
|
23031
23041
|
process$1 as p,
|
|
23032
23042
|
splitSignature as s
|
|
23033
23043
|
};
|
|
23034
|
-
//# sourceMappingURL=App-
|
|
23044
|
+
//# sourceMappingURL=App-D0QkDuoP.js.map
|