@wireapp/core-crypto 1.0.0-rc.24 → 1.0.0-rc.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireapp/core-crypto",
3
- "version": "1.0.0-rc.24",
3
+ "version": "1.0.0-rc.26",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -266,43 +266,43 @@ var __wbg_get_imports = function() {
266
266
  const ret = arg0;
267
267
  return addHeapObject(ret);
268
268
  };
269
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
270
- takeObject(arg0);
269
+ imports.wbg.__wbg_commitbundle_new = function(arg0) {
270
+ const ret = CommitBundle.__wrap(arg0);
271
+ return addHeapObject(ret);
271
272
  };
272
- imports.wbg.__wbg_corecrypto_new = function(arg0) {
273
- const ret = CoreCrypto.__wrap(arg0);
273
+ imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
274
+ const ret = NewAcmeAuthz.__wrap(arg0);
274
275
  return addHeapObject(ret);
275
276
  };
276
- imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
277
- const ret = BufferedDecryptedMessage.__wrap(arg0);
277
+ imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
278
+ const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
279
+ return addHeapObject(ret);
280
+ };
281
+ imports.wbg.__wbg_corecrypto_new = function(arg0) {
282
+ const ret = CoreCrypto.__wrap(arg0);
278
283
  return addHeapObject(ret);
279
284
  };
280
285
  imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
281
286
  const ret = FfiWireE2EIdentity.__wrap(arg0);
282
287
  return addHeapObject(ret);
283
288
  };
289
+ imports.wbg.__wbg_proposalbundle_new = function(arg0) {
290
+ const ret = ProposalBundle.__wrap(arg0);
291
+ return addHeapObject(ret);
292
+ };
284
293
  imports.wbg.__wbg_acmedirectory_new = function(arg0) {
285
294
  const ret = AcmeDirectory.__wrap(arg0);
286
295
  return addHeapObject(ret);
287
296
  };
297
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
298
+ takeObject(arg0);
299
+ };
288
300
  imports.wbg.__wbg_newacmeorder_new = function(arg0) {
289
301
  const ret = NewAcmeOrder.__wrap(arg0);
290
302
  return addHeapObject(ret);
291
303
  };
292
- imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
293
- const ret = NewAcmeAuthz.__wrap(arg0);
294
- return addHeapObject(ret);
295
- };
296
- imports.wbg.__wbg_proposalbundle_new = function(arg0) {
297
- const ret = ProposalBundle.__wrap(arg0);
298
- return addHeapObject(ret);
299
- };
300
- imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
301
- const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
302
- return addHeapObject(ret);
303
- };
304
- imports.wbg.__wbg_commitbundle_new = function(arg0) {
305
- const ret = CommitBundle.__wrap(arg0);
304
+ imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
305
+ const ret = BufferedDecryptedMessage.__wrap(arg0);
306
306
  return addHeapObject(ret);
307
307
  };
308
308
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
@@ -313,6 +313,10 @@ var __wbg_get_imports = function() {
313
313
  const ret = getStringFromWasm0(arg0, arg1);
314
314
  return addHeapObject(ret);
315
315
  };
316
+ imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
317
+ const ret = BigInt.asUintN(64, arg0);
318
+ return addHeapObject(ret);
319
+ };
316
320
  imports.wbg.__wbindgen_is_undefined = function(arg0) {
317
321
  const ret = getObject(arg0) === undefined;
318
322
  return ret;
@@ -321,10 +325,6 @@ var __wbg_get_imports = function() {
321
325
  const ret = getObject(arg0) === null;
322
326
  return ret;
323
327
  };
324
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
325
- const ret = BigInt.asUintN(64, arg0);
326
- return addHeapObject(ret);
327
- };
328
328
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
329
329
  const obj = getObject(arg1);
330
330
  const ret = typeof obj === "string" ? obj : undefined;
@@ -970,8 +970,8 @@ var __wbg_get_imports = function() {
970
970
  const ret = makeMutClosure(arg0, arg1, 649, __wbg_adapter_54);
971
971
  return addHeapObject(ret);
972
972
  };
973
- imports.wbg.__wbindgen_closure_wrapper11403 = function(arg0, arg1, arg2) {
974
- const ret = makeMutClosure(arg0, arg1, 1576, __wbg_adapter_57);
973
+ imports.wbg.__wbindgen_closure_wrapper11417 = function(arg0, arg1, arg2) {
974
+ const ret = makeMutClosure(arg0, arg1, 1577, __wbg_adapter_57);
975
975
  return addHeapObject(ret);
976
976
  };
977
977
  return imports;
@@ -1033,18 +1033,18 @@ var cachedFloat64Memory0 = null;
1033
1033
  var cachedBigInt64Memory0 = null;
1034
1034
  var cachedUint32Memory0 = null;
1035
1035
  var cachedUint16Memory0 = null;
1036
- var CredentialType = Object.freeze({
1037
- Basic: 1,
1038
- "1": "Basic",
1039
- X509: 2,
1040
- "2": "X509"
1041
- });
1042
1036
  var WirePolicy = Object.freeze({
1043
1037
  Plaintext: 1,
1044
1038
  "1": "Plaintext",
1045
1039
  Ciphertext: 2,
1046
1040
  "2": "Ciphertext"
1047
1041
  });
1042
+ var CredentialType = Object.freeze({
1043
+ Basic: 1,
1044
+ "1": "Basic",
1045
+ X509: 2,
1046
+ "2": "X509"
1047
+ });
1048
1048
  var Ciphersuite = Object.freeze({
1049
1049
  MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
1050
1050
  "1": "MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519",