aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/wallet-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-14 22:47:11 +0200
committerFlorian Dold <florian@dold.me>2022-10-14 22:47:11 +0200
commit0c8e56c32457ea9b9229a8a3607fcf8e7618bc17 (patch)
treed0b4bbe4e199d62426e722b803fdfa178cd6f3a0 /packages/taler-util/src/wallet-types.ts
parenteec6695be0409669fcad36c6cc7ea01f48d41c97 (diff)
downloadwallet-core-0c8e56c32457ea9b9229a8a3607fcf8e7618bc17.tar.xz
wallet-core: properly separate different types of IDs
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r--packages/taler-util/src/wallet-types.ts6
1 files changed, 4 insertions, 2 deletions
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.