edfcore 0.6.52 → 0.6.54

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.
@@ -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.6.52";
112
+ export declare const VERSION = "0.6.54";
113
113
  //# sourceMappingURL=constants.d.ts.map
package/dist/constants.js CHANGED
@@ -79,5 +79,5 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
79
79
  reserved: 224,
80
80
  };
81
81
  /** Published package version. Kept in sync with package.json by a test. */
82
- export const VERSION = '0.6.52';
82
+ export const VERSION = '0.6.54';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,31 @@ 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.6.54
10
+
11
+ - **Fixed** the `EdfChunkSignal` table on `reading-signals.md`, which listed six of the shape's
12
+ seven fields and dropped `startTicks`.
13
+ - That is the field the rest of the package points at. `trimToWindow` measures its window from
14
+ it, every read puts its chunks on the same tick axis, and `api-types.md` spends a paragraph on
15
+ why the `startSeconds` beside it can be a sub-tick out after a trim. The guide a reader follows
16
+ to get their first chunk showed them the float64 half and did not say the exact one existed.
17
+ - Same shape as 0.6.53, one page over. The test reads the fields off a chunk a real read returned
18
+ and compares the table with that, so it fails on a field added to the type as well as on one
19
+ dropped from the page.
20
+
21
+ ## 0.6.53
22
+
23
+ - **Fixed** the `EdfLocation` table on `api-types.md`, which listed three of the shape's five
24
+ fields. The two it dropped were `recordStartTicks` and `offsetInRecordTicks`.
25
+ - Those are the exact halves. The `EdfSegment` and `EdfGap` tables immediately above it pair every
26
+ `*Seconds` with its `*Ticks` twin, and the paragraph between them says to prefer the ticks:
27
+ "Every second on these two is a float64 conversion of the tick beside it. Compare and sum the
28
+ ticks." The next table then showed a reader only the float64 half of the one shape
29
+ `index.locate()` returns — the call whose whole job is to hand you a position to read from.
30
+ - The rows are added and the paragraph's rule is restated under them. The test reads the fields
31
+ off a real `locate()` result rather than off the type, so the table is compared with the object
32
+ a caller receives.
33
+
9
34
  ## 0.6.52
10
35
 
11
36
  - **Fixed** the `maxItems` row on `api-primitives.md`, both halves of which described something
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.6.52",
3
+ "version": "0.6.54",
4
4
  "description": "Modern, typed, zero-dependency reader for EDF, EDF+, BDF and BDF+ biosignal files. Works in browsers and Node with true random access.",
5
5
  "keywords": [
6
6
  "edf",
package/src/constants.ts CHANGED
@@ -93,4 +93,4 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
93
93
  } as const;
94
94
 
95
95
  /** Published package version. Kept in sync with package.json by a test. */
96
- export const VERSION = '0.6.52';
96
+ export const VERSION = '0.6.54';