diff --git a/app/assets/javascripts/Services/ArchiveManager.ts b/app/assets/javascripts/Services/ArchiveManager.ts index 1f363bdf7..97ce01144 100644 --- a/app/assets/javascripts/Services/ArchiveManager.ts +++ b/app/assets/javascripts/Services/ArchiveManager.ts @@ -39,7 +39,7 @@ export class ArchiveManager { public async downloadBackup(encrypted: boolean): Promise { const data = encrypted - ? await this.application.createEncryptedBackupFile(true) + ? await this.application.createEncryptedBackupFile() : await this.application.createDecryptedBackupFile() if (!data) { diff --git a/app/assets/javascripts/Services/DesktopManager.ts b/app/assets/javascripts/Services/DesktopManager.ts index 00fb1acd4..cc8ecb2ed 100644 --- a/app/assets/javascripts/Services/DesktopManager.ts +++ b/app/assets/javascripts/Services/DesktopManager.ts @@ -149,7 +149,7 @@ export class DesktopManager async desktop_requestBackupFile(): Promise { const encrypted = this.application.hasProtectionSources() const data = encrypted - ? await this.application.createEncryptedBackupFile(false) + ? await this.application.createEncryptedBackupFileForAutomatedDesktopBackups() : await this.application.createDecryptedBackupFile() if (data) { diff --git a/package.json b/package.json index 2c06dfe49..ccf392c50 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@standardnotes/components": "1.7.15", "@standardnotes/filepicker": "1.11.0", "@standardnotes/sncrypto-web": "1.8.3", - "@standardnotes/snjs": "2.96.2", + "@standardnotes/snjs": "2.97.0", "@standardnotes/stylekit": "5.23.0", "@zip.js/zip.js": "^2.4.7", "mobx": "^6.5.0", diff --git a/yarn.lock b/yarn.lock index 98a89eb09..b5a52b9f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2472,10 +2472,10 @@ "@standardnotes/responses" "^1.6.6" "@standardnotes/utils" "^1.6.0" -"@standardnotes/settings@^1.13.4": - version "1.13.4" - resolved "https://registry.yarnpkg.com/@standardnotes/settings/-/settings-1.13.4.tgz#16826c3236ae614ef7c0e17e5b536e56dd11e303" - integrity sha512-rF6jpSdWF/6nfOZIX5g6PUc8bM9gh81sJj7ISGGjkbfIl2OUWOptsP5aRXHpJWe62GIhNaFdfmXi549kCyFMow== +"@standardnotes/settings@^1.14.0": + version "1.14.0" + resolved "https://registry.yarnpkg.com/@standardnotes/settings/-/settings-1.14.0.tgz#f53b7bfecd9a49a5d4369d7f989e6378da13a798" + integrity sha512-YdbGKHDW9Ee/UhE4Q1r8UQcbtz384yyjzJp88m1CmZwARrDurJCfQneo4IX2lKVjjmXMCeZuA6sUXoAwejbreQ== "@standardnotes/sncrypto-common@^1.7.6": version "1.7.6" @@ -2491,10 +2491,10 @@ buffer "^6.0.3" libsodium-wrappers "^0.7.9" -"@standardnotes/snjs@2.96.2": - version "2.96.2" - resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.96.2.tgz#322fb5f648215d8600156a5aaf1fb4d91513fd41" - integrity sha512-liFo7nmCHZc7+6ZIAQcPcMWlv++eRt1IPYC6QTj6hT3TYe8G6BneA/ZNqN6/4x5mPsfmCIPThprxPGEvDyFnMg== +"@standardnotes/snjs@2.97.0": + version "2.97.0" + resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.97.0.tgz#9c64abd2577c4151ed5f2aa1b15c540463fa0331" + integrity sha512-isdx+TPcuoOH9S9kXYY8Yz0vjSbYnphpE++SlZfDd1OjWnVnuaN1SQj4BVqbIYOLhzoPlroO8uaXMyG8juy0cg== dependencies: "@standardnotes/auth" "^3.18.7" "@standardnotes/common" "^1.19.4" @@ -2504,7 +2504,7 @@ "@standardnotes/models" "^1.4.1" "@standardnotes/responses" "^1.6.6" "@standardnotes/services" "^1.9.2" - "@standardnotes/settings" "^1.13.4" + "@standardnotes/settings" "^1.14.0" "@standardnotes/sncrypto-common" "^1.7.6" "@standardnotes/utils" "^1.6.0"