diff options
author | Florian Dold <florian@dold.me> | 2023-02-16 22:29:53 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-16 22:29:53 +0100 |
commit | 99f27aaecd78f3f513f1cc203c37ccab4f2db89a (patch) | |
tree | 8594058e845229a0e32df15f7ce470d338455d86 | |
parent | 88e5634c974edc68d0870b1da65e8b0fca7a9de2 (diff) |
-comments
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 9 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer.ts | 1 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 4 |
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; |