@encatch/web-sdk 1.0.0-beta.6 → 1.0.0-beta.8

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -67,7 +67,7 @@ export declare interface EncatchSDK {
67
67
  /**
68
68
  * Manually start a new session
69
69
  * Useful after user login to reset session timing
70
- * @param options - Optional flags to skip ping and/or URL change tracking
70
+ * @param options - Optional flags to skip immediate ping and/or immediate trackScreen
71
71
  */
72
72
  startSession(options?: StartSessionOptions): void;
73
73
  /**
@@ -180,10 +180,10 @@ export declare interface ShowFormOptions {
180
180
  * Options for the startSession method
181
181
  */
182
182
  export declare interface StartSessionOptions {
183
- /** When true, do not start ping interval or call ping */
184
- skipPing?: boolean;
185
- /** When true, do not set up URL change detection for automatic trackScreen */
186
- skipTrackScreen?: boolean;
183
+ /** When true, do not call the immediate ping (30s ping interval still runs) */
184
+ skipImmediatePing?: boolean;
185
+ /** When true, do not send the initial trackScreen for the current URL (URL change listeners still run) */
186
+ skipImmediateTrackScreen?: boolean;
187
187
  }
188
188
 
189
189
  /**
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@encatch/web-sdk",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.8",
4
4
  "description": "A lightweight, type-safe JavaScript SDK for integrating Encatch forms and surveys",
5
5
  "type": "module",
6
6
  "main": "dist/encatch.es.js",
7
7
  "module": "dist/encatch.es.js",
8
+ "jsdelivr": "dist/encatch.iife.js",
8
9
  "types": "dist/index.d.ts",
9
10
  "exports": {
10
11
  ".": {