@wireapp/core-crypto 0.8.1 → 0.8.2

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": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -2431,14 +2431,14 @@ function getImports() {
2431
2431
  const ret = getObject(arg0);
2432
2432
  return addHeapObject(ret);
2433
2433
  };
2434
+ imports.wbg.__wbindgen_object_drop_ref = function (arg0) {
2435
+ takeObject(arg0);
2436
+ };
2434
2437
  imports.wbg.__wbindgen_is_object = function (arg0) {
2435
2438
  const val = getObject(arg0);
2436
2439
  const ret = typeof (val) === 'object' && val !== null;
2437
2440
  return ret;
2438
2441
  };
2439
- imports.wbg.__wbindgen_object_drop_ref = function (arg0) {
2440
- takeObject(arg0);
2441
- };
2442
2442
  imports.wbg.__wbg_getwithrefkey_5e6d9547403deab8 = function (arg0, arg1) {
2443
2443
  const ret = getObject(arg0)[getObject(arg1)];
2444
2444
  return addHeapObject(ret);
@@ -2479,28 +2479,16 @@ function getImports() {
2479
2479
  const ret = getObject(arg0).length;
2480
2480
  return ret;
2481
2481
  };
2482
+ imports.wbg.__wbg_ffiwiree2eidentity_new = function (arg0) {
2483
+ const ret = FfiWireE2EIdentity.__wrap(arg0);
2484
+ return addHeapObject(ret);
2485
+ };
2482
2486
  imports.wbg.__wbg_call_9495de66fdbe016b = function () {
2483
2487
  return handleError(function (arg0, arg1, arg2) {
2484
2488
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2485
2489
  return addHeapObject(ret);
2486
2490
  }, arguments);
2487
2491
  };
2488
- imports.wbg.__wbg_new_537b7341ce90bb31 = function (arg0) {
2489
- const ret = new Uint8Array(getObject(arg0));
2490
- return addHeapObject(ret);
2491
- };
2492
- imports.wbg.__wbindgen_bigint_from_u64 = function (arg0) {
2493
- const ret = BigInt.asUintN(64, arg0);
2494
- return addHeapObject(ret);
2495
- };
2496
- imports.wbg.__wbg_new_f841cc6f2098f4b5 = function () {
2497
- const ret = new Map();
2498
- return addHeapObject(ret);
2499
- };
2500
- imports.wbg.__wbg_set_388c4c6422704173 = function (arg0, arg1, arg2) {
2501
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
2502
- return addHeapObject(ret);
2503
- };
2504
2492
  imports.wbg.__wbg_new_9d3a9ce4282a18a8 = function (arg0, arg1) {
2505
2493
  try {
2506
2494
  var state0 = { a: arg0, b: arg1 };
@@ -2521,14 +2509,30 @@ function getImports() {
2521
2509
  state0.a = state0.b = 0;
2522
2510
  }
2523
2511
  };
2524
- imports.wbg.__wbg_proteusautoprekeybundle_new = function (arg0) {
2525
- const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
2512
+ imports.wbg.__wbg_new_537b7341ce90bb31 = function (arg0) {
2513
+ const ret = new Uint8Array(getObject(arg0));
2526
2514
  return addHeapObject(ret);
2527
2515
  };
2528
2516
  imports.wbg.__wbindgen_number_new = function (arg0) {
2529
2517
  const ret = arg0;
2530
2518
  return addHeapObject(ret);
2531
2519
  };
2520
+ imports.wbg.__wbindgen_bigint_from_u64 = function (arg0) {
2521
+ const ret = BigInt.asUintN(64, arg0);
2522
+ return addHeapObject(ret);
2523
+ };
2524
+ imports.wbg.__wbg_new_f9876326328f45ed = function () {
2525
+ const ret = new Object();
2526
+ return addHeapObject(ret);
2527
+ };
2528
+ imports.wbg.__wbg_new_f841cc6f2098f4b5 = function () {
2529
+ const ret = new Map();
2530
+ return addHeapObject(ret);
2531
+ };
2532
+ imports.wbg.__wbg_set_388c4c6422704173 = function (arg0, arg1, arg2) {
2533
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
2534
+ return addHeapObject(ret);
2535
+ };
2532
2536
  imports.wbg.__wbg_new_b525de17f44a8943 = function () {
2533
2537
  const ret = new Array();
2534
2538
  return addHeapObject(ret);
@@ -2537,12 +2541,8 @@ function getImports() {
2537
2541
  const ret = getObject(arg0).push(getObject(arg1));
2538
2542
  return ret;
2539
2543
  };
2540
- imports.wbg.__wbg_ffiwiree2eidentity_new = function (arg0) {
2541
- const ret = FfiWireE2EIdentity.__wrap(arg0);
2542
- return addHeapObject(ret);
2543
- };
2544
- imports.wbg.__wbg_new_f9876326328f45ed = function () {
2545
- const ret = new Object();
2544
+ imports.wbg.__wbg_proteusautoprekeybundle_new = function (arg0) {
2545
+ const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
2546
2546
  return addHeapObject(ret);
2547
2547
  };
2548
2548
  imports.wbg.__wbg_setonsuccess_925a7718d3f62bc1 = function (arg0, arg1) {
@@ -3136,11 +3136,11 @@ function getImports() {
3136
3136
  return addHeapObject(ret);
3137
3137
  }, arguments);
3138
3138
  };
3139
- imports.wbg.__wbindgen_closure_wrapper1540 = function (arg0, arg1, arg2) {
3139
+ imports.wbg.__wbindgen_closure_wrapper1537 = function (arg0, arg1, arg2) {
3140
3140
  const ret = makeMutClosure(arg0, arg1, 158, __wbg_adapter_52);
3141
3141
  return addHeapObject(ret);
3142
3142
  };
3143
- imports.wbg.__wbindgen_closure_wrapper4618 = function (arg0, arg1, arg2) {
3143
+ imports.wbg.__wbindgen_closure_wrapper4621 = function (arg0, arg1, arg2) {
3144
3144
  const ret = makeMutClosure(arg0, arg1, 158, __wbg_adapter_55);
3145
3145
  return addHeapObject(ret);
3146
3146
  };
@@ -3202,7 +3202,7 @@ var exports = /*#__PURE__*/Object.freeze({
3202
3202
  var wasm = async (opt = {}) => {
3203
3203
  let {importHook, serverPath} = opt;
3204
3204
 
3205
- let path = "assets/core_crypto_ffi-db9a9765.wasm";
3205
+ let path = "assets/core_crypto_ffi-70438e2d.wasm";
3206
3206
 
3207
3207
  if (serverPath != null) {
3208
3208
  path = serverPath + /[^\/\\]*$/.exec(path)[0];