chore: upgrade snjs

This commit is contained in:
Mo
2022-04-19 11:17:33 -05:00
parent d89a0dcdd1
commit aa72a8288c
4 changed files with 12 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ export class ArchiveManager {
public async downloadBackup(encrypted: boolean): Promise<void> { public async downloadBackup(encrypted: boolean): Promise<void> {
const data = encrypted const data = encrypted
? await this.application.createEncryptedBackupFile(true) ? await this.application.createEncryptedBackupFile()
: await this.application.createDecryptedBackupFile() : await this.application.createDecryptedBackupFile()
if (!data) { if (!data) {

View File

@@ -149,7 +149,7 @@ export class DesktopManager
async desktop_requestBackupFile(): Promise<string | undefined> { async desktop_requestBackupFile(): Promise<string | undefined> {
const encrypted = this.application.hasProtectionSources() const encrypted = this.application.hasProtectionSources()
const data = encrypted const data = encrypted
? await this.application.createEncryptedBackupFile(false) ? await this.application.createEncryptedBackupFileForAutomatedDesktopBackups()
: await this.application.createDecryptedBackupFile() : await this.application.createDecryptedBackupFile()
if (data) { if (data) {

View File

@@ -72,7 +72,7 @@
"@standardnotes/components": "1.7.15", "@standardnotes/components": "1.7.15",
"@standardnotes/filepicker": "1.11.0", "@standardnotes/filepicker": "1.11.0",
"@standardnotes/sncrypto-web": "1.8.3", "@standardnotes/sncrypto-web": "1.8.3",
"@standardnotes/snjs": "2.96.2", "@standardnotes/snjs": "2.97.0",
"@standardnotes/stylekit": "5.23.0", "@standardnotes/stylekit": "5.23.0",
"@zip.js/zip.js": "^2.4.7", "@zip.js/zip.js": "^2.4.7",
"mobx": "^6.5.0", "mobx": "^6.5.0",

View File

@@ -2472,10 +2472,10 @@
"@standardnotes/responses" "^1.6.6" "@standardnotes/responses" "^1.6.6"
"@standardnotes/utils" "^1.6.0" "@standardnotes/utils" "^1.6.0"
"@standardnotes/settings@^1.13.4": "@standardnotes/settings@^1.14.0":
version "1.13.4" version "1.14.0"
resolved "https://registry.yarnpkg.com/@standardnotes/settings/-/settings-1.13.4.tgz#16826c3236ae614ef7c0e17e5b536e56dd11e303" resolved "https://registry.yarnpkg.com/@standardnotes/settings/-/settings-1.14.0.tgz#f53b7bfecd9a49a5d4369d7f989e6378da13a798"
integrity sha512-rF6jpSdWF/6nfOZIX5g6PUc8bM9gh81sJj7ISGGjkbfIl2OUWOptsP5aRXHpJWe62GIhNaFdfmXi549kCyFMow== integrity sha512-YdbGKHDW9Ee/UhE4Q1r8UQcbtz384yyjzJp88m1CmZwARrDurJCfQneo4IX2lKVjjmXMCeZuA6sUXoAwejbreQ==
"@standardnotes/sncrypto-common@^1.7.6": "@standardnotes/sncrypto-common@^1.7.6":
version "1.7.6" version "1.7.6"
@@ -2491,10 +2491,10 @@
buffer "^6.0.3" buffer "^6.0.3"
libsodium-wrappers "^0.7.9" libsodium-wrappers "^0.7.9"
"@standardnotes/snjs@2.96.2": "@standardnotes/snjs@2.97.0":
version "2.96.2" version "2.97.0"
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.96.2.tgz#322fb5f648215d8600156a5aaf1fb4d91513fd41" resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.97.0.tgz#9c64abd2577c4151ed5f2aa1b15c540463fa0331"
integrity sha512-liFo7nmCHZc7+6ZIAQcPcMWlv++eRt1IPYC6QTj6hT3TYe8G6BneA/ZNqN6/4x5mPsfmCIPThprxPGEvDyFnMg== integrity sha512-isdx+TPcuoOH9S9kXYY8Yz0vjSbYnphpE++SlZfDd1OjWnVnuaN1SQj4BVqbIYOLhzoPlroO8uaXMyG8juy0cg==
dependencies: dependencies:
"@standardnotes/auth" "^3.18.7" "@standardnotes/auth" "^3.18.7"
"@standardnotes/common" "^1.19.4" "@standardnotes/common" "^1.19.4"
@@ -2504,7 +2504,7 @@
"@standardnotes/models" "^1.4.1" "@standardnotes/models" "^1.4.1"
"@standardnotes/responses" "^1.6.6" "@standardnotes/responses" "^1.6.6"
"@standardnotes/services" "^1.9.2" "@standardnotes/services" "^1.9.2"
"@standardnotes/settings" "^1.13.4" "@standardnotes/settings" "^1.14.0"
"@standardnotes/sncrypto-common" "^1.7.6" "@standardnotes/sncrypto-common" "^1.7.6"
"@standardnotes/utils" "^1.6.0" "@standardnotes/utils" "^1.6.0"