@wireapp/core-crypto 1.0.0-rc.60 → 1.0.0-rc.60-hotfix.1

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": "1.0.0-rc.60",
3
+ "version": "1.0.0-rc.60-hotfix.1",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -11,16 +11,8 @@
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
14
- "files": [
15
- "platforms/web"
16
- ],
17
- "keywords": [
18
- "wire",
19
- "e2ee",
20
- "corecrypto",
21
- "mls",
22
- "proteus"
23
- ],
14
+ "files": ["platforms/web"],
15
+ "keywords": ["wire", "e2ee", "corecrypto", "mls", "proteus"],
24
16
  "author": "Mathieu Amiot <amiot.mathieu@gmail.com>",
25
17
  "license": "GPL-3.0",
26
18
  "homepage": "https://github.com/wireapp/core-crypto",
@@ -43,4 +35,4 @@
43
35
  "ts-loader": "^9.5.1",
44
36
  "typescript": "^5.3.3"
45
37
  }
46
- }
38
+ }
@@ -160,12 +160,12 @@ var makeMutClosure = function(arg0, arg1, dtor, f) {
160
160
  return real;
161
161
  };
162
162
  var __wbg_adapter_54 = function(arg0, arg1, arg2) {
163
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd1fd96d16356b191(arg0, arg1, addHeapObject(arg2));
163
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1ba3ed66a10802f1(arg0, arg1, addHeapObject(arg2));
164
164
  };
165
165
  var __wbg_adapter_57 = function(arg0, arg1, arg2) {
166
166
  try {
167
167
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
168
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2e4eb557989cccb5(retptr, arg0, arg1, addHeapObject(arg2));
168
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h84eafc8227b33a00(retptr, arg0, arg1, addHeapObject(arg2));
169
169
  var r0 = getInt32Memory0()[retptr / 4 + 0];
170
170
  var r1 = getInt32Memory0()[retptr / 4 + 1];
171
171
  if (r1) {
@@ -236,7 +236,7 @@ var handleError = function(f, args) {
236
236
  }
237
237
  };
238
238
  var __wbg_adapter_430 = function(arg0, arg1, arg2, arg3) {
239
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h87e025f85afdec44(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
239
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h5d99d259945d841d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
240
240
  };
241
241
  async function __wbg_load(module, imports) {
242
242
  if (typeof Response === "function" && module instanceof Response) {
@@ -269,24 +269,16 @@ var __wbg_get_imports = function() {
269
269
  const ret = arg0;
270
270
  return addHeapObject(ret);
271
271
  };
272
- imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
273
- const ret = NewAcmeAuthz.__wrap(arg0);
274
- return addHeapObject(ret);
275
- };
276
- imports.wbg.__wbg_corecrypto_new = function(arg0) {
277
- const ret = CoreCrypto.__wrap(arg0);
278
- return addHeapObject(ret);
279
- };
280
- imports.wbg.__wbg_commitbundle_new = function(arg0) {
281
- const ret = CommitBundle.__wrap(arg0);
272
+ imports.wbg.__wbg_newacmeorder_new = function(arg0) {
273
+ const ret = NewAcmeOrder.__wrap(arg0);
282
274
  return addHeapObject(ret);
283
275
  };
284
276
  imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
285
277
  const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
286
278
  return addHeapObject(ret);
287
279
  };
288
- imports.wbg.__wbg_newacmeorder_new = function(arg0) {
289
- const ret = NewAcmeOrder.__wrap(arg0);
280
+ imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
281
+ const ret = NewAcmeAuthz.__wrap(arg0);
290
282
  return addHeapObject(ret);
291
283
  };
292
284
  imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
@@ -296,12 +288,20 @@ var __wbg_get_imports = function() {
296
288
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
297
289
  takeObject(arg0);
298
290
  };
291
+ imports.wbg.__wbg_proposalbundle_new = function(arg0) {
292
+ const ret = ProposalBundle.__wrap(arg0);
293
+ return addHeapObject(ret);
294
+ };
295
+ imports.wbg.__wbg_corecrypto_new = function(arg0) {
296
+ const ret = CoreCrypto.__wrap(arg0);
297
+ return addHeapObject(ret);
298
+ };
299
299
  imports.wbg.__wbg_acmedirectory_new = function(arg0) {
300
300
  const ret = AcmeDirectory.__wrap(arg0);
301
301
  return addHeapObject(ret);
302
302
  };
303
- imports.wbg.__wbg_proposalbundle_new = function(arg0) {
304
- const ret = ProposalBundle.__wrap(arg0);
303
+ imports.wbg.__wbg_commitbundle_new = function(arg0) {
304
+ const ret = CommitBundle.__wrap(arg0);
305
305
  return addHeapObject(ret);
306
306
  };
307
307
  imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
@@ -983,8 +983,8 @@ var __wbg_get_imports = function() {
983
983
  const ret = makeMutClosure(arg0, arg1, 681, __wbg_adapter_54);
984
984
  return addHeapObject(ret);
985
985
  };
986
- imports.wbg.__wbindgen_closure_wrapper13318 = function(arg0, arg1, arg2) {
987
- const ret = makeMutClosure(arg0, arg1, 2176, __wbg_adapter_57);
986
+ imports.wbg.__wbindgen_closure_wrapper13345 = function(arg0, arg1, arg2) {
987
+ const ret = makeMutClosure(arg0, arg1, 2185, __wbg_adapter_57);
988
988
  return addHeapObject(ret);
989
989
  };
990
990
  return imports;
@@ -1051,6 +1051,18 @@ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: ()
1051
1051
  });
1052
1052
  var cachedUint32Memory0 = null;
1053
1053
  var cachedUint16Memory0 = null;
1054
+ var WirePolicy = Object.freeze({
1055
+ Plaintext: 1,
1056
+ "1": "Plaintext",
1057
+ Ciphertext: 2,
1058
+ "2": "Ciphertext"
1059
+ });
1060
+ var CredentialType = Object.freeze({
1061
+ Basic: 1,
1062
+ "1": "Basic",
1063
+ X509: 2,
1064
+ "2": "X509"
1065
+ });
1054
1066
  var Ciphersuite = Object.freeze({
1055
1067
  MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
1056
1068
  "1": "MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519",
@@ -1069,18 +1081,6 @@ var Ciphersuite = Object.freeze({
1069
1081
  MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519: 61489,
1070
1082
  "61489": "MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519"
1071
1083
  });
1072
- var WirePolicy = Object.freeze({
1073
- Plaintext: 1,
1074
- "1": "Plaintext",
1075
- Ciphertext: 2,
1076
- "2": "Ciphertext"
1077
- });
1078
- var CredentialType = Object.freeze({
1079
- Basic: 1,
1080
- "1": "Basic",
1081
- X509: 2,
1082
- "2": "X509"
1083
- });
1084
1084
  var DeviceStatus = Object.freeze({
1085
1085
  Valid: 1,
1086
1086
  "1": "Valid",