aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/transactions-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-11-16 10:42:05 +0100
committerFlorian Dold <florian@dold.me>2023-11-16 10:42:05 +0100
commitc5f63c097a6f7b07edfa7a481ac37ea45966d04a (patch)
treeef3f387f274b6f10e0f23160c3eb2900f64a262b /packages/taler-util/src/transactions-types.ts
parente4a1b373b018d7528828954ff8da96fe6b5f9728 (diff)
downloadwallet-core-c5f63c097a6f7b07edfa7a481ac37ea45966d04a.tar.xz
wallet-core: only hand out talerUri for push payments when the transaction is in the right state
Diffstat (limited to 'packages/taler-util/src/transactions-types.ts')
-rw-r--r--packages/taler-util/src/transactions-types.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts
index 88830d82b..3a7f4d541 100644
--- a/packages/taler-util/src/transactions-types.ts
+++ b/packages/taler-util/src/transactions-types.ts
@@ -406,8 +406,11 @@ export interface TransactionPeerPushDebit extends TransactionCommon {
/**
* URI to accept the payment.
+ *
+ * Only present if the transaction is in a state where the other party can
+ * accept the payment.
*/
- talerUri: string;
+ talerUri?: string;
}
/**