@wireapp/core 38.4.0 → 38.4.1

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.
@@ -1,4 +1,4 @@
1
- import { PreKey } from '@wireapp/api-client/src/auth';
1
+ import { PreKey } from '@wireapp/api-client/lib/auth';
2
2
  import { CoreCrypto } from '@wireapp/core-crypto';
3
3
  import { Cryptobox } from '@wireapp/cryptobox';
4
4
  import { CryptoClient } from './CryptoClient.types';
@@ -8,7 +8,7 @@ export interface CryptoClient {
8
8
  encrypt(sessions: string[], plainText: Uint8Array): Promise<Map<string, Uint8Array>>;
9
9
  decrypt(sessionId: string, message: Uint8Array): Promise<Uint8Array>;
10
10
  /**
11
- * Will init an already existing client. The client should already exist in the database
11
+ * Will init an already existing client. The client should already exist in the database. If the client doesn't exist, it needs to be created using the `create` method.
12
12
  */
13
13
  init(): Promise<void>;
14
14
  /**
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "./lib/cryptography/AssetCryptography/crypto.node": "./lib/cryptography/AssetCryptography/crypto.browser.js"
12
12
  },
13
13
  "dependencies": {
14
- "@wireapp/api-client": "^22.14.1",
14
+ "@wireapp/api-client": "^22.14.2",
15
15
  "@wireapp/commons": "^5.0.4",
16
16
  "@wireapp/core-crypto": "0.6.0-rc.3",
17
17
  "@wireapp/cryptobox": "12.8.0",
@@ -43,7 +43,7 @@
43
43
  "jest": "^29.2.1",
44
44
  "jest-websocket-mock": "2.4.0",
45
45
  "mock-socket": "9.1.5",
46
- "nock": "13.2.9",
46
+ "nock": "13.3.0",
47
47
  "rimraf": "^3.0.2",
48
48
  "typescript": "^4.8.4"
49
49
  },
@@ -60,6 +60,6 @@
60
60
  "test:coverage": "jest --coverage",
61
61
  "watch": "tsc --watch"
62
62
  },
63
- "version": "38.4.0",
64
- "gitHead": "0617f4045c95b97482af997a13dd43d97ead0e21"
63
+ "version": "38.4.1",
64
+ "gitHead": "6ab483d6a55ba7e128e189b999924fe8ddb3c414"
65
65
  }