@etsoo/appscript 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/app/CoreApp.js +1 -1
- package/lib/mjs/app/CoreApp.js +1 -1
- package/package.json +1 -1
- package/src/app/CoreApp.ts +1 -1
package/lib/cjs/app/CoreApp.js
CHANGED
|
@@ -408,7 +408,7 @@ class CoreApp {
|
|
|
408
408
|
this.storage.setPersistedData(this.fields.devices, devices);
|
|
409
409
|
// Current passphrase
|
|
410
410
|
this.passphrase = passphrase;
|
|
411
|
-
this.storage.setData(this.fields.devicePassphrase, this.encrypt(passphrase, this.name));
|
|
411
|
+
this.storage.setData(this.fields.devicePassphrase, await this.encrypt(passphrase, this.name));
|
|
412
412
|
// Previous passphrase
|
|
413
413
|
if (data.previousPassphrase) {
|
|
414
414
|
const prev = await this.decrypt(data.previousPassphrase, timestamp.toString());
|
package/lib/mjs/app/CoreApp.js
CHANGED
|
@@ -382,7 +382,7 @@ export class CoreApp {
|
|
|
382
382
|
this.storage.setPersistedData(this.fields.devices, devices);
|
|
383
383
|
// Current passphrase
|
|
384
384
|
this.passphrase = passphrase;
|
|
385
|
-
this.storage.setData(this.fields.devicePassphrase, this.encrypt(passphrase, this.name));
|
|
385
|
+
this.storage.setData(this.fields.devicePassphrase, await this.encrypt(passphrase, this.name));
|
|
386
386
|
// Previous passphrase
|
|
387
387
|
if (data.previousPassphrase) {
|
|
388
388
|
const prev = await this.decrypt(data.previousPassphrase, timestamp.toString());
|
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED