diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wxBackend.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wxBackend.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 57d4add1c..dfdb1b0d5 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -28,6 +28,7 @@ import { Logger, TalerErrorCode, WalletDiagnostics, + WalletNotification, getErrorDetailFromException, makeErrorDetail, setGlobalLogLevelFromString, @@ -342,8 +343,8 @@ async function reinitWallet(): Promise<void> { walletInit.reject(e); return; } - wallet.addNotificationListener((x) => { - const message: MessageFromBackend = { type: x.type }; + wallet.addNotificationListener((message) => { + logger.info("wallet -> ui", message); platform.sendMessageToAllChannels(message); }); |