@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/dist/index.mjs CHANGED
@@ -13128,10 +13128,12 @@ function captureTouch(element, options = {}) {
13128
13128
  clearTimeout(maxTimer);
13129
13129
  element.removeEventListener("pointermove", handler);
13130
13130
  element.removeEventListener("pointerdown", handler);
13131
+ console.log(`[IAM SDK] Touch capture stopped: ${samples.length} samples collected`);
13131
13132
  resolve(samples);
13132
13133
  }
13133
13134
  element.addEventListener("pointermove", handler);
13134
13135
  element.addEventListener("pointerdown", handler);
13136
+ console.log(`[IAM SDK] Touch capture started on <${element.tagName}>, listening for pointer events`);
13135
13137
  const maxTimer = setTimeout(stopCapture, maxDurationMs);
13136
13138
  if (signal) {
13137
13139
  if (signal.aborted) {