@wireapp/core 34.1.4 → 34.1.6

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.
Files changed (2) hide show
  1. package/package.json +10 -14
  2. package/src/main/Account.js +1 -1
package/package.json CHANGED
@@ -3,32 +3,28 @@
3
3
  "./src/main/cryptography/AssetCryptography/crypto.node": "./src/main/cryptography/AssetCryptography/crypto.browser.js"
4
4
  },
5
5
  "dependencies": {
6
- "@wireapp/api-client": "^21.0.5",
7
- "@wireapp/commons": "^4.5.0",
6
+ "@wireapp/api-client": "^21.0.6",
7
+ "@wireapp/commons": "^4.5.1",
8
8
  "@wireapp/core-crypto": "0.5.2",
9
9
  "@wireapp/cryptobox": "12.8.0",
10
- "@wireapp/promise-queue": "^1.3.5",
11
- "@wireapp/protocol-messaging": "^1.39.0",
12
- "@wireapp/store-engine-dexie": "^1.7.12",
10
+ "@wireapp/promise-queue": "^1.3.6",
11
+ "@wireapp/protocol-messaging": "1.42.0",
12
+ "@wireapp/store-engine-dexie": "^1.7.13",
13
13
  "axios": "1.1.2",
14
- "bazinga64": "5.11.11",
14
+ "bazinga64": "5.11.12",
15
15
  "hash.js": "1.1.7",
16
16
  "http-status-codes": "2.2.0",
17
17
  "idb": "7.1.0",
18
18
  "logdown": "3.3.1",
19
- "long": "4.0.0",
19
+ "long": "^5.2.0",
20
20
  "uuidjs": "4.2.12"
21
21
  },
22
22
  "devDependencies": {
23
- "@babel/core": "^7.19.1",
24
- "@babel/preset-env": "^7.19.1",
25
- "@babel/preset-typescript": "^7.18.6",
26
23
  "@faker-js/faker": "^7.6.0",
27
24
  "@swc/core": "^1.3.10",
28
25
  "@swc/jest": "^0.2.23",
29
- "@types/babel__core": "^7",
30
26
  "@types/jest": "^29.2.0",
31
- "@types/long": "4.0.1",
27
+ "@types/long": "^5.0.0",
32
28
  "@types/tough-cookie": "4.0.2",
33
29
  "@wireapp/commons": "workspace:^",
34
30
  "@wireapp/store-engine-dexie": "workspace:^",
@@ -64,6 +60,6 @@
64
60
  "test:coverage": "jest --coverage",
65
61
  "watch": "tsc --watch"
66
62
  },
67
- "version": "34.1.4",
68
- "gitHead": "20dbda642036995c302830288c6f317cd38749f5"
63
+ "version": "34.1.6",
64
+ "gitHead": "ecfe3cdd621e5f5d632800fe7eb21fa154d7f2e3"
69
65
  }
@@ -311,10 +311,10 @@ class Account extends events_1.EventEmitter {
311
311
  };
312
312
  }
313
313
  async loadAndValidateLocalClient(entropyData) {
314
- await this.service.cryptography.initCryptobox();
315
314
  const loadedClient = await this.service.client.getLocalClient();
316
315
  await this.apiClient.api.client.getClient(loadedClient.id);
317
316
  this.apiClient.context.clientId = loadedClient.id;
317
+ await this.service.cryptography.initCryptobox();
318
318
  if (this.mlsConfig && this.backendFeatures.supportsMLS) {
319
319
  this.coreCryptoClient = await this.createMLSClient(loadedClient, this.apiClient.context, this.mlsConfig, entropyData);
320
320
  }