crisp-api 9.4.0 → 9.6.0
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/CHANGELOG.md +12 -0
- package/LICENSE +1 -1
- package/README.md +7 -3
- package/lib/crisp.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
## v9.6.0
|
|
5
|
+
|
|
6
|
+
### New Features
|
|
7
|
+
|
|
8
|
+
* Added support for the `session:error` RTM API event.
|
|
9
|
+
|
|
10
|
+
## v9.5.0
|
|
11
|
+
|
|
12
|
+
### New Features
|
|
13
|
+
|
|
14
|
+
* Added support for the `message:acknowledge:ignored` RTM API event.
|
|
15
|
+
|
|
4
16
|
## v9.4.0
|
|
5
17
|
|
|
6
18
|
### Breaking Changes
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Crisp API Wrapper
|
|
2
2
|
|
|
3
|
-
[](https://github.com/crisp-im/node-crisp-api/actions/workflows/test.yml) [](https://github.com/crisp-im/node-crisp-api/actions/workflows/build.yml) [](https://www.npmjs.com/package/crisp-api) [](https://www.npmjs.com/package/crisp-api)
|
|
4
4
|
|
|
5
5
|
The Crisp API Node wrapper. Authenticate, send messages, fetch conversations, access your agent accounts from your JavaScript code.
|
|
6
6
|
|
|
7
|
-
Copyright
|
|
7
|
+
Copyright 2024 Crisp IM SAS. See LICENSE for copying information.
|
|
8
8
|
|
|
9
|
-
* **📝 Implements**: [REST API Reference (V1)](https://docs.crisp.chat/references/rest-api/v1/) at revision: 27/
|
|
9
|
+
* **📝 Implements**: [REST API Reference (V1)](https://docs.crisp.chat/references/rest-api/v1/) at revision: 27/01/2025
|
|
10
10
|
* **😘 Maintainers**: [@baptistejamin](https://github.com/baptistejamin), [@eliottvincent](https://github.com/eliottvincent), [@valeriansaliou](https://github.com/valeriansaliou)
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -3506,6 +3506,8 @@ Available events are listed below:
|
|
|
3506
3506
|
* `session:set_inbox`
|
|
3507
3507
|
* **Session Removed** [`user`, `plugin`]:
|
|
3508
3508
|
* `session:removed`
|
|
3509
|
+
* **Session Error** [`user`, `plugin`]:
|
|
3510
|
+
* `session:error`
|
|
3509
3511
|
|
|
3510
3512
|
* #### **Message Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#message-events)
|
|
3511
3513
|
* **Message Updated** [`user`, `plugin`]:
|
|
@@ -3526,6 +3528,8 @@ Available events are listed below:
|
|
|
3526
3528
|
* `message:acknowledge:read:received`
|
|
3527
3529
|
* **Message Acknowledge Delivered** [`user`, `plugin`]:
|
|
3528
3530
|
* `message:acknowledge:delivered`
|
|
3531
|
+
* **Message Acknowledge Ignored** [`user`, `plugin`]:
|
|
3532
|
+
* `message:acknowledge:ignored`
|
|
3529
3533
|
* **Message Notify Unread Send** [`user`, `plugin`]:
|
|
3530
3534
|
* `message:notify:unread:send`
|
|
3531
3535
|
* **Message Notify Unread Received** [`user`, `plugin`]:
|
package/lib/crisp.js
CHANGED
|
@@ -81,6 +81,7 @@ Crisp.DEFAULT_RTM_EVENTS = [
|
|
|
81
81
|
"session:set_routing",
|
|
82
82
|
"session:set_inbox",
|
|
83
83
|
"session:removed",
|
|
84
|
+
"session:error",
|
|
84
85
|
|
|
85
86
|
// Message Events
|
|
86
87
|
"message:updated",
|
|
@@ -92,6 +93,7 @@ Crisp.DEFAULT_RTM_EVENTS = [
|
|
|
92
93
|
"message:acknowledge:read:send",
|
|
93
94
|
"message:acknowledge:read:received",
|
|
94
95
|
"message:acknowledge:delivered",
|
|
96
|
+
"message:acknowledge:ignored",
|
|
95
97
|
"message:notify:unread:send",
|
|
96
98
|
"message:notify:unread:received",
|
|
97
99
|
|
package/package.json
CHANGED