edfcore 0.4.424 → 0.4.425
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/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +17 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.4.
|
|
112
|
+
export declare const VERSION = "0.4.425";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,23 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.4.425
|
|
10
|
+
|
|
11
|
+
- **Added** tests for the one sentence `api-reading.md` gives about the shape of `signalIndices`:
|
|
12
|
+
"Duplicates are dropped; the order you give is the order of `chunk.signals`." It was prose, in
|
|
13
|
+
the options table every reader consults before their first read.
|
|
14
|
+
- Both halves are reached by ordinary code. A repeated index comes from a multi-select that appends
|
|
15
|
+
on click, a "select all" over a list that already had one checked, or `[...montage, ...extras]`
|
|
16
|
+
where the two overlap. The order comes from wherever the indices were built, and a caller drawing
|
|
17
|
+
`chunk.signals[0]` as the top trace is trusting it.
|
|
18
|
+
- They fail differently and both quietly. A duplicate that is not dropped costs a second decode and
|
|
19
|
+
returns an array with one more entry than the caller's legend has rows, so every trace below the
|
|
20
|
+
repeat is drawn with the wrong label. An order that is not preserved swaps two traces outright,
|
|
21
|
+
and on a montage two channels of EEG look like two channels of EEG.
|
|
22
|
+
- `readRecords`, `readWindow` and `streamRecords` are all checked. They share one resolver today —
|
|
23
|
+
`stream.ts` says it must produce the byte-identical refusal `readWindow` does — but that is a
|
|
24
|
+
fact about the code and the promise is about the API.
|
|
25
|
+
|
|
9
26
|
## 0.4.424
|
|
10
27
|
|
|
11
28
|
- **Added** a property test that reading a stretch in pieces and joining them is reading it whole.
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED