aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-20 01:44:28 +0100
committerFlorian Dold <florian@dold.me>2023-02-20 01:44:28 +0100
commit803d1bf7a7aa6b38771510b0d762d40c5487422b (patch)
tree3020bc28cc7f95e32fc1fcb5fd5f5706220c195f /packages/taler-wallet-core/src/operations
parentfddc6eb4f21e7b85f089d5bf532580c3da874d54 (diff)
downloadwallet-core-803d1bf7a7aa6b38771510b0d762d40c5487422b.tar.xz
wallet-core: rename ops with support for old names
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r--packages/taler-wallet-core/src/operations/pay-peer.ts8
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> {