From f8d12f7b0d4af1b1769b89e80c87f9c169678564 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 18 Mar 2022 15:32:41 +0100 Subject: wallet: t_s/d_us migration --- packages/taler-wallet-core/src/pending-types.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'packages/taler-wallet-core/src/pending-types.ts') diff --git a/packages/taler-wallet-core/src/pending-types.ts b/packages/taler-wallet-core/src/pending-types.ts index 911d0d8bd..4b1434bb5 100644 --- a/packages/taler-wallet-core/src/pending-types.ts +++ b/packages/taler-wallet-core/src/pending-types.ts @@ -27,7 +27,8 @@ import { TalerErrorDetails, BalancesResponse, - Timestamp, + AbsoluteTime, + TalerProtocolTimestamp, } from "@gnu-taler/taler-util"; import { ReserveRecordStatus } from "./db.js"; import { RetryInfo } from "./util/retries.js"; @@ -112,7 +113,7 @@ export interface PendingReserveTask { type: PendingTaskType.Reserve; retryInfo: RetryInfo | undefined; stage: ReserveRecordStatus; - timestampCreated: Timestamp; + timestampCreated: TalerProtocolTimestamp; reserveType: ReserveType; reservePub: string; bankWithdrawConfirmUrl?: string; @@ -135,7 +136,7 @@ export interface PendingRefreshTask { export interface PendingProposalDownloadTask { type: PendingTaskType.ProposalDownload; merchantBaseUrl: string; - proposalTimestamp: Timestamp; + proposalTimestamp: TalerProtocolTimestamp; proposalId: string; orderId: string; lastError?: TalerErrorDetails; @@ -149,7 +150,7 @@ export interface PendingProposalDownloadTask { export interface PendingProposalChoiceOperation { type: PendingTaskType.ProposalChoice; merchantBaseUrl: string; - proposalTimestamp: Timestamp; + proposalTimestamp: AbsoluteTime; proposalId: string; } @@ -231,7 +232,7 @@ export interface PendingTaskInfoCommon { /** * Timestamp when the pending operation should be executed next. */ - timestampDue: Timestamp; + timestampDue: AbsoluteTime; /** * Retry info. Currently used to stop the wallet after any operation -- cgit v1.2.3