@subiz/wsclient 4.0.34 → 4.0.35

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": "@subiz/wsclient",
3
- "version": "4.0.34",
3
+ "version": "4.0.35",
4
4
  "main": "realtime.js",
5
5
  "scripts": {
6
6
  "dev": "vite",
package/webphone.js CHANGED
@@ -34,7 +34,7 @@ function WebPhone(access_token, realtime) {
34
34
  rs(access_token)
35
35
  })
36
36
  },
37
- })
37
+ }, undefined, accid)
38
38
 
39
39
  var webrtcconn = new WebRTCConn({
40
40
  accid: accid,
package/webrtc.js CHANGED
@@ -15,7 +15,7 @@ function WebRTCConn(options) {
15
15
  if (env._is_webrtc_local) apiUrl = 'http://localhost:8008/'
16
16
  }
17
17
 
18
- dead = false
18
+ let dead = false
19
19
  callAPI = callAPI || xhrsend // allow hook
20
20
  let parseJSON = (str) => {
21
21
  try {