From 803d1bf7a7aa6b38771510b0d762d40c5487422b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 20 Feb 2023 01:44:28 +0100 Subject: wallet-core: rename ops with support for old names --- packages/taler-wallet-core/src/operations/pay-peer.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-wallet-core/src/operations') 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 { @@ -622,7 +622,7 @@ export const codecForExchangePurseStatus = (): Codec => export async function preparePeerPushCredit( ws: InternalWalletState, - req: CheckPeerPushPaymentRequest, + req: PreparePeerPushCredit, ): Promise { 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 { -- cgit v1.2.3