@cosmos-kit/cosmostation-extension
Version:
cosmos-kit wallet connector
29 lines (28 loc) • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.cosmostationExtensionInfo = void 0;
const constant_1 = require("../constant");
exports.cosmostationExtensionInfo = {
name: 'cosmostation-extension',
prettyName: 'Cosmostation',
logo: constant_1.ICON,
mode: 'extension',
downloads: [
{
device: 'desktop',
browser: 'chrome',
link: 'https://chrome.google.com/webstore/detail/cosmostation/fpkhgmpbidmiogeglndfbkegfdlnajnf?hl=en',
},
{
link: 'https://cosmostation.io/wallet/#extension',
},
],
mobileDisabled: () => !('cosmostation' in window || /Cosmostation/i.test(navigator.userAgent)),
rejectMessage: {
source: 'The requested account and/or method has not been authorized by the user.',
// target:
// 'The requested account and/or method has not been authorized by the user. \n Open Extension/App to authorize this site before retrying.',
},
rejectCode: 4001,
connectEventNamesOnWindow: ['cosmostation_keystorechange'],
};