@wireapp/core-crypto 1.0.0-pre.7 → 1.0.0-pre.8

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-pre.7",
3
+ "version": "1.0.0-pre.8",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -2792,12 +2792,34 @@ function __wbg_get_imports() {
2792
2792
  const ret = getObject(arg0).length;
2793
2793
  return ret;
2794
2794
  };
2795
+ imports.wbg.__wbg_new_b51585de1b234aff = function () {
2796
+ const ret = new Object();
2797
+ return addHeapObject(ret);
2798
+ };
2795
2799
  imports.wbg.__wbg_call_01734de55d61e11d = function () {
2796
2800
  return handleError(function (arg0, arg1, arg2) {
2797
2801
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2798
2802
  return addHeapObject(ret);
2799
2803
  }, arguments);
2800
2804
  };
2805
+ imports.wbg.__wbg_new_8125e318e6245eed = function (arg0) {
2806
+ const ret = new Uint8Array(getObject(arg0));
2807
+ return addHeapObject(ret);
2808
+ };
2809
+ imports.wbg.__wbg_new_898a68150f225f2e = function () {
2810
+ const ret = new Array();
2811
+ return addHeapObject(ret);
2812
+ };
2813
+ imports.wbg.__wbg_set_502d29070ea18557 = function (arg0, arg1, arg2) {
2814
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
2815
+ };
2816
+ imports.wbg.__wbg_set_841ac57cff3d672b = function (arg0, arg1, arg2) {
2817
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
2818
+ };
2819
+ imports.wbg.__wbindgen_number_new = function (arg0) {
2820
+ const ret = arg0;
2821
+ return addHeapObject(ret);
2822
+ };
2801
2823
  imports.wbg.__wbg_new_43f1b47c28813cbd = function (arg0, arg1) {
2802
2824
  try {
2803
2825
  var state0 = { a: arg0, b: arg1 };
@@ -2818,40 +2840,18 @@ function __wbg_get_imports() {
2818
2840
  state0.a = state0.b = 0;
2819
2841
  }
2820
2842
  };
2821
- imports.wbg.__wbg_new_8125e318e6245eed = function (arg0) {
2822
- const ret = new Uint8Array(getObject(arg0));
2823
- return addHeapObject(ret);
2824
- };
2825
- imports.wbg.__wbg_new_b51585de1b234aff = function () {
2826
- const ret = new Object();
2827
- return addHeapObject(ret);
2828
- };
2829
- imports.wbg.__wbg_ffiwiree2eidentity_new = function (arg0) {
2830
- const ret = FfiWireE2EIdentity.__wrap(arg0);
2831
- return addHeapObject(ret);
2843
+ imports.wbg.__wbg_push_ca1c26067ef907ac = function (arg0, arg1) {
2844
+ const ret = getObject(arg0).push(getObject(arg1));
2845
+ return ret;
2832
2846
  };
2833
2847
  imports.wbg.__wbindgen_bigint_from_u64 = function (arg0) {
2834
2848
  const ret = BigInt.asUintN(64, arg0);
2835
2849
  return addHeapObject(ret);
2836
2850
  };
2837
- imports.wbg.__wbindgen_number_new = function (arg0) {
2838
- const ret = arg0;
2839
- return addHeapObject(ret);
2840
- };
2841
- imports.wbg.__wbg_new_898a68150f225f2e = function () {
2842
- const ret = new Array();
2851
+ imports.wbg.__wbg_proteusautoprekeybundle_new = function (arg0) {
2852
+ const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
2843
2853
  return addHeapObject(ret);
2844
2854
  };
2845
- imports.wbg.__wbg_push_ca1c26067ef907ac = function (arg0, arg1) {
2846
- const ret = getObject(arg0).push(getObject(arg1));
2847
- return ret;
2848
- };
2849
- imports.wbg.__wbg_set_502d29070ea18557 = function (arg0, arg1, arg2) {
2850
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
2851
- };
2852
- imports.wbg.__wbg_set_841ac57cff3d672b = function (arg0, arg1, arg2) {
2853
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
2854
- };
2855
2855
  imports.wbg.__wbg_new_56693dbed0c32988 = function () {
2856
2856
  const ret = new Map();
2857
2857
  return addHeapObject(ret);
@@ -2860,8 +2860,8 @@ function __wbg_get_imports() {
2860
2860
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
2861
2861
  return addHeapObject(ret);
2862
2862
  };
2863
- imports.wbg.__wbg_proteusautoprekeybundle_new = function (arg0) {
2864
- const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
2863
+ imports.wbg.__wbg_ffiwiree2eidentity_new = function (arg0) {
2864
+ const ret = FfiWireE2EIdentity.__wrap(arg0);
2865
2865
  return addHeapObject(ret);
2866
2866
  };
2867
2867
  imports.wbg.__wbg_new_d258248ed531ff54 = function (arg0, arg1) {
@@ -3416,11 +3416,11 @@ function __wbg_get_imports() {
3416
3416
  return addHeapObject(ret);
3417
3417
  }, arguments);
3418
3418
  };
3419
- imports.wbg.__wbindgen_closure_wrapper1984 = function (arg0, arg1, arg2) {
3419
+ imports.wbg.__wbindgen_closure_wrapper1985 = function (arg0, arg1, arg2) {
3420
3420
  const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_52);
3421
3421
  return addHeapObject(ret);
3422
3422
  };
3423
- imports.wbg.__wbindgen_closure_wrapper4645 = function (arg0, arg1, arg2) {
3423
+ imports.wbg.__wbindgen_closure_wrapper4648 = function (arg0, arg1, arg2) {
3424
3424
  const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_55);
3425
3425
  return addHeapObject(ret);
3426
3426
  };
@@ -3489,7 +3489,7 @@ var exports = /*#__PURE__*/Object.freeze({
3489
3489
  var wasm = async (opt = {}) => {
3490
3490
  let {importHook, serverPath} = opt;
3491
3491
 
3492
- let path = "assets/core_crypto_ffi-b0fc8cb4.wasm";
3492
+ let path = "assets/core_crypto_ffi-4208aa56.wasm";
3493
3493
 
3494
3494
  if (serverPath != null) {
3495
3495
  path = serverPath + /[^\/\\]*$/.exec(path)[0];