diff --git a/jslib/common/src/services/state.service.ts b/jslib/common/src/services/state.service.ts index 9876dc74..7b63d421 100644 --- a/jslib/common/src/services/state.service.ts +++ b/jslib/common/src/services/state.service.ts @@ -2172,11 +2172,11 @@ export class StateService< } const account = options?.useSecureStorage - ? (await this.secureStorageService.get(options.userId, options)) ?? + ? ((await this.secureStorageService.get(options.userId, options)) ?? (await this.storageService.get( options.userId, this.reconcileOptions(options, { htmlStorageLocation: HtmlStorageLocation.Local }), - )) + ))) : await this.storageService.get(options.userId, options); if (this.useAccountCache) { diff --git a/package-lock.json b/package-lock.json index be9c0943..72eff987 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,7 +94,7 @@ "node-forge": "1.3.1", "node-loader": "2.0.0", "pkg": "5.8.1", - "prettier": "3.2.2", + "prettier": "3.3.3", "rimraf": "5.0.5", "rxjs": "7.8.1", "sass": "1.69.7", @@ -112,7 +112,7 @@ }, "engines": { "node": "~18", - "npm": "~10.4.0" + "npm": "~10" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -16997,10 +16997,11 @@ } }, "node_modules/prettier": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.2.tgz", - "integrity": "sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/package.json b/package.json index 10d01e2d..b8614765 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "node-forge": "1.3.1", "node-loader": "2.0.0", "pkg": "5.8.1", - "prettier": "3.2.2", + "prettier": "3.3.3", "rimraf": "5.0.5", "rxjs": "7.8.1", "sass": "1.69.7",