@encatch/web-sdk 1.3.0-beta.1 → 1.3.0-beta.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.
@@ -256,8 +256,8 @@ export type EventType = 'form:show' | 'form:started' | 'form:submit' | 'form:com
256
256
  * Fired when a completionCta action fires on a thank_you or exit_form screen.
257
257
  * payload.data: { action, route?, url?, surface, trigger }
258
258
  *
259
- * - action "app_navigate": form stays open; host navigates to data.route then calls
260
- * `_encatch.dismissForm(payload.formId)`.
259
+ * - action "app_navigate": host navigates to data.route in _encatch.on(); the SDK
260
+ * closes the form iframe automatically after emitting this event.
261
261
  * - action "redirect_internal": the SDK navigates the parent page to data.url (same tab);
262
262
  * the form is already closing.
263
263
  * - action "redirect_external": the SDK opens data.url in a new tab; the form is already closing.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@encatch/web-sdk",
3
- "version": "1.3.0-beta.1",
3
+ "version": "1.3.0-beta.2",
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",