diff options
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index c12d0f2f7..6a7a26f2f 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1145,6 +1145,11 @@ export enum PurchaseStatus { * Proposal downloaded, but the user needs to accept/reject it. */ DialogProposed = 30, + /** + * Proposal shared to other wallet or read from other wallet + * the user needs to accept/reject it. + */ + DialogShared = 31, /** * The user has rejected the proposal. @@ -1271,6 +1276,12 @@ export interface PurchaseRecord { posConfirmation: string | undefined; /** + * This purchase was created by sharing nonce or + * did the wallet made the nonce public + */ + shared: boolean; + + /** * When was the purchase record created? */ timestamp: TalerPreciseTimestamp; |