diff options
author | Florian Dold <florian@dold.me> | 2022-10-14 22:47:11 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-14 22:47:11 +0200 |
commit | 0c8e56c32457ea9b9229a8a3607fcf8e7618bc17 (patch) | |
tree | d0b4bbe4e199d62426e722b803fdfa178cd6f3a0 /packages/taler-util | |
parent | eec6695be0409669fcad36c6cc7ea01f48d41c97 (diff) |
wallet-core: properly separate different types of IDs
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 6 |
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. |