"use strict";
var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.metaMaskHooks = exports.metaMask = void 0;
var core_1 = require("@web3-react/core");
var metamask_1 = require("@web3-react/metamask");
exports.metaMask = (_a = __read((0, core_1.initializeConnector)(function (actions) { return new metamask_1.MetaMask({ actions: actions }); }), 2), _a[0]), exports.metaMaskHooks = _a[1];
//# sourceMappingURL=metamask.js.map