edfcore 0.4.311 → 0.4.312

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.311";
112
+ export declare const VERSION = "0.4.312";
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.311';
82
+ export const VERSION = '0.4.312';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,16 @@ 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.312
10
+
11
+ - **Added** a cross-check of the sample decoders printed on `edf-format.md` against edfcore's own.
12
+ The page's `decodeEdfSample` and `decodeBdfSample` are three lines each and derived straight
13
+ from the specification; `decode/digital.ts` de-interleaves whole records through a plan and a
14
+ typed-array fast path. Every one of the 65,536 EDF encodings now goes through both, along with
15
+ the BDF boundaries where sign extension from bit 23 is decided.
16
+ - The results the page prints beside each call are parsed out of it rather than restated, so
17
+ `decodeBdfSample(0xff, 0xff, 0x7f)` has to keep printing what those bytes actually hold.
18
+
9
19
  ## 0.4.311
10
20
 
11
21
  - **Added** an execution of the worked address on `edf-format.md`. The page prints a hand-written
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.311",
3
+ "version": "0.4.312",
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.311';
96
+ export const VERSION = '0.4.312';