@wireapp/core-crypto 1.0.0-rc.52 → 1.0.0-rc.53

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.52",
3
+ "version": "1.0.0-rc.53",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -265,47 +265,47 @@ async function __wbg_load(module, imports) {
265
265
  var __wbg_get_imports = function() {
266
266
  const imports = {};
267
267
  imports.wbg = {};
268
- imports.wbg.__wbindgen_number_new = function(arg0) {
269
- const ret = arg0;
268
+ imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
269
+ const ret = FfiWireE2EIdentity.__wrap(arg0);
270
270
  return addHeapObject(ret);
271
271
  };
272
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
273
- takeObject(arg0);
272
+ imports.wbg.__wbg_proposalbundle_new = function(arg0) {
273
+ const ret = ProposalBundle.__wrap(arg0);
274
+ return addHeapObject(ret);
274
275
  };
275
- imports.wbg.__wbg_newacmeorder_new = function(arg0) {
276
- const ret = NewAcmeOrder.__wrap(arg0);
276
+ imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
277
+ const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
277
278
  return addHeapObject(ret);
278
279
  };
279
- imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
280
- const ret = BufferedDecryptedMessage.__wrap(arg0);
280
+ imports.wbg.__wbindgen_number_new = function(arg0) {
281
+ const ret = arg0;
281
282
  return addHeapObject(ret);
282
283
  };
283
- imports.wbg.__wbg_proposalbundle_new = function(arg0) {
284
- const ret = ProposalBundle.__wrap(arg0);
284
+ imports.wbg.__wbg_commitbundle_new = function(arg0) {
285
+ const ret = CommitBundle.__wrap(arg0);
285
286
  return addHeapObject(ret);
286
287
  };
287
- imports.wbg.__wbg_corecrypto_new = function(arg0) {
288
- const ret = CoreCrypto.__wrap(arg0);
288
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
289
+ takeObject(arg0);
290
+ };
291
+ imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
292
+ const ret = NewAcmeAuthz.__wrap(arg0);
289
293
  return addHeapObject(ret);
290
294
  };
291
- imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
292
- const ret = FfiWireE2EIdentity.__wrap(arg0);
295
+ imports.wbg.__wbg_newacmeorder_new = function(arg0) {
296
+ const ret = NewAcmeOrder.__wrap(arg0);
293
297
  return addHeapObject(ret);
294
298
  };
295
299
  imports.wbg.__wbg_acmedirectory_new = function(arg0) {
296
300
  const ret = AcmeDirectory.__wrap(arg0);
297
301
  return addHeapObject(ret);
298
302
  };
299
- imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
300
- const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
301
- return addHeapObject(ret);
302
- };
303
- imports.wbg.__wbg_commitbundle_new = function(arg0) {
304
- const ret = CommitBundle.__wrap(arg0);
303
+ imports.wbg.__wbg_corecrypto_new = function(arg0) {
304
+ const ret = CoreCrypto.__wrap(arg0);
305
305
  return addHeapObject(ret);
306
306
  };
307
- imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
308
- const ret = NewAcmeAuthz.__wrap(arg0);
307
+ imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
308
+ const ret = BufferedDecryptedMessage.__wrap(arg0);
309
309
  return addHeapObject(ret);
310
310
  };
311
311
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
@@ -1051,20 +1051,6 @@ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: ()
1051
1051
  });
1052
1052
  var cachedUint32Memory0 = null;
1053
1053
  var cachedUint16Memory0 = null;
1054
- var DeviceStatus = Object.freeze({
1055
- Valid: 1,
1056
- "1": "Valid",
1057
- Expired: 2,
1058
- "2": "Expired",
1059
- Revoked: 3,
1060
- "3": "Revoked"
1061
- });
1062
- var WirePolicy = Object.freeze({
1063
- Plaintext: 1,
1064
- "1": "Plaintext",
1065
- Ciphertext: 2,
1066
- "2": "Ciphertext"
1067
- });
1068
1054
  var Ciphersuite = Object.freeze({
1069
1055
  MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
1070
1056
  "1": "MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519",
@@ -1083,6 +1069,20 @@ var Ciphersuite = Object.freeze({
1083
1069
  MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519: 61489,
1084
1070
  "61489": "MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519"
1085
1071
  });
1072
+ var WirePolicy = Object.freeze({
1073
+ Plaintext: 1,
1074
+ "1": "Plaintext",
1075
+ Ciphertext: 2,
1076
+ "2": "Ciphertext"
1077
+ });
1078
+ var DeviceStatus = Object.freeze({
1079
+ Valid: 1,
1080
+ "1": "Valid",
1081
+ Expired: 2,
1082
+ "2": "Expired",
1083
+ Revoked: 3,
1084
+ "3": "Revoked"
1085
+ });
1086
1086
  var CredentialType = Object.freeze({
1087
1087
  Basic: 1,
1088
1088
  "1": "Basic",