taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 1e54e70ec3d9aeebcd0f7d987ea0d0ec439df52e
parent 932eb10ea30691e6b14056ac06af1f92ac5c3bd9
Author: Sebastian <sebasjm@gmail.com>
Date:   Tue,  3 Jan 2023 12:22:00 -0300

sync p2p types

Diffstat:
Mwallet/wallet-core.md | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/wallet/wallet-core.md b/wallet/wallet-core.md @@ -1470,7 +1470,7 @@ export type InitiatePeerPushPaymentOp = { ``` ```typescript export interface InitiatePeerPushPaymentRequest { - amount: AmountString; + exchangeBaseUrl?: string; partialContractTerms: PeerContractTerms; } @@ -1520,7 +1520,7 @@ export interface CheckPeerPushPaymentRequest { ``` ```typescript export interface CheckPeerPushPaymentResponse { - contractTerms: any; + contractTerms: PeerContractTerms; amount: AmountString; peerPushPaymentIncomingId: string; } @@ -1569,8 +1569,7 @@ export interface InitiatePeerPullPaymentRequest { * FIXME: Make this optional? */ exchangeBaseUrl: string; - amount: AmountString; - partialContractTerms: any; + partialContractTerms: PeerContractTerms; } ``` @@ -1607,7 +1606,7 @@ export interface CheckPeerPullPaymentRequest { ``` ```typescript export interface CheckPeerPullPaymentResponse { - contractTerms: any; + contractTerms: PeerContractTerms; amount: AmountString; peerPullPaymentIncomingId: string; }