@iam-protocol/pulse-sdk 0.3.1 → 0.3.2

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.3.1",
3
+ "version": "0.3.2",
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",
@@ -38,11 +38,13 @@ export function captureTouch(
38
38
  clearTimeout(maxTimer);
39
39
  element.removeEventListener("pointermove", handler);
40
40
  element.removeEventListener("pointerdown", handler);
41
+ console.log(`[IAM SDK] Touch capture stopped: ${samples.length} samples collected`);
41
42
  resolve(samples);
42
43
  }
43
44
 
44
45
  element.addEventListener("pointermove", handler);
45
46
  element.addEventListener("pointerdown", handler);
47
+ console.log(`[IAM SDK] Touch capture started on <${element.tagName}>, listening for pointer events`);
46
48
 
47
49
  const maxTimer = setTimeout(stopCapture, maxDurationMs);
48
50