@wireapp/core-crypto 3.0.0 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireapp/core-crypto",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -1,13 +1,3 @@
1
- declare enum WirePolicy {
2
- /**
3
- * Handshake messages are never encrypted
4
- */
5
- Plaintext = 1,
6
- /**
7
- * Handshake messages are always encrypted
8
- */
9
- Ciphertext = 2
10
- }
11
1
  declare enum CredentialType {
12
2
  /**
13
3
  * Just a KeyPair
@@ -48,6 +38,16 @@ declare enum Ciphersuite {
48
38
  */
49
39
  MLS_256_DHKEMP384_AES256GCM_SHA384_P384 = 7
50
40
  }
41
+ declare enum WirePolicy {
42
+ /**
43
+ * Handshake messages are never encrypted
44
+ */
45
+ Plaintext = 1,
46
+ /**
47
+ * Handshake messages are always encrypted
48
+ */
49
+ Ciphertext = 2
50
+ }
51
51
  /**
52
52
  * For creating a challenge.
53
53
  * @see https://www.rfc-editor.org/rfc/rfc8555.html#section-7.5.1