From 6ee0354940c09d1065c3b3b7bf08e41fd6014268 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 8 Mar 2022 23:09:20 +0100 Subject: wallet: improve retry handling for payments, update error codes --- packages/taler-wallet-core/src/db.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'packages/taler-wallet-core/src/db.ts') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 52fc94b8d..ac28d0979 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -751,27 +751,27 @@ export enum ProposalStatus { /** * Not downloaded yet. */ - DOWNLOADING = "downloading", + Downloading = "downloading", /** * Proposal downloaded, but the user needs to accept/reject it. */ - PROPOSED = "proposed", + Proposed = "proposed", /** * The user has accepted the proposal. */ - ACCEPTED = "accepted", + Accepted = "accepted", /** * The user has rejected the proposal. */ - REFUSED = "refused", + Refused = "refused", /** * Downloading or processing the proposal has failed permanently. */ - PERMANENTLY_FAILED = "permanently-failed", + PermanentlyFailed = "permanently-failed", /** * Downloaded proposal was detected as a re-purchase. */ - REPURCHASE = "repurchase", + Repurchase = "repurchase", } export interface ProposalDownload { @@ -831,7 +831,7 @@ export interface ProposalRecord { /** * Retry info, even present when the operation isn't active to allow indexing * on the next retry timestamp. - * + * * FIXME: Clarify what we even retry. */ retryInfo?: RetryInfo; -- cgit v1.2.3