@mica-js/simulator 0.4.0 → 1.0.0
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/README.md +11 -1
- package/dist/index.d.ts +222 -144
- package/dist/index.js +2353 -681
- package/dist/index.js.map +1 -1
- package/dist/sandbox.d.ts +6 -0
- package/dist/sandbox.js +1 -1
- package/package.json +2 -1
package/dist/sandbox.d.ts
CHANGED
|
@@ -30,6 +30,12 @@ export declare interface DeviceSimTickReport {
|
|
|
30
30
|
readonly simTime: number;
|
|
31
31
|
/** Circuit steps executed by this call. */
|
|
32
32
|
readonly executed: number;
|
|
33
|
+
/** Isolated device boundary-hook failures; absent when the step has none. */
|
|
34
|
+
readonly diagnostics?: readonly {
|
|
35
|
+
readonly code: 'device/input-failed' | 'device/output-failed';
|
|
36
|
+
readonly deviceId: string;
|
|
37
|
+
readonly message: string;
|
|
38
|
+
}[];
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
/**
|