diff options
author | Florian Dold <florian@dold.me> | 2023-02-19 23:13:44 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-19 23:13:44 +0100 |
commit | e6ed901626a5219a1d091f4f41654365d2c29531 (patch) | |
tree | 1dfb2fbc7615ebe6e91621b901bf90968bd98edf /packages/taler-wallet-core/src/pending-types.ts | |
parent | 925ef1f410e01323ee24ab9019afcc1713bf07c2 (diff) | |
download | wallet-core-e6ed901626a5219a1d091f4f41654365d2c29531.tar.xz |
wallet-core: various p2p payment fixes
Diffstat (limited to 'packages/taler-wallet-core/src/pending-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pending-types.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/pending-types.ts b/packages/taler-wallet-core/src/pending-types.ts index 809fa52d4..fd742250c 100644 --- a/packages/taler-wallet-core/src/pending-types.ts +++ b/packages/taler-wallet-core/src/pending-types.ts @@ -39,6 +39,7 @@ export enum PendingTaskType { Backup = "backup", PeerPushInitiation = "peer-push-initiation", PeerPullInitiation = "peer-pull-initiation", + PeerPullDebit = "peer-pull-debit", } /** @@ -57,6 +58,7 @@ export type PendingTaskInfo = PendingTaskInfoCommon & | PendingBackupTask | PendingPeerPushInitiationTask | PendingPeerPullInitiationTask + | PendingPeerPullDebitTask ); export interface PendingBackupTask { @@ -91,6 +93,14 @@ export interface PendingPeerPullInitiationTask { } /** + * The wallet wants to send a peer pull payment. + */ +export interface PendingPeerPullDebitTask { + type: PendingTaskType.PeerPullDebit; + peerPullPaymentIncomingId: string; +} + +/** * The wallet should check whether coins from this exchange * need to be auto-refreshed. */ |