taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 2ec3f4a5d5107a49f000ecb4245996bdfaf0a212
parent 425ea0fbca5a954fc9f9c13e7b19d72aed7efe25
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon,  9 Aug 2021 10:40:17 -0300

initialization for webextension

Diffstat:
Mpackages/taler-wallet-webextension/src/wxBackend.ts | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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 {