zby-live-sdk 1.0.49-beta20230306 → 1.0.49-beta20230324

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": "zby-live-sdk",
3
- "version": "1.0.49-beta20230306",
3
+ "version": "1.0.49-beta20230324",
4
4
  "main": "dist/zby-live-sdk.cjs.js",
5
5
  "module": "dist/zby-live-sdk.esm.js",
6
6
  "browsers": "dist/zby-live-sdk.umd.js",
@@ -21,8 +21,8 @@ const pomeloObj = {
21
21
  return;
22
22
  }
23
23
  this.log('channel_log : start joining pomelo ......');
24
- const { userId, roomId, chatUrl, userName, role, institutionId, guid} = args;
25
- const _args = { userId, roomId, host: chatUrl, userName, institutionId, guid, role: polemoUtil.translateRole(role) };
24
+ const { userId, roomId, chatUrl, userName, role, institutionId, guid, orgId} = args;
25
+ const _args = { userId, roomId, host: chatUrl, userName, institutionId, guid, role: polemoUtil.translateRole(role), orgId};
26
26
  this.log(`joinRoom: args: ${JSON.stringify(_args)}`);
27
27
  this.initParams = _args;
28
28
  // 定时检查发送消息列表
@@ -628,7 +628,8 @@ class PomeloClient {
628
628
  role: channelInfo.role,
629
629
  classid: channelInfo.roomId,
630
630
  protocolVersion: '1.0',
631
- uniqId: channelInfo.guid
631
+ uniqId: channelInfo.guid,
632
+ orgId: channelInfo.orgId
632
633
  };
633
634
 
634
635
  return new Promise(async (resolve, reject) => {
@@ -13,7 +13,7 @@ const urls = {
13
13
  };
14
14
 
15
15
  // export const version = require('../../package.json').version;
16
- export const version = '1.0.49-beta20230306';
16
+ export const version = '1.0.49-beta20230324';
17
17
 
18
18
  export const liveExt = {
19
19
  name: 'live',