@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.js CHANGED
@@ -13215,10 +13215,12 @@ function captureTouch(element, options = {}) {
13215
13215
  clearTimeout(maxTimer);
13216
13216
  element.removeEventListener("pointermove", handler);
13217
13217
  element.removeEventListener("pointerdown", handler);
13218
+ console.log(`[IAM SDK] Touch capture stopped: ${samples.length} samples collected`);
13218
13219
  resolve(samples);
13219
13220
  }
13220
13221
  element.addEventListener("pointermove", handler);
13221
13222
  element.addEventListener("pointerdown", handler);
13223
+ console.log(`[IAM SDK] Touch capture started on <${element.tagName}>, listening for pointer events`);
13222
13224
  const maxTimer = setTimeout(stopCapture, maxDurationMs);
13223
13225
  if (signal) {
13224
13226
  if (signal.aborted) {