From 2ec3f4a5d5107a49f000ecb4245996bdfaf0a212 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 9 Aug 2021 10:40:17 -0300 Subject: [PATCH] initialization for webextension --- packages/taler-wallet-webextension/src/wxBackend.ts | 2 ++ 1 file changed, 2 insertions(+) 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 { http, new BrowserCryptoWorkerFactory(), ); + await wallet.handleCoreApiRequest("initWallet", "native-init", {}); wallet.addNotificationListener((x) => { for (const x of notificationPorts) { try {