crisp-api 10.4.0 → 10.5.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 +6 -0
- package/README.md +4 -0
- package/dist/crisp.js +4 -2
- package/lib/crisp.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -3824,3 +3824,7 @@ Available events are listed below:
|
|
|
3824
3824
|
* `plugin:event`
|
|
3825
3825
|
* **Plugin Settings Saved** [`user`, `plugin`]:
|
|
3826
3826
|
* `plugin:settings:saved`
|
|
3827
|
+
|
|
3828
|
+
* #### **Plan Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#plan-events)
|
|
3829
|
+
* **Plan Subscription Updated** [`user`, `plugin`]:
|
|
3830
|
+
* `plan:subscription:updated`
|
package/dist/crisp.js
CHANGED
|
@@ -46,7 +46,7 @@ const AVAILABLE_RTM_MODES = [
|
|
|
46
46
|
"websockets",
|
|
47
47
|
"webhooks"
|
|
48
48
|
];
|
|
49
|
-
const VERSION = "10.
|
|
49
|
+
const VERSION = "10.5.0";
|
|
50
50
|
// Base configuration
|
|
51
51
|
const DEFAULT_REQUEST_TIMEOUT = 10000;
|
|
52
52
|
const DEFAULT_SOCKET_TIMEOUT = 10000;
|
|
@@ -155,7 +155,9 @@ const DEFAULT_RTM_EVENTS = [
|
|
|
155
155
|
// Plugin Events
|
|
156
156
|
"plugin:channel",
|
|
157
157
|
"plugin:event",
|
|
158
|
-
"plugin:settings:saved"
|
|
158
|
+
"plugin:settings:saved",
|
|
159
|
+
// Plan Events
|
|
160
|
+
"plan:subscription:updated"
|
|
159
161
|
];
|
|
160
162
|
// REST API services
|
|
161
163
|
const services = {
|
package/lib/crisp.ts
CHANGED
package/package.json
CHANGED