@wireapp/core-crypto 1.0.0-rc.26 → 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.26",
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,8 +262,8 @@ 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
269
  imports.wbg.__wbg_commitbundle_new = function(arg0) {
@@ -274,35 +274,35 @@ var __wbg_get_imports = function() {
274
274
  const ret = NewAcmeAuthz.__wrap(arg0);
275
275
  return addHeapObject(ret);
276
276
  };
277
- imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
278
- const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
279
- return addHeapObject(ret);
280
- };
281
277
  imports.wbg.__wbg_corecrypto_new = function(arg0) {
282
278
  const ret = CoreCrypto.__wrap(arg0);
283
279
  return addHeapObject(ret);
284
280
  };
285
- imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
286
- const ret = FfiWireE2EIdentity.__wrap(arg0);
287
- return addHeapObject(ret);
288
- };
289
281
  imports.wbg.__wbg_proposalbundle_new = function(arg0) {
290
282
  const ret = ProposalBundle.__wrap(arg0);
291
283
  return addHeapObject(ret);
292
284
  };
293
- imports.wbg.__wbg_acmedirectory_new = function(arg0) {
294
- const ret = AcmeDirectory.__wrap(arg0);
285
+ imports.wbg.__wbindgen_number_new = function(arg0) {
286
+ const ret = arg0;
295
287
  return addHeapObject(ret);
296
288
  };
297
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
298
- takeObject(arg0);
289
+ imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
290
+ const ret = BufferedDecryptedMessage.__wrap(arg0);
291
+ return addHeapObject(ret);
299
292
  };
300
293
  imports.wbg.__wbg_newacmeorder_new = function(arg0) {
301
294
  const ret = NewAcmeOrder.__wrap(arg0);
302
295
  return addHeapObject(ret);
303
296
  };
304
- imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
305
- const ret = BufferedDecryptedMessage.__wrap(arg0);
297
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
298
+ takeObject(arg0);
299
+ };
300
+ imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
301
+ const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
302
+ return addHeapObject(ret);
303
+ };
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) {
@@ -313,10 +313,6 @@ 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
- };
320
316
  imports.wbg.__wbindgen_is_undefined = function(arg0) {
321
317
  const ret = getObject(arg0) === undefined;
322
318
  return ret;
@@ -325,6 +321,10 @@ var __wbg_get_imports = function() {
325
321
  const ret = getObject(arg0) === null;
326
322
  return ret;
327
323
  };
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_wrapper11417 = function(arg0, arg1, arg2) {
974
- const ret = makeMutClosure(arg0, arg1, 1577, __wbg_adapter_57);
973
+ imports.wbg.__wbindgen_closure_wrapper11421 = function(arg0, arg1, arg2) {
974
+ const ret = makeMutClosure(arg0, arg1, 1576, __wbg_adapter_57);
975
975
  return addHeapObject(ret);
976
976
  };
977
977
  return imports;
@@ -1033,12 +1033,6 @@ var cachedFloat64Memory0 = null;
1033
1033
  var cachedBigInt64Memory0 = null;
1034
1034
  var cachedUint32Memory0 = null;
1035
1035
  var cachedUint16Memory0 = null;
1036
- var WirePolicy = Object.freeze({
1037
- Plaintext: 1,
1038
- "1": "Plaintext",
1039
- Ciphertext: 2,
1040
- "2": "Ciphertext"
1041
- });
1042
1036
  var CredentialType = Object.freeze({
1043
1037
  Basic: 1,
1044
1038
  "1": "Basic",
@@ -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) {