@bitwarden/sdk-internal 0.2.0-main.151 → 0.2.0-main.153
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/VERSION +1 -1
- package/bitwarden_wasm_internal_bg.js +51 -25
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +7 -3
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.js +51 -25
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +7 -3
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6cd1e9f02d47ea2b06193f68374f6e4d809f72c9
|
|
@@ -126,11 +126,6 @@ function handleError(f, args) {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
130
|
-
ptr = ptr >>> 0;
|
|
131
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
129
|
function dropObject(idx) {
|
|
135
130
|
if (idx < 132) return;
|
|
136
131
|
heap[idx] = heap_next;
|
|
@@ -143,6 +138,11 @@ function takeObject(idx) {
|
|
|
143
138
|
return ret;
|
|
144
139
|
}
|
|
145
140
|
|
|
141
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
142
|
+
ptr = ptr >>> 0;
|
|
143
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
146
|
function isLikeNone(x) {
|
|
147
147
|
return x === undefined || x === null;
|
|
148
148
|
}
|
|
@@ -572,16 +572,23 @@ export function isTestError(error) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
function __wbg_adapter_50(arg0, arg1
|
|
576
|
-
wasm.
|
|
575
|
+
function __wbg_adapter_50(arg0, arg1) {
|
|
576
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbd39acb59da78aff(
|
|
577
|
+
arg0,
|
|
578
|
+
arg1,
|
|
579
|
+
);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
function __wbg_adapter_53(arg0, arg1, arg2) {
|
|
583
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1fa3d18f05e030bb(
|
|
577
584
|
arg0,
|
|
578
585
|
arg1,
|
|
579
586
|
addHeapObject(arg2),
|
|
580
587
|
);
|
|
581
588
|
}
|
|
582
589
|
|
|
583
|
-
function
|
|
584
|
-
wasm.
|
|
590
|
+
function __wbg_adapter_233(arg0, arg1, arg2, arg3) {
|
|
591
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2a33b0877ef96682(
|
|
585
592
|
arg0,
|
|
586
593
|
arg1,
|
|
587
594
|
addHeapObject(arg2),
|
|
@@ -2289,6 +2296,10 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
|
2289
2296
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2290
2297
|
}
|
|
2291
2298
|
|
|
2299
|
+
export function __wbg_abort_410ec47a64ac6117(arg0, arg1) {
|
|
2300
|
+
getObject(arg0).abort(getObject(arg1));
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2292
2303
|
export function __wbg_abort_775ef1d17fc65868(arg0) {
|
|
2293
2304
|
getObject(arg0).abort();
|
|
2294
2305
|
}
|
|
@@ -2340,7 +2351,12 @@ export function __wbg_call_7cccdd69e0791ae2() {
|
|
|
2340
2351
|
}, arguments);
|
|
2341
2352
|
}
|
|
2342
2353
|
|
|
2343
|
-
export function
|
|
2354
|
+
export function __wbg_clearTimeout_86721db0036bea98(arg0) {
|
|
2355
|
+
const ret = clearTimeout(takeObject(arg0));
|
|
2356
|
+
return addHeapObject(ret);
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
export function __wbg_crypto_574e78ad8b13b65f(arg0) {
|
|
2344
2360
|
const ret = getObject(arg0).crypto;
|
|
2345
2361
|
return addHeapObject(ret);
|
|
2346
2362
|
}
|
|
@@ -2375,23 +2391,23 @@ export function __wbg_error_80de38b3f7cc3c3c(arg0, arg1, arg2, arg3) {
|
|
|
2375
2391
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
2376
2392
|
}
|
|
2377
2393
|
|
|
2378
|
-
export function
|
|
2379
|
-
const ret = fetch(getObject(
|
|
2394
|
+
export function __wbg_fetch_509096533071c657(arg0, arg1) {
|
|
2395
|
+
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
2380
2396
|
return addHeapObject(ret);
|
|
2381
2397
|
}
|
|
2382
2398
|
|
|
2383
|
-
export function
|
|
2384
|
-
const ret =
|
|
2399
|
+
export function __wbg_fetch_d36a73832f0a45e8(arg0) {
|
|
2400
|
+
const ret = fetch(getObject(arg0));
|
|
2385
2401
|
return addHeapObject(ret);
|
|
2386
2402
|
}
|
|
2387
2403
|
|
|
2388
|
-
export function
|
|
2404
|
+
export function __wbg_getRandomValues_3d90134a348e46b3() {
|
|
2389
2405
|
return handleError(function (arg0, arg1) {
|
|
2390
2406
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
2391
2407
|
}, arguments);
|
|
2392
2408
|
}
|
|
2393
2409
|
|
|
2394
|
-
export function
|
|
2410
|
+
export function __wbg_getRandomValues_b8f5dbd5f3995a9e() {
|
|
2395
2411
|
return handleError(function (arg0, arg1) {
|
|
2396
2412
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
2397
2413
|
}, arguments);
|
|
@@ -2513,7 +2529,7 @@ export function __wbg_log_cad59bb680daec67(arg0, arg1, arg2, arg3) {
|
|
|
2513
2529
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
2514
2530
|
}
|
|
2515
2531
|
|
|
2516
|
-
export function
|
|
2532
|
+
export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
|
|
2517
2533
|
const ret = getObject(arg0).msCrypto;
|
|
2518
2534
|
return addHeapObject(ret);
|
|
2519
2535
|
}
|
|
@@ -2537,7 +2553,7 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
|
|
|
2537
2553
|
const a = state0.a;
|
|
2538
2554
|
state0.a = 0;
|
|
2539
2555
|
try {
|
|
2540
|
-
return
|
|
2556
|
+
return __wbg_adapter_233(a, state0.b, arg0, arg1);
|
|
2541
2557
|
} finally {
|
|
2542
2558
|
state0.a = a;
|
|
2543
2559
|
}
|
|
@@ -2642,7 +2658,7 @@ export function __wbg_next_6574e1a8a62d1055() {
|
|
|
2642
2658
|
}, arguments);
|
|
2643
2659
|
}
|
|
2644
2660
|
|
|
2645
|
-
export function
|
|
2661
|
+
export function __wbg_node_905d3e251edff8a2(arg0) {
|
|
2646
2662
|
const ret = getObject(arg0).node;
|
|
2647
2663
|
return addHeapObject(ret);
|
|
2648
2664
|
}
|
|
@@ -2654,7 +2670,7 @@ export function __wbg_parse_def2e24ef1252aff() {
|
|
|
2654
2670
|
}, arguments);
|
|
2655
2671
|
}
|
|
2656
2672
|
|
|
2657
|
-
export function
|
|
2673
|
+
export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
|
|
2658
2674
|
const ret = getObject(arg0).process;
|
|
2659
2675
|
return addHeapObject(ret);
|
|
2660
2676
|
}
|
|
@@ -2673,7 +2689,7 @@ export function __wbg_queueMicrotask_d3219def82552485(arg0) {
|
|
|
2673
2689
|
return addHeapObject(ret);
|
|
2674
2690
|
}
|
|
2675
2691
|
|
|
2676
|
-
export function
|
|
2692
|
+
export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
2677
2693
|
return handleError(function (arg0, arg1) {
|
|
2678
2694
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
2679
2695
|
}, arguments);
|
|
@@ -2691,7 +2707,7 @@ export function __wbg_receiveerror_new(arg0) {
|
|
|
2691
2707
|
return addHeapObject(ret);
|
|
2692
2708
|
}
|
|
2693
2709
|
|
|
2694
|
-
export function
|
|
2710
|
+
export function __wbg_require_60cc747a6bc5215a() {
|
|
2695
2711
|
return handleError(function () {
|
|
2696
2712
|
const ret = module.require;
|
|
2697
2713
|
return addHeapObject(ret);
|
|
@@ -2715,6 +2731,11 @@ export function __wbg_senderror_new(arg0) {
|
|
|
2715
2731
|
return addHeapObject(ret);
|
|
2716
2732
|
}
|
|
2717
2733
|
|
|
2734
|
+
export function __wbg_setTimeout_2e707715f8cc9497(arg0, arg1) {
|
|
2735
|
+
const ret = setTimeout(getObject(arg0), arg1);
|
|
2736
|
+
return addHeapObject(ret);
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2718
2739
|
export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
|
|
2719
2740
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
2720
2741
|
}
|
|
@@ -2859,7 +2880,7 @@ export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
|
|
|
2859
2880
|
return addHeapObject(ret);
|
|
2860
2881
|
}
|
|
2861
2882
|
|
|
2862
|
-
export function
|
|
2883
|
+
export function __wbg_versions_c01dfd4722a88165(arg0) {
|
|
2863
2884
|
const ret = getObject(arg0).versions;
|
|
2864
2885
|
return addHeapObject(ret);
|
|
2865
2886
|
}
|
|
@@ -2906,8 +2927,13 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
2906
2927
|
return ret;
|
|
2907
2928
|
}
|
|
2908
2929
|
|
|
2909
|
-
export function
|
|
2910
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2930
|
+
export function __wbindgen_closure_wrapper2851(arg0, arg1, arg2) {
|
|
2931
|
+
const ret = makeMutClosure(arg0, arg1, 662, __wbg_adapter_50);
|
|
2932
|
+
return addHeapObject(ret);
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
export function __wbindgen_closure_wrapper3236(arg0, arg1, arg2) {
|
|
2936
|
+
const ret = makeMutClosure(arg0, arg1, 783, __wbg_adapter_53);
|
|
2911
2937
|
return addHeapObject(ret);
|
|
2912
2938
|
}
|
|
2913
2939
|
|
|
Binary file
|
|
@@ -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
|
|
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
|
|
200
|
+
export const wasm_bindgen__convert__closures__invoke2_mut__h2a33b0877ef96682: (
|
|
197
201
|
a: number,
|
|
198
202
|
b: number,
|
|
199
203
|
c: number,
|