@bitwarden/sdk-internal 0.2.0-main.158 → 0.2.0-main.159
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.d.ts +1 -0
- package/bitwarden_wasm_internal_bg.js +39 -6
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +1 -0
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +1 -0
- package/node/bitwarden_wasm_internal.js +39 -6
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +1 -0
- package/package.json +1 -1
|
@@ -594,7 +594,7 @@ function __wbg_adapter_53(arg0, arg1, arg2) {
|
|
|
594
594
|
);
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
-
function
|
|
597
|
+
function __wbg_adapter_237(arg0, arg1, arg2, arg3) {
|
|
598
598
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2a33b0877ef96682(
|
|
599
599
|
arg0,
|
|
600
600
|
arg1,
|
|
@@ -1567,6 +1567,14 @@ const IncomingMessageFinalization =
|
|
|
1567
1567
|
: new FinalizationRegistry((ptr) => wasm.__wbg_incomingmessage_free(ptr >>> 0, 1));
|
|
1568
1568
|
|
|
1569
1569
|
class IncomingMessage {
|
|
1570
|
+
static __wrap(ptr) {
|
|
1571
|
+
ptr = ptr >>> 0;
|
|
1572
|
+
const obj = Object.create(IncomingMessage.prototype);
|
|
1573
|
+
obj.__wbg_ptr = ptr;
|
|
1574
|
+
IncomingMessageFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1575
|
+
return obj;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1570
1578
|
__destroy_into_raw() {
|
|
1571
1579
|
const ptr = this.__wbg_ptr;
|
|
1572
1580
|
this.__wbg_ptr = 0;
|
|
@@ -1766,6 +1774,13 @@ class IpcClientSubscription {
|
|
|
1766
1774
|
const ptr = this.__destroy_into_raw();
|
|
1767
1775
|
wasm.__wbg_ipcclientsubscription_free(ptr, 0);
|
|
1768
1776
|
}
|
|
1777
|
+
/**
|
|
1778
|
+
* @returns {Promise<IncomingMessage>}
|
|
1779
|
+
*/
|
|
1780
|
+
receive() {
|
|
1781
|
+
const ret = wasm.ipcclientsubscription_receive(this.__wbg_ptr);
|
|
1782
|
+
return takeObject(ret);
|
|
1783
|
+
}
|
|
1769
1784
|
}
|
|
1770
1785
|
module.exports.IpcClientSubscription = IpcClientSubscription;
|
|
1771
1786
|
|
|
@@ -2140,6 +2155,14 @@ const ReceiveErrorFinalization =
|
|
|
2140
2155
|
: new FinalizationRegistry((ptr) => wasm.__wbg_receiveerror_free(ptr >>> 0, 1));
|
|
2141
2156
|
|
|
2142
2157
|
class ReceiveError {
|
|
2158
|
+
static __wrap(ptr) {
|
|
2159
|
+
ptr = ptr >>> 0;
|
|
2160
|
+
const obj = Object.create(ReceiveError.prototype);
|
|
2161
|
+
obj.__wbg_ptr = ptr;
|
|
2162
|
+
ReceiveErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2163
|
+
return obj;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2143
2166
|
__destroy_into_raw() {
|
|
2144
2167
|
const ptr = this.__wbg_ptr;
|
|
2145
2168
|
this.__wbg_ptr = 0;
|
|
@@ -2531,6 +2554,11 @@ module.exports.__wbg_headers_9cb51cfd2ac780a4 = function (arg0) {
|
|
|
2531
2554
|
return addHeapObject(ret);
|
|
2532
2555
|
};
|
|
2533
2556
|
|
|
2557
|
+
module.exports.__wbg_incomingmessage_new = function (arg0) {
|
|
2558
|
+
const ret = IncomingMessage.__wrap(arg0);
|
|
2559
|
+
return addHeapObject(ret);
|
|
2560
|
+
};
|
|
2561
|
+
|
|
2534
2562
|
module.exports.__wbg_info_033d8b8a0838f1d3 = function (arg0, arg1, arg2, arg3) {
|
|
2535
2563
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
2536
2564
|
};
|
|
@@ -2637,7 +2665,7 @@ module.exports.__wbg_new_23a2665fac83c611 = function (arg0, arg1) {
|
|
|
2637
2665
|
const a = state0.a;
|
|
2638
2666
|
state0.a = 0;
|
|
2639
2667
|
try {
|
|
2640
|
-
return
|
|
2668
|
+
return __wbg_adapter_237(a, state0.b, arg0, arg1);
|
|
2641
2669
|
} finally {
|
|
2642
2670
|
state0.a = a;
|
|
2643
2671
|
}
|
|
@@ -2779,6 +2807,11 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
2779
2807
|
}, arguments);
|
|
2780
2808
|
};
|
|
2781
2809
|
|
|
2810
|
+
module.exports.__wbg_receiveerror_new = function (arg0) {
|
|
2811
|
+
const ret = ReceiveError.__wrap(arg0);
|
|
2812
|
+
return addHeapObject(ret);
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2782
2815
|
module.exports.__wbg_require_60cc747a6bc5215a = function () {
|
|
2783
2816
|
return handleError(function () {
|
|
2784
2817
|
const ret = module.require;
|
|
@@ -2999,13 +3032,13 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
|
2999
3032
|
return ret;
|
|
3000
3033
|
};
|
|
3001
3034
|
|
|
3002
|
-
module.exports.
|
|
3003
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3035
|
+
module.exports.__wbindgen_closure_wrapper2876 = function (arg0, arg1, arg2) {
|
|
3036
|
+
const ret = makeMutClosure(arg0, arg1, 664, __wbg_adapter_50);
|
|
3004
3037
|
return addHeapObject(ret);
|
|
3005
3038
|
};
|
|
3006
3039
|
|
|
3007
|
-
module.exports.
|
|
3008
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3040
|
+
module.exports.__wbindgen_closure_wrapper3269 = function (arg0, arg1, arg2) {
|
|
3041
|
+
const ret = makeMutClosure(arg0, arg1, 786, __wbg_adapter_53);
|
|
3009
3042
|
return addHeapObject(ret);
|
|
3010
3043
|
};
|
|
3011
3044
|
|
|
Binary file
|
|
@@ -60,6 +60,7 @@ export const __wbg_get_receiveerror_communication: (a: number) => number;
|
|
|
60
60
|
export const __wbg_set_receiveerror_communication: (a: number, b: number) => void;
|
|
61
61
|
export const __wbg_ipcclient_free: (a: number, b: number) => void;
|
|
62
62
|
export const __wbg_ipcclientsubscription_free: (a: number, b: number) => void;
|
|
63
|
+
export const ipcclientsubscription_receive: (a: number) => number;
|
|
63
64
|
export const ipcclient_new: (a: number) => number;
|
|
64
65
|
export const ipcclient_send: (a: number, b: number) => number;
|
|
65
66
|
export const ipcclient_subscribe: (a: number) => number;
|