@springmicro/auth 0.7.16 → 0.7.19
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/{Index-1e31d199-CO-3sUD-.js → Index-1e31d199-uzuBdtPJ.js} +1 -1
- package/dist/{Index-6078f122-CDowfR7U.js → Index-6078f122-DLKGZ31_.js} +1 -1
- package/dist/{Web3Auth-C1gorwXx.js → Web3Auth-Zi4vzALJ.js} +10 -10
- package/dist/{index-C2J9ZZ0N.js → index-1_Q3geSC.js} +1 -1
- package/dist/{index-D0GY6Fny.js → index-B4ilnhZS.js} +1400 -1751
- package/dist/{index-cTAxNlZn.js → index-BrtZvnd0.js} +1 -1
- package/dist/{index-DJiTRo2_.js → index-Bu--mwXK.js} +2 -2
- package/dist/{index-ClXLxv7Y.js → index-C8ynRf9-.js} +2 -2
- package/dist/{index-BLh7Sl_6.js → index-Cn-_BAwo.js} +4 -4
- package/dist/{index-bH4yLInF.js → index-Cw8vH8KI.js} +1 -1
- package/dist/{index-BIEw47XG.js → index-XgTFhms9.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +220 -228
- package/dist/{number-9K9sKV6s.js → number-BfxMSPkm.js} +1 -1
- package/package.json +4 -4
- package/src/components/SignUp.tsx +19 -19
- package/src/components/forms/CaptchaController.tsx +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as He, J as Ht, K as Bt, L as Dt, M as Wt, N as Nt, O as Et, P as Ft, Q as Ot, R as Zt, T as Rt, U as Gt, V as Ut, W as Xt, X as Yt, Y as pe, Z as ve, $ as me, a0 as he, a1 as M, a2 as A, a3 as y, a4 as ae, a5 as ie, a6 as S, a7 as c, a8 as Y, a9 as h, aa as z, ab as p, ac as te, ad as ye, ae as Ce, af as ee, ag as Jt, ah as F, ai as O, aj as Z, ak as R, al as Be, am as ue, an as Kt, ao as $t, ap as Qt, aq as be, ar as ze, as as qe, at as fe, au as de, av as ge, aw as ke, ax as xt, ay as Ae, az as Ie, aA as j, aB as L, aC as _e, aD as je, aE as De, aF as P, aG as We, aH as Ne, aI as Ee, aJ as At, aK as en, aL as ce, aM as tn, aN as we, aO as Tt, aP as nn, aQ as rn, aR as Mt, aS as $e, aT as St, aU as on, aV as ln, aW as an, aX as Me, aY as sn, aZ as It, a_ as cn, a$ as Pt, b0 as Fe, b1 as dn, b2 as Oe, b3 as un, b4 as fn, b5 as Pe, b6 as Ze, b7 as pn, b8 as Re, b9 as Le, ba as Ge, bb as vn, bc as mn, bd as hn, be as Ue, bf as Ve } from "./Web3Auth-
|
|
1
|
+
import { _ as He, J as Ht, K as Bt, L as Dt, M as Wt, N as Nt, O as Et, P as Ft, Q as Ot, R as Zt, T as Rt, U as Gt, V as Ut, W as Xt, X as Yt, Y as pe, Z as ve, $ as me, a0 as he, a1 as M, a2 as A, a3 as y, a4 as ae, a5 as ie, a6 as S, a7 as c, a8 as Y, a9 as h, aa as z, ab as p, ac as te, ad as ye, ae as Ce, af as ee, ag as Jt, ah as F, ai as O, aj as Z, ak as R, al as Be, am as ue, an as Kt, ao as $t, ap as Qt, aq as be, ar as ze, as as qe, at as fe, au as de, av as ge, aw as ke, ax as xt, ay as Ae, az as Ie, aA as j, aB as L, aC as _e, aD as je, aE as De, aF as P, aG as We, aH as Ne, aI as Ee, aJ as At, aK as en, aL as ce, aM as tn, aN as we, aO as Tt, aP as nn, aQ as rn, aR as Mt, aS as $e, aT as St, aU as on, aV as ln, aW as an, aX as Me, aY as sn, aZ as It, a_ as cn, a$ as Pt, b0 as Fe, b1 as dn, b2 as Oe, b3 as un, b4 as fn, b5 as Pe, b6 as Ze, b7 as pn, b8 as Re, b9 as Le, ba as Ge, bb as vn, bc as mn, bd as hn, be as Ue, bf as Ve } from "./Web3Auth-Zi4vzALJ.js";
|
|
2
2
|
var gn = function(e) {
|
|
3
3
|
He(t, e);
|
|
4
4
|
function t(n, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as E, Z as N, $ as M, a0 as O, a1 as _, a2 as T, a3 as w, a4 as A, a5 as G, a6 as C, am as me, an as Z, ac as Y, ad as _e, ae as we, af as D, aJ as Ce, ab as m, a9 as h, aR as ze, ah as $, ax as Te, ay as je, az as Le, aI as xe, bg as Pe, ak as R, bh as Se, b5 as B, ai as F, a7 as g, a8 as S, at as be, aj as H, aa as L, bi as J, bj as W, aw as ye, aL as V, bk as Ie, ag as he, bl as U, bm as X, bn as Q, av as Re, aA as K, aB as I, bo as ee, bp as te, bq as Ee, br as x, aD as q, bs as Ne, bt as ge, aS as Me, bu as Oe, bf as ke, bv as De, aX as $e, aN as Fe } from "./Web3Auth-
|
|
1
|
+
import { Y as E, Z as N, $ as M, a0 as O, a1 as _, a2 as T, a3 as w, a4 as A, a5 as G, a6 as C, am as me, an as Z, ac as Y, ad as _e, ae as we, af as D, aJ as Ce, ab as m, a9 as h, aR as ze, ah as $, ax as Te, ay as je, az as Le, aI as xe, bg as Pe, ak as R, bh as Se, b5 as B, ai as F, a7 as g, a8 as S, at as be, aj as H, aa as L, bi as J, bj as W, aw as ye, aL as V, bk as Ie, ag as he, bl as U, bm as X, bn as Q, av as Re, aA as K, aB as I, bo as ee, bp as te, bq as Ee, br as x, aD as q, bs as Ne, bt as ge, aS as Me, bu as Oe, bf as ke, bv as De, aX as $e, aN as Fe } from "./Web3Auth-Zi4vzALJ.js";
|
|
2
2
|
function He(i, { from: e, to: t }, n = {}) {
|
|
3
3
|
const o = getComputedStyle(i), a = o.transform === "none" ? "" : o.transform, [f, l] = o.transformOrigin.split(" ").map(parseFloat), s = e.left + e.width * f / t.width - (t.left + f), r = e.top + e.height * l / t.height - (t.top + l), { delay: c = 0, duration: d = (u) => Math.sqrt(u) * 120, easing: v = ge } = n;
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as _l, g as Eh, a as xh } from "./index-
|
|
1
|
+
import { s as _l, g as Eh, a as xh } from "./index-B4ilnhZS.js";
|
|
2
2
|
import El from "i18next";
|
|
3
3
|
var ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function yo(e) {
|
|
@@ -19861,7 +19861,7 @@ const hg = (e) => hg(), U5 = (e) => {
|
|
|
19861
19861
|
const t = Zl(e, "bigint");
|
|
19862
19862
|
return dg(t);
|
|
19863
19863
|
}, Dx = (e) => Fu(e), Rc = (e, t) => t ? typeof t == "function" ? `Please <a href="#" onclick="${() => t()}">install</a> or enable to ${e} to continue` : `Please <a href="${t}" target="_blank">install</a> or enable to ${e} to continue` : `Please switch to ${e} to continue`, F5 = async (e) => {
|
|
19864
|
-
const t = await import("./index-
|
|
19864
|
+
const t = await import("./index-XgTFhms9.js"), { id: n, label: r, token: i, publicRpcUrl: o, blockExplorerUrl: a, rpcUrl: s } = e;
|
|
19865
19865
|
switch (n) {
|
|
19866
19866
|
case "0x89": {
|
|
19867
19867
|
const { polygon: l } = t;
|
|
@@ -19924,7 +19924,7 @@ const hg = (e) => hg(), U5 = (e) => {
|
|
|
19924
19924
|
return l;
|
|
19925
19925
|
}
|
|
19926
19926
|
default: {
|
|
19927
|
-
const { extractChain: l, defineChain: f } = await import("./index-
|
|
19927
|
+
const { extractChain: l, defineChain: f } = await import("./index-Cn-_BAwo.js"), u = l({
|
|
19928
19928
|
chains: Object.values(t),
|
|
19929
19929
|
id: Zl(n, "number")
|
|
19930
19930
|
});
|
|
@@ -23004,7 +23004,7 @@ const za = async (e, t) => {
|
|
|
23004
23004
|
const n = t.rpcUrl;
|
|
23005
23005
|
return !t.secondaryTokens || !t.secondaryTokens.length || !n ? [] : await Promise.all(t.secondaryTokens.map(async (i) => {
|
|
23006
23006
|
try {
|
|
23007
|
-
const { createPublicClient: o, http: a } = await import("./index-
|
|
23007
|
+
const { createPublicClient: o, http: a } = await import("./index-Cn-_BAwo.js"), s = await F5(t), l = o({
|
|
23008
23008
|
chain: s,
|
|
23009
23009
|
transport: a(t.providerConnectionInfo && t.providerConnectionInfo.url ? t.providerConnectionInfo.url : n)
|
|
23010
23010
|
}), f = {
|
|
@@ -23047,7 +23047,7 @@ async function U4(e) {
|
|
|
23047
23047
|
const t = await h_(e.id);
|
|
23048
23048
|
if (!t)
|
|
23049
23049
|
return null;
|
|
23050
|
-
const { createPublicClient: n, http: r } = await import("./index-
|
|
23050
|
+
const { createPublicClient: n, http: r } = await import("./index-Cn-_BAwo.js"), i = n({
|
|
23051
23051
|
chain: t,
|
|
23052
23052
|
transport: r()
|
|
23053
23053
|
});
|
|
@@ -28374,7 +28374,7 @@ function v7(e, t, n) {
|
|
|
28374
28374
|
bottomLeft: `
|
|
28375
28375
|
bottom: var(--${O}-position-bottom, 0);
|
|
28376
28376
|
left: var(--${O}-position-left, 0);`
|
|
28377
|
-
}), $ = f.enabled ? import("./Index-1e31d199-
|
|
28377
|
+
}), $ = f.enabled ? import("./Index-1e31d199-uzuBdtPJ.js").then((O) => O.default) : Promise.resolve(null), P = c.enabled ? import("./Index-6078f122-DLKGZ31_.js").then((O) => O.default) : Promise.resolve(null), L = f.enabled && y && y.accountCenter, x = (O, A, D, B) => {
|
|
28378
28378
|
const I = O.attachShadow({ mode: "open" });
|
|
28379
28379
|
let R = document.querySelector("onboard-v2").shadowRoot.styleSheets;
|
|
28380
28380
|
const W = new CSSStyleSheet();
|
|
@@ -28520,7 +28520,7 @@ function E7(e) {
|
|
|
28520
28520
|
return Bs;
|
|
28521
28521
|
}
|
|
28522
28522
|
const x7 = (e, t) => t || document.body && (getComputedStyle(document.body).getPropertyValue("--onboard-font-family-normal") || getComputedStyle(document.body).getPropertyValue("--w3o-font-family")) ? !0 : e ? !!(typeof e == "object" && e["--w3o-font-family"]) : !1, C7 = async () => {
|
|
28523
|
-
const { InterVar: e } = await import("./index-
|
|
28523
|
+
const { InterVar: e } = await import("./index-Cw8vH8KI.js"), t = document.createElement("style");
|
|
28524
28524
|
t.innerHTML = `
|
|
28525
28525
|
${e}
|
|
28526
28526
|
`, document.body.appendChild(t);
|
|
@@ -30530,7 +30530,7 @@ function cx() {
|
|
|
30530
30530
|
label: "Frontier",
|
|
30531
30531
|
getIcon: async () => (await import("./icon-C_O4nprO.js")).default,
|
|
30532
30532
|
getInterface: async () => {
|
|
30533
|
-
const { createEIP1193Provider: e } = await import("./index-
|
|
30533
|
+
const { createEIP1193Provider: e } = await import("./index-Cw8vH8KI.js"), t = window.hasOwnProperty("ethereum");
|
|
30534
30534
|
let n;
|
|
30535
30535
|
if (t && window.ethereum.isFrontier)
|
|
30536
30536
|
n = e(window.ethereum);
|
|
@@ -30791,7 +30791,7 @@ function mx({ supportedWalletType: e = "all", darkMode: t = !1, enableMobileWall
|
|
|
30791
30791
|
getIcon: async () => (await import("./icon-DbgmZCnU.js")).default,
|
|
30792
30792
|
getInterface: async ({ chains: i, appMetadata: o }) => {
|
|
30793
30793
|
(n || r || t) && console.warn("darkMode, enableMobileWalletLink and reloadOnDisconnect init props are deprecated after version 2.2.7 of @web3-onboard/coinbase");
|
|
30794
|
-
const { name: a, icon: s } = o || {}, { default: l } = await import("./index-
|
|
30794
|
+
const { name: a, icon: s } = o || {}, { default: l } = await import("./index-BrtZvnd0.js"), f = l.default ? l.default : l, { isHex: u, toHex: c, createEIP1193Provider: h, fromHex: d } = await import("./index-Cw8vH8KI.js"), g = `data:image/svg+xml;base64,${window.btoa(s || "")}`, y = i.map(({ id: $ }) => d($, "number")), m = new f({
|
|
30795
30795
|
appName: a || "",
|
|
30796
30796
|
appLogoUrl: g,
|
|
30797
30797
|
appChainIds: y
|
|
@@ -30826,7 +30826,7 @@ function bx(e) {
|
|
|
30826
30826
|
label: "Safe",
|
|
30827
30827
|
getIcon: async () => (await import("./icon-2Zqy7pqQ.js")).default,
|
|
30828
30828
|
getInterface: async () => {
|
|
30829
|
-
const { default: r } = await import("./index-
|
|
30829
|
+
const { default: r } = await import("./index-C8ynRf9-.js").then((h) => h.i), { SafeAppProvider: i } = await import("./index-Bu--mwXK.js").then((h) => h.i), { createEIP1193Provider: o } = await import("./index-Cw8vH8KI.js"), a = (
|
|
30830
30830
|
// @ts-ignore
|
|
30831
30831
|
r.default || r
|
|
30832
30832
|
), s = {
|