@frockbot/computer-core 0.1.4 → 0.2.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/package.json +2 -2
- package/src/core.ts +1 -1
- package/src/index.test.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/computer-core",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@frockbot/kernel-contracts": "0.1
|
|
15
|
+
"@frockbot/kernel-contracts": "0.2.1",
|
|
16
16
|
"cordis": "4.0.0-rc.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/core.ts
CHANGED
|
@@ -431,7 +431,7 @@ export interface ComputerDoctorReportV1 {
|
|
|
431
431
|
/**
|
|
432
432
|
* Decodes one report at the seam it crosses: the Computer's stdout.
|
|
433
433
|
*
|
|
434
|
-
* Exact-field
|
|
434
|
+
* Exact-field at this live stdout seam. This is not a durable stored record: a
|
|
435
435
|
* report that does not decode is a Computer that answered something else, and
|
|
436
436
|
* the caller says so rather than guessing at half a report.
|
|
437
437
|
*/
|
package/src/index.test.ts
CHANGED
|
@@ -258,9 +258,9 @@ describe("ComputerRegistry", () => {
|
|
|
258
258
|
});
|
|
259
259
|
});
|
|
260
260
|
|
|
261
|
-
// Parity row 27: the report a Computer's self-check prints, decoded at
|
|
262
|
-
//
|
|
263
|
-
//
|
|
261
|
+
// Parity row 27: the report a Computer's self-check prints, decoded exactly at
|
|
262
|
+
// its live stdout seam. A Computer that answered something else did not answer
|
|
263
|
+
// a half-usable report.
|
|
264
264
|
describe("the self-check report", () => {
|
|
265
265
|
const report = {
|
|
266
266
|
schemaVersion: 2,
|