@hellotext/hellotext 2.3.7 → 2.3.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.
- package/README.md +1 -0
- package/dist/hellotext.js +1 -1
- package/lib/controllers/message_controller.cjs +19 -0
- package/lib/controllers/message_controller.js +19 -0
- package/lib/core/event.cjs +1 -1
- package/lib/core/event.js +1 -1
- package/package.json +1 -1
- package/src/controllers/message_controller.js +20 -0
- package/src/core/event.js +1 -0
package/README.md
CHANGED
|
@@ -105,6 +105,7 @@ Hellotext.removeEventListener(eventName, callback)
|
|
|
105
105
|
- `forms:collected` This event is fired when forms are collected. The callback will receive the array of forms collected.
|
|
106
106
|
- `form:completed` This event is fired when a form has been completed. A form is completed when the user fills all required inputs and verifies their OTP(One-Time Password). The callback will receive the form object that was completed, alongside the data the user filled in the form.
|
|
107
107
|
- View Webchat events [here](/docs/webchat.md#events)
|
|
108
|
+
- `cart.added` This event is fired when a customer adds a product to their cart from a Webchat message.
|
|
108
109
|
|
|
109
110
|
### Configuration
|
|
110
111
|
|