@soyio/soyio-widget 0.0.36 → 0.0.37
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 +6 -0
- package/dist/index.js +740 -740
- package/dist/index.umd.cjs +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,3 +76,9 @@ The `onEvent` callback is designed to handle various events that occur during wi
|
|
|
76
76
|
- `eventName`: The name of the event, here `'IDENTITY_AUTHENTICATED'`.
|
|
77
77
|
- `identityId`: The unique identifier for the authenticated identity.
|
|
78
78
|
- `userReference`: The reference identifier for the user, facilitating the association of the event with the user within the company's context.
|
|
79
|
+
|
|
80
|
+
- **`WIDGET_CLOSED`**: This events occurs when user closes the `Soyio` pop up. The event object is as follow:
|
|
81
|
+
- `{ eventName: 'WIDGET_CLOSED' }`.
|
|
82
|
+
|
|
83
|
+
- **`WIDGET_OPENED`**: This events occurs when user closes the `Soyio` pop up. The event object is as follow:
|
|
84
|
+
- `{ eventName: 'WIDGET_CLOSED' }`.
|