summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2020-12-07 23:19:14 +0100
committerFlorian Dold <florian@dold.me>2020-12-07 23:19:14 +0100
commit6f474a3b9dba2ccf869e28a528337cadc8b35650 (patch)
treec72781d9edc6599601ecc1d51fbcfc5003638432 /packages/taler-wallet-core
parentd3cc20b6ccc2b7c0b47e71cd31d3bcd2405cf7e0 (diff)
downloadwallet-core-6f474a3b9dba2ccf869e28a528337cadc8b35650.tar.gz
wallet-core-6f474a3b9dba2ccf869e28a528337cadc8b35650.tar.bz2
wallet-core-6f474a3b9dba2ccf869e28a528337cadc8b35650.zip
store device ID
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r--packages/taler-wallet-core/src/types/backupTypes.ts8
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.