ethers.js/packages/hardware-wallets/lib/browser-ethers.js

12 lines
301 B
JavaScript
Raw Normal View History

2020-01-11 04:09:40 +03:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ethers = {};
exports.ethers = ethers;
var w = window;
if (w._ethers == null) {
console.log("WARNING: @ethersproject/hardware-wallet requires ethers loaded first");
}
else {
exports.ethers = ethers = w._ethers;
}