diff options
author | Florian Dold <florian@dold.me> | 2022-03-18 15:32:41 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-21 19:20:48 +0100 |
commit | f8d12f7b0d4af1b1769b89e80c87f9c169678564 (patch) | |
tree | 2478696c7bc1efc6d090b93aa340de542a7dccd9 /packages/taler-util/src/walletTypes.ts | |
parent | 32cd54e11d80bde0274b3c0238f8f5bd00ff83cb (diff) | |
download | wallet-core-f8d12f7b0d4af1b1769b89e80c87f9c169678564.tar.gz wallet-core-f8d12f7b0d4af1b1769b89e80c87f9c169678564.tar.bz2 wallet-core-f8d12f7b0d4af1b1769b89e80c87f9c169678564.zip |
wallet: t_s/d_us migration
Diffstat (limited to 'packages/taler-util/src/walletTypes.ts')
-rw-r--r-- | packages/taler-util/src/walletTypes.ts | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts index 9a3f1f8f8..3c4fa96c7 100644 --- a/packages/taler-util/src/walletTypes.ts +++ b/packages/taler-util/src/walletTypes.ts @@ -32,7 +32,11 @@ import { codecForAmountJson, codecForAmountString, } from "./amounts.js"; -import { Timestamp, codecForTimestamp } from "./time.js"; +import { + AbsoluteTime, + codecForTimestamp, + TalerProtocolTimestamp, +} from "./time.js"; import { buildCodecForObject, codecForString, @@ -299,7 +303,7 @@ export interface PrepareTipResult { * Time when the tip will expire. After it expired, it can't be picked * up anymore. */ - expirationTimestamp: Timestamp; + expirationTimestamp: TalerProtocolTimestamp; } export const codecForPrepareTipResult = (): Codec<PrepareTipResult> => @@ -460,7 +464,7 @@ export interface TalerErrorDetails { /** * Minimal information needed about a planchet for unblinding a signature. - * + * * Can be a withdrawal/tipping/refresh planchet. */ export interface PlanchetUnblindInfo { @@ -527,8 +531,8 @@ export interface DepositInfo { coinPub: string; coinPriv: string; spendAmount: AmountJson; - timestamp: Timestamp; - refundDeadline: Timestamp; + timestamp: TalerProtocolTimestamp; + refundDeadline: TalerProtocolTimestamp; merchantPub: string; feeDeposit: AmountJson; wireInfoHash: string; |