@springmicro/auth 0.7.16 → 0.7.20
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-BXGGyb0l.js} +48 -48
- package/dist/{Index-6078f122-CDowfR7U.js → Index-6078f122-DGZJdnAZ.js} +67 -67
- package/dist/{Web3Auth-C1gorwXx.js → Web3Auth-DG8Yz_cD.js} +5884 -5161
- package/dist/{ccip-c78d2f16-DUJGUJJo.js → ccip-c78d2f16-BfTJLflq.js} +2 -2
- package/dist/{hmac-CGR-aDxj.js → hmac-CW2mnXa8.js} +1 -1
- package/dist/{index-021f6a62-DBObZnNM.js → index-021f6a62-CxfpndDE.js} +32 -32
- package/dist/{index-40a497ea-BEwImqwN.js → index-40a497ea-BRLn4BDo.js} +3 -3
- package/dist/index-B51q7F_W.js +9742 -0
- package/dist/{index-cTAxNlZn.js → index-BXvsDp0W.js} +582 -584
- package/dist/{index-D0GY6Fny.js → index-BYJic99M.js} +1400 -1751
- package/dist/{index-DJiTRo2_.js → index-Bfb6JoQf.js} +9082 -8717
- package/dist/{index-BIEw47XG.js → index-C8R4klyg.js} +27 -27
- package/dist/{index-ClXLxv7Y.js → index-CBbDq4vF.js} +3310 -3294
- package/dist/{index-C2J9ZZ0N.js → index-DbQi7wFl.js} +26 -26
- package/dist/index-hDobpv7u.js +32 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +297 -298
- package/dist/native-FDN9oNjc.js +15 -0
- package/dist/{number-9K9sKV6s.js → number-DvQcSzeP.js} +556 -335
- package/dist/parseEther-C7cmMVOE.js +24 -0
- package/dist/{sha256-JJGtJ2gn.js → sha256-C90UGNQg.js} +8 -7
- package/dist/{transactionRequest-be6a8ea9-_q5BIZxq.js → transactionRequest-be6a8ea9-CCwC71wa.js} +9 -9
- package/package.json +4 -4
- package/src/components/SignUp.tsx +19 -19
- package/src/components/forms/CaptchaController.tsx +2 -2
- package/dist/index-BLh7Sl_6.js +0 -6151
- package/dist/index-bH4yLInF.js +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bL as T } from "./Web3Auth-DG8Yz_cD.js";
|
|
2
2
|
var tn = {}, h = {}, N = {}, b = T && T.__awaiter || function(e, d, t, i) {
|
|
3
3
|
function u(s) {
|
|
4
4
|
return s instanceof t ? s : new t(function(f) {
|
|
@@ -174,18 +174,18 @@ var Q;
|
|
|
174
174
|
(function(e) {
|
|
175
175
|
e.TRANSACTION = "TRANSACTION", e.LABEL = "LABEL", e.CONFLICT_HEADER = "CONFLICT_HEADER", e.DATE_LABEL = "DATE_LABEL";
|
|
176
176
|
})(Q || (r.TransactionListItemType = Q = {}));
|
|
177
|
-
var
|
|
177
|
+
var q;
|
|
178
178
|
(function(e) {
|
|
179
179
|
e.MULTISIG = "MULTISIG", e.MODULE = "MODULE";
|
|
180
|
-
})(
|
|
181
|
-
var
|
|
180
|
+
})(q || (r.DetailedExecutionInfoType = q = {}));
|
|
181
|
+
var m;
|
|
182
182
|
(function(e) {
|
|
183
183
|
e.AUTO = "AUTO", e.LIMIT_DURATION = "LIMIT_DURATION";
|
|
184
|
-
})(
|
|
185
|
-
var
|
|
184
|
+
})(m || (r.DurationType = m = {}));
|
|
185
|
+
var Y;
|
|
186
186
|
(function(e) {
|
|
187
187
|
e.AT_MINING_TIME = "AT_MINING_TIME", e.AT_EPOCH = "AT_EPOCH";
|
|
188
|
-
})(
|
|
188
|
+
})(Y || (r.StartTimeValue = Y = {}));
|
|
189
189
|
var J;
|
|
190
190
|
(function(e) {
|
|
191
191
|
e.Queued = "Queued", e.Next = "Next";
|
|
@@ -193,34 +193,34 @@ var J;
|
|
|
193
193
|
var I = {};
|
|
194
194
|
Object.defineProperty(I, "__esModule", { value: !0 });
|
|
195
195
|
I.FEATURES = I.GAS_PRICE_TYPE = I.RPC_AUTHENTICATION = void 0;
|
|
196
|
-
var
|
|
196
|
+
var z;
|
|
197
197
|
(function(e) {
|
|
198
198
|
e.API_KEY_PATH = "API_KEY_PATH", e.NO_AUTHENTICATION = "NO_AUTHENTICATION", e.UNKNOWN = "UNKNOWN";
|
|
199
|
-
})(
|
|
200
|
-
var
|
|
199
|
+
})(z || (I.RPC_AUTHENTICATION = z = {}));
|
|
200
|
+
var Z;
|
|
201
201
|
(function(e) {
|
|
202
202
|
e.ORACLE = "ORACLE", e.FIXED = "FIXED", e.FIXED_1559 = "FIXED1559", e.UNKNOWN = "UNKNOWN";
|
|
203
|
-
})(
|
|
204
|
-
var
|
|
203
|
+
})(Z || (I.GAS_PRICE_TYPE = Z = {}));
|
|
204
|
+
var k;
|
|
205
205
|
(function(e) {
|
|
206
206
|
e.ERC721 = "ERC721", e.SAFE_APPS = "SAFE_APPS", e.CONTRACT_INTERACTION = "CONTRACT_INTERACTION", e.DOMAIN_LOOKUP = "DOMAIN_LOOKUP", e.SPENDING_LIMIT = "SPENDING_LIMIT", e.EIP1559 = "EIP1559", e.SAFE_TX_GAS_OPTIONAL = "SAFE_TX_GAS_OPTIONAL", e.TX_SIMULATION = "TX_SIMULATION", e.EIP1271 = "EIP1271";
|
|
207
|
-
})(
|
|
207
|
+
})(k || (I.FEATURES = k = {}));
|
|
208
208
|
var L = {};
|
|
209
209
|
Object.defineProperty(L, "__esModule", { value: !0 });
|
|
210
210
|
L.TokenType = void 0;
|
|
211
|
-
var
|
|
211
|
+
var x;
|
|
212
212
|
(function(e) {
|
|
213
213
|
e.ERC20 = "ERC20", e.ERC721 = "ERC721", e.NATIVE_TOKEN = "NATIVE_TOKEN", e.UNKNOWN = "UNKNOWN";
|
|
214
|
-
})(
|
|
214
|
+
})(x || (L.TokenType = x = {}));
|
|
215
215
|
var se = {};
|
|
216
216
|
Object.defineProperty(se, "__esModule", { value: !0 });
|
|
217
217
|
var g = {};
|
|
218
218
|
Object.defineProperty(g, "__esModule", { value: !0 });
|
|
219
219
|
g.NativeStakingStatus = g.ConfirmationViewTypes = void 0;
|
|
220
|
-
var
|
|
220
|
+
var $;
|
|
221
221
|
(function(e) {
|
|
222
222
|
e.GENERIC = "GENERIC", e.COW_SWAP_ORDER = "COW_SWAP_ORDER", e.COW_SWAP_TWAP_ORDER = "COW_SWAP_TWAP_ORDER", e.KILN_NATIVE_STAKING_DEPOSIT = "KILN_NATIVE_STAKING_DEPOSIT", e.KILN_NATIVE_STAKING_VALIDATORS_EXIT = "KILN_NATIVE_STAKING_VALIDATORS_EXIT", e.KILN_NATIVE_STAKING_WITHDRAW = "KILN_NATIVE_STAKING_WITHDRAW";
|
|
223
|
-
})(
|
|
223
|
+
})($ || (g.ConfirmationViewTypes = $ = {}));
|
|
224
224
|
var ee;
|
|
225
225
|
(function(e) {
|
|
226
226
|
e.NOT_STAKED = "NOT_STAKED", e.ACTIVATING = "ACTIVATING", e.DEPOSIT_IN_PROGRESS = "DEPOSIT_IN_PROGRESS", e.ACTIVE = "ACTIVE", e.EXIT_REQUESTED = "EXIT_REQUESTED", e.EXITING = "EXITING", e.EXITED = "EXITED", e.SLASHED = "SLASHED";
|
|
@@ -257,7 +257,7 @@ Object.defineProperty(ce, "__esModule", { value: !0 });
|
|
|
257
257
|
}), t = T && T.__exportStar || function(n, a) {
|
|
258
258
|
for (var c in n) c !== "default" && !Object.prototype.hasOwnProperty.call(a, c) && d(a, n, c);
|
|
259
259
|
};
|
|
260
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.setBaseUrl = void 0, e.relayTransaction = O, e.getRelayCount = P, e.getSafeInfo = S, e.getIncomingTransfers = l, e.getModuleTransactions = D, e.getMultisigTransactions = oe, e.getBalances = de, e.getFiatCurrencies = re, e.getOwnedSafes = ue, e.getAllOwnedSafes = Ee, e.getCollectibles = fe, e.getCollectiblesPage = le, e.getTransactionHistory = _e, e.getTransactionQueue = Ie, e.getTransactionDetails = Ae, e.deleteTransaction = Te, e.postSafeGasEstimation = ge, e.getNonces = ve, e.proposeTransaction = he, e.getConfirmationView = Ne, e.getTxPreview = Oe, e.getChainsConfig = Se, e.getChainConfig = De, e.getSafeApps = Ce, e.getMasterCopies = pe, e.getDecodedData = Re, e.getSafeMessages = Le, e.getSafeMessage = Me, e.proposeSafeMessage = Pe, e.confirmSafeMessage = ye, e.getDelegates = be, e.registerDevice = Ge, e.unregisterSafe = Ue, e.unregisterDevice = We, e.registerEmail = He, e.changeEmail = Ke, e.resendEmailVerificationCode = je, e.verifyEmail = Ve, e.getRegisteredEmail = we, e.deleteRegisteredEmail = Be, e.registerRecoveryModule = Fe, e.unsubscribeSingle = Xe, e.unsubscribeAll = Qe, e.getSafeOverviews =
|
|
260
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.setBaseUrl = void 0, e.relayTransaction = O, e.getRelayCount = P, e.getSafeInfo = S, e.getIncomingTransfers = l, e.getModuleTransactions = D, e.getMultisigTransactions = oe, e.getBalances = de, e.getFiatCurrencies = re, e.getOwnedSafes = ue, e.getAllOwnedSafes = Ee, e.getCollectibles = fe, e.getCollectiblesPage = le, e.getTransactionHistory = _e, e.getTransactionQueue = Ie, e.getTransactionDetails = Ae, e.deleteTransaction = Te, e.postSafeGasEstimation = ge, e.getNonces = ve, e.proposeTransaction = he, e.getConfirmationView = Ne, e.getTxPreview = Oe, e.getChainsConfig = Se, e.getChainConfig = De, e.getSafeApps = Ce, e.getMasterCopies = pe, e.getDecodedData = Re, e.getSafeMessages = Le, e.getSafeMessage = Me, e.proposeSafeMessage = Pe, e.confirmSafeMessage = ye, e.getDelegates = be, e.registerDevice = Ge, e.unregisterSafe = Ue, e.unregisterDevice = We, e.registerEmail = He, e.changeEmail = Ke, e.resendEmailVerificationCode = je, e.verifyEmail = Ve, e.getRegisteredEmail = we, e.deleteRegisteredEmail = Be, e.registerRecoveryModule = Fe, e.unsubscribeSingle = Xe, e.unsubscribeAll = Qe, e.getSafeOverviews = qe, e.getContract = me, e.getAuthNonce = Ye, e.verifyAuth = Je, e.createAccount = ze, e.getAccount = Ze, e.deleteAccount = ke, e.getAccountDataTypes = xe, e.getAccountDataSettings = $e, e.putAccountDataSettings = en, e.getIndexingStatus = nn;
|
|
261
261
|
const i = h, u = p;
|
|
262
262
|
t(R, e), t(_, e), t(r, e), t(I, e), t(L, e), t(se, e), t(g, e), t(v, e), t(M, e), t(ce, e);
|
|
263
263
|
let s = u.DEFAULT_BASE_URL;
|
|
@@ -480,12 +480,12 @@ Object.defineProperty(ce, "__esModule", { value: !0 });
|
|
|
480
480
|
function Qe(n) {
|
|
481
481
|
return (0, i.deleteEndpoint)(s, "/v1/subscriptions/all", { query: n });
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function qe(n, a) {
|
|
484
484
|
return (0, i.getEndpoint)(s, "/v1/safes", {
|
|
485
485
|
query: Object.assign(Object.assign({}, a), { safes: n.join(",") })
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function me(n, a) {
|
|
489
489
|
return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/contracts/{contractAddress}", {
|
|
490
490
|
path: {
|
|
491
491
|
chainId: n,
|
|
@@ -493,7 +493,7 @@ Object.defineProperty(ce, "__esModule", { value: !0 });
|
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function Ye() {
|
|
497
497
|
return (0, i.getEndpoint)(s, "/v1/auth/nonce", { credentials: "include" });
|
|
498
498
|
}
|
|
499
499
|
function Je(n) {
|
|
@@ -502,28 +502,28 @@ Object.defineProperty(ce, "__esModule", { value: !0 });
|
|
|
502
502
|
credentials: "include"
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function ze(n) {
|
|
506
506
|
return (0, i.postEndpoint)(s, "/v1/accounts", {
|
|
507
507
|
body: n,
|
|
508
508
|
credentials: "include"
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function Ze(n) {
|
|
512
512
|
return (0, i.getEndpoint)(s, "/v1/accounts/{address}", {
|
|
513
513
|
path: { address: n },
|
|
514
514
|
credentials: "include"
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function ke(n) {
|
|
518
518
|
return (0, i.deleteEndpoint)(s, "/v1/accounts/{address}", {
|
|
519
519
|
path: { address: n },
|
|
520
520
|
credentials: "include"
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function xe() {
|
|
524
524
|
return (0, i.getEndpoint)(s, "/v1/accounts/data-types");
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function $e(n) {
|
|
527
527
|
return (0, i.getEndpoint)(s, "/v1/accounts/{address}/data-settings", {
|
|
528
528
|
path: { address: n },
|
|
529
529
|
credentials: "include"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { by as r, E as e, i as o, q as s } from "./Web3Auth-DG8Yz_cD.js";
|
|
2
|
+
import { bz as f, b3 as b, bs as d, bA as m, bB as c, bC as l, bD as p, bE as h, bF as I, bG as x, bH as E, bI as w } from "./Web3Auth-DG8Yz_cD.js";
|
|
3
|
+
import { a as V } from "./parseEther-C7cmMVOE.js";
|
|
4
|
+
const t = `
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: 'Inter';
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 300 600;
|
|
9
|
+
font-display: swap;
|
|
10
|
+
src: url("https://rsms.me/inter/font-files/InterVariable.woff2") format("woff2-variations");
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
export {
|
|
14
|
+
t as InterVar,
|
|
15
|
+
f as ProviderRpcError,
|
|
16
|
+
b as ProviderRpcErrorCode,
|
|
17
|
+
d as bigIntToHex,
|
|
18
|
+
m as chainIdToViemImport,
|
|
19
|
+
c as chainIdValidation,
|
|
20
|
+
l as chainNamespaceValidation,
|
|
21
|
+
p as chainValidation,
|
|
22
|
+
h as createDownloadMessage,
|
|
23
|
+
r as createEIP1193Provider,
|
|
24
|
+
e as fromHex,
|
|
25
|
+
I as isAddress,
|
|
26
|
+
o as isHex,
|
|
27
|
+
V as parseEther,
|
|
28
|
+
s as toHex,
|
|
29
|
+
x as validate,
|
|
30
|
+
E as weiHexToEth,
|
|
31
|
+
w as weiToEth
|
|
32
|
+
};
|
package/dist/index.js
CHANGED