larksr_websdk 3.2.37 → 3.2.38

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.
@@ -77,6 +77,7 @@ export default class API {
77
77
  static GetStartInfoPath: string;
78
78
  private static PocHostApplGetUrl;
79
79
  private static TaskInfoClientStartedPath;
80
+ private static PortMappingListPath;
80
81
  static HostAppliGetUrl(params: {
81
82
  appliId: string;
82
83
  playerMode?: number;
@@ -113,5 +114,6 @@ export default class API {
113
114
  static LogError(errorCode: number, errorMsg: string, params: string, config: ILarkSRConfig): void;
114
115
  static ClientInfo(config: ILarkSRConfig, params: AppliParams): void;
115
116
  static TaskInfoClientStarted(config: ILarkSRConfig, params: AppliParams): void;
117
+ static PortMappingList(config: ILarkSRConfig): Promise<unknown>;
116
118
  static joinParam(params: any): string;
117
119
  }
@@ -424,6 +424,11 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
424
424
  */
425
425
  get uid(): number;
426
426
  private _uid;
427
+ /**
428
+ * 云端应用是否是预启动状态
429
+ */
430
+ get isPreStart(): boolean;
431
+ private _isPreStart;
427
432
  /**
428
433
  * @returns 是否是 Task的拥有者
429
434
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larksr_websdk",
3
- "version": "3.2.37",
3
+ "version": "3.2.38",
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/api.d.ts CHANGED
@@ -77,6 +77,7 @@ export default class API {
77
77
  static GetStartInfoPath: string;
78
78
  private static PocHostApplGetUrl;
79
79
  private static TaskInfoClientStartedPath;
80
+ private static PortMappingListPath;
80
81
  static HostAppliGetUrl(params: {
81
82
  appliId: string;
82
83
  playerMode?: number;
@@ -113,5 +114,6 @@ export default class API {
113
114
  static LogError(errorCode: number, errorMsg: string, params: string, config: ILarkSRConfig): void;
114
115
  static ClientInfo(config: ILarkSRConfig, params: AppliParams): void;
115
116
  static TaskInfoClientStarted(config: ILarkSRConfig, params: AppliParams): void;
117
+ static PortMappingList(config: ILarkSRConfig): Promise<unknown>;
116
118
  static joinParam(params: any): string;
117
119
  }
package/types/larksr.d.ts CHANGED
@@ -424,6 +424,11 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
424
424
  */
425
425
  get uid(): number;
426
426
  private _uid;
427
+ /**
428
+ * 云端应用是否是预启动状态
429
+ */
430
+ get isPreStart(): boolean;
431
+ private _isPreStart;
427
432
  /**
428
433
  * @returns 是否是 Task的拥有者
429
434
  */
@@ -430,6 +430,9 @@ export namespace CloudLark {
430
430
 
431
431
  /** TaskResponse uid */
432
432
  uid?: (number|null);
433
+
434
+ /** TaskResponse prestart */
435
+ prestart?: (boolean|null);
433
436
  }
434
437
 
435
438
  /** Represents a TaskResponse. */
@@ -447,6 +450,9 @@ export namespace CloudLark {
447
450
  /** TaskResponse uid. */
448
451
  public uid: number;
449
452
 
453
+ /** TaskResponse prestart. */
454
+ public prestart: boolean;
455
+
450
456
  /**
451
457
  * Creates a new TaskResponse instance using the specified properties.
452
458
  * @param [properties] Properties to set