js-dos 8.1.16 → 8.1.17
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/emulators/emulators.js +1 -1
- package/dist/emulators/emulators.js.map +1 -1
- package/dist/emulators/types/protocol/protocol.d.ts +9 -2
- package/dist/emulators/wdosbox-x.js +1 -1
- package/dist/emulators/wdosbox-x.js.symbols +8379 -8379
- package/dist/emulators/wdosbox-x.wasm +0 -0
- package/dist/emulators/wdosbox.js +1 -1
- package/dist/emulators/wdosbox.js.symbols +2189 -2189
- package/dist/emulators/wdosbox.wasm +0 -0
- package/dist/emulators/wlibzip.js.symbols +73 -73
- package/dist/emulators/wlibzip.wasm +0 -0
- package/dist/js-dos.js +4 -4
- package/dist/js-dos.js.map +1 -1
- package/package.json +2 -2
- package/release.zip +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CommandInterface, NetworkType, BackendOptions, DosConfig, InitFsEntry } from "../emulators";
|
|
2
2
|
import { CommandInterfaceEventsImpl } from "../impl/ci-impl";
|
|
3
|
-
export type ClientMessage = "wc-install" | "wc-run" | "wc-pack-fs-to-bundle" | "wc-add-key" | "wc-mouse-move" | "wc-mouse-button" | "wc-mouse-sync" | "wc-exit" | "wc-sync-sleep" | "wc-pause" | "wc-resume" | "wc-mute" | "wc-unmute" | "wc-connect" | "wc-disconnect" | "wc-backend-event" | "wc-asyncify-stats" | "wc-fs-tree" | "wc-fs-get-file" | "wc-send-data-chunk";
|
|
4
|
-
export type ServerMessage = "ws-extract-progress" | "ws-ready" | "ws-server-ready" | "ws-frame-set-size" | "ws-update-lines" | "ws-log" | "ws-warn" | "ws-err" | "ws-stdout" | "ws-exit" | "ws-persist" | "ws-sound-init" | "ws-sound-push" | "ws-config" | "ws-sync-sleep" | "ws-connected" | "ws-disconnected" | "ws-asyncify-stats" | "ws-fs-tree" | "ws-send-data-chunk";
|
|
3
|
+
export type ClientMessage = "wc-install" | "wc-run" | "wc-pack-fs-to-bundle" | "wc-add-key" | "wc-mouse-move" | "wc-mouse-button" | "wc-mouse-sync" | "wc-exit" | "wc-sync-sleep" | "wc-pause" | "wc-resume" | "wc-mute" | "wc-unmute" | "wc-connect" | "wc-disconnect" | "wc-backend-event" | "wc-asyncify-stats" | "wc-fs-tree" | "wc-fs-get-file" | "wc-send-data-chunk" | "wc-net-connected" | "wc-net-received";
|
|
4
|
+
export type ServerMessage = "ws-extract-progress" | "ws-ready" | "ws-server-ready" | "ws-frame-set-size" | "ws-update-lines" | "ws-log" | "ws-warn" | "ws-err" | "ws-stdout" | "ws-exit" | "ws-persist" | "ws-sound-init" | "ws-sound-push" | "ws-config" | "ws-sync-sleep" | "ws-connected" | "ws-disconnected" | "ws-asyncify-stats" | "ws-fs-tree" | "ws-send-data-chunk" | "ws-net-connect" | "ws-net-disconnect" | "ws-net-send";
|
|
5
5
|
export type MessageHandler = (name: ServerMessage, props: {
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}) => void;
|
|
@@ -39,6 +39,10 @@ export interface AsyncifyStats {
|
|
|
39
39
|
driveCacheHit: number;
|
|
40
40
|
driveCacheMiss: number;
|
|
41
41
|
driveCacheUsed: number;
|
|
42
|
+
driveIo: {
|
|
43
|
+
read: number;
|
|
44
|
+
write: number;
|
|
45
|
+
}[];
|
|
42
46
|
}
|
|
43
47
|
export interface FsNode {
|
|
44
48
|
name: string;
|
|
@@ -47,6 +51,7 @@ export interface FsNode {
|
|
|
47
51
|
}
|
|
48
52
|
export declare class CommandInterfaceOverTransportLayer implements CommandInterface {
|
|
49
53
|
private startedAt;
|
|
54
|
+
private exited;
|
|
50
55
|
private frameWidth;
|
|
51
56
|
private frameHeight;
|
|
52
57
|
private rgb;
|
|
@@ -79,6 +84,8 @@ export declare class CommandInterfaceOverTransportLayer implements CommandInterf
|
|
|
79
84
|
private fsGetFileParts;
|
|
80
85
|
private dataChunkPromise;
|
|
81
86
|
private dataChunkResolve;
|
|
87
|
+
private networkId;
|
|
88
|
+
private network;
|
|
82
89
|
options: BackendOptions;
|
|
83
90
|
constructor(init: InitFsEntry[], transport: TransportLayer, ready: (err: Error | null) => void, options: BackendOptions);
|
|
84
91
|
private sendClientMessage;
|