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

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.24",
3
+ "version": "1.0.0-rc.27",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -262,47 +262,47 @@ async function __wbg_load(module, imports) {
262
262
  var __wbg_get_imports = function() {
263
263
  const imports = {};
264
264
  imports.wbg = {};
265
- imports.wbg.__wbindgen_number_new = function(arg0) {
266
- const ret = arg0;
265
+ imports.wbg.__wbg_acmedirectory_new = function(arg0) {
266
+ const ret = AcmeDirectory.__wrap(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);
272
+ };
273
+ imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
274
+ const ret = NewAcmeAuthz.__wrap(arg0);
275
+ return addHeapObject(ret);
271
276
  };
272
277
  imports.wbg.__wbg_corecrypto_new = function(arg0) {
273
278
  const ret = CoreCrypto.__wrap(arg0);
274
279
  return addHeapObject(ret);
275
280
  };
276
- imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
277
- const ret = BufferedDecryptedMessage.__wrap(arg0);
281
+ imports.wbg.__wbg_proposalbundle_new = function(arg0) {
282
+ const ret = ProposalBundle.__wrap(arg0);
278
283
  return addHeapObject(ret);
279
284
  };
280
- imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
281
- const ret = FfiWireE2EIdentity.__wrap(arg0);
285
+ imports.wbg.__wbindgen_number_new = function(arg0) {
286
+ const ret = arg0;
282
287
  return addHeapObject(ret);
283
288
  };
284
- imports.wbg.__wbg_acmedirectory_new = function(arg0) {
285
- const ret = AcmeDirectory.__wrap(arg0);
289
+ imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
290
+ const ret = BufferedDecryptedMessage.__wrap(arg0);
286
291
  return addHeapObject(ret);
287
292
  };
288
293
  imports.wbg.__wbg_newacmeorder_new = function(arg0) {
289
294
  const ret = NewAcmeOrder.__wrap(arg0);
290
295
  return addHeapObject(ret);
291
296
  };
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);
297
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
298
+ takeObject(arg0);
299
299
  };
300
300
  imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
301
301
  const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
302
302
  return addHeapObject(ret);
303
303
  };
304
- imports.wbg.__wbg_commitbundle_new = function(arg0) {
305
- const ret = CommitBundle.__wrap(arg0);
304
+ imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
305
+ const ret = FfiWireE2EIdentity.__wrap(arg0);
306
306
  return addHeapObject(ret);
307
307
  };
308
308
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
@@ -970,7 +970,7 @@ 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) {
973
+ imports.wbg.__wbindgen_closure_wrapper11421 = function(arg0, arg1, arg2) {
974
974
  const ret = makeMutClosure(arg0, arg1, 1576, __wbg_adapter_57);
975
975
  return addHeapObject(ret);
976
976
  };
@@ -1039,12 +1039,6 @@ var CredentialType = Object.freeze({
1039
1039
  X509: 2,
1040
1040
  "2": "X509"
1041
1041
  });
1042
- var WirePolicy = Object.freeze({
1043
- Plaintext: 1,
1044
- "1": "Plaintext",
1045
- Ciphertext: 2,
1046
- "2": "Ciphertext"
1047
- });
1048
1042
  var Ciphersuite = Object.freeze({
1049
1043
  MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
1050
1044
  "1": "MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519",
@@ -1071,6 +1065,12 @@ var DeviceStatus = Object.freeze({
1071
1065
  Revoked: 2,
1072
1066
  "2": "Revoked"
1073
1067
  });
1068
+ var WirePolicy = Object.freeze({
1069
+ Plaintext: 1,
1070
+ "1": "Plaintext",
1071
+ Ciphertext: 2,
1072
+ "2": "Ciphertext"
1073
+ });
1074
1074
 
1075
1075
  class AcmeChallenge {
1076
1076
  static __wrap(ptr) {