"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConnectorName = void 0;
var metamask_1 = require("@web3-react/metamask");
var walletconnect_v2_1 = require("@web3-react/walletconnect-v2");
var walletconnect_1 = require("@web3-react/walletconnect");
function getConnectorName(connector) {
    if (connector instanceof metamask_1.MetaMask)
        return 'MetaMask';
    if (connector instanceof walletconnect_1.WalletConnect)
        return 'WalletConnect';
    if (connector instanceof walletconnect_v2_1.WalletConnect)
        return 'WalletConnectV2';
    return 'Unknown';
}
exports.getConnectorName = getConnectorName;
//# sourceMappingURL=getConnectorName.js.map