edfcore 0.4.363 → 0.4.364

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.4.363";
112
+ export declare const VERSION = "0.4.364";
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.4.363';
82
+ export const VERSION = '0.4.364';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@ 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.364
10
+
11
+ - **Added** checks for three claims in the README's "Design in one page", each of which is an
12
+ absence and therefore hard to notice. There is no recording-wide rate — a header field holding
13
+ one would be the obvious convenience and can only ever be right for one channel, so its
14
+ non-existence is asserted alongside the three per-signal rates the README names.
15
+ - `sampleRateHz` is `undefined` when the record duration is zero, which is legal EDF and which
16
+ PhysioNet's hypnograms really declare. `Infinity` is what an unguarded division gives, would pass
17
+ every `typeof` check, and would make `NaN` of every time converted through it — so the check is
18
+ that it is neither a number nor that number.
19
+ - And there is no gap-filling option, checked as an absence across every option name the public
20
+ types declare. An option to fill a gap is an option to fabricate samples the amplifier never
21
+ recorded, and once it exists somebody's config turns it on.
22
+ - Also pinned: that a window is measured on `onsetTicksFromFirstRecord` rather than `onsetTicks`.
23
+ The fixture puts the two axes in different records on purpose — a half-second offset leaves both
24
+ inside the same record-aligned chunk, which is how this advice would look correct while being
25
+ untestable.
26
+
9
27
  ## 0.4.363
10
28
 
11
29
  - **Corrected** the README's promise about diagnostics and widened 0.4.325's check to cover it. It
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.363",
3
+ "version": "0.4.364",
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.4.363';
96
+ export const VERSION = '0.4.364';