From 0c8e56c32457ea9b9229a8a3607fcf8e7618bc17 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 14 Oct 2022 22:47:11 +0200 Subject: wallet-core: properly separate different types of IDs --- packages/taler-util/src/wallet-types.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/taler-util/src/wallet-types.ts') diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index cd6c2202e..d4de53972 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -73,12 +73,14 @@ import { VersionMatchResult } from "./libtool-version.js"; /** * Identifier for a transaction in the wallet. */ -export type TransactionIdStr = `tx:${string}:${string}`; +export type TransactionIdStr = `txn:${string}:${string}`; /** * Identifier for a pending task in the wallet. */ -export type PendingIdStr = `pd:${string}:string`; +export type PendingIdStr = `pnd:${string}:${string}`; + +export type TombstoneIdStr = `tmb:${string}:${string}`; /** * Response for the create reserve request to the wallet. -- cgit v1.2.3