@trycua/cua 0.3.1 → 0.4.0
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/browser/wasm-bindgen/index.d.ts +15 -15
- package/browser/wasm-bindgen/index.js +45 -45
- package/browser/wasm-bindgen/index_bg.wasm +0 -0
- package/browser/wasm-bindgen/index_bg.wasm.d.ts +15 -15
- package/dist/native/cua_sdk-ffi.d.ts +2 -0
- package/dist/native/cua_sdk-ffi.js +10 -0
- package/dist/native/cua_sdk.d.ts +8 -0
- package/dist/native/cua_sdk.js +14 -0
- package/package.json +7 -7
|
@@ -2204,30 +2204,30 @@ export interface InitOutput {
|
|
|
2204
2204
|
readonly uniffi_cua_sdk_fn_method_spacesdclient_sh: (a: bigint, b: number, c: number) => bigint;
|
|
2205
2205
|
readonly ubrn_uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint, b: number, c: number) => bigint;
|
|
2206
2206
|
readonly uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint, b: number) => bigint;
|
|
2207
|
-
readonly
|
|
2208
|
-
readonly
|
|
2207
|
+
readonly __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
2208
|
+
readonly foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2209
|
+
readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
2210
|
+
readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2211
|
+
readonly __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
|
|
2209
2212
|
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;
|
|
2212
|
-
readonly __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
|
|
2213
2213
|
readonly __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
2214
|
-
readonly
|
|
2215
|
-
readonly
|
|
2214
|
+
readonly foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2215
|
+
readonly foreignfuturecompletei32_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
2217
|
readonly __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
|
|
2218
|
+
readonly __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
2218
2219
|
readonly __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
2219
|
-
readonly
|
|
2220
|
+
readonly __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
|
|
2220
2221
|
readonly __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
|
|
2221
|
-
readonly __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
2222
2222
|
readonly foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2223
|
+
readonly foreignfuturecompletei8_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
|
|
2225
|
+
readonly foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2225
2226
|
readonly foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2226
|
-
readonly
|
|
2227
|
-
readonly
|
|
2228
|
-
readonly
|
|
2229
|
-
readonly
|
|
2230
|
-
readonly foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2227
|
+
readonly __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
|
|
2228
|
+
readonly __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
|
|
2229
|
+
readonly foreignfuturecompletef64_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
|
-
|
|
5691
|
+
__wbg_call_25b19cce90ca4bcb: function(arg0, arg1, arg2) {
|
|
5692
5692
|
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5693
5693
|
return ret;
|
|
5694
5694
|
},
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
},
|
|
5701
|
-
__wbg_call_1de67cb6c8957e35: function(arg0, arg1, arg2) {
|
|
5702
|
-
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5703
|
-
},
|
|
5704
|
-
__wbg_call_6d875d7c72913330: function(arg0, arg1, arg2) {
|
|
5705
|
-
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5695
|
+
__wbg_call_4a2180b3e2982945: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5696
|
+
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
5697
|
+
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
5698
|
+
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), v0, ForeignFutureCompleteRustBuffer.__wrap(arg5), BigInt.asUintN(64, arg6));
|
|
5699
|
+
return ret;
|
|
5706
5700
|
},
|
|
5707
|
-
|
|
5701
|
+
__wbg_call_75cdc8fb670c3a35: function(arg0, arg1, arg2) {
|
|
5708
5702
|
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5709
5703
|
return ret;
|
|
5710
5704
|
},
|
|
5705
|
+
__wbg_call_85dadacd8cbd69c7: function(arg0, arg1, arg2, arg3) {
|
|
5706
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2), arg3);
|
|
5707
|
+
},
|
|
5711
5708
|
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
5712
5709
|
const ret = arg0.call(arg1);
|
|
5713
5710
|
return ret;
|
|
5714
5711
|
}, arguments); },
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5712
|
+
__wbg_call_934de98b4583b855: function(arg0, arg1, arg2) {
|
|
5713
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5714
|
+
},
|
|
5715
|
+
__wbg_call_98cb130207a487a9: function(arg0, arg1, arg2) {
|
|
5716
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5720
5717
|
},
|
|
5721
5718
|
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
5722
5719
|
const ret = arg0.call(arg1, arg2);
|
|
5723
5720
|
return ret;
|
|
5724
5721
|
}, arguments); },
|
|
5725
|
-
|
|
5722
|
+
__wbg_call_d83f0e22a9f7b98c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5726
5723
|
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), arg3, ForeignFutureCompleteRustBuffer.__wrap(arg4), BigInt.asUintN(64, arg5));
|
|
5727
5724
|
return ret;
|
|
5728
5725
|
},
|
|
5729
|
-
|
|
5726
|
+
__wbg_call_e92b2a7dc4a88007: function(arg0, arg1, arg2) {
|
|
5727
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5728
|
+
},
|
|
5729
|
+
__wbg_call_status_3536d791f2917611: 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
|
-
|
|
5768
|
+
__wbg_execute_4b9c20f86eba6fe8: 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
|
-
|
|
5784
|
+
__wbg_free_9165657b13492168: 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
|
-
|
|
5807
|
+
__wbg_get_access_token_8fdfd92c14ad81c8: 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
|
-
|
|
5823
|
+
__wbg_handle_e29fcb086c28e278: 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
|
-
|
|
6024
|
+
__wbg_return_value_04cfacacdf70b9fc: function(arg0) {
|
|
6025
6025
|
const ret = arg0.return_value;
|
|
6026
6026
|
return ret;
|
|
6027
6027
|
},
|
|
6028
|
-
|
|
6028
|
+
__wbg_return_value_273e4e9f8ae319e7: function(arg0) {
|
|
6029
6029
|
const ret = arg0.return_value;
|
|
6030
6030
|
return ret;
|
|
6031
6031
|
},
|
|
6032
|
-
|
|
6032
|
+
__wbg_return_value_42bcca51e2c5675e: function(arg0) {
|
|
6033
6033
|
const ret = arg0.return_value;
|
|
6034
6034
|
return ret;
|
|
6035
6035
|
},
|
|
6036
|
-
|
|
6036
|
+
__wbg_return_value_7021c7ff807b9e02: function(arg0) {
|
|
6037
6037
|
const ret = arg0.return_value;
|
|
6038
6038
|
return ret;
|
|
6039
6039
|
},
|
|
6040
|
-
|
|
6040
|
+
__wbg_return_value_7d2db47c9d087004: function(arg0, arg1) {
|
|
6041
|
+
const ret = arg1.return_value;
|
|
6042
|
+
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
6043
|
+
const len1 = WASM_VECTOR_LEN;
|
|
6044
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6045
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6046
|
+
},
|
|
6047
|
+
__wbg_return_value_9ea8d497124fb974: function(arg0) {
|
|
6041
6048
|
const ret = arg0.return_value;
|
|
6042
6049
|
return ret;
|
|
6043
6050
|
},
|
|
6044
|
-
|
|
6051
|
+
__wbg_return_value_b375cd39d894a22f: function(arg0) {
|
|
6045
6052
|
const ret = arg0.return_value;
|
|
6046
6053
|
return ret;
|
|
6047
6054
|
},
|
|
6048
|
-
|
|
6055
|
+
__wbg_return_value_b647e51ba60789de: function(arg0) {
|
|
6049
6056
|
const ret = arg0.return_value;
|
|
6050
6057
|
return ret;
|
|
6051
6058
|
},
|
|
6052
|
-
|
|
6059
|
+
__wbg_return_value_efcf117bb1729fa5: function(arg0) {
|
|
6053
6060
|
const ret = arg0.return_value;
|
|
6054
6061
|
return ret;
|
|
6055
6062
|
},
|
|
6056
|
-
|
|
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_f334cba170b77a7e: function(arg0) {
|
|
6064
6064
|
const ret = arg0.return_value;
|
|
6065
6065
|
return ret;
|
|
6066
6066
|
},
|
|
6067
|
-
|
|
6067
|
+
__wbg_return_value_f9b4731793cdec57: 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
|
-
|
|
6158
|
+
__wbg_uniffi_clone_d0a3b307c02f236d: function(arg0) {
|
|
6159
6159
|
const ret = arg0.uniffi_clone;
|
|
6160
6160
|
return ret;
|
|
6161
6161
|
},
|
|
6162
|
-
|
|
6162
|
+
__wbg_uniffi_clone_fcba036a6e55cabc: function(arg0) {
|
|
6163
6163
|
const ret = arg0.uniffi_clone;
|
|
6164
6164
|
return ret;
|
|
6165
6165
|
},
|
|
6166
|
-
|
|
6166
|
+
__wbg_uniffi_free_8794ee8f0bdfe91e: function(arg0) {
|
|
6167
6167
|
const ret = arg0.uniffi_free;
|
|
6168
6168
|
return ret;
|
|
6169
6169
|
},
|
|
6170
|
-
|
|
6170
|
+
__wbg_uniffi_free_be9ddfe16480bd0b: function(arg0) {
|
|
6171
6171
|
const ret = arg0.uniffi_free;
|
|
6172
6172
|
return ret;
|
|
6173
6173
|
},
|
|
Binary file
|
|
@@ -1035,30 +1035,30 @@ export const ubrn_uniffi_cua_sdk_fn_method_spacesdclient_sh: (a: bigint, b: numb
|
|
|
1035
1035
|
export const uniffi_cua_sdk_fn_method_spacesdclient_sh: (a: bigint, b: number, c: number) => bigint;
|
|
1036
1036
|
export const ubrn_uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint, b: number, c: number) => bigint;
|
|
1037
1037
|
export const uniffi_cua_sdk_fn_method_spacesdclient_type_text: (a: bigint, b: number) => bigint;
|
|
1038
|
-
export const
|
|
1039
|
-
export const
|
|
1038
|
+
export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
1039
|
+
export const foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1040
|
+
export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
1041
|
+
export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1042
|
+
export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
|
|
1040
1043
|
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;
|
|
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
|
|
1046
|
-
export const
|
|
1045
|
+
export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1046
|
+
export const foreignfuturecompletei32_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
1048
|
export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
|
|
1049
|
+
export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
1049
1050
|
export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
1050
|
-
export const
|
|
1051
|
+
export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
|
|
1051
1052
|
export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
|
|
1052
|
-
export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
1053
1053
|
export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1054
|
+
export const foreignfuturecompletei8_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
|
|
1056
|
+
export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1056
1057
|
export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1057
|
-
export const
|
|
1058
|
-
export const
|
|
1059
|
-
export const
|
|
1060
|
-
export const
|
|
1061
|
-
export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1058
|
+
export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
|
|
1059
|
+
export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
|
|
1060
|
+
export const foreignfuturecompletef64_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,
|
package/dist/native/cua_sdk.d.ts
CHANGED
|
@@ -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
|
package/dist/native/cua_sdk.js
CHANGED
|
@@ -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
|
+
"version": "0.4.0",
|
|
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.
|
|
87
|
-
"@trycua/cua-darwin-x64": "0.
|
|
88
|
-
"@trycua/cua-linux-arm64-gnu": "0.
|
|
89
|
-
"@trycua/cua-linux-x64-gnu": "0.
|
|
90
|
-
"@trycua/cua-win32-arm64-msvc": "0.
|
|
91
|
-
"@trycua/cua-win32-x64-msvc": "0.
|
|
86
|
+
"@trycua/cua-darwin-arm64": "0.4.0",
|
|
87
|
+
"@trycua/cua-darwin-x64": "0.4.0",
|
|
88
|
+
"@trycua/cua-linux-arm64-gnu": "0.4.0",
|
|
89
|
+
"@trycua/cua-linux-x64-gnu": "0.4.0",
|
|
90
|
+
"@trycua/cua-win32-arm64-msvc": "0.4.0",
|
|
91
|
+
"@trycua/cua-win32-x64-msvc": "0.4.0"
|
|
92
92
|
}
|
|
93
93
|
}
|