commit f530efac981a2c62d0607cbedc54cf1624a943ff
parent 27d6cd6bbb66bc9d71166e5734b4455c453a5daa
Author: Sebastian <sebasjm@gmail.com>
Date: Tue, 22 Apr 2025 15:05:52 -0300
exchange v25
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/packages/taler-util/src/types-taler-exchange.ts b/packages/taler-util/src/types-taler-exchange.ts
@@ -1975,6 +1975,10 @@ export interface AmlDecision {
// Identifies a GNU Taler wallet or an affected bank account.
h_payto: PaytoHash;
+ // True if the underlying payto://-URI is for a wallet
+ // Since protocol **v25**.
+ is_wallet: boolean;
+
// Row ID of the record. Used to filter by offset.
rowid: Integer;
@@ -2529,6 +2533,7 @@ export const codecForAmlDecision = (): Codec<AmlDecision> =>
buildCodecForObject<AmlDecision>()
.property("h_payto", codecForString())
.property("rowid", codecForNumber())
+ .property("is_wallet", codecForBoolean())
.property("justification", codecOptional(codecForString()))
.property("decision_time", codecForTimestamp)
.property("properties", codecOptional(codecForAccountProperties()))