@privy-io/react-auth 1.3.0-beta.5 → 1.3.0-beta.7
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -173,6 +173,7 @@ var PRIVY_AUTH_URL = process.env.NEXT_PUBLIC_PRIVY_AUTH_URL || "https://auth.pri
|
|
|
173
173
|
var PRIVY_INFURA_ID = "70f97dc579834350a5baec117b3c5ae3";
|
|
174
174
|
var DEFAULT_TIMEOUT_MS = 1e4;
|
|
175
175
|
var DEFAULT_SUCCESS_SCREEN_DURATION_MS = 1200;
|
|
176
|
+
var DEFAULT_WALLET_TIMEOUT_MS = 3e4;
|
|
176
177
|
|
|
177
178
|
// src/token.ts
|
|
178
179
|
var import_jwt_decode = __toESM(require("jwt-decode"));
|
|
@@ -568,7 +569,6 @@ var SUPPORTED_WALLET_TYPES = ["metamask", "coinbase_wallet", "wallet_connect"];
|
|
|
568
569
|
|
|
569
570
|
// src/connector.ts
|
|
570
571
|
var WALLET_TYPE_STORAGE_KEY = "privy:wallet_type";
|
|
571
|
-
var DEFAULT_WALLET_TIMEOUT_MS = 1e4;
|
|
572
572
|
var walletTimeout = (error = new WalletTimeoutError(), timeoutMs = DEFAULT_WALLET_TIMEOUT_MS) => new Promise(
|
|
573
573
|
(_, reject) => setTimeout(() => {
|
|
574
574
|
reject(error);
|