diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-16 21:10:57 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-16 21:10:57 +0100 |
commit | fb6508de9d71600dbca59cb0e6a4c77e4f3f3ee5 (patch) | |
tree | 8f1e9e50574ee6d9f561cb93d2ea29663943672d /src/types/notifications.ts | |
parent | c2ee8fd9ab6754275d7423152681236a46cf36a9 (diff) | |
download | wallet-core-fb6508de9d71600dbca59cb0e6a4c77e4f3f3ee5.tar.xz |
finish refresh correctly, display fees correctly
Diffstat (limited to 'src/types/notifications.ts')
-rw-r--r-- | src/types/notifications.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/types/notifications.ts b/src/types/notifications.ts index c64d33bfb..30ede151c 100644 --- a/src/types/notifications.ts +++ b/src/types/notifications.ts @@ -1,3 +1,5 @@ +import { OperationError } from "./walletTypes"; + /* This file is part of GNU Taler (C) 2019 GNUnet e.V. @@ -29,7 +31,7 @@ export const enum NotificationType { RefreshRevealed = "refresh-revealed", RefreshMelted = "refresh-melted", RefreshStarted = "refresh-started", - RefreshRefused = "refresh-refused", + RefreshUnwarranted = "refresh-unwarranted", ReserveUpdated = "reserve-updated", ReserveConfirmed = "reserve-confirmed", ReserveDepleted = "reserve-depleted", @@ -100,7 +102,7 @@ export interface RefreshStartedNotification { } export interface RefreshRefusedNotification { - type: NotificationType.RefreshRefused; + type: NotificationType.RefreshUnwarranted; } export interface ReserveUpdatedNotification { @@ -170,6 +172,7 @@ export interface WithdrawOperationErrorNotification { export interface ReserveOperationErrorNotification { type: NotificationType.ReserveOperationError; + operationError: OperationError; } export interface ReserveCreatedNotification { |