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

12 lines
301 B
JavaScript
Raw Permalink Normal View History

2020-01-10 20:09:40 -05: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;
}