@trycua/cua 0.4.0 → 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.
|
@@ -2204,29 +2204,29 @@ 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
|
|
2209
|
-
readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
2210
|
-
readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2207
|
+
readonly __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
2208
|
+
readonly foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2211
2209
|
readonly __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
|
|
2212
|
-
readonly __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
|
|
2213
|
-
readonly __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
2214
2210
|
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
|
-
readonly foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2217
2211
|
readonly __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
|
|
2218
|
-
readonly __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
2219
|
-
readonly __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
2220
2212
|
readonly __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
|
|
2221
|
-
readonly
|
|
2213
|
+
readonly __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
2222
2214
|
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;
|
|
2224
|
-
readonly foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2225
2215
|
readonly foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2226
|
-
readonly
|
|
2216
|
+
readonly foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2217
|
+
readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
2227
2218
|
readonly __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
|
|
2228
|
-
readonly
|
|
2219
|
+
readonly __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
2220
|
+
readonly __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
|
|
2221
|
+
readonly __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
2222
|
+
readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2229
2223
|
readonly foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2224
|
+
readonly foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2225
|
+
readonly foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
2226
|
+
readonly foreignfuturecompleteu8_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
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;
|
|
@@ -5688,45 +5688,45 @@ function __wbg_get_imports() {
|
|
|
5688
5688
|
const ret = arg0.byteOffset;
|
|
5689
5689
|
return ret;
|
|
5690
5690
|
},
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
return ret;
|
|
5691
|
+
__wbg_call_14af55ccea4f3ebc: function(arg0, arg1, arg2) {
|
|
5692
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5694
5693
|
},
|
|
5695
|
-
|
|
5694
|
+
__wbg_call_26395c26d22592cb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5696
5695
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
5697
5696
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
5698
5697
|
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), v0, ForeignFutureCompleteRustBuffer.__wrap(arg5), BigInt.asUintN(64, arg6));
|
|
5699
5698
|
return ret;
|
|
5700
5699
|
},
|
|
5701
|
-
|
|
5700
|
+
__wbg_call_525a5dfe53e7ddc1: function(arg0, arg1, arg2, arg3) {
|
|
5701
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2), arg3);
|
|
5702
|
+
},
|
|
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;
|
|
5706
|
+
},
|
|
5707
|
+
__wbg_call_58993487b15c67d0: function(arg0, arg1, arg2) {
|
|
5708
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5709
|
+
},
|
|
5710
|
+
__wbg_call_6d10135d63c3b972: function(arg0, arg1, arg2) {
|
|
5702
5711
|
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5703
5712
|
return ret;
|
|
5704
5713
|
},
|
|
5705
|
-
|
|
5706
|
-
arg0.call(arg1, BigInt.asUintN(64, arg2)
|
|
5714
|
+
__wbg_call_855847514438c3c7: function(arg0, arg1, arg2) {
|
|
5715
|
+
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5707
5716
|
},
|
|
5708
5717
|
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
5709
5718
|
const ret = arg0.call(arg1);
|
|
5710
5719
|
return ret;
|
|
5711
5720
|
}, arguments); },
|
|
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));
|
|
5717
|
-
},
|
|
5718
5721
|
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
5719
5722
|
const ret = arg0.call(arg1, arg2);
|
|
5720
5723
|
return ret;
|
|
5721
5724
|
}, arguments); },
|
|
5722
|
-
|
|
5723
|
-
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2)
|
|
5725
|
+
__wbg_call_c46109323d6c7834: function(arg0, arg1, arg2) {
|
|
5726
|
+
const ret = arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5724
5727
|
return ret;
|
|
5725
5728
|
},
|
|
5726
|
-
|
|
5727
|
-
arg0.call(arg1, BigInt.asUintN(64, arg2));
|
|
5728
|
-
},
|
|
5729
|
-
__wbg_call_status_3536d791f2917611: 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6024
|
+
__wbg_return_value_1ade6ade02a65b21: function(arg0) {
|
|
6025
6025
|
const ret = arg0.return_value;
|
|
6026
6026
|
return ret;
|
|
6027
6027
|
},
|
|
6028
|
-
|
|
6028
|
+
__wbg_return_value_2e00a70629014f5a: function(arg0) {
|
|
6029
6029
|
const ret = arg0.return_value;
|
|
6030
6030
|
return ret;
|
|
6031
6031
|
},
|
|
6032
|
-
|
|
6032
|
+
__wbg_return_value_340f0586ec4ce7d2: function(arg0) {
|
|
6033
6033
|
const ret = arg0.return_value;
|
|
6034
6034
|
return ret;
|
|
6035
6035
|
},
|
|
6036
|
-
|
|
6036
|
+
__wbg_return_value_59ec27693aaaca25: function(arg0) {
|
|
6037
6037
|
const ret = arg0.return_value;
|
|
6038
6038
|
return ret;
|
|
6039
6039
|
},
|
|
6040
|
-
|
|
6040
|
+
__wbg_return_value_a925e00db8cb89f1: function(arg0) {
|
|
6041
|
+
const ret = arg0.return_value;
|
|
6042
|
+
return ret;
|
|
6043
|
+
},
|
|
6044
|
+
__wbg_return_value_a985f3ab9bdfb29e: function(arg0, arg1) {
|
|
6041
6045
|
const ret = arg1.return_value;
|
|
6042
6046
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
6043
6047
|
const len1 = WASM_VECTOR_LEN;
|
|
6044
6048
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6045
6049
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6046
6050
|
},
|
|
6047
|
-
|
|
6048
|
-
const ret = arg0.return_value;
|
|
6049
|
-
return ret;
|
|
6050
|
-
},
|
|
6051
|
-
__wbg_return_value_b375cd39d894a22f: function(arg0) {
|
|
6051
|
+
__wbg_return_value_d57da3aaa38e3242: function(arg0) {
|
|
6052
6052
|
const ret = arg0.return_value;
|
|
6053
6053
|
return ret;
|
|
6054
6054
|
},
|
|
6055
|
-
|
|
6055
|
+
__wbg_return_value_ddf1f203f15e83ba: function(arg0) {
|
|
6056
6056
|
const ret = arg0.return_value;
|
|
6057
6057
|
return ret;
|
|
6058
6058
|
},
|
|
6059
|
-
|
|
6059
|
+
__wbg_return_value_ec04950428433acb: function(arg0) {
|
|
6060
6060
|
const ret = arg0.return_value;
|
|
6061
6061
|
return ret;
|
|
6062
6062
|
},
|
|
6063
|
-
|
|
6063
|
+
__wbg_return_value_f0e112b656eaca50: function(arg0) {
|
|
6064
6064
|
const ret = arg0.return_value;
|
|
6065
6065
|
return ret;
|
|
6066
6066
|
},
|
|
6067
|
-
|
|
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
|
-
|
|
6158
|
+
__wbg_uniffi_clone_002aef5e8c5f0409: function(arg0) {
|
|
6159
6159
|
const ret = arg0.uniffi_clone;
|
|
6160
6160
|
return ret;
|
|
6161
6161
|
},
|
|
6162
|
-
|
|
6162
|
+
__wbg_uniffi_clone_0a88d0837a3f4c6c: function(arg0) {
|
|
6163
6163
|
const ret = arg0.uniffi_clone;
|
|
6164
6164
|
return ret;
|
|
6165
6165
|
},
|
|
6166
|
-
|
|
6166
|
+
__wbg_uniffi_free_b1e190e66d55bc55: function(arg0) {
|
|
6167
6167
|
const ret = arg0.uniffi_free;
|
|
6168
6168
|
return ret;
|
|
6169
6169
|
},
|
|
6170
|
-
|
|
6170
|
+
__wbg_uniffi_free_f3da13d1249005ad: function(arg0) {
|
|
6171
6171
|
const ret = arg0.uniffi_free;
|
|
6172
6172
|
return ret;
|
|
6173
6173
|
},
|
|
Binary file
|
|
@@ -1035,29 +1035,29 @@ 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
|
|
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;
|
|
1038
|
+
export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
1039
|
+
export const foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1042
1040
|
export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
|
|
1043
|
-
export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
|
|
1044
|
-
export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
1045
1041
|
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
|
-
export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1048
1042
|
export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
|
|
1049
|
-
export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
1050
|
-
export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
1051
1043
|
export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
|
|
1052
|
-
export const
|
|
1044
|
+
export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
1053
1045
|
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;
|
|
1055
|
-
export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1056
1046
|
export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1057
|
-
export const
|
|
1047
|
+
export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1048
|
+
export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
1058
1049
|
export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
|
|
1059
|
-
export const
|
|
1050
|
+
export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
1051
|
+
export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
|
|
1052
|
+
export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
1053
|
+
export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1060
1054
|
export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1055
|
+
export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1056
|
+
export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1057
|
+
export const foreignfuturecompleteu8_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
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycua/cua",
|
|
3
|
-
"version": "0.4.
|
|
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.4.
|
|
87
|
-
"@trycua/cua-darwin-x64": "0.4.
|
|
88
|
-
"@trycua/cua-linux-arm64-gnu": "0.4.
|
|
89
|
-
"@trycua/cua-linux-x64-gnu": "0.4.
|
|
90
|
-
"@trycua/cua-win32-arm64-msvc": "0.4.
|
|
91
|
-
"@trycua/cua-win32-x64-msvc": "0.4.
|
|
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
|
}
|