@web3-react/metamask
Advanced tools
Comparing version 8.0.11-alpha.0 to 8.0.12-alpha.0
@@ -31,4 +31,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let cancelActivation; | ||
if (connectEagerly) { | ||
this.actions.startActivation(); | ||
cancelActivation = this.actions.startActivation(); | ||
} | ||
@@ -59,3 +60,3 @@ return import('@metamask/detect-provider') | ||
.then(([chainId, accounts]) => { | ||
if (accounts.length) { | ||
if (accounts === null || accounts === void 0 ? void 0 : accounts.length) { | ||
this.actions.update({ chainId: parseChainId(chainId), accounts }); | ||
@@ -69,3 +70,3 @@ } | ||
console.debug('Could not connect eagerly', error); | ||
this.actions.reset(); | ||
cancelActivation(); | ||
}); | ||
@@ -72,0 +73,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "8.0.11-alpha.0", | ||
"version": "8.0.12-alpha.0", | ||
"type": "module", | ||
@@ -24,5 +24,8 @@ "files": [ | ||
"@metamask/detect-provider": "^1.2.0", | ||
"@web3-react/types": "^8.0.11-alpha.0" | ||
"@web3-react/types": "^8.0.12-alpha.0" | ||
}, | ||
"gitHead": "49d36f79b370da852ce9c25dde73600615963498" | ||
"devDependencies": { | ||
"@web3-react/store": "^8.0.12-alpha.0" | ||
}, | ||
"gitHead": "4e6ecc3cc476e844046ee035bf8cf90b8df50d99" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40654
111
1