diff options
author | Florian Dold <florian@dold.me> | 2023-06-24 17:49:53 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-24 17:49:53 +0200 |
commit | 1f31ebc3cc4b116f4d762f974e803c7ef85ab51f (patch) | |
tree | 4f67a83803c21bec53fe1728cb5733c03bc43e8a /packages/taler-util | |
parent | 4f30506dcacc587586381b1a8fa20c5442784e41 (diff) | |
download | wallet-core-1f31ebc3cc4b116f4d762f974e803c7ef85ab51f.tar.xz |
wallet-core: allow confirming peer-push-credit via txid
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 7 |
1 files changed, 6 insertions, 1 deletions
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<ConfirmPeerPushCreditRequest> => buildCodecForObject<ConfirmPeerPushCreditRequest>() .property("peerPushPaymentIncomingId", codecForString()) + .property("transactionId", codecForString()) .build("ConfirmPeerPushCreditRequest"); export interface ConfirmPeerPullDebitRequest { |