diff options
author | Florian Dold <florian@dold.me> | 2020-12-07 23:19:14 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-07 23:19:14 +0100 |
commit | 6f474a3b9dba2ccf869e28a528337cadc8b35650 (patch) | |
tree | c72781d9edc6599601ecc1d51fbcfc5003638432 /packages | |
parent | d3cc20b6ccc2b7c0b47e71cd31d3bcd2405cf7e0 (diff) | |
download | wallet-core-6f474a3b9dba2ccf869e28a528337cadc8b35650.tar.xz |
store device ID
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/types/backupTypes.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/types/backupTypes.ts b/packages/taler-wallet-core/src/types/backupTypes.ts index 6e65cd72a..6bdf26992 100644 --- a/packages/taler-wallet-core/src/types/backupTypes.ts +++ b/packages/taler-wallet-core/src/types/backupTypes.ts @@ -82,6 +82,14 @@ export interface WalletBackupContentV1 { wallet_root_pub: string; /** + * Current device identifier that "owns" the backup. + * + * This identifier allows one wallet to notice when another + * wallet is "alive" and connected to the same sync provider. + */ + current_device_id: string; + + /** * Per-exchange data sorted by exchange master public key. * * Sorted by the exchange public key. |