@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.
- package/dist/src/types.d.ts +2 -2
- package/package.json +1 -1
package/dist/src/types.d.ts
CHANGED
|
@@ -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":
|
|
260
|
-
*
|
|
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