@reactor-team/js-sdk 3.0.1 → 3.0.2
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/dist/index.cjs +162 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -9
- package/dist/index.d.ts +50 -9
- package/dist/index.js +162 -39
- package/dist/index.js.map +1 -1
- package/dist/wasm/reactor_wasm.js +12 -5
- package/dist/wasm/reactor_wasm_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -888,6 +888,10 @@ function __wbg_get_imports() {
|
|
|
888
888
|
__wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
|
|
889
889
|
queueMicrotask(arg0);
|
|
890
890
|
},
|
|
891
|
+
__wbg_readyState_26ebdcb846c7e00d: function(arg0) {
|
|
892
|
+
const ret = arg0.readyState;
|
|
893
|
+
return (__wbindgen_enum_RtcDataChannelState.indexOf(ret) + 1 || 5) - 1;
|
|
894
|
+
},
|
|
891
895
|
__wbg_replaceTrack_19163bddac4709c8: function(arg0, arg1) {
|
|
892
896
|
const ret = arg0.replaceTrack(arg1);
|
|
893
897
|
return ret;
|
|
@@ -1055,27 +1059,27 @@ function __wbg_get_imports() {
|
|
|
1055
1059
|
console.warn(arg0);
|
|
1056
1060
|
},
|
|
1057
1061
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1058
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1062
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 291, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1059
1063
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_85f920685b213f97___convert__closures_____invoke___wasm_bindgen_85f920685b213f97___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_85f920685b213f97___JsError___true_);
|
|
1060
1064
|
return ret;
|
|
1061
1065
|
},
|
|
1062
1066
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1063
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
1067
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1064
1068
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_85f920685b213f97___convert__closures_____invoke___web_sys_9b25b1d5883c10fa___features__gen_MessageEvent__MessageEvent______true_);
|
|
1065
1069
|
return ret;
|
|
1066
1070
|
},
|
|
1067
1071
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1068
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx:
|
|
1072
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1069
1073
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_85f920685b213f97___convert__closures_____invoke___web_sys_9b25b1d5883c10fa___features__gen_MessageEvent__MessageEvent______true__2);
|
|
1070
1074
|
return ret;
|
|
1071
1075
|
},
|
|
1072
1076
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1073
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCTrackEvent")], shim_idx:
|
|
1077
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCTrackEvent")], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1074
1078
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_85f920685b213f97___convert__closures_____invoke___web_sys_9b25b1d5883c10fa___features__gen_MessageEvent__MessageEvent______true__3);
|
|
1075
1079
|
return ret;
|
|
1076
1080
|
},
|
|
1077
1081
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1078
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1082
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 212, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1079
1083
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_85f920685b213f97___convert__closures_____invoke_______true_);
|
|
1080
1084
|
return ret;
|
|
1081
1085
|
},
|
|
@@ -1143,6 +1147,9 @@ function wasm_bindgen_85f920685b213f97___convert__closures_____invoke___js_sys_1
|
|
|
1143
1147
|
}
|
|
1144
1148
|
|
|
1145
1149
|
|
|
1150
|
+
const __wbindgen_enum_RtcDataChannelState = ["connecting", "open", "closing", "closed"];
|
|
1151
|
+
|
|
1152
|
+
|
|
1146
1153
|
const __wbindgen_enum_RtcDataChannelType = ["arraybuffer", "blob"];
|
|
1147
1154
|
|
|
1148
1155
|
|
|
Binary file
|