commit 99f27aaecd78f3f513f1cc203c37ccab4f2db89a
parent 88e5634c974edc68d0870b1da65e8b0fca7a9de2
Author: Florian Dold <florian@dold.me>
Date: Thu, 16 Feb 2023 22:29:53 +0100
-comments
Diffstat:
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
@@ -2031,7 +2031,16 @@ export interface PayCoinSelection {
}
export interface PreparePeerPushPaymentRequest {
+ /**
+ * Preferred exchange to use for the p2p payment.
+ */
exchangeBaseUrl?: string;
+
+ /**
+ * Instructed amount.
+ *
+ * FIXME: Allow specifying the instructed amount type.
+ */
amount: AmountString;
}
diff --git a/packages/taler-wallet-core/src/operations/pay-peer.ts b/packages/taler-wallet-core/src/operations/pay-peer.ts
@@ -77,7 +77,6 @@ import {
PeerPushPaymentIncomingRecord,
PeerPushPaymentInitiationStatus,
ReserveRecord,
- WalletStoresV1,
WithdrawalGroupStatus,
WithdrawalRecordType,
} from "../db.js";
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -591,7 +591,9 @@ export type ExportBackupPlainOp = {
// group: Peer Payments
/**
- * Initiate an outgoing peer push payment.
+ * Check if initiating a peer push payment is possible.
+ *
+ * FIXME: Rename to CheckPeerPushPaymentInitiation
*/
export type PreparePeerPushPaymentOp = {
op: WalletApiOperation.PreparePeerPushPayment;