@iam-protocol/pulse-sdk 0.2.5 → 0.2.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iam-protocol/pulse-sdk",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Client-side SDK for IAM Protocol — sensor capture, TBH generation, ZK proof construction",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2,7 +2,7 @@ import type { AudioCapture } from "../sensor/types";
2
2
  import { condense, entropy } from "./statistics";
3
3
 
4
4
  // Frame parameters matching the research paper spec
5
- const FRAME_SIZE = 400; // 25ms at 16kHz
5
+ const FRAME_SIZE = 512; // ~32ms at 16kHz (must be power of 2 for Meyda FFT)
6
6
  const HOP_SIZE = 160; // 10ms hop
7
7
  const NUM_MFCC = 13;
8
8