diff --git a/wallets/keplr/src/KeplrWallet.ts b/wallets/keplr/src/KeplrWallet.ts index b6e47aba1..6f23cb3d1 100644 --- a/wallets/keplr/src/KeplrWallet.ts +++ b/wallets/keplr/src/KeplrWallet.ts @@ -4,9 +4,26 @@ export type Keplr = 'keplr' export class KeplrWallet { seedPhrase = '' wallet: Keplr = 'keplr' - - constructor(readonly page: Page) { + retries: number + browser: any + mainWindow: any + keplrWindow: any + keplrNotification: any + activeTabName: string + extensionData: any + + + constructor( + readonly page: Page + ) { this.page = page + this.browser = undefined + this.mainWindow = undefined + this.keplrWindow = undefined + this.keplrNotification = undefined + this.activeTabName = undefined + this.extensionData = undefined + this.retries = 0 } /** diff --git a/wallets/keplr/src/utils/constants.ts b/wallets/keplr/src/utils/constants.ts new file mode 100644 index 000000000..790974a42 --- /dev/null +++ b/wallets/keplr/src/utils/constants.ts @@ -0,0 +1,5 @@ +export const SEED_PHRASE = 'seed phrase' +export const PASSWORD = 'password' +export const NO_CONTEXT = 'No context found' +export const NO_PAGE = 'No page found' +export const MISSING_INIT = 'Keplr not initialized' \ No newline at end of file