From 1f31ebc3cc4b116f4d762f974e803c7ef85ab51f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 24 Jun 2023 17:49:53 +0200 Subject: wallet-core: allow confirming peer-push-credit via txid --- packages/taler-util/src/wallet-types.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'packages/taler-util') diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index cff7637c6..233c95047 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -2409,8 +2409,12 @@ export const codecForCheckPeerPullPaymentRequest = export interface ConfirmPeerPushCreditRequest { /** * Transparent identifier of the incoming peer push payment. + * + * @deprecated specify transactionId instead! */ - peerPushPaymentIncomingId: string; + peerPushPaymentIncomingId?: string; + + transactionId?: string; } export interface AcceptPeerPushPaymentResponse { transactionId: TransactionIdStr; @@ -2424,6 +2428,7 @@ export const codecForConfirmPeerPushPaymentRequest = (): Codec => buildCodecForObject() .property("peerPushPaymentIncomingId", codecForString()) + .property("transactionId", codecForString()) .build("ConfirmPeerPushCreditRequest"); export interface ConfirmPeerPullDebitRequest { -- cgit v1.2.3