@bitwarden/sdk-internal 0.2.0-main.196 → 0.2.0-main.198

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 CHANGED
@@ -1 +1 @@
1
- d9586fc12ef62d2649c3a7eefd3526651f8463a0
1
+ 1fa0f7ab810a833353704014292984610402e6d9
@@ -495,6 +495,27 @@ export interface DeserializeError extends Error {
495
495
 
496
496
  export function isDeserializeError(error: any): error is DeserializeError;
497
497
 
498
+ export interface TypedReceiveError extends Error {
499
+ name: "TypedReceiveError";
500
+ variant: "Channel" | "Timeout" | "Cancelled" | "Typing";
501
+ }
502
+
503
+ export function isTypedReceiveError(error: any): error is TypedReceiveError;
504
+
505
+ export interface ReceiveError extends Error {
506
+ name: "ReceiveError";
507
+ variant: "Channel" | "Timeout" | "Cancelled";
508
+ }
509
+
510
+ export function isReceiveError(error: any): error is ReceiveError;
511
+
512
+ export interface SubscribeError extends Error {
513
+ name: "SubscribeError";
514
+ variant: "NotStarted";
515
+ }
516
+
517
+ export function isSubscribeError(error: any): error is SubscribeError;
518
+
498
519
  export type KeyAlgorithm = "Ed25519" | "Rsa3072" | "Rsa4096";
499
520
 
500
521
  export interface SshKeyExportError extends Error {
@@ -518,6 +539,12 @@ export interface KeyGenerationError extends Error {
518
539
 
519
540
  export function isKeyGenerationError(error: any): error is KeyGenerationError;
520
541
 
542
+ export interface CallError extends Error {
543
+ name: "CallError";
544
+ }
545
+
546
+ export function isCallError(error: any): error is CallError;
547
+
521
548
  export interface EncryptionContext {
522
549
  /**
523
550
  * The Id of the user that encrypted the cipher. It should always represent a UserId, even for
@@ -595,7 +622,7 @@ export interface CipherView {
595
622
  export type CipherListViewType =
596
623
  | { login: LoginListView }
597
624
  | "secureNote"
598
- | "card"
625
+ | { card: CardListView }
599
626
  | "identity"
600
627
  | "sshKey";
601
628
 
@@ -905,6 +932,16 @@ export interface CipherError extends Error {
905
932
 
906
933
  export function isCipherError(error: any): error is CipherError;
907
934
 
935
+ /**
936
+ * Minimal CardView only including the needed details for list views
937
+ */
938
+ export interface CardListView {
939
+ /**
940
+ * The brand of the card, e.g. Visa, Mastercard, etc.
941
+ */
942
+ brand: string | undefined;
943
+ }
944
+
908
945
  export interface CardView {
909
946
  cardholderName: string | undefined;
910
947
  expMonth: string | undefined;
@@ -1162,24 +1199,40 @@ export class IncomingMessage {
1162
1199
  get topic(): string | undefined;
1163
1200
  set topic(value: string | null | undefined);
1164
1201
  }
1202
+ /**
1203
+ * JavaScript wrapper around the IPC client. For more information, see the
1204
+ * [IpcClient] documentation.
1205
+ */
1165
1206
  export class IpcClient {
1166
1207
  free(): void;
1167
1208
  constructor(communication_provider: IpcCommunicationBackend);
1209
+ start(): Promise<void>;
1210
+ isRunning(): Promise<boolean>;
1168
1211
  send(message: OutgoingMessage): Promise<void>;
1169
1212
  subscribe(): Promise<IpcClientSubscription>;
1170
1213
  }
1214
+ /**
1215
+ * JavaScript wrapper around the IPC client subscription. For more information, see the
1216
+ * [IpcClientSubscription](crate::IpcClientSubscription) documentation.
1217
+ */
1171
1218
  export class IpcClientSubscription {
1172
1219
  private constructor();
1173
1220
  free(): void;
1174
- receive(): Promise<IncomingMessage>;
1221
+ receive(abort_signal?: any | null): Promise<IncomingMessage>;
1175
1222
  }
1223
+ /**
1224
+ * JavaScript implementation of the `CommunicationBackend` trait for IPC communication.
1225
+ */
1176
1226
  export class IpcCommunicationBackend {
1177
1227
  free(): void;
1228
+ /**
1229
+ * Creates a new instance of the JavaScript communication backend.
1230
+ */
1178
1231
  constructor(sender: IpcCommunicationBackendSender);
1179
1232
  /**
1180
- * JavaScript function to provide a received message to the backend/IPC framework.
1233
+ * Used by JavaScript to provide an incoming message to the IPC framework.
1181
1234
  */
1182
- deliver_message(message: IncomingMessage): void;
1235
+ receive(message: IncomingMessage): void;
1183
1236
  }
1184
1237
  export class OutgoingMessage {
1185
1238
  free(): void;
@@ -1285,19 +1338,6 @@ export class PureCrypto {
1285
1338
  decapsulation_key: Uint8Array,
1286
1339
  ): Uint8Array;
1287
1340
  }
1288
- export class ReceiveError {
1289
- private constructor();
1290
- free(): void;
1291
- timeout: boolean;
1292
- crypto: any;
1293
- communication: any;
1294
- }
1295
- export class SendError {
1296
- private constructor();
1297
- free(): void;
1298
- crypto: any;
1299
- communication: any;
1300
- }
1301
1341
  export class TotpClient {
1302
1342
  private constructor();
1303
1343
  free(): void;
@@ -386,6 +386,45 @@ export function isDeserializeError(error) {
386
386
  }
387
387
  }
388
388
 
389
+ /**
390
+ * @param {any} error
391
+ * @returns {boolean}
392
+ */
393
+ export function isTypedReceiveError(error) {
394
+ try {
395
+ const ret = wasm.isTypedReceiveError(addBorrowedObject(error));
396
+ return ret !== 0;
397
+ } finally {
398
+ heap[stack_pointer++] = undefined;
399
+ }
400
+ }
401
+
402
+ /**
403
+ * @param {any} error
404
+ * @returns {boolean}
405
+ */
406
+ export function isReceiveError(error) {
407
+ try {
408
+ const ret = wasm.isReceiveError(addBorrowedObject(error));
409
+ return ret !== 0;
410
+ } finally {
411
+ heap[stack_pointer++] = undefined;
412
+ }
413
+ }
414
+
415
+ /**
416
+ * @param {any} error
417
+ * @returns {boolean}
418
+ */
419
+ export function isSubscribeError(error) {
420
+ try {
421
+ const ret = wasm.isSubscribeError(addBorrowedObject(error));
422
+ return ret !== 0;
423
+ } finally {
424
+ heap[stack_pointer++] = undefined;
425
+ }
426
+ }
427
+
389
428
  /**
390
429
  * @param {any} error
391
430
  * @returns {boolean}
@@ -425,6 +464,19 @@ export function isKeyGenerationError(error) {
425
464
  }
426
465
  }
427
466
 
467
+ /**
468
+ * @param {any} error
469
+ * @returns {boolean}
470
+ */
471
+ export function isCallError(error) {
472
+ try {
473
+ const ret = wasm.isCallError(addBorrowedObject(error));
474
+ return ret !== 0;
475
+ } finally {
476
+ heap[stack_pointer++] = undefined;
477
+ }
478
+ }
479
+
428
480
  /**
429
481
  * @param {any} error
430
482
  * @returns {boolean}
@@ -599,13 +651,20 @@ export function isTestError(error) {
599
651
  }
600
652
 
601
653
  function __wbg_adapter_50(arg0, arg1) {
602
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7fea53fbe563cc8(
654
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcf47463d0c774ef2(
655
+ arg0,
656
+ arg1,
657
+ );
658
+ }
659
+
660
+ function __wbg_adapter_53(arg0, arg1) {
661
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h07b1ac521b96b202(
603
662
  arg0,
604
663
  arg1,
605
664
  );
606
665
  }
607
666
 
608
- function __wbg_adapter_53(arg0, arg1, arg2) {
667
+ function __wbg_adapter_56(arg0, arg1, arg2) {
609
668
  wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2fd3ee122b42f580(
610
669
  arg0,
611
670
  arg1,
@@ -613,7 +672,7 @@ function __wbg_adapter_53(arg0, arg1, arg2) {
613
672
  );
614
673
  }
615
674
 
616
- function __wbg_adapter_256(arg0, arg1, arg2, arg3) {
675
+ function __wbg_adapter_253(arg0, arg1, arg2, arg3) {
617
676
  wasm.wasm_bindgen__convert__closures__invoke2_mut__hd44d4ce5021e369c(
618
677
  arg0,
619
678
  arg1,
@@ -1769,7 +1828,10 @@ const IpcClientFinalization =
1769
1828
  typeof FinalizationRegistry === "undefined"
1770
1829
  ? { register: () => {}, unregister: () => {} }
1771
1830
  : new FinalizationRegistry((ptr) => wasm.__wbg_ipcclient_free(ptr >>> 0, 1));
1772
-
1831
+ /**
1832
+ * JavaScript wrapper around the IPC client. For more information, see the
1833
+ * [IpcClient] documentation.
1834
+ */
1773
1835
  export class IpcClient {
1774
1836
  __destroy_into_raw() {
1775
1837
  const ptr = this.__wbg_ptr;
@@ -1787,12 +1849,25 @@ export class IpcClient {
1787
1849
  */
1788
1850
  constructor(communication_provider) {
1789
1851
  _assertClass(communication_provider, IpcCommunicationBackend);
1790
- var ptr0 = communication_provider.__destroy_into_raw();
1791
- const ret = wasm.ipcclient_new(ptr0);
1852
+ const ret = wasm.ipcclient_new(communication_provider.__wbg_ptr);
1792
1853
  this.__wbg_ptr = ret >>> 0;
1793
1854
  IpcClientFinalization.register(this, this.__wbg_ptr, this);
1794
1855
  return this;
1795
1856
  }
1857
+ /**
1858
+ * @returns {Promise<void>}
1859
+ */
1860
+ start() {
1861
+ const ret = wasm.ipcclient_start(this.__wbg_ptr);
1862
+ return takeObject(ret);
1863
+ }
1864
+ /**
1865
+ * @returns {Promise<boolean>}
1866
+ */
1867
+ isRunning() {
1868
+ const ret = wasm.ipcclient_isRunning(this.__wbg_ptr);
1869
+ return takeObject(ret);
1870
+ }
1796
1871
  /**
1797
1872
  * @param {OutgoingMessage} message
1798
1873
  * @returns {Promise<void>}
@@ -1816,7 +1891,10 @@ const IpcClientSubscriptionFinalization =
1816
1891
  typeof FinalizationRegistry === "undefined"
1817
1892
  ? { register: () => {}, unregister: () => {} }
1818
1893
  : new FinalizationRegistry((ptr) => wasm.__wbg_ipcclientsubscription_free(ptr >>> 0, 1));
1819
-
1894
+ /**
1895
+ * JavaScript wrapper around the IPC client subscription. For more information, see the
1896
+ * [IpcClientSubscription](crate::IpcClientSubscription) documentation.
1897
+ */
1820
1898
  export class IpcClientSubscription {
1821
1899
  static __wrap(ptr) {
1822
1900
  ptr = ptr >>> 0;
@@ -1838,10 +1916,14 @@ export class IpcClientSubscription {
1838
1916
  wasm.__wbg_ipcclientsubscription_free(ptr, 0);
1839
1917
  }
1840
1918
  /**
1919
+ * @param {any | null} [abort_signal]
1841
1920
  * @returns {Promise<IncomingMessage>}
1842
1921
  */
1843
- receive() {
1844
- const ret = wasm.ipcclientsubscription_receive(this.__wbg_ptr);
1922
+ receive(abort_signal) {
1923
+ const ret = wasm.ipcclientsubscription_receive(
1924
+ this.__wbg_ptr,
1925
+ isLikeNone(abort_signal) ? 0 : addHeapObject(abort_signal),
1926
+ );
1845
1927
  return takeObject(ret);
1846
1928
  }
1847
1929
  }
@@ -1850,7 +1932,9 @@ const IpcCommunicationBackendFinalization =
1850
1932
  typeof FinalizationRegistry === "undefined"
1851
1933
  ? { register: () => {}, unregister: () => {} }
1852
1934
  : new FinalizationRegistry((ptr) => wasm.__wbg_ipccommunicationbackend_free(ptr >>> 0, 1));
1853
-
1935
+ /**
1936
+ * JavaScript implementation of the `CommunicationBackend` trait for IPC communication.
1937
+ */
1854
1938
  export class IpcCommunicationBackend {
1855
1939
  __destroy_into_raw() {
1856
1940
  const ptr = this.__wbg_ptr;
@@ -1864,6 +1948,7 @@ export class IpcCommunicationBackend {
1864
1948
  wasm.__wbg_ipccommunicationbackend_free(ptr, 0);
1865
1949
  }
1866
1950
  /**
1951
+ * Creates a new instance of the JavaScript communication backend.
1867
1952
  * @param {IpcCommunicationBackendSender} sender
1868
1953
  */
1869
1954
  constructor(sender) {
@@ -1873,15 +1958,15 @@ export class IpcCommunicationBackend {
1873
1958
  return this;
1874
1959
  }
1875
1960
  /**
1876
- * JavaScript function to provide a received message to the backend/IPC framework.
1961
+ * Used by JavaScript to provide an incoming message to the IPC framework.
1877
1962
  * @param {IncomingMessage} message
1878
1963
  */
1879
- deliver_message(message) {
1964
+ receive(message) {
1880
1965
  try {
1881
1966
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1882
1967
  _assertClass(message, IncomingMessage);
1883
1968
  var ptr0 = message.__destroy_into_raw();
1884
- wasm.ipccommunicationbackend_deliver_message(retptr, this.__wbg_ptr, ptr0);
1969
+ wasm.ipccommunicationbackend_receive(retptr, this.__wbg_ptr, ptr0);
1885
1970
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1886
1971
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1887
1972
  if (r1) {
@@ -2707,125 +2792,6 @@ export class PureCrypto {
2707
2792
  }
2708
2793
  }
2709
2794
 
2710
- const ReceiveErrorFinalization =
2711
- typeof FinalizationRegistry === "undefined"
2712
- ? { register: () => {}, unregister: () => {} }
2713
- : new FinalizationRegistry((ptr) => wasm.__wbg_receiveerror_free(ptr >>> 0, 1));
2714
-
2715
- export class ReceiveError {
2716
- static __wrap(ptr) {
2717
- ptr = ptr >>> 0;
2718
- const obj = Object.create(ReceiveError.prototype);
2719
- obj.__wbg_ptr = ptr;
2720
- ReceiveErrorFinalization.register(obj, obj.__wbg_ptr, obj);
2721
- return obj;
2722
- }
2723
-
2724
- __destroy_into_raw() {
2725
- const ptr = this.__wbg_ptr;
2726
- this.__wbg_ptr = 0;
2727
- ReceiveErrorFinalization.unregister(this);
2728
- return ptr;
2729
- }
2730
-
2731
- free() {
2732
- const ptr = this.__destroy_into_raw();
2733
- wasm.__wbg_receiveerror_free(ptr, 0);
2734
- }
2735
- /**
2736
- * @returns {boolean}
2737
- */
2738
- get timeout() {
2739
- const ret = wasm.__wbg_get_receiveerror_timeout(this.__wbg_ptr);
2740
- return ret !== 0;
2741
- }
2742
- /**
2743
- * @param {boolean} arg0
2744
- */
2745
- set timeout(arg0) {
2746
- wasm.__wbg_set_receiveerror_timeout(this.__wbg_ptr, arg0);
2747
- }
2748
- /**
2749
- * @returns {any}
2750
- */
2751
- get crypto() {
2752
- const ret = wasm.__wbg_get_receiveerror_crypto(this.__wbg_ptr);
2753
- return takeObject(ret);
2754
- }
2755
- /**
2756
- * @param {any} arg0
2757
- */
2758
- set crypto(arg0) {
2759
- wasm.__wbg_set_receiveerror_crypto(this.__wbg_ptr, addHeapObject(arg0));
2760
- }
2761
- /**
2762
- * @returns {any}
2763
- */
2764
- get communication() {
2765
- const ret = wasm.__wbg_get_receiveerror_communication(this.__wbg_ptr);
2766
- return takeObject(ret);
2767
- }
2768
- /**
2769
- * @param {any} arg0
2770
- */
2771
- set communication(arg0) {
2772
- wasm.__wbg_set_receiveerror_communication(this.__wbg_ptr, addHeapObject(arg0));
2773
- }
2774
- }
2775
-
2776
- const SendErrorFinalization =
2777
- typeof FinalizationRegistry === "undefined"
2778
- ? { register: () => {}, unregister: () => {} }
2779
- : new FinalizationRegistry((ptr) => wasm.__wbg_senderror_free(ptr >>> 0, 1));
2780
-
2781
- export class SendError {
2782
- static __wrap(ptr) {
2783
- ptr = ptr >>> 0;
2784
- const obj = Object.create(SendError.prototype);
2785
- obj.__wbg_ptr = ptr;
2786
- SendErrorFinalization.register(obj, obj.__wbg_ptr, obj);
2787
- return obj;
2788
- }
2789
-
2790
- __destroy_into_raw() {
2791
- const ptr = this.__wbg_ptr;
2792
- this.__wbg_ptr = 0;
2793
- SendErrorFinalization.unregister(this);
2794
- return ptr;
2795
- }
2796
-
2797
- free() {
2798
- const ptr = this.__destroy_into_raw();
2799
- wasm.__wbg_senderror_free(ptr, 0);
2800
- }
2801
- /**
2802
- * @returns {any}
2803
- */
2804
- get crypto() {
2805
- const ret = wasm.__wbg_get_receiveerror_crypto(this.__wbg_ptr);
2806
- return takeObject(ret);
2807
- }
2808
- /**
2809
- * @param {any} arg0
2810
- */
2811
- set crypto(arg0) {
2812
- wasm.__wbg_set_receiveerror_crypto(this.__wbg_ptr, addHeapObject(arg0));
2813
- }
2814
- /**
2815
- * @returns {any}
2816
- */
2817
- get communication() {
2818
- const ret = wasm.__wbg_get_receiveerror_communication(this.__wbg_ptr);
2819
- return takeObject(ret);
2820
- }
2821
- /**
2822
- * @param {any} arg0
2823
- */
2824
- set communication(arg0) {
2825
- wasm.__wbg_set_receiveerror_communication(this.__wbg_ptr, addHeapObject(arg0));
2826
- }
2827
- }
2828
-
2829
2795
  const TotpClientFinalization =
2830
2796
  typeof FinalizationRegistry === "undefined"
2831
2797
  ? { register: () => {}, unregister: () => {} }
@@ -2965,6 +2931,10 @@ export function __wbg_abort_775ef1d17fc65868(arg0) {
2965
2931
  getObject(arg0).abort();
2966
2932
  }
2967
2933
 
2934
+ export function __wbg_addEventListener_dc3da056b615f634(arg0, arg1, arg2, arg3) {
2935
+ getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
2936
+ }
2937
+
2968
2938
  export function __wbg_append_299d5d48292c0495() {
2969
2939
  return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2970
2940
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
@@ -3219,7 +3189,7 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
3219
3189
  const a = state0.a;
3220
3190
  state0.a = 0;
3221
3191
  try {
3222
- return __wbg_adapter_256(a, state0.b, arg0, arg1);
3192
+ return __wbg_adapter_253(a, state0.b, arg0, arg1);
3223
3193
  } finally {
3224
3194
  state0.a = a;
3225
3195
  }
@@ -3361,11 +3331,6 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
3361
3331
  }, arguments);
3362
3332
  }
3363
3333
 
3364
- export function __wbg_receiveerror_new(arg0) {
3365
- const ret = ReceiveError.__wrap(arg0);
3366
- return addHeapObject(ret);
3367
- }
3368
-
3369
3334
  export function __wbg_require_60cc747a6bc5215a() {
3370
3335
  return handleError(function () {
3371
3336
  const ret = module.require;
@@ -3385,11 +3350,6 @@ export function __wbg_send_9b8fc6bb517867dd() {
3385
3350
  }, arguments);
3386
3351
  }
3387
3352
 
3388
- export function __wbg_senderror_new(arg0) {
3389
- const ret = SendError.__wrap(arg0);
3390
- return addHeapObject(ret);
3391
- }
3392
-
3393
3353
  export function __wbg_setTimeout_2e707715f8cc9497(arg0, arg1) {
3394
3354
  const ret = setTimeout(getObject(arg0), arg1);
3395
3355
  return addHeapObject(ret);
@@ -3586,13 +3546,18 @@ export function __wbindgen_cb_drop(arg0) {
3586
3546
  return ret;
3587
3547
  }
3588
3548
 
3589
- export function __wbindgen_closure_wrapper3138(arg0, arg1, arg2) {
3590
- const ret = makeMutClosure(arg0, arg1, 727, __wbg_adapter_50);
3549
+ export function __wbindgen_closure_wrapper2367(arg0, arg1, arg2) {
3550
+ const ret = makeMutClosure(arg0, arg1, 674, __wbg_adapter_50);
3551
+ return addHeapObject(ret);
3552
+ }
3553
+
3554
+ export function __wbindgen_closure_wrapper3198(arg0, arg1, arg2) {
3555
+ const ret = makeMutClosure(arg0, arg1, 758, __wbg_adapter_53);
3591
3556
  return addHeapObject(ret);
3592
3557
  }
3593
3558
 
3594
- export function __wbindgen_closure_wrapper3536(arg0, arg1, arg2) {
3595
- const ret = makeMutClosure(arg0, arg1, 849, __wbg_adapter_53);
3559
+ export function __wbindgen_closure_wrapper3609(arg0, arg1, arg2) {
3560
+ const ret = makeMutClosure(arg0, arg1, 880, __wbg_adapter_56);
3596
3561
  return addHeapObject(ret);
3597
3562
  }
3598
3563
 
Binary file
@@ -53,19 +53,13 @@ export const __wbg_get_incomingmessage_topic: (a: number, b: number) => void;
53
53
  export const __wbg_set_incomingmessage_topic: (a: number, b: number, c: number) => void;
54
54
  export const __wbg_ipccommunicationbackend_free: (a: number, b: number) => void;
55
55
  export const ipccommunicationbackend_new: (a: number) => number;
56
- export const ipccommunicationbackend_deliver_message: (a: number, b: number, c: number) => void;
57
- export const __wbg_senderror_free: (a: number, b: number) => void;
58
- export const __wbg_receiveerror_free: (a: number, b: number) => void;
59
- export const __wbg_get_receiveerror_timeout: (a: number) => number;
60
- export const __wbg_set_receiveerror_timeout: (a: number, b: number) => void;
61
- export const __wbg_get_receiveerror_crypto: (a: number) => number;
62
- export const __wbg_set_receiveerror_crypto: (a: number, b: number) => void;
63
- export const __wbg_get_receiveerror_communication: (a: number) => number;
64
- export const __wbg_set_receiveerror_communication: (a: number, b: number) => void;
56
+ export const ipccommunicationbackend_receive: (a: number, b: number, c: number) => void;
65
57
  export const __wbg_ipcclient_free: (a: number, b: number) => void;
66
58
  export const __wbg_ipcclientsubscription_free: (a: number, b: number) => void;
67
- export const ipcclientsubscription_receive: (a: number) => number;
59
+ export const ipcclientsubscription_receive: (a: number, b: number) => number;
68
60
  export const ipcclient_new: (a: number) => number;
61
+ export const ipcclient_start: (a: number) => number;
62
+ export const ipcclient_isRunning: (a: number) => number;
69
63
  export const ipcclient_send: (a: number, b: number) => number;
70
64
  export const ipcclient_subscribe: (a: number) => number;
71
65
  export const outgoingmessage_new: (a: number, b: number, c: number, d: number, e: number) => number;
@@ -87,15 +81,15 @@ export const incomingmessage_new: (
87
81
  export const incomingmessage_parse_payload_as_json: (a: number) => number;
88
82
  export const isChannelError: (a: number) => number;
89
83
  export const isDeserializeError: (a: number) => number;
90
- export const __wbg_set_senderror_crypto: (a: number, b: number) => void;
91
- export const __wbg_set_senderror_communication: (a: number, b: number) => void;
92
- export const __wbg_get_senderror_crypto: (a: number) => number;
93
- export const __wbg_get_senderror_communication: (a: number) => number;
84
+ export const isTypedReceiveError: (a: number) => number;
85
+ export const isReceiveError: (a: number) => number;
86
+ export const isSubscribeError: (a: number) => number;
94
87
  export const __wbg_get_outgoingmessage_destination: (a: number) => number;
95
88
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
96
89
  export const isSshKeyExportError: (a: number) => number;
97
90
  export const isSshKeyImportError: (a: number) => number;
98
91
  export const isKeyGenerationError: (a: number) => number;
92
+ export const isCallError: (a: number) => number;
99
93
  export const __wbg_attachmentsclient_free: (a: number, b: number) => void;
100
94
  export const attachmentsclient_decrypt_buffer: (
101
95
  a: number,
@@ -137,10 +131,10 @@ export const isEncryptFileError: (a: number) => number;
137
131
  export const vaultclient_ciphers: (a: number) => number;
138
132
  export const vaultclient_folders: (a: number) => number;
139
133
  export const vaultclient_totp: (a: number) => number;
140
- export const __wbg_foldersclient_free: (a: number, b: number) => void;
141
- export const __wbg_ciphersclient_free: (a: number, b: number) => void;
142
134
  export const __wbg_totpclient_free: (a: number, b: number) => void;
143
135
  export const __wbg_vaultclient_free: (a: number, b: number) => void;
136
+ export const __wbg_ciphersclient_free: (a: number, b: number) => void;
137
+ export const __wbg_foldersclient_free: (a: number, b: number) => void;
144
138
  export const __wbg_bitwardenclient_free: (a: number, b: number) => void;
145
139
  export const bitwardenclient_new: (a: number) => number;
146
140
  export const bitwardenclient_echo: (a: number, b: number, c: number, d: number) => void;
@@ -302,7 +296,11 @@ export const __wbindgen_exn_store: (a: number) => void;
302
296
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
303
297
  export const __wbindgen_export_4: WebAssembly.Table;
304
298
  export const __wbindgen_add_to_stack_pointer: (a: number) => number;
305
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7fea53fbe563cc8: (
299
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcf47463d0c774ef2: (
300
+ a: number,
301
+ b: number,
302
+ ) => void;
303
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h07b1ac521b96b202: (
306
304
  a: number,
307
305
  b: number,
308
306
  ) => void;