@soyio/soyio-widget 0.0.42 → 0.0.43
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/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,12 +73,14 @@ The `onEvent` callback is designed to handle various events that occur during wi
|
|
|
73
73
|
- `userReference`: The reference identifier for the user, facilitating the association of the event with the user within the company's context.
|
|
74
74
|
|
|
75
75
|
- **`IDENTITY_AUTHENTICATED`**: This event occurs when a user successfully completes the authentication flow. The event object includes:
|
|
76
|
+
|
|
76
77
|
- `eventName`: The name of the event, here `'IDENTITY_AUTHENTICATED'`.
|
|
77
78
|
- `identityId`: The unique identifier for the authenticated identity.
|
|
78
79
|
- `userReference`: The reference identifier for the user, facilitating the association of the event with the user within the company's context.
|
|
79
80
|
|
|
80
|
-
- **`WIDGET_CLOSED`**: This
|
|
81
|
+
- **`WIDGET_CLOSED`**: This event occurs when the user closes the `Soyio` pop up. The event object is as follows:
|
|
82
|
+
|
|
81
83
|
- `{ eventName: 'WIDGET_CLOSED' }`.
|
|
82
84
|
|
|
83
|
-
- **`WIDGET_OPENED`**: This
|
|
85
|
+
- **`WIDGET_OPENED`**: This event occurs when the user closes the `Soyio` pop up. The event object is as follows:
|
|
84
86
|
- `{ eventName: 'WIDGET_CLOSED' }`.
|