@reown/appkit-cdn 1.0.5 → 1.0.6
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/{W3MFrameProviderSingleton-CTR1y-dm.js → W3MFrameProviderSingleton-CVeWBhS_.js} +25193 -24911
- package/dist/W3MFrameProviderSingleton-Djv3DKHQ.cjs +11298 -0
- package/dist/ethers.cjs +1 -1
- package/dist/ethers.js +5 -5
- package/dist/{hooks.module-D-0zdEoH.js → hooks.module-BuouNsta.js} +1 -1
- package/dist/{hooks.module-DQotueVv.cjs → hooks.module-OOURZPAN.cjs} +1 -1
- package/dist/{index-Cj_t8zKv.cjs → index-4gPeNAqu.cjs} +1 -1
- package/dist/{index-B-asGkmO.cjs → index-BMspmMjR.cjs} +1 -1
- package/dist/{index-Cb7ygkgK.js → index-BlKzwSJU.js} +2 -2
- package/dist/{index-ChpiA38q.cjs → index-C2Bw1AaS.cjs} +1 -1
- package/dist/{index-Bc0ITjWJ.js → index-C9Wf5FuX.js} +2 -2
- package/dist/{index-CHnv57sx.cjs → index-CUE8WypA.cjs} +1 -1
- package/dist/{index-T8ir_D3p.js → index-Cw3RgM7_.js} +2 -2
- package/dist/{index-W7CfpcrR.js → index-D0AGxgdp.js} +2 -2
- package/dist/{index-CGiwEmEs.cjs → index-D1TRYSj5.cjs} +1 -1
- package/dist/{index-BbRGsaWd.cjs → index-D7cCbFGa.cjs} +2 -2
- package/dist/{index-DPxKz8jH.js → index-DMnytQnR.js} +2 -2
- package/dist/{index-CarL80dX.cjs → index-DP5FsK5O.cjs} +1 -1
- package/dist/{index-BpyGhSL5.cjs → index-YAhLOyG9.cjs} +1 -1
- package/dist/{index-DHINf06o.js → index-cIY_Y6JK.js} +1 -1
- package/dist/{index-CUklmSgy.js → index-rBKRsYhG.js} +2 -2
- package/dist/{index-C4sAe8r2.js → index-xU7rcaOL.js} +2 -2
- package/dist/{index.es-uCwCuHj3.cjs → index.es-DLyLBkNx.cjs} +2 -2
- package/dist/{index.es-iazRHZcQ.js → index.es-DyjLX8Oj.js} +2 -2
- package/dist/{metamask-sdk-CWejtgv4.js → metamask-sdk-DAjmhCmY.js} +1 -1
- package/dist/{metamask-sdk-BR0UffTG.cjs → metamask-sdk-DzX54_vv.cjs} +1 -1
- package/dist/{native-BQEvKOnP.cjs → native-C-0AHtVa.cjs} +1 -1
- package/dist/{native-Cu9ENMNS.js → native-dPjkdH1Q.js} +1 -1
- package/dist/{w3m-modal-D71FClnT.cjs → w3m-modal-CfqGVIE5.cjs} +3 -3
- package/dist/{w3m-modal-C48bKG7t.js → w3m-modal-DuRbCwDx.js} +4 -4
- package/dist/{wagmi-BW31my6S.js → wagmi-CjqErQGH.js} +14 -14
- package/dist/{wagmi-BydfAFoJ.cjs → wagmi-DYp-Wfqq.cjs} +4 -4
- package/dist/wagmi.cjs +1 -1
- package/dist/wagmi.js +2 -2
- package/package.json +5 -5
- package/dist/W3MFrameProviderSingleton-EBSNGCyS.cjs +0 -11201
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Ll, W as zl, P as Ct, C as me, a as _f, S as _l, b as ta, c as Hf, A as $f, d as Hl, N as je, H as yc, e as jf, f as wc, g as Dn, h as Rn, i as qf, j as Gf, k as gc, l as Io, m as xc, n as Kf } from "./W3MFrameProviderSingleton-
|
|
1
|
+
import { E as Ll, W as zl, P as Ct, C as me, a as _f, S as _l, b as ta, c as Hf, A as $f, d as Hl, N as je, H as yc, e as jf, f as wc, g as Dn, h as Rn, i as qf, j as Gf, k as gc, l as Io, m as xc, n as Kf } from "./W3MFrameProviderSingleton-CVeWBhS_.js";
|
|
2
2
|
const $l = "2.21.4";
|
|
3
3
|
let Jt = {
|
|
4
4
|
getDocsUrl: ({ docsBaseUrl: e, docsPath: t = "", docsSlug: n }) => t ? `${e ?? "https://viem.sh"}${t}${n ? `#${n}` : ""}` : void 0,
|
|
@@ -7889,7 +7889,7 @@ async function as(e, t = {}) {
|
|
|
7889
7889
|
const { keepAlive: n, reconnect: r } = t;
|
|
7890
7890
|
return Fy({
|
|
7891
7891
|
async getSocket({ onClose: s, onError: o, onOpen: a, onResponse: i }) {
|
|
7892
|
-
const c = await import("./native-
|
|
7892
|
+
const c = await import("./native-dPjkdH1Q.js").then((f) => f.WebSocket), l = new c(e);
|
|
7893
7893
|
function u() {
|
|
7894
7894
|
s(), l.removeEventListener("close", u), l.removeEventListener("message", d), l.removeEventListener("error", o), l.removeEventListener("open", a);
|
|
7895
7895
|
}
|
|
@@ -22982,7 +22982,7 @@ function dk(e) {
|
|
|
22982
22982
|
async getProvider() {
|
|
22983
22983
|
if (!n) {
|
|
22984
22984
|
const i = await (async () => {
|
|
22985
|
-
const { default: c } = await import("./index-
|
|
22985
|
+
const { default: c } = await import("./index-xU7rcaOL.js").then((l) => l.i);
|
|
22986
22986
|
return typeof c != "function" && typeof c.default == "function" ? c.default : c;
|
|
22987
22987
|
})();
|
|
22988
22988
|
t = new i({
|
|
@@ -23100,7 +23100,7 @@ function pk(e) {
|
|
|
23100
23100
|
var c;
|
|
23101
23101
|
if (!r) {
|
|
23102
23102
|
const l = await (async () => {
|
|
23103
|
-
const { default: m } = await import("./index-
|
|
23103
|
+
const { default: m } = await import("./index-rBKRsYhG.js").then((h) => h.i);
|
|
23104
23104
|
return typeof m != "function" && typeof m.default == "function" ? m.default : m;
|
|
23105
23105
|
})();
|
|
23106
23106
|
n = new l({ ...e, reloadOnDisconnect: !1 });
|
|
@@ -23338,7 +23338,7 @@ class hk {
|
|
|
23338
23338
|
const i = await a.getProvider(), c = await ((b = (h = (m = this.options) == null ? void 0 : m.siweConfig) == null ? void 0 : h.getMessageParams) == null ? void 0 : b.call(h)), l = (v = (w = (y = this.options) == null ? void 0 : y.siweConfig) == null ? void 0 : w.options) == null ? void 0 : v.enabled, u = typeof (i == null ? void 0 : i.authenticate) == "function", d = c && Object.keys(c || {}).length > 0, p = (E = this.options) == null ? void 0 : E.siweConfig;
|
|
23339
23339
|
if (l && u && d && p) {
|
|
23340
23340
|
await a.setRequestedChainsIds(c.chains);
|
|
23341
|
-
const { SIWEController: P, getDidChainId: N, getDidAddress: q } = await import("./index-
|
|
23341
|
+
const { SIWEController: P, getDidChainId: N, getDidAddress: q } = await import("./index-Cw3RgM7_.js"), F = (g = this.caipNetworks) == null ? void 0 : g.filter((B) => B.chainNamespace === "eip155").map((B) => B.id);
|
|
23342
23342
|
c.chains = (C = this.caipNetworks) == null ? void 0 : C.filter((B) => B.chainNamespace === "eip155").map((B) => B.chainId);
|
|
23343
23343
|
const K = await i.authenticate({
|
|
23344
23344
|
nonce: await p.getNonce(),
|
|
@@ -23392,7 +23392,7 @@ class hk {
|
|
|
23392
23392
|
disconnect: async () => {
|
|
23393
23393
|
var a, i, c, l, u;
|
|
23394
23394
|
if (await sg(this.wagmiConfig), (c = (i = (a = this.options) == null ? void 0 : a.siweConfig) == null ? void 0 : i.options) != null && c.signOutOnDisconnect) {
|
|
23395
|
-
const { SIWEController: d } = await import("./index-
|
|
23395
|
+
const { SIWEController: d } = await import("./index-Cw3RgM7_.js");
|
|
23396
23396
|
await d.signOut();
|
|
23397
23397
|
}
|
|
23398
23398
|
Dn.removeItem(Rn.WALLET_ID), Dn.removeItem(Rn.CONNECTED_CONNECTOR), Dn.removeItem(Rn.WALLET_NAME), (l = this.appKit) == null || l.setClientId(null), this.syncAccount({
|
|
@@ -23743,7 +23743,7 @@ class hk {
|
|
|
23743
23743
|
});
|
|
23744
23744
|
}
|
|
23745
23745
|
}
|
|
23746
|
-
const mk = "@reown/appkit-wagmi", bk = "1.0.
|
|
23746
|
+
const mk = "@reown/appkit-wagmi", bk = "1.0.6", yk = "module", wk = "./dist/esm/exports/index.js", gk = "./dist/types/exports/index.d.ts", xk = [
|
|
23747
23747
|
"dist",
|
|
23748
23748
|
"!tsconfig.tsbuildinfo"
|
|
23749
23749
|
], Ck = {
|
|
@@ -23786,7 +23786,7 @@ const mk = "@reown/appkit-wagmi", bk = "1.0.5", yk = "module", wk = "./dist/esm/
|
|
|
23786
23786
|
typecheck: "tsc --noEmit",
|
|
23787
23787
|
lint: "eslint . --ext .js,.jsx,.ts,.tsx"
|
|
23788
23788
|
}, Ek = {
|
|
23789
|
-
"@walletconnect/utils": "2.
|
|
23789
|
+
"@walletconnect/utils": "2.17.0",
|
|
23790
23790
|
"@reown/appkit-polyfills": "workspace:*",
|
|
23791
23791
|
"@reown/appkit-adapter-wagmi": "workspace:*",
|
|
23792
23792
|
"@reown/appkit": "workspace:*",
|
|
@@ -26183,7 +26183,7 @@ function Q8(e) {
|
|
|
26183
26183
|
async getProvider() {
|
|
26184
26184
|
if (!n) {
|
|
26185
26185
|
const i = await (async () => {
|
|
26186
|
-
const { default: c } = await import("./index-
|
|
26186
|
+
const { default: c } = await import("./index-xU7rcaOL.js").then((l) => l.i);
|
|
26187
26187
|
return typeof c != "function" && typeof c.default == "function" ? c.default : c;
|
|
26188
26188
|
})();
|
|
26189
26189
|
t = new i({
|
|
@@ -26301,7 +26301,7 @@ function V8(e) {
|
|
|
26301
26301
|
var c;
|
|
26302
26302
|
if (!r) {
|
|
26303
26303
|
const l = await (async () => {
|
|
26304
|
-
const { default: m } = await import("./index-
|
|
26304
|
+
const { default: m } = await import("./index-rBKRsYhG.js").then((h) => h.i);
|
|
26305
26305
|
return typeof m != "function" && typeof m.default == "function" ? m.default : m;
|
|
26306
26306
|
})();
|
|
26307
26307
|
n = new l({ ...e, reloadOnDisconnect: !1 });
|
|
@@ -26418,7 +26418,7 @@ function dc(e = {}) {
|
|
|
26418
26418
|
async getProvider() {
|
|
26419
26419
|
async function u() {
|
|
26420
26420
|
const d = await (async () => {
|
|
26421
|
-
const { default: p } = await import("./metamask-sdk-
|
|
26421
|
+
const { default: p } = await import("./metamask-sdk-DAjmhCmY.js").then((f) => f.m);
|
|
26422
26422
|
return typeof p != "function" && typeof p.default == "function" ? p.default : p;
|
|
26423
26423
|
})();
|
|
26424
26424
|
return t = new d({
|
|
@@ -26564,12 +26564,12 @@ function pc(e = {}) {
|
|
|
26564
26564
|
async getProvider() {
|
|
26565
26565
|
if (typeof window < "u" && (window == null ? void 0 : window.parent) !== window) {
|
|
26566
26566
|
if (!n) {
|
|
26567
|
-
const { default: a } = await import("./index-
|
|
26567
|
+
const { default: a } = await import("./index-C9Wf5FuX.js"), i = new a(e), c = await wt(() => i.safe.getInfo(), {
|
|
26568
26568
|
timeout: e.unstable_getInfoTimeout ?? 10
|
|
26569
26569
|
});
|
|
26570
26570
|
if (!c)
|
|
26571
26571
|
throw new Error("Could not load Safe information");
|
|
26572
|
-
const { SafeAppProvider: l } = await import("./index-
|
|
26572
|
+
const { SafeAppProvider: l } = await import("./index-cIY_Y6JK.js").then((u) => u.i);
|
|
26573
26573
|
n = new l(c, i);
|
|
26574
26574
|
}
|
|
26575
26575
|
return n;
|
|
@@ -26661,7 +26661,7 @@ function fc(e) {
|
|
|
26661
26661
|
const h = d.chains.map((y) => y.id);
|
|
26662
26662
|
if (!h.length)
|
|
26663
26663
|
return;
|
|
26664
|
-
const { EthereumProvider: b } = await import("./index.es-
|
|
26664
|
+
const { EthereumProvider: b } = await import("./index.es-DyjLX8Oj.js");
|
|
26665
26665
|
return await b.init({
|
|
26666
26666
|
...e,
|
|
26667
26667
|
disableProviderPing: !0,
|