@rongcloud/plugin-call 5.1.2-alpha.3 → 5.1.2-enterprise.1

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/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCCall - v5.1.2-alpha.3
3
- * CommitId - 18608f24276587122c6fe1b54515d19aec29be0f
4
- * Wed Mar 01 2023 21:12:56 GMT+0800 (China Standard Time)
2
+ * RCCall - v5.1.2-enterprise.1
3
+ * CommitId - cc1286286fed4ed0c619fe38584d48bb5d266679
4
+ * Mon Mar 06 2023 14:23:30 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  import { ILogger, ConversationType, RTCJoinType, LogLevel, RTCPluginContext, IRuntime, BasicLogger, IRTCJoinedInfo, IPluginGenerator } from '@rongcloud/engine';
package/dist/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCCall - v5.1.2-alpha.3
3
- * CommitId - 18608f24276587122c6fe1b54515d19aec29be0f
4
- * Wed Mar 01 2023 21:12:56 GMT+0800 (China Standard Time)
2
+ * RCCall - v5.1.2-enterprise.1
3
+ * CommitId - cc1286286fed4ed0c619fe38584d48bb5d266679
4
+ * Mon Mar 06 2023 14:23:30 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  import { RTCJoinType, LogLevel, ErrorCode, VersionManage } from '@rongcloud/engine';
@@ -253,10 +253,10 @@ const validatePushContent = (pushContent) => {
253
253
  }
254
254
  };
255
255
  const validatePushConfig = (pushConfig) => {
256
- const { pushTitle, pushContent } = pushConfig;
256
+ const { pushTitle = '', pushContent = '' } = pushConfig;
257
257
  const conclusion = [];
258
- pushTitle && conclusion.push(validatePushTitle(pushTitle));
259
- pushContent && conclusion.push(validatePushContent(pushContent));
258
+ conclusion.push(validatePushTitle(pushTitle));
259
+ conclusion.push(validatePushContent(pushContent));
260
260
  return conclusion;
261
261
  };
262
262
  const validateUserIds = (userIds) => {
@@ -1859,7 +1859,7 @@ class RCCallClient {
1859
1859
  }
1860
1860
 
1861
1861
  // plugin-call 版本上报
1862
- VersionManage.add('plugin-call', "5.1.2-alpha.3");
1862
+ VersionManage.add('plugin-call', "5.1.2-enterprise.1");
1863
1863
  const installer = {
1864
1864
  tag: 'RCCall',
1865
1865
  verify(runtime) {
@@ -1876,7 +1876,7 @@ const installer = {
1876
1876
  throw new Error(`The current engine version '${VersionManage.getInfo().engine}' error, plugin-call required engine version at least '${"^5.7.0"}'.`);
1877
1877
  }
1878
1878
  const logger = context.createLogger('RCCall', 'RTC');
1879
- logger.warn('_', `RCCall Version: ${"5.1.2-alpha.3"}, Commit: ${"18608f24276587122c6fe1b54515d19aec29be0f"}`);
1879
+ logger.warn('_', `RCCall Version: ${"5.1.2-enterprise.1"}, Commit: ${"cc1286286fed4ed0c619fe38584d48bb5d266679"}`);
1880
1880
  return new RCCallClient(context, runtime, logger, options);
1881
1881
  }
1882
1882
  };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCCall - v5.1.2-alpha.3
3
- * CommitId - 18608f24276587122c6fe1b54515d19aec29be0f
4
- * Wed Mar 01 2023 21:12:56 GMT+0800 (China Standard Time)
2
+ * RCCall - v5.1.2-enterprise.1
3
+ * CommitId - cc1286286fed4ed0c619fe38584d48bb5d266679
4
+ * Mon Mar 06 2023 14:23:30 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  'use strict';
@@ -256,10 +256,10 @@ const validatePushContent = (pushContent) => {
256
256
  }
257
257
  };
258
258
  const validatePushConfig = (pushConfig) => {
259
- const { pushTitle, pushContent } = pushConfig;
259
+ const { pushTitle = '', pushContent = '' } = pushConfig;
260
260
  const conclusion = [];
261
- pushTitle && conclusion.push(validatePushTitle(pushTitle));
262
- pushContent && conclusion.push(validatePushContent(pushContent));
261
+ conclusion.push(validatePushTitle(pushTitle));
262
+ conclusion.push(validatePushContent(pushContent));
263
263
  return conclusion;
264
264
  };
265
265
  const validateUserIds = (userIds) => {
@@ -1862,7 +1862,7 @@ class RCCallClient {
1862
1862
  }
1863
1863
 
1864
1864
  // plugin-call 版本上报
1865
- engine.VersionManage.add('plugin-call', "5.1.2-alpha.3");
1865
+ engine.VersionManage.add('plugin-call', "5.1.2-enterprise.1");
1866
1866
  const installer = {
1867
1867
  tag: 'RCCall',
1868
1868
  verify(runtime) {
@@ -1879,7 +1879,7 @@ const installer = {
1879
1879
  throw new Error(`The current engine version '${engine.VersionManage.getInfo().engine}' error, plugin-call required engine version at least '${"^5.7.0"}'.`);
1880
1880
  }
1881
1881
  const logger = context.createLogger('RCCall', 'RTC');
1882
- logger.warn('_', `RCCall Version: ${"5.1.2-alpha.3"}, Commit: ${"18608f24276587122c6fe1b54515d19aec29be0f"}`);
1882
+ logger.warn('_', `RCCall Version: ${"5.1.2-enterprise.1"}, Commit: ${"cc1286286fed4ed0c619fe38584d48bb5d266679"}`);
1883
1883
  return new RCCallClient(context, runtime, logger, options);
1884
1884
  }
1885
1885
  };
package/dist/index.umd.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCCall - v5.1.2-alpha.3
3
- * CommitId - 18608f24276587122c6fe1b54515d19aec29be0f
4
- * Wed Mar 01 2023 21:12:56 GMT+0800 (China Standard Time)
2
+ * RCCall - v5.1.2-enterprise.1
3
+ * CommitId - cc1286286fed4ed0c619fe38584d48bb5d266679
4
+ * Mon Mar 06 2023 14:23:30 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  (function (global, factory) {
@@ -254,10 +254,10 @@
254
254
  }
255
255
  };
256
256
  const validatePushConfig = (pushConfig) => {
257
- const { pushTitle, pushContent } = pushConfig;
257
+ const { pushTitle = '', pushContent = '' } = pushConfig;
258
258
  const conclusion = [];
259
- pushTitle && conclusion.push(validatePushTitle(pushTitle));
260
- pushContent && conclusion.push(validatePushContent(pushContent));
259
+ conclusion.push(validatePushTitle(pushTitle));
260
+ conclusion.push(validatePushContent(pushContent));
261
261
  return conclusion;
262
262
  };
263
263
  const validateUserIds = (userIds) => {
@@ -1860,7 +1860,7 @@
1860
1860
  }
1861
1861
 
1862
1862
  // plugin-call 版本上报
1863
- engine.VersionManage.add('plugin-call', "5.1.2-alpha.3");
1863
+ engine.VersionManage.add('plugin-call', "5.1.2-enterprise.1");
1864
1864
  const installer = {
1865
1865
  tag: 'RCCall',
1866
1866
  verify(runtime) {
@@ -1877,7 +1877,7 @@
1877
1877
  throw new Error(`The current engine version '${engine.VersionManage.getInfo().engine}' error, plugin-call required engine version at least '${"^5.7.0"}'.`);
1878
1878
  }
1879
1879
  const logger = context.createLogger('RCCall', 'RTC');
1880
- logger.warn('_', `RCCall Version: ${"5.1.2-alpha.3"}, Commit: ${"18608f24276587122c6fe1b54515d19aec29be0f"}`);
1880
+ logger.warn('_', `RCCall Version: ${"5.1.2-enterprise.1"}, Commit: ${"cc1286286fed4ed0c619fe38584d48bb5d266679"}`);
1881
1881
  return new RCCallClient(context, runtime, logger, options);
1882
1882
  }
1883
1883
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rongcloud/plugin-call",
3
- "version": "5.1.2-alpha.3",
3
+ "version": "5.1.2-enterprise.1",
4
4
  "description": "@rongcloud/plugin-call",
5
5
  "main": "./dist/index.js",
6
6
  "__attrs__": {
@@ -36,7 +36,7 @@
36
36
  "@rongcloud/plugin-rtc": "^5.5.1"
37
37
  },
38
38
  "dependencies": {
39
- "@rongcloud/plugin-call-engine": "^5.1.2-alpha.1"
39
+ "@rongcloud/plugin-call-engine": "^5.1.2-enterprise.1"
40
40
  },
41
- "__commit__": "18608f24276587122c6fe1b54515d19aec29be0f"
41
+ "__commit__": "cc1286286fed4ed0c619fe38584d48bb5d266679"
42
42
  }