@subiz/wsclient 4.0.25 → 4.0.26

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/webrtc.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@subiz/wsclient",
3
- "version": "4.0.25",
3
+ "version": "4.0.26",
4
4
  "main": "realtime.js",
5
5
  "scripts": {
6
6
  "dev": "vite",
package/webrtc.js CHANGED
@@ -424,7 +424,7 @@ function WebRTCConn(options) {
424
424
  initSession((err, connId) => {
425
425
  call2Connection[callid] = connId
426
426
  streams[connId] = stream
427
- let url = `${apiUrl}listen?x-access-token=${access_token}&connection_id=${connId}&call_id=${callid}&talk=true&account_id={accid}`
427
+ let url = `${apiUrl}listen?x-access-token=${access_token}&connection_id=${connId}&call_id=${callid}&talk=true&account_id=${accid}`
428
428
  callAPI('post', url, undefined, (body, code) => {
429
429
  if (code != 200) logError(accid, agid, body, 'joinCall:413')
430
430
  collect('join_call', callid, env.Date.now() - start)