summaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-08 22:52:53 +0200
committerFlorian Dold <florian@dold.me>2024-04-08 22:52:53 +0200
commitca60e97755d91d73b4f5fc3992ddb2db524cd5f2 (patch)
tree735fbdf759489191e97bfb38918a8ec0b5fb39bd /packages/taler-util
parent18b77088bfc8699dfff64b70bb65b915f08d0fb6 (diff)
downloadwallet-core-ca60e97755d91d73b4f5fc3992ddb2db524cd5f2.tar.gz
wallet-core-ca60e97755d91d73b4f5fc3992ddb2db524cd5f2.tar.bz2
wallet-core-ca60e97755d91d73b4f5fc3992ddb2db524cd5f2.zip
wallet-core: fix cancellation
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/notifications.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts
index 7ef474754..1c6ca4b85 100644
--- a/packages/taler-util/src/notifications.ts
+++ b/packages/taler-util/src/notifications.ts
@@ -129,6 +129,7 @@ export enum ObservabilityEventType {
CryptoStart = "crypto-start",
CryptoFinishSuccess = "crypto-finish-success",
CryptoFinishError = "crypto-finish-error",
+ Message = "message",
}
export type ObservabilityEvent =
@@ -208,6 +209,10 @@ export type ObservabilityEvent =
| {
type: ObservabilityEventType.ShepherdTaskResult;
resultType: string;
+ }
+ | {
+ type: ObservabilityEventType.Message;
+ contents: string;
};
export interface BackupOperationErrorNotification {