diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-peer.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer.ts b/packages/taler-wallet-core/src/operations/pay-peer.ts index ed4e57eea..ef2c19c33 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer.ts @@ -30,7 +30,7 @@ import { buildCodecForObject, PreparePeerPullDebitRequest, PreparePeerPullDebitResponse, - CheckPeerPushPaymentRequest, + PreparePeerPushCredit, CheckPeerPushPaymentResponse, Codec, codecForAmountString, @@ -387,7 +387,7 @@ export async function getTotalPeerPaymentCost( }); } -export async function preparePeerPushPayment( +export async function checkPeerPushDebit( ws: InternalWalletState, req: CheckPeerPushDebitRequest, ): Promise<CheckPeerPushDebitResponse> { @@ -622,7 +622,7 @@ export const codecForExchangePurseStatus = (): Codec<ExchangePurseStatus> => export async function preparePeerPushCredit( ws: InternalWalletState, - req: CheckPeerPushPaymentRequest, + req: PreparePeerPushCredit, ): Promise<CheckPeerPushPaymentResponse> { const uri = parsePayPushUri(req.talerUri); @@ -898,7 +898,7 @@ export async function processPeerPushCredit( }; } -export async function acceptPeerPushPayment( +export async function confirmPeerPushPayment( ws: InternalWalletState, req: ConfirmPeerPushCreditRequest, ): Promise<AcceptPeerPushPaymentResponse> { |