@openocean.finance/wallet 1.6.7 → 1.6.9
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.
|
@@ -102,7 +102,7 @@ var ZerionWallet = /** @class */ (function (_super) {
|
|
|
102
102
|
return __generator(this, function (_a) {
|
|
103
103
|
switch (_a.label) {
|
|
104
104
|
case 0:
|
|
105
|
-
if (!
|
|
105
|
+
if (!window.ethereum || !window.ethereum.hasOwnProperty('isZerion')) {
|
|
106
106
|
throw new Error(types_1.EnumErrors.NotZerion);
|
|
107
107
|
}
|
|
108
108
|
this.sdk = new web3_1.default(window.ethereum);
|