added the seed field in the store
This commit is contained in:
@@ -169,7 +169,6 @@ class Store {
|
|||||||
|
|
||||||
get decryptedUserData(){
|
get decryptedUserData(){
|
||||||
return this._userData.map((elem) => ({
|
return this._userData.map((elem) => ({
|
||||||
...elem,
|
|
||||||
key: elem.label,
|
key: elem.label,
|
||||||
label: labelMap[elem.label],
|
label: labelMap[elem.label],
|
||||||
value: cryptography.decryptMessageWithPassphrase(elem.value, elem.value_nonce, registrationStore.passPhrase, registrationStore.pubKey).split(':')[1]
|
value: cryptography.decryptMessageWithPassphrase(elem.value, elem.value_nonce, registrationStore.passPhrase, registrationStore.pubKey).split(':')[1]
|
||||||
@@ -183,6 +182,7 @@ class Store {
|
|||||||
label: item.key,
|
label: item.key,
|
||||||
value: value.encryptedMessage,
|
value: value.encryptedMessage,
|
||||||
value_nonce: value.nonce,
|
value_nonce: value.nonce,
|
||||||
|
seed: item.seed,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user