diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-20 11:18:37 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-20 11:18:55 -0300 |
commit | 773712419e7663f62a3c529b7743dd6964f0879a (patch) | |
tree | d3f43b0283e63bfd09abccb297d0e03d9eb69858 /packages/taler-wallet-webextension/src/platform/api.ts | |
parent | e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4 (diff) | |
download | wallet-core-773712419e7663f62a3c529b7743dd6964f0879a.tar.xz |
log notification from wallet
Diffstat (limited to 'packages/taler-wallet-webextension/src/platform/api.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/platform/api.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/platform/api.ts b/packages/taler-wallet-webextension/src/platform/api.ts index 49108fa63..2537b16c2 100644 --- a/packages/taler-wallet-webextension/src/platform/api.ts +++ b/packages/taler-wallet-webextension/src/platform/api.ts @@ -18,6 +18,7 @@ import { CoreApiResponse, NotificationType, TalerUri, + WalletNotification, } from "@gnu-taler/taler-util"; import { WalletConfig, @@ -60,9 +61,7 @@ export interface CrossBrowserPermissionsApi { ): void; } -export type MessageFromBackend = { - type: NotificationType; -}; +export type MessageFromBackend = WalletNotification; export type MessageFromFrontend< Op extends BackgroundOperations | WalletOperations | ExtensionOperations, |