@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
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c6835e59d5abdd50a117729dd718a23029a71ad8
|
|
@@ -600,7 +600,7 @@ function __wbg_adapter_53(arg0, arg1, arg2) {
|
|
|
600
600
|
);
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
function
|
|
603
|
+
function __wbg_adapter_237(arg0, arg1, arg2, arg3) {
|
|
604
604
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2a33b0877ef96682(
|
|
605
605
|
arg0,
|
|
606
606
|
arg1,
|
|
@@ -1566,6 +1566,14 @@ const IncomingMessageFinalization =
|
|
|
1566
1566
|
: new FinalizationRegistry((ptr) => wasm.__wbg_incomingmessage_free(ptr >>> 0, 1));
|
|
1567
1567
|
|
|
1568
1568
|
export class IncomingMessage {
|
|
1569
|
+
static __wrap(ptr) {
|
|
1570
|
+
ptr = ptr >>> 0;
|
|
1571
|
+
const obj = Object.create(IncomingMessage.prototype);
|
|
1572
|
+
obj.__wbg_ptr = ptr;
|
|
1573
|
+
IncomingMessageFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1574
|
+
return obj;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1569
1577
|
__destroy_into_raw() {
|
|
1570
1578
|
const ptr = this.__wbg_ptr;
|
|
1571
1579
|
this.__wbg_ptr = 0;
|
|
@@ -1763,6 +1771,13 @@ export class IpcClientSubscription {
|
|
|
1763
1771
|
const ptr = this.__destroy_into_raw();
|
|
1764
1772
|
wasm.__wbg_ipcclientsubscription_free(ptr, 0);
|
|
1765
1773
|
}
|
|
1774
|
+
/**
|
|
1775
|
+
* @returns {Promise<IncomingMessage>}
|
|
1776
|
+
*/
|
|
1777
|
+
receive() {
|
|
1778
|
+
const ret = wasm.ipcclientsubscription_receive(this.__wbg_ptr);
|
|
1779
|
+
return takeObject(ret);
|
|
1780
|
+
}
|
|
1766
1781
|
}
|
|
1767
1782
|
|
|
1768
1783
|
const IpcCommunicationBackendFinalization =
|
|
@@ -2133,6 +2148,14 @@ const ReceiveErrorFinalization =
|
|
|
2133
2148
|
: new FinalizationRegistry((ptr) => wasm.__wbg_receiveerror_free(ptr >>> 0, 1));
|
|
2134
2149
|
|
|
2135
2150
|
export class ReceiveError {
|
|
2151
|
+
static __wrap(ptr) {
|
|
2152
|
+
ptr = ptr >>> 0;
|
|
2153
|
+
const obj = Object.create(ReceiveError.prototype);
|
|
2154
|
+
obj.__wbg_ptr = ptr;
|
|
2155
|
+
ReceiveErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2156
|
+
return obj;
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2136
2159
|
__destroy_into_raw() {
|
|
2137
2160
|
const ptr = this.__wbg_ptr;
|
|
2138
2161
|
this.__wbg_ptr = 0;
|
|
@@ -2520,6 +2543,11 @@ export function __wbg_headers_9cb51cfd2ac780a4(arg0) {
|
|
|
2520
2543
|
return addHeapObject(ret);
|
|
2521
2544
|
}
|
|
2522
2545
|
|
|
2546
|
+
export function __wbg_incomingmessage_new(arg0) {
|
|
2547
|
+
const ret = IncomingMessage.__wrap(arg0);
|
|
2548
|
+
return addHeapObject(ret);
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2523
2551
|
export function __wbg_info_033d8b8a0838f1d3(arg0, arg1, arg2, arg3) {
|
|
2524
2552
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
2525
2553
|
}
|
|
@@ -2626,7 +2654,7 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
|
|
|
2626
2654
|
const a = state0.a;
|
|
2627
2655
|
state0.a = 0;
|
|
2628
2656
|
try {
|
|
2629
|
-
return
|
|
2657
|
+
return __wbg_adapter_237(a, state0.b, arg0, arg1);
|
|
2630
2658
|
} finally {
|
|
2631
2659
|
state0.a = a;
|
|
2632
2660
|
}
|
|
@@ -2768,6 +2796,11 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
2768
2796
|
}, arguments);
|
|
2769
2797
|
}
|
|
2770
2798
|
|
|
2799
|
+
export function __wbg_receiveerror_new(arg0) {
|
|
2800
|
+
const ret = ReceiveError.__wrap(arg0);
|
|
2801
|
+
return addHeapObject(ret);
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2771
2804
|
export function __wbg_require_60cc747a6bc5215a() {
|
|
2772
2805
|
return handleError(function () {
|
|
2773
2806
|
const ret = module.require;
|
|
@@ -2988,13 +3021,13 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
2988
3021
|
return ret;
|
|
2989
3022
|
}
|
|
2990
3023
|
|
|
2991
|
-
export function
|
|
2992
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3024
|
+
export function __wbindgen_closure_wrapper2876(arg0, arg1, arg2) {
|
|
3025
|
+
const ret = makeMutClosure(arg0, arg1, 664, __wbg_adapter_50);
|
|
2993
3026
|
return addHeapObject(ret);
|
|
2994
3027
|
}
|
|
2995
3028
|
|
|
2996
|
-
export function
|
|
2997
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3029
|
+
export function __wbindgen_closure_wrapper3269(arg0, arg1, arg2) {
|
|
3030
|
+
const ret = makeMutClosure(arg0, arg1, 786, __wbg_adapter_53);
|
|
2998
3031
|
return addHeapObject(ret);
|
|
2999
3032
|
}
|
|
3000
3033
|
|
|
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;
|