crisp-api 10.7.0 → 10.8.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 CHANGED
@@ -1,6 +1,12 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## v10.8.0
5
+
6
+ ### New Features
7
+
8
+ * Added support for the `plugin:subscription:updated` RTM API event.
9
+
4
10
  ## v10.7.0
5
11
 
6
12
  ### New Features
package/README.md CHANGED
@@ -3985,6 +3985,8 @@ Available events are listed below:
3985
3985
  * `plugin:channel`
3986
3986
  * **Plugin Event** [`user`, `plugin`]:
3987
3987
  * `plugin:event`
3988
+ * **Plugin Subscription Updated** [`user`, `plugin`]:
3989
+ * `plugin:subscription:updated`
3988
3990
  * **Plugin Settings Saved** [`user`, `plugin`]:
3989
3991
  * `plugin:settings:saved`
3990
3992
 
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.7.0";
49
+ const VERSION = "10.8.0";
50
50
  // Base configuration
51
51
  const DEFAULT_REQUEST_TIMEOUT = 10000;
52
52
  const DEFAULT_SOCKET_TIMEOUT = 10000;
@@ -155,6 +155,7 @@ const DEFAULT_RTM_EVENTS = [
155
155
  // Plugin Events
156
156
  "plugin:channel",
157
157
  "plugin:event",
158
+ "plugin:subscription:updated",
158
159
  "plugin:settings:saved",
159
160
  // Plan Events
160
161
  "plan:subscription:updated"
package/lib/crisp.ts CHANGED
@@ -168,6 +168,7 @@ const DEFAULT_RTM_EVENTS = [
168
168
  // Plugin Events
169
169
  "plugin:channel",
170
170
  "plugin:event",
171
+ "plugin:subscription:updated",
171
172
  "plugin:settings:saved",
172
173
 
173
174
  // Plan Events
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "crisp-api",
3
3
  "description": "Crisp API wrapper for Node - official, maintained by Crisp",
4
- "version": "10.7.0",
4
+ "version": "10.8.0",
5
5
  "homepage": "https://github.com/crisp-im/node-crisp-api",
6
6
  "license": "MIT",
7
7
  "author": {