aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-util/src/wallet-types.ts9
-rw-r--r--packages/taler-wallet-core/src/operations/pay-peer.ts1
-rw-r--r--packages/taler-wallet-core/src/wallet-api-types.ts4
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
index 96251540e..06d76a6d4 100644
--- 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
index 022a824de..dd5ea13c9 100644
--- 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
index da57253a0..fab7632f2 100644
--- 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;