@openipc-rs/web 0.1.0 → 0.1.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.
- package/openipc_web.d.ts +7 -7
- package/openipc_web.js +23 -23
- package/openipc_web_bg.wasm +0 -0
- package/openipc_web_bg.wasm.d.ts +7 -7
- package/package.json +1 -1
package/openipc_web.d.ts
CHANGED
|
@@ -127,13 +127,13 @@ export interface InitOutput {
|
|
|
127
127
|
readonly webusbrealtekdevice_sendPacket: (a: number, b: number, c: number, d: number) => any;
|
|
128
128
|
readonly webusbrealtekdevice_setTxPowerOverride: (a: number, b: number, c: number) => any;
|
|
129
129
|
readonly webusbrealtekdevice_writeTxTransfer: (a: number, b: number, c: number) => any;
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
130
|
+
readonly wasm_bindgen__convert__closures_____invoke__hde7cbf3f75114113: (a: number, b: number, c: any) => [number, number];
|
|
131
|
+
readonly wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876: (a: number, b: number, c: any) => [number, number];
|
|
132
|
+
readonly wasm_bindgen__convert__closures_____invoke__hb8ceed377d76428d: (a: number, b: number, c: any) => [number, number];
|
|
133
|
+
readonly wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_3: (a: number, b: number, c: any) => [number, number];
|
|
134
|
+
readonly wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_4: (a: number, b: number, c: any) => [number, number];
|
|
135
|
+
readonly wasm_bindgen__convert__closures_____invoke__h3d49e9a6de57e167: (a: number, b: number, c: any, d: any) => void;
|
|
136
|
+
readonly wasm_bindgen__convert__closures_____invoke__hcbb43ddb7f8865f9: (a: number, b: number) => void;
|
|
137
137
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
138
138
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
139
139
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/openipc_web.js
CHANGED
|
@@ -686,7 +686,7 @@ function __wbg_get_imports() {
|
|
|
686
686
|
const a = state0.a;
|
|
687
687
|
state0.a = 0;
|
|
688
688
|
try {
|
|
689
|
-
return
|
|
689
|
+
return wasm_bindgen__convert__closures_____invoke__h3d49e9a6de57e167(a, state0.b, arg0, arg1);
|
|
690
690
|
} finally {
|
|
691
691
|
state0.a = a;
|
|
692
692
|
}
|
|
@@ -720,7 +720,7 @@ function __wbg_get_imports() {
|
|
|
720
720
|
const a = state0.a;
|
|
721
721
|
state0.a = 0;
|
|
722
722
|
try {
|
|
723
|
-
return
|
|
723
|
+
return wasm_bindgen__convert__closures_____invoke__h3d49e9a6de57e167(a, state0.b, arg0, arg1);
|
|
724
724
|
} finally {
|
|
725
725
|
state0.a = a;
|
|
726
726
|
}
|
|
@@ -903,32 +903,32 @@ function __wbg_get_imports() {
|
|
|
903
903
|
},
|
|
904
904
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
905
905
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 172, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
906
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
906
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hde7cbf3f75114113);
|
|
907
907
|
return ret;
|
|
908
908
|
},
|
|
909
909
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
910
910
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 101, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
911
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
911
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876);
|
|
912
912
|
return ret;
|
|
913
913
|
},
|
|
914
914
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
915
915
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("USBInTransferResult")], shim_idx: 128, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
916
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
916
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb8ceed377d76428d);
|
|
917
917
|
return ret;
|
|
918
918
|
},
|
|
919
919
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
920
920
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("USBOutTransferResult")], shim_idx: 101, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
921
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
921
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_3);
|
|
922
922
|
return ret;
|
|
923
923
|
},
|
|
924
924
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
925
925
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 101, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
926
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
926
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_4);
|
|
927
927
|
return ret;
|
|
928
928
|
},
|
|
929
929
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
930
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
931
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
930
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 105, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
931
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hcbb43ddb7f8865f9);
|
|
932
932
|
return ret;
|
|
933
933
|
},
|
|
934
934
|
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
@@ -962,47 +962,47 @@ function __wbg_get_imports() {
|
|
|
962
962
|
};
|
|
963
963
|
}
|
|
964
964
|
|
|
965
|
-
function
|
|
966
|
-
wasm.
|
|
965
|
+
function wasm_bindgen__convert__closures_____invoke__hcbb43ddb7f8865f9(arg0, arg1) {
|
|
966
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hcbb43ddb7f8865f9(arg0, arg1);
|
|
967
967
|
}
|
|
968
968
|
|
|
969
|
-
function
|
|
970
|
-
const ret = wasm.
|
|
969
|
+
function wasm_bindgen__convert__closures_____invoke__hde7cbf3f75114113(arg0, arg1, arg2) {
|
|
970
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hde7cbf3f75114113(arg0, arg1, arg2);
|
|
971
971
|
if (ret[1]) {
|
|
972
972
|
throw takeFromExternrefTable0(ret[0]);
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
975
|
|
|
976
|
-
function
|
|
977
|
-
const ret = wasm.
|
|
976
|
+
function wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876(arg0, arg1, arg2) {
|
|
977
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876(arg0, arg1, arg2);
|
|
978
978
|
if (ret[1]) {
|
|
979
979
|
throw takeFromExternrefTable0(ret[0]);
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
function
|
|
984
|
-
const ret = wasm.
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__hb8ceed377d76428d(arg0, arg1, arg2) {
|
|
984
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hb8ceed377d76428d(arg0, arg1, arg2);
|
|
985
985
|
if (ret[1]) {
|
|
986
986
|
throw takeFromExternrefTable0(ret[0]);
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
-
function
|
|
991
|
-
const ret = wasm.
|
|
990
|
+
function wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_3(arg0, arg1, arg2) {
|
|
991
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_3(arg0, arg1, arg2);
|
|
992
992
|
if (ret[1]) {
|
|
993
993
|
throw takeFromExternrefTable0(ret[0]);
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
996
|
|
|
997
|
-
function
|
|
998
|
-
const ret = wasm.
|
|
997
|
+
function wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_4(arg0, arg1, arg2) {
|
|
998
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_4(arg0, arg1, arg2);
|
|
999
999
|
if (ret[1]) {
|
|
1000
1000
|
throw takeFromExternrefTable0(ret[0]);
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
|
-
function
|
|
1005
|
-
wasm.
|
|
1004
|
+
function wasm_bindgen__convert__closures_____invoke__h3d49e9a6de57e167(arg0, arg1, arg2, arg3) {
|
|
1005
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3d49e9a6de57e167(arg0, arg1, arg2, arg3);
|
|
1006
1006
|
}
|
|
1007
1007
|
|
|
1008
1008
|
|
package/openipc_web_bg.wasm
CHANGED
|
Binary file
|
package/openipc_web_bg.wasm.d.ts
CHANGED
|
@@ -40,13 +40,13 @@ export const webusbrealtekdevice_readRxTransfer: (a: number, b: number) => any;
|
|
|
40
40
|
export const webusbrealtekdevice_sendPacket: (a: number, b: number, c: number, d: number) => any;
|
|
41
41
|
export const webusbrealtekdevice_setTxPowerOverride: (a: number, b: number, c: number) => any;
|
|
42
42
|
export const webusbrealtekdevice_writeTxTransfer: (a: number, b: number, c: number) => any;
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
43
|
+
export const wasm_bindgen__convert__closures_____invoke__hde7cbf3f75114113: (a: number, b: number, c: any) => [number, number];
|
|
44
|
+
export const wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876: (a: number, b: number, c: any) => [number, number];
|
|
45
|
+
export const wasm_bindgen__convert__closures_____invoke__hb8ceed377d76428d: (a: number, b: number, c: any) => [number, number];
|
|
46
|
+
export const wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_3: (a: number, b: number, c: any) => [number, number];
|
|
47
|
+
export const wasm_bindgen__convert__closures_____invoke__h81ec51f46a5b3876_4: (a: number, b: number, c: any) => [number, number];
|
|
48
|
+
export const wasm_bindgen__convert__closures_____invoke__h3d49e9a6de57e167: (a: number, b: number, c: any, d: any) => void;
|
|
49
|
+
export const wasm_bindgen__convert__closures_____invoke__hcbb43ddb7f8865f9: (a: number, b: number) => void;
|
|
50
50
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
51
51
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
52
52
|
export const __wbindgen_exn_store: (a: number) => void;
|