virtual-machine 0.0.1 → 0.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/Cargo.toml +2 -1
- package/README.md +76 -0
- package/build/{riscv_vm-FIEDMHCY.mjs → chunk-GZ343GYI.mjs} +20 -22
- package/build/chunk-Q7TFYQ5G.mjs +670 -0
- package/build/cli.js +707 -688
- package/build/index.d.ts +4 -4
- package/build/index.js +23 -24
- package/build/index.mjs +10 -3
- package/build/riscv_vm-3CIEJ5K7.mjs +12 -0
- package/build/riscv_vm-VNML57ES.mjs +12 -0
- package/build.sh +9 -2
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/main.rs +15 -5
- package/tsup/index.ts +0 -1
package/build/index.d.ts
CHANGED
|
@@ -74,11 +74,11 @@ interface InitOutput {
|
|
|
74
74
|
readonly wasmvm_network_status: (a: number) => number;
|
|
75
75
|
readonly wasmvm_new: (a: number, b: number) => [number, number, number];
|
|
76
76
|
readonly wasmvm_step: (a: number) => void;
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
77
|
+
readonly wasm_bindgen__convert__closures_____invoke__h74b0833075704714: (a: number, b: number, c: any) => void;
|
|
78
|
+
readonly wasm_bindgen__closure__destroy__h0c7e8767edb7b811: (a: number, b: number) => void;
|
|
79
|
+
readonly wasm_bindgen__convert__closures_____invoke__hb59cd9fe41fe42e5: (a: number, b: number) => void;
|
|
79
80
|
readonly wasm_bindgen__convert__closures_____invoke__h6fd3101b14d9814b: (a: number, b: number, c: any) => void;
|
|
80
81
|
readonly wasm_bindgen__closure__destroy__hb2f3fe1158f30bc9: (a: number, b: number) => void;
|
|
81
|
-
readonly wasm_bindgen__convert__closures_____invoke__hcf26143a2d2b8df4: (a: number, b: number) => void;
|
|
82
82
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
83
83
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
84
84
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -124,4 +124,4 @@ declare namespace __pkg_riscv_vm {
|
|
|
124
124
|
|
|
125
125
|
declare function WasmInternal(): Promise<typeof __pkg_riscv_vm>;
|
|
126
126
|
|
|
127
|
-
export { WasmInternal };
|
|
127
|
+
export { NetworkStatus, WasmInternal, WasmVm };
|