core-3nweb-client-lib 0.42.10 → 0.42.11

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.
@@ -76,7 +76,6 @@ function callSignIn(caller, objPath, method) {
76
76
  }
77
77
  function completionAndObsOfProgress(progressCB) {
78
78
  let completion = (0, deferred_1.defer)();
79
- // let doneRes: boolean|undefined;
80
79
  const obs = {
81
80
  next: ({ p, decrResult }) => {
82
81
  if (typeof decrResult === 'boolean') {
@@ -287,7 +287,7 @@ class Storages {
287
287
  return;
288
288
  }
289
289
  const key = await (0, key_derivation_1.deriveStorageSKey)(cryptor, pass, params, storeKeyProgressCB);
290
- return (((_a = this.local) === null || _a === void 0 ? void 0 : _a.canKeyOpenRootObj(key)) ? key : undefined);
290
+ return ((await ((_a = this.local) === null || _a === void 0 ? void 0 : _a.canKeyOpenRootObj(key))) ? key : undefined);
291
291
  }
292
292
  async startInitFromCache(user, keyGen, makeNet, resolver, logError) {
293
293
  const storageDir = this.storageDirForUser(user);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.42.10",
3
+ "version": "0.42.11",
4
4
  "description": "3NWeb client core library, embeddable into different environments",
5
5
  "main": "build/lib-index.js",
6
6
  "types": "build/lib-index.d.ts",