larksr_websdk 3.2.326 → 3.2.327

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.
@@ -541,6 +541,12 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
541
541
  * @param config 本地配置,优先级最高
542
542
  */
543
543
  constructor(config: ILarkSRConfig);
544
+ /**
545
+ * 单独设置服务器地址,作用同 config 中的 serverAddress 字段
546
+ * 在进入应用之前都可以更新。
547
+ * @param serverAddress 服务器地址,如 http://192.168.0.55:8181/
548
+ */
549
+ updateServerAddress(serverAddress: string): void;
544
550
  /**
545
551
  * 单独设置sdk授权码,目前总会返回成功 promise,具体验证失败将在 connectWithPxyHost 或 connect 返回
546
552
  * @param id sdk id 初始化sdkid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larksr_websdk",
3
- "version": "3.2.326",
3
+ "version": "3.2.327",
4
4
  "description": "Larksr websdk. Easy to build a cloud render client for larksr system or ue4 pixelstreaming.docs: https://pingxingyun.github.io/webclient_sdk/",
5
5
  "keywords": [
6
6
  "pingxingyun",
package/types/larksr.d.ts CHANGED
@@ -541,6 +541,12 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
541
541
  * @param config 本地配置,优先级最高
542
542
  */
543
543
  constructor(config: ILarkSRConfig);
544
+ /**
545
+ * 单独设置服务器地址,作用同 config 中的 serverAddress 字段
546
+ * 在进入应用之前都可以更新。
547
+ * @param serverAddress 服务器地址,如 http://192.168.0.55:8181/
548
+ */
549
+ updateServerAddress(serverAddress: string): void;
544
550
  /**
545
551
  * 单独设置sdk授权码,目前总会返回成功 promise,具体验证失败将在 connectWithPxyHost 或 connect 返回
546
552
  * @param id sdk id 初始化sdkid