@bitwarden/sdk-internal 0.2.0-main.151 → 0.2.0-main.152

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.
@@ -120,11 +120,6 @@ function handleError(f, args) {
120
120
  }
121
121
  }
122
122
 
123
- function getArrayU8FromWasm0(ptr, len) {
124
- ptr = ptr >>> 0;
125
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
126
- }
127
-
128
123
  function dropObject(idx) {
129
124
  if (idx < 132) return;
130
125
  heap[idx] = heap_next;
@@ -137,6 +132,11 @@ function takeObject(idx) {
137
132
  return ret;
138
133
  }
139
134
 
135
+ function getArrayU8FromWasm0(ptr, len) {
136
+ ptr = ptr >>> 0;
137
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
138
+ }
139
+
140
140
  function isLikeNone(x) {
141
141
  return x === undefined || x === null;
142
142
  }
@@ -566,16 +566,23 @@ module.exports.isTestError = function (error) {
566
566
  }
567
567
  };
568
568
 
569
- function __wbg_adapter_50(arg0, arg1, arg2) {
570
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h365c00e76c805d42(
569
+ function __wbg_adapter_50(arg0, arg1) {
570
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbd39acb59da78aff(
571
+ arg0,
572
+ arg1,
573
+ );
574
+ }
575
+
576
+ function __wbg_adapter_53(arg0, arg1, arg2) {
577
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1fa3d18f05e030bb(
571
578
  arg0,
572
579
  arg1,
573
580
  addHeapObject(arg2),
574
581
  );
575
582
  }
576
583
 
577
- function __wbg_adapter_230(arg0, arg1, arg2, arg3) {
578
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h7df9ebaef0b1c102(
584
+ function __wbg_adapter_233(arg0, arg1, arg2, arg3) {
585
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h2a33b0877ef96682(
579
586
  arg0,
580
587
  arg1,
581
588
  addHeapObject(arg2),
@@ -2298,6 +2305,10 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
2298
2305
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2299
2306
  };
2300
2307
 
2308
+ module.exports.__wbg_abort_410ec47a64ac6117 = function (arg0, arg1) {
2309
+ getObject(arg0).abort(getObject(arg1));
2310
+ };
2311
+
2301
2312
  module.exports.__wbg_abort_775ef1d17fc65868 = function (arg0) {
2302
2313
  getObject(arg0).abort();
2303
2314
  };
@@ -2349,7 +2360,12 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function () {
2349
2360
  }, arguments);
2350
2361
  };
2351
2362
 
2352
- module.exports.__wbg_crypto_ed58b8e10a292839 = function (arg0) {
2363
+ module.exports.__wbg_clearTimeout_86721db0036bea98 = function (arg0) {
2364
+ const ret = clearTimeout(takeObject(arg0));
2365
+ return addHeapObject(ret);
2366
+ };
2367
+
2368
+ module.exports.__wbg_crypto_574e78ad8b13b65f = function (arg0) {
2353
2369
  const ret = getObject(arg0).crypto;
2354
2370
  return addHeapObject(ret);
2355
2371
  };
@@ -2384,23 +2400,23 @@ module.exports.__wbg_error_80de38b3f7cc3c3c = function (arg0, arg1, arg2, arg3)
2384
2400
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2385
2401
  };
2386
2402
 
2387
- module.exports.__wbg_fetch_4465c2b10f21a927 = function (arg0) {
2388
- const ret = fetch(getObject(arg0));
2403
+ module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
2404
+ const ret = getObject(arg0).fetch(getObject(arg1));
2389
2405
  return addHeapObject(ret);
2390
2406
  };
2391
2407
 
2392
- module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
2393
- const ret = getObject(arg0).fetch(getObject(arg1));
2408
+ module.exports.__wbg_fetch_d36a73832f0a45e8 = function (arg0) {
2409
+ const ret = fetch(getObject(arg0));
2394
2410
  return addHeapObject(ret);
2395
2411
  };
2396
2412
 
2397
- module.exports.__wbg_getRandomValues_7dd14472e5bb087d = function () {
2413
+ module.exports.__wbg_getRandomValues_3d90134a348e46b3 = function () {
2398
2414
  return handleError(function (arg0, arg1) {
2399
2415
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
2400
2416
  }, arguments);
2401
2417
  };
2402
2418
 
2403
- module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function () {
2419
+ module.exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
2404
2420
  return handleError(function (arg0, arg1) {
2405
2421
  getObject(arg0).getRandomValues(getObject(arg1));
2406
2422
  }, arguments);
@@ -2522,7 +2538,7 @@ module.exports.__wbg_log_cad59bb680daec67 = function (arg0, arg1, arg2, arg3) {
2522
2538
  console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2523
2539
  };
2524
2540
 
2525
- module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function (arg0) {
2541
+ module.exports.__wbg_msCrypto_a61aeb35a24c1329 = function (arg0) {
2526
2542
  const ret = getObject(arg0).msCrypto;
2527
2543
  return addHeapObject(ret);
2528
2544
  };
@@ -2546,7 +2562,7 @@ module.exports.__wbg_new_23a2665fac83c611 = function (arg0, arg1) {
2546
2562
  const a = state0.a;
2547
2563
  state0.a = 0;
2548
2564
  try {
2549
- return __wbg_adapter_230(a, state0.b, arg0, arg1);
2565
+ return __wbg_adapter_233(a, state0.b, arg0, arg1);
2550
2566
  } finally {
2551
2567
  state0.a = a;
2552
2568
  }
@@ -2651,7 +2667,7 @@ module.exports.__wbg_next_6574e1a8a62d1055 = function () {
2651
2667
  }, arguments);
2652
2668
  };
2653
2669
 
2654
- module.exports.__wbg_node_02999533c4ea02e3 = function (arg0) {
2670
+ module.exports.__wbg_node_905d3e251edff8a2 = function (arg0) {
2655
2671
  const ret = getObject(arg0).node;
2656
2672
  return addHeapObject(ret);
2657
2673
  };
@@ -2663,7 +2679,7 @@ module.exports.__wbg_parse_def2e24ef1252aff = function () {
2663
2679
  }, arguments);
2664
2680
  };
2665
2681
 
2666
- module.exports.__wbg_process_5c1d670bc53614b8 = function (arg0) {
2682
+ module.exports.__wbg_process_dc0fbacc7c1c06f7 = function (arg0) {
2667
2683
  const ret = getObject(arg0).process;
2668
2684
  return addHeapObject(ret);
2669
2685
  };
@@ -2682,7 +2698,7 @@ module.exports.__wbg_queueMicrotask_d3219def82552485 = function (arg0) {
2682
2698
  return addHeapObject(ret);
2683
2699
  };
2684
2700
 
2685
- module.exports.__wbg_randomFillSync_ab2cfe79ebbf2740 = function () {
2701
+ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
2686
2702
  return handleError(function (arg0, arg1) {
2687
2703
  getObject(arg0).randomFillSync(takeObject(arg1));
2688
2704
  }, arguments);
@@ -2700,7 +2716,7 @@ module.exports.__wbg_receiveerror_new = function (arg0) {
2700
2716
  return addHeapObject(ret);
2701
2717
  };
2702
2718
 
2703
- module.exports.__wbg_require_79b1e9274cde3c87 = function () {
2719
+ module.exports.__wbg_require_60cc747a6bc5215a = function () {
2704
2720
  return handleError(function () {
2705
2721
  const ret = module.require;
2706
2722
  return addHeapObject(ret);
@@ -2724,6 +2740,11 @@ module.exports.__wbg_senderror_new = function (arg0) {
2724
2740
  return addHeapObject(ret);
2725
2741
  };
2726
2742
 
2743
+ module.exports.__wbg_setTimeout_2e707715f8cc9497 = function (arg0, arg1) {
2744
+ const ret = setTimeout(getObject(arg0), arg1);
2745
+ return addHeapObject(ret);
2746
+ };
2747
+
2727
2748
  module.exports.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
2728
2749
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
2729
2750
  };
@@ -2868,7 +2889,7 @@ module.exports.__wbg_value_cd1ffa7b1ab794f1 = function (arg0) {
2868
2889
  return addHeapObject(ret);
2869
2890
  };
2870
2891
 
2871
- module.exports.__wbg_versions_c71aa1626a93e0a1 = function (arg0) {
2892
+ module.exports.__wbg_versions_c01dfd4722a88165 = function (arg0) {
2872
2893
  const ret = getObject(arg0).versions;
2873
2894
  return addHeapObject(ret);
2874
2895
  };
@@ -2915,8 +2936,13 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
2915
2936
  return ret;
2916
2937
  };
2917
2938
 
2918
- module.exports.__wbindgen_closure_wrapper3216 = function (arg0, arg1, arg2) {
2919
- const ret = makeMutClosure(arg0, arg1, 772, __wbg_adapter_50);
2939
+ module.exports.__wbindgen_closure_wrapper2851 = function (arg0, arg1, arg2) {
2940
+ const ret = makeMutClosure(arg0, arg1, 662, __wbg_adapter_50);
2941
+ return addHeapObject(ret);
2942
+ };
2943
+
2944
+ module.exports.__wbindgen_closure_wrapper3236 = function (arg0, arg1, arg2) {
2945
+ const ret = makeMutClosure(arg0, arg1, 783, __wbg_adapter_53);
2920
2946
  return addHeapObject(ret);
2921
2947
  };
2922
2948
 
@@ -179,21 +179,25 @@ export const vaultclient_folders: (a: number) => number;
179
179
  export const __wbg_generatorclient_free: (a: number, b: number) => void;
180
180
  export const __wbg_vaultclient_free: (a: number, b: number) => void;
181
181
  export const __wbg_foldersclient_free: (a: number, b: number) => void;
182
+ export const __wbg_cryptoclient_free: (a: number, b: number) => void;
182
183
  export const __wbg_ciphersclient_free: (a: number, b: number) => void;
183
184
  export const __wbg_totpclient_free: (a: number, b: number) => void;
184
- export const __wbg_cryptoclient_free: (a: number, b: number) => void;
185
185
  export const __wbindgen_malloc: (a: number, b: number) => number;
186
186
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
187
187
  export const __wbindgen_exn_store: (a: number) => void;
188
188
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
189
189
  export const __wbindgen_export_4: WebAssembly.Table;
190
190
  export const __wbindgen_add_to_stack_pointer: (a: number) => number;
191
- export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h365c00e76c805d42: (
191
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbd39acb59da78aff: (
192
+ a: number,
193
+ b: number,
194
+ ) => void;
195
+ export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1fa3d18f05e030bb: (
192
196
  a: number,
193
197
  b: number,
194
198
  c: number,
195
199
  ) => void;
196
- export const wasm_bindgen__convert__closures__invoke2_mut__h7df9ebaef0b1c102: (
200
+ export const wasm_bindgen__convert__closures__invoke2_mut__h2a33b0877ef96682: (
197
201
  a: number,
198
202
  b: number,
199
203
  c: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.151",
3
+ "version": "0.2.0-main.152",
4
4
  "license": "GPL-3.0",
5
5
  "files": [
6
6
  "bitwarden_wasm_internal_bg.js",