@wireapp/core-crypto 1.0.0-rc.40 → 1.0.0-rc.41

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.40",
3
+ "version": "1.0.0-rc.41",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -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.wasm_bindgen__convert__closures__invoke1_mut__h601e8bd711f8c2cf(arg0, arg1, addHeapObject(arg2));
163
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__hcfbb169901747a33(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.wasm_bindgen__convert__closures__invoke1_mut__h853f0d8ce45de15b(retptr, arg0, arg1, addHeapObject(arg2));
168
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h75cf0a1b65264485(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_421 = function(arg0, arg1, arg2, arg3) {
239
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h6bedc2125abb8b9f(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
239
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h353b2bdcb733eaaa(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) {
@@ -265,61 +265,61 @@ async function __wbg_load(module, imports) {
265
265
  var __wbg_get_imports = function() {
266
266
  const imports = {};
267
267
  imports.wbg = {};
268
- imports.wbg.__wbg_commitbundle_new = function(arg0) {
269
- const ret = CommitBundle.__wrap(arg0);
268
+ imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
269
+ const ret = NewAcmeAuthz.__wrap(arg0);
270
270
  return addHeapObject(ret);
271
271
  };
272
- imports.wbg.__wbindgen_number_new = function(arg0) {
273
- const ret = arg0;
272
+ imports.wbg.__wbg_proposalbundle_new = function(arg0) {
273
+ const ret = ProposalBundle.__wrap(arg0);
274
274
  return addHeapObject(ret);
275
275
  };
276
- imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
277
- const ret = FfiWireE2EIdentity.__wrap(arg0);
276
+ imports.wbg.__wbindgen_number_new = function(arg0) {
277
+ const ret = arg0;
278
278
  return addHeapObject(ret);
279
279
  };
280
- imports.wbg.__wbg_corecrypto_new = function(arg0) {
281
- const ret = CoreCrypto.__wrap(arg0);
280
+ imports.wbg.__wbg_commitbundle_new = function(arg0) {
281
+ const ret = CommitBundle.__wrap(arg0);
282
282
  return addHeapObject(ret);
283
283
  };
284
- imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
285
- const ret = NewAcmeAuthz.__wrap(arg0);
284
+ imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
285
+ const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
286
286
  return addHeapObject(ret);
287
287
  };
288
- imports.wbg.__wbg_acmedirectory_new = function(arg0) {
289
- const ret = AcmeDirectory.__wrap(arg0);
288
+ imports.wbg.__wbg_corecrypto_new = function(arg0) {
289
+ const ret = CoreCrypto.__wrap(arg0);
290
290
  return addHeapObject(ret);
291
291
  };
292
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
293
- takeObject(arg0);
294
- };
295
292
  imports.wbg.__wbg_newacmeorder_new = function(arg0) {
296
293
  const ret = NewAcmeOrder.__wrap(arg0);
297
294
  return addHeapObject(ret);
298
295
  };
299
- imports.wbg.__wbg_proposalbundle_new = function(arg0) {
300
- const ret = ProposalBundle.__wrap(arg0);
296
+ imports.wbg.__wbg_acmedirectory_new = function(arg0) {
297
+ const ret = AcmeDirectory.__wrap(arg0);
301
298
  return addHeapObject(ret);
302
299
  };
303
- imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
304
- const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
300
+ imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
301
+ const ret = FfiWireE2EIdentity.__wrap(arg0);
305
302
  return addHeapObject(ret);
306
303
  };
307
304
  imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
308
305
  const ret = BufferedDecryptedMessage.__wrap(arg0);
309
306
  return addHeapObject(ret);
310
307
  };
308
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
309
+ takeObject(arg0);
310
+ };
311
311
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
312
312
  const ret = getObject(arg0);
313
313
  return addHeapObject(ret);
314
314
  };
315
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
316
- const ret = getStringFromWasm0(arg0, arg1);
317
- return addHeapObject(ret);
318
- };
319
315
  imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
320
316
  const ret = BigInt.asUintN(64, arg0);
321
317
  return addHeapObject(ret);
322
318
  };
319
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
320
+ const ret = getStringFromWasm0(arg0, arg1);
321
+ return addHeapObject(ret);
322
+ };
323
323
  imports.wbg.__wbindgen_is_undefined = function(arg0) {
324
324
  const ret = getObject(arg0) === undefined;
325
325
  return ret;
@@ -973,8 +973,8 @@ var __wbg_get_imports = function() {
973
973
  const ret = makeMutClosure(arg0, arg1, 652, __wbg_adapter_54);
974
974
  return addHeapObject(ret);
975
975
  };
976
- imports.wbg.__wbindgen_closure_wrapper13188 = function(arg0, arg1, arg2) {
977
- const ret = makeMutClosure(arg0, arg1, 2185, __wbg_adapter_57);
976
+ imports.wbg.__wbindgen_closure_wrapper13186 = function(arg0, arg1, arg2) {
977
+ const ret = makeMutClosure(arg0, arg1, 2189, __wbg_adapter_57);
978
978
  return addHeapObject(ret);
979
979
  };
980
980
  return imports;
@@ -1055,6 +1055,12 @@ var CredentialType = Object.freeze({
1055
1055
  X509: 2,
1056
1056
  "2": "X509"
1057
1057
  });
1058
+ var WirePolicy = Object.freeze({
1059
+ Plaintext: 1,
1060
+ "1": "Plaintext",
1061
+ Ciphertext: 2,
1062
+ "2": "Ciphertext"
1063
+ });
1058
1064
  var Ciphersuite = Object.freeze({
1059
1065
  MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
1060
1066
  "1": "MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519",
@@ -1073,12 +1079,6 @@ var Ciphersuite = Object.freeze({
1073
1079
  MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519: 61489,
1074
1080
  "61489": "MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519"
1075
1081
  });
1076
- var WirePolicy = Object.freeze({
1077
- Plaintext: 1,
1078
- "1": "Plaintext",
1079
- Ciphertext: 2,
1080
- "2": "Ciphertext"
1081
- });
1082
1082
  var AcmeChallengeFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1083
1083
  }, unregister: () => {
1084
1084
  } } : new FinalizationRegistry((ptr) => wasm.__wbg_acmechallenge_free(ptr >>> 0));