ue-softphone-sdk 2.1.6 → 2.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ue-softphone-sdk",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "ue-softphone-sdk",
5
5
  "main": "dist/ue-softphone-sdk.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -2061,9 +2061,10 @@ class ueWebsocket {
2061
2061
 
2062
2062
  if (type === "message") {
2063
2063
  this.ws.on("call", callback);
2064
- this.ws.on("event", callback);
2065
2064
  // this.ws.on("monitor", callback);
2066
2065
  }
2066
+
2067
+ this.ws.on("event", callback);
2067
2068
  }
2068
2069
  public emit(type: string, params: any, callback: Function) {
2069
2070
  this.ws.emit(type, params, callback);