diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-09 10:40:17 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-09 10:41:02 -0300 |
commit | 2ec3f4a5d5107a49f000ecb4245996bdfaf0a212 (patch) | |
tree | 230ba9d63a76a37905eebe8ab03cf4a3242bdce1 | |
parent | 425ea0fbca5a954fc9f9c13e7b19d72aed7efe25 (diff) | |
download | wallet-core-2ec3f4a5d5107a49f000ecb4245996bdfaf0a212.tar.xz |
initialization for webextension
-rw-r--r-- | packages/taler-wallet-webextension/src/wxBackend.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 08c9757f3..8bbfc0c1d 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -34,6 +34,7 @@ import { DbAccess, WalletStoresV1, Wallet, + WalletApiOperation, } from "@gnu-taler/taler-wallet-core"; import { classifyTalerUri, @@ -260,6 +261,7 @@ async function reinitWallet(): Promise<void> { http, new BrowserCryptoWorkerFactory(), ); + await wallet.handleCoreApiRequest("initWallet", "native-init", {}); wallet.addNotificationListener((x) => { for (const x of notificationPorts) { try { |