@trycua/cua 0.3.1 → 0.4.1

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.
@@ -2206,28 +2206,28 @@ export interface InitOutput {
2206
2206
  readonly uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint, b: number) => bigint;
2207
2207
  readonly __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
2208
2208
  readonly foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
2209
- readonly __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
2210
- readonly foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
2211
- readonly __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
2209
+ readonly __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
2210
+ readonly foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
2211
+ readonly __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
2212
2212
  readonly __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
2213
2213
  readonly __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
2214
- readonly foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
2214
+ readonly foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
2215
2215
  readonly foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
2216
2216
  readonly foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
2217
- readonly __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
2217
+ readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
2218
+ readonly __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
2218
2219
  readonly __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
2219
- readonly __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
2220
2220
  readonly __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
2221
2221
  readonly __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
2222
- readonly foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
2222
+ readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
2223
+ readonly foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
2223
2224
  readonly foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
2224
- readonly foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
2225
2225
  readonly foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
2226
2226
  readonly foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
2227
- readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
2228
- readonly __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
2229
- readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
2230
- readonly foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
2227
+ readonly __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
2228
+ readonly __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
2229
+ readonly foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
2230
+ readonly foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
2231
2231
  readonly __wbg_get_rustcallstatus_code: (a: number) => number;
2232
2232
  readonly __wbg_rustcallstatus_free: (a: number, b: number) => void;
2233
2233
  readonly __wbg_set_rustcallstatus_code: (a: number, b: number) => void;
@@ -5688,45 +5688,45 @@ function __wbg_get_imports() {
5688
5688
  const ret = arg0.byteOffset;
5689
5689
  return ret;
5690
5690
  },
5691
- __wbg_call_00ddac3febb8935f: function(arg0, arg1, arg2) {
5692
- const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
5693
- return ret;
5694
- },
5695
- __wbg_call_0aacd5fb8327fd44: function(arg0, arg1, arg2) {
5691
+ __wbg_call_14af55ccea4f3ebc: function(arg0, arg1, arg2) {
5696
5692
  arg0.call(arg1, BigInt.asUintN(64, arg2));
5697
5693
  },
5698
- __wbg_call_134815481dd0ec22: function(arg0, arg1, arg2, arg3) {
5694
+ __wbg_call_26395c26d22592cb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5695
+ var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
5696
+ wasm.__wbindgen_free(arg3, arg4 * 1, 1);
5697
+ const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), v0, ForeignFutureCompleteRustBuffer.__wrap(arg5), BigInt.asUintN(64, arg6));
5698
+ return ret;
5699
+ },
5700
+ __wbg_call_525a5dfe53e7ddc1: function(arg0, arg1, arg2, arg3) {
5699
5701
  arg0.call(arg1, BigInt.asUintN(64, arg2), arg3);
5700
5702
  },
5701
- __wbg_call_1de67cb6c8957e35: function(arg0, arg1, arg2) {
5702
- arg0.call(arg1, BigInt.asUintN(64, arg2));
5703
+ __wbg_call_572844d3d2b98d7d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5704
+ const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), arg3, ForeignFutureCompleteRustBuffer.__wrap(arg4), BigInt.asUintN(64, arg5));
5705
+ return ret;
5703
5706
  },
5704
- __wbg_call_6d875d7c72913330: function(arg0, arg1, arg2) {
5707
+ __wbg_call_58993487b15c67d0: function(arg0, arg1, arg2) {
5705
5708
  arg0.call(arg1, BigInt.asUintN(64, arg2));
5706
5709
  },
5707
- __wbg_call_899b9b70e353349f: function(arg0, arg1, arg2) {
5710
+ __wbg_call_6d10135d63c3b972: function(arg0, arg1, arg2) {
5708
5711
  const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
5709
5712
  return ret;
5710
5713
  },
5714
+ __wbg_call_855847514438c3c7: function(arg0, arg1, arg2) {
5715
+ arg0.call(arg1, BigInt.asUintN(64, arg2));
5716
+ },
5711
5717
  __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
5712
5718
  const ret = arg0.call(arg1);
5713
5719
  return ret;
5714
5720
  }, arguments); },
5715
- __wbg_call_96ea47e3dbf1f018: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
5716
- var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
5717
- wasm.__wbindgen_free(arg3, arg4 * 1, 1);
5718
- const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), v0, ForeignFutureCompleteRustBuffer.__wrap(arg5), BigInt.asUintN(64, arg6));
5719
- return ret;
5720
- },
5721
5721
  __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
5722
5722
  const ret = arg0.call(arg1, arg2);
5723
5723
  return ret;
5724
5724
  }, arguments); },
5725
- __wbg_call_e4ab523d7cd58d4f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
5726
- const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), arg3, ForeignFutureCompleteRustBuffer.__wrap(arg4), BigInt.asUintN(64, arg5));
5725
+ __wbg_call_c46109323d6c7834: function(arg0, arg1, arg2) {
5726
+ const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
5727
5727
  return ret;
5728
5728
  },
5729
- __wbg_call_status_7e9dc0d6ee93540a: function(arg0) {
5729
+ __wbg_call_status_293941041ee483bf: function(arg0) {
5730
5730
  const ret = arg0.call_status;
5731
5731
  _assertClass(ret, RustCallStatus);
5732
5732
  var ptr1 = ret.__destroy_into_raw();
@@ -5765,7 +5765,7 @@ function __wbg_get_imports() {
5765
5765
  __wbg_enqueue_6d83b4c6281bafd6: function() { return handleError(function (arg0, arg1) {
5766
5766
  arg0.enqueue(arg1);
5767
5767
  }, arguments); },
5768
- __wbg_execute_41f76aad3fdf8999: function(arg0) {
5768
+ __wbg_execute_d81dc85ac5e5e4bc: function(arg0) {
5769
5769
  const ret = arg0.execute;
5770
5770
  return ret;
5771
5771
  },
@@ -5781,7 +5781,7 @@ function __wbg_get_imports() {
5781
5781
  const ret = arg0.fetch(arg1, arg2);
5782
5782
  return ret;
5783
5783
  },
5784
- __wbg_free_4979183f6934cd67: function(arg0) {
5784
+ __wbg_free_8674084816bec998: function(arg0) {
5785
5785
  const ret = arg0.free;
5786
5786
  return ret;
5787
5787
  },
@@ -5804,7 +5804,7 @@ function __wbg_get_imports() {
5804
5804
  const ret = Reflect.get(arg0, arg1);
5805
5805
  return ret;
5806
5806
  }, arguments); },
5807
- __wbg_get_access_token_ec52e05dfdfcc413: function(arg0) {
5807
+ __wbg_get_access_token_09feadc60287baa5: function(arg0) {
5808
5808
  const ret = arg0.get_access_token;
5809
5809
  return ret;
5810
5810
  },
@@ -5820,7 +5820,7 @@ function __wbg_get_imports() {
5820
5820
  const ret = arg0.value;
5821
5821
  return ret;
5822
5822
  },
5823
- __wbg_handle_bdd4844c7368045a: function(arg0) {
5823
+ __wbg_handle_1af4d39258b03a90: function(arg0) {
5824
5824
  const ret = arg0.handle;
5825
5825
  return ret;
5826
5826
  },
@@ -6021,50 +6021,50 @@ function __wbg_get_imports() {
6021
6021
  __wbg_respond_510e32df8aeb6817: function() { return handleError(function (arg0, arg1) {
6022
6022
  arg0.respond(arg1 >>> 0);
6023
6023
  }, arguments); },
6024
- __wbg_return_value_10b63b9f9ca7e7a6: function(arg0) {
6024
+ __wbg_return_value_1ade6ade02a65b21: function(arg0) {
6025
6025
  const ret = arg0.return_value;
6026
6026
  return ret;
6027
6027
  },
6028
- __wbg_return_value_2a423af819e336ee: function(arg0) {
6028
+ __wbg_return_value_2e00a70629014f5a: function(arg0) {
6029
6029
  const ret = arg0.return_value;
6030
6030
  return ret;
6031
6031
  },
6032
- __wbg_return_value_33a295b2d9308435: function(arg0) {
6032
+ __wbg_return_value_340f0586ec4ce7d2: function(arg0) {
6033
6033
  const ret = arg0.return_value;
6034
6034
  return ret;
6035
6035
  },
6036
- __wbg_return_value_5a76ecbc9f8c25cc: function(arg0) {
6036
+ __wbg_return_value_59ec27693aaaca25: function(arg0) {
6037
6037
  const ret = arg0.return_value;
6038
6038
  return ret;
6039
6039
  },
6040
- __wbg_return_value_7f3ff7f018d1ff02: function(arg0) {
6040
+ __wbg_return_value_a925e00db8cb89f1: function(arg0) {
6041
6041
  const ret = arg0.return_value;
6042
6042
  return ret;
6043
6043
  },
6044
- __wbg_return_value_93c650895261cca2: function(arg0) {
6044
+ __wbg_return_value_a985f3ab9bdfb29e: function(arg0, arg1) {
6045
+ const ret = arg1.return_value;
6046
+ const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6047
+ const len1 = WASM_VECTOR_LEN;
6048
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6049
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6050
+ },
6051
+ __wbg_return_value_d57da3aaa38e3242: function(arg0) {
6045
6052
  const ret = arg0.return_value;
6046
6053
  return ret;
6047
6054
  },
6048
- __wbg_return_value_af2df9f09becd379: function(arg0) {
6055
+ __wbg_return_value_ddf1f203f15e83ba: function(arg0) {
6049
6056
  const ret = arg0.return_value;
6050
6057
  return ret;
6051
6058
  },
6052
- __wbg_return_value_b8f309c3156c3c7a: function(arg0) {
6059
+ __wbg_return_value_ec04950428433acb: function(arg0) {
6053
6060
  const ret = arg0.return_value;
6054
6061
  return ret;
6055
6062
  },
6056
- __wbg_return_value_cf1dcdbf16437c65: function(arg0, arg1) {
6057
- const ret = arg1.return_value;
6058
- const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6059
- const len1 = WASM_VECTOR_LEN;
6060
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6061
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6062
- },
6063
- __wbg_return_value_d16d2fc5ff9480ac: function(arg0) {
6063
+ __wbg_return_value_f0e112b656eaca50: function(arg0) {
6064
6064
  const ret = arg0.return_value;
6065
6065
  return ret;
6066
6066
  },
6067
- __wbg_return_value_d972d7bfc0cccbbb: function(arg0) {
6067
+ __wbg_return_value_fe0820f0346e8352: function(arg0) {
6068
6068
  const ret = arg0.return_value;
6069
6069
  return ret;
6070
6070
  },
@@ -6155,19 +6155,19 @@ function __wbg_get_imports() {
6155
6155
  const ret = arg0.toString();
6156
6156
  return ret;
6157
6157
  },
6158
- __wbg_uniffi_clone_310ccaa9ff29cb3e: function(arg0) {
6158
+ __wbg_uniffi_clone_002aef5e8c5f0409: function(arg0) {
6159
6159
  const ret = arg0.uniffi_clone;
6160
6160
  return ret;
6161
6161
  },
6162
- __wbg_uniffi_clone_5d7dc130963c02b7: function(arg0) {
6162
+ __wbg_uniffi_clone_0a88d0837a3f4c6c: function(arg0) {
6163
6163
  const ret = arg0.uniffi_clone;
6164
6164
  return ret;
6165
6165
  },
6166
- __wbg_uniffi_free_2e764ef7d5fd5ba8: function(arg0) {
6166
+ __wbg_uniffi_free_b1e190e66d55bc55: function(arg0) {
6167
6167
  const ret = arg0.uniffi_free;
6168
6168
  return ret;
6169
6169
  },
6170
- __wbg_uniffi_free_6b9a9b565bc4b6ed: function(arg0) {
6170
+ __wbg_uniffi_free_f3da13d1249005ad: function(arg0) {
6171
6171
  const ret = arg0.uniffi_free;
6172
6172
  return ret;
6173
6173
  },
Binary file
@@ -1037,28 +1037,28 @@ export const ubrn_uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint,
1037
1037
  export const uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint, b: number) => bigint;
1038
1038
  export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
1039
1039
  export const foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
1040
- export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
1041
- export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
1042
- export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
1040
+ export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
1041
+ export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
1042
+ export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
1043
1043
  export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
1044
1044
  export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
1045
- export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
1045
+ export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
1046
1046
  export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
1047
1047
  export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
1048
- export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
1048
+ export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
1049
+ export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
1049
1050
  export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
1050
- export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
1051
1051
  export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
1052
1052
  export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
1053
- export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
1053
+ export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
1054
+ export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
1054
1055
  export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
1055
- export const foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
1056
1056
  export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
1057
1057
  export const foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
1058
- export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
1059
- export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
1060
- export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
1061
- export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
1058
+ export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
1059
+ export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
1060
+ export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
1061
+ export const foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
1062
1062
  export const __wbg_get_rustcallstatus_code: (a: number) => number;
1063
1063
  export const __wbg_rustcallstatus_free: (a: number, b: number) => void;
1064
1064
  export const __wbg_set_rustcallstatus_code: (a: number, b: number) => void;
@@ -406,6 +406,7 @@ interface NativeModuleInterface {
406
406
  uniffi_cua_sdk_fn_method_space_set_presence_settings(uniffiSelf: bigint, cursorProbe: Uint8Array): bigint;
407
407
  uniffi_cua_sdk_fn_method_space_share(uniffiSelf: bigint, who: Uint8Array, role: Uint8Array): bigint;
408
408
  uniffi_cua_sdk_fn_method_space_shares(uniffiSelf: bigint): bigint;
409
+ uniffi_cua_sdk_fn_method_space_spacesd(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
409
410
  uniffi_cua_sdk_fn_method_space_start_hotspot(uniffiSelf: bigint, setSystemProxy: Uint8Array, bypass: Uint8Array): bigint;
410
411
  uniffi_cua_sdk_fn_method_space_stop_hotspot(uniffiSelf: bigint): bigint;
411
412
  uniffi_cua_sdk_fn_method_space_stream_session(uniffiSelf: bigint, options: Uint8Array, frames: bigint, audio: Uint8Array): bigint;
@@ -848,6 +849,7 @@ interface NativeModuleInterface {
848
849
  uniffi_cua_sdk_checksum_method_space_set_presence_settings(): number;
849
850
  uniffi_cua_sdk_checksum_method_space_share(): number;
850
851
  uniffi_cua_sdk_checksum_method_space_shares(): number;
852
+ uniffi_cua_sdk_checksum_method_space_spacesd(): number;
851
853
  uniffi_cua_sdk_checksum_method_space_start_hotspot(): number;
852
854
  uniffi_cua_sdk_checksum_method_space_stop_hotspot(): number;
853
855
  uniffi_cua_sdk_checksum_method_space_stream_session(): number;
@@ -2042,6 +2042,11 @@ const DEFINITIONS = {
2042
2042
  ret: FfiType.Handle,
2043
2043
  hasRustCallStatus: false,
2044
2044
  },
2045
+ "uniffi_cua_sdk_fn_method_space_spacesd": {
2046
+ args: [FfiType.Handle],
2047
+ ret: FfiType.Handle,
2048
+ hasRustCallStatus: true,
2049
+ },
2045
2050
  "uniffi_cua_sdk_fn_method_space_start_hotspot": {
2046
2051
  args: [FfiType.Handle, FfiType.RustBuffer, FfiType.RustBuffer],
2047
2052
  ret: FfiType.Handle,
@@ -4252,6 +4257,11 @@ const DEFINITIONS = {
4252
4257
  ret: FfiType.UInt16,
4253
4258
  hasRustCallStatus: false,
4254
4259
  },
4260
+ "uniffi_cua_sdk_checksum_method_space_spacesd": {
4261
+ args: [],
4262
+ ret: FfiType.UInt16,
4263
+ hasRustCallStatus: false,
4264
+ },
4255
4265
  "uniffi_cua_sdk_checksum_method_space_start_hotspot": {
4256
4266
  args: [],
4257
4267
  ret: FfiType.UInt16,
@@ -12761,6 +12761,10 @@ export interface SpaceLike {
12761
12761
  shares(asyncOpts_?: {
12762
12762
  signal: AbortSignal;
12763
12763
  }): Promise<SpaceShares>;
12764
+ /**
12765
+ * The cua-spacesd client over the connection this Space authenticated.
12766
+ */
12767
+ spacesd(): SpacesdClientLike;
12764
12768
  /**
12765
12769
  * Starts the reverse-SOCKS hotspot: this host serves the Space's
12766
12770
  * egress. `set_system_proxy` points the guest's proxy settings at it
@@ -13095,6 +13099,10 @@ export declare class Space extends UniffiAbstractObject implements SpaceLike {
13095
13099
  shares(asyncOpts_?: {
13096
13100
  signal: AbortSignal;
13097
13101
  }): Promise<SpaceShares>;
13102
+ /**
13103
+ * The cua-spacesd client over the connection this Space authenticated.
13104
+ */
13105
+ spacesd(): SpacesdClientLike;
13098
13106
  /**
13099
13107
  * Starts the reverse-SOCKS hotspot: this host serves the Space's
13100
13108
  * egress. `set_system_proxy` points the guest's proxy settings at it
@@ -21737,6 +21737,17 @@ export class Space extends UniffiAbstractObject {
21737
21737
  throw __error;
21738
21738
  }
21739
21739
  }
21740
+ /**
21741
+ * The cua-spacesd client over the connection this Space authenticated.
21742
+ */
21743
+ spacesd() {
21744
+ return FfiConverterTypeSpacesdClient.lift(uniffiCaller.rustCallWithError(
21745
+ /*liftError:*/ FfiConverterTypeCuaError.lift.bind(FfiConverterTypeCuaError),
21746
+ /*caller:*/ (callStatus) => {
21747
+ return nativeModule().uniffi_cua_sdk_fn_method_space_spacesd(uniffiTypeSpaceObjectFactory.clonePointer(this), callStatus);
21748
+ },
21749
+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString)));
21750
+ }
21740
21751
  /**
21741
21752
  * Starts the reverse-SOCKS hotspot: this host serves the Space's
21742
21753
  * egress. `set_system_proxy` points the guest's proxy settings at it
@@ -26538,6 +26549,9 @@ function uniffiEnsureInitialized() {
26538
26549
  if (nativeModule().uniffi_cua_sdk_checksum_method_space_shares() !== 19234) {
26539
26550
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_sdk_checksum_method_space_shares");
26540
26551
  }
26552
+ if (nativeModule().uniffi_cua_sdk_checksum_method_space_spacesd() !== 47873) {
26553
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_sdk_checksum_method_space_spacesd");
26554
+ }
26541
26555
  if (nativeModule().uniffi_cua_sdk_checksum_method_space_start_hotspot() !== 44744) {
26542
26556
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_sdk_checksum_method_space_start_hotspot");
26543
26557
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycua/cua",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "The cua SDK for Node and the browser: sandboxes, cua-spacesd, media streaming, Spaces and the cua daemon, on a Rust core",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -83,11 +83,11 @@
83
83
  "cua": "bin/cua.js"
84
84
  },
85
85
  "optionalDependencies": {
86
- "@trycua/cua-darwin-arm64": "0.3.1",
87
- "@trycua/cua-darwin-x64": "0.3.1",
88
- "@trycua/cua-linux-arm64-gnu": "0.3.1",
89
- "@trycua/cua-linux-x64-gnu": "0.3.1",
90
- "@trycua/cua-win32-arm64-msvc": "0.3.1",
91
- "@trycua/cua-win32-x64-msvc": "0.3.1"
86
+ "@trycua/cua-darwin-arm64": "0.4.1",
87
+ "@trycua/cua-darwin-x64": "0.4.1",
88
+ "@trycua/cua-linux-arm64-gnu": "0.4.1",
89
+ "@trycua/cua-linux-x64-gnu": "0.4.1",
90
+ "@trycua/cua-win32-arm64-msvc": "0.4.1",
91
+ "@trycua/cua-win32-x64-msvc": "0.4.1"
92
92
  }
93
93
  }