larksr_websdk 3.2.342 → 3.2.344
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/doc/config.md +6 -0
- package/dist/doc/update.md +16 -1
- package/dist/larksr-web-sdk.min.js +1 -1
- package/dist/types/api.d.ts +10 -6
- package/dist/types/appli_params.d.ts +2 -0
- package/dist/types/larksr.d.ts +9 -0
- package/dist/types/utils/log.d.ts +1 -1
- package/package.json +1 -1
- package/types/api.d.ts +10 -6
- package/types/appli_params.d.ts +2 -0
- package/types/larksr.d.ts +9 -0
- package/types/utils/log.d.ts +1 -1
- package/dist/types/lark/custom.d.ts +0 -7
- package/dist/types/protobuf/cloudlark.d.ts +0 -8221
- package/dist/types/utils/ios-inner-height.d.ts +0 -4
- package/types/lark/custom.d.ts +0 -7
- package/types/protobuf/cloudlark.d.ts +0 -8221
- package/types/utils/ios-inner-height.d.ts +0 -4
package/dist/types/api.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export interface GetTaskResult {
|
|
|
39
39
|
videoInput: number;
|
|
40
40
|
videoInputAutoStart: number;
|
|
41
41
|
liveStreaming: number;
|
|
42
|
+
mobileKeyboardType?: number;
|
|
42
43
|
}
|
|
43
44
|
export interface StartAppInfo {
|
|
44
45
|
appliId: string;
|
|
@@ -77,6 +78,13 @@ export interface StartAppInfo {
|
|
|
77
78
|
appKey?: string;
|
|
78
79
|
groupId?: string;
|
|
79
80
|
}
|
|
81
|
+
declare type HostAppliGetUrlReturnParams = {
|
|
82
|
+
appliId: string;
|
|
83
|
+
appKey: string;
|
|
84
|
+
timestamp: string;
|
|
85
|
+
signature: string;
|
|
86
|
+
groupId?: string;
|
|
87
|
+
};
|
|
80
88
|
export default class API {
|
|
81
89
|
static CheckUTLockInfoPath: string;
|
|
82
90
|
static GetTaskPATH: string;
|
|
@@ -97,12 +105,7 @@ export default class API {
|
|
|
97
105
|
}): Promise<{
|
|
98
106
|
host: string;
|
|
99
107
|
origin: string;
|
|
100
|
-
params:
|
|
101
|
-
appliId: string;
|
|
102
|
-
appKey: string;
|
|
103
|
-
timestamp: string;
|
|
104
|
-
signature: string;
|
|
105
|
-
};
|
|
108
|
+
params: HostAppliGetUrlReturnParams;
|
|
106
109
|
}>;
|
|
107
110
|
static GetStartInfo(serverAddress: string, params: {
|
|
108
111
|
sdkId: string;
|
|
@@ -130,3 +133,4 @@ export default class API {
|
|
|
130
133
|
static RegionList(server: string, params: any): Promise<unknown>;
|
|
131
134
|
static joinParam(params: any): string;
|
|
132
135
|
}
|
|
136
|
+
export {};
|
|
@@ -201,6 +201,7 @@ export interface IAppliParams {
|
|
|
201
201
|
videoInputAutoStart: boolean;
|
|
202
202
|
liveStreaming: boolean;
|
|
203
203
|
useSeparateMediaSharePeer: boolean;
|
|
204
|
+
mobileKeyboardType: number;
|
|
204
205
|
}
|
|
205
206
|
export declare enum AppliType {
|
|
206
207
|
DESKTOP = 1,
|
|
@@ -268,6 +269,7 @@ export declare class AppliParams implements IAppliParams {
|
|
|
268
269
|
videoInputAutoStart: boolean;
|
|
269
270
|
liveStreaming: boolean;
|
|
270
271
|
useSeparateMediaSharePeer: boolean;
|
|
272
|
+
mobileKeyboardType: number;
|
|
271
273
|
static copyAndCreate(params?: IAppliParams): AppliParams;
|
|
272
274
|
static setUpWithSDKConfig(params: IAppliParams, config: ILarkSRConfig): AppliParams;
|
|
273
275
|
}
|
package/dist/types/larksr.d.ts
CHANGED
|
@@ -471,6 +471,15 @@ interface ILarkSRConfig {
|
|
|
471
471
|
* 单独上传流程要求渲染服务器版本大于3290)
|
|
472
472
|
*/
|
|
473
473
|
useSeparateMediaSharePeer?: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* 是否启用 canvas 渲染. 默认关闭
|
|
476
|
+
*/
|
|
477
|
+
enableCanvasRender?: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* 可选项
|
|
480
|
+
* loading页载入Logo版本
|
|
481
|
+
*/
|
|
482
|
+
loadingLogoVersion?: string;
|
|
474
483
|
}
|
|
475
484
|
declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
476
485
|
/**
|
|
@@ -3,7 +3,7 @@ export declare class Level {
|
|
|
3
3
|
static WARN: string;
|
|
4
4
|
static ERR: string;
|
|
5
5
|
static TRACE: string;
|
|
6
|
-
static getLevelIndex(level: string): 0 |
|
|
6
|
+
static getLevelIndex(level: string): 0 | 1 | 2 | 3 | 4;
|
|
7
7
|
}
|
|
8
8
|
export interface LogObserver {
|
|
9
9
|
onLog(msg: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "larksr_websdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.344",
|
|
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
|
@@ -39,6 +39,7 @@ export interface GetTaskResult {
|
|
|
39
39
|
videoInput: number;
|
|
40
40
|
videoInputAutoStart: number;
|
|
41
41
|
liveStreaming: number;
|
|
42
|
+
mobileKeyboardType?: number;
|
|
42
43
|
}
|
|
43
44
|
export interface StartAppInfo {
|
|
44
45
|
appliId: string;
|
|
@@ -77,6 +78,13 @@ export interface StartAppInfo {
|
|
|
77
78
|
appKey?: string;
|
|
78
79
|
groupId?: string;
|
|
79
80
|
}
|
|
81
|
+
declare type HostAppliGetUrlReturnParams = {
|
|
82
|
+
appliId: string;
|
|
83
|
+
appKey: string;
|
|
84
|
+
timestamp: string;
|
|
85
|
+
signature: string;
|
|
86
|
+
groupId?: string;
|
|
87
|
+
};
|
|
80
88
|
export default class API {
|
|
81
89
|
static CheckUTLockInfoPath: string;
|
|
82
90
|
static GetTaskPATH: string;
|
|
@@ -97,12 +105,7 @@ export default class API {
|
|
|
97
105
|
}): Promise<{
|
|
98
106
|
host: string;
|
|
99
107
|
origin: string;
|
|
100
|
-
params:
|
|
101
|
-
appliId: string;
|
|
102
|
-
appKey: string;
|
|
103
|
-
timestamp: string;
|
|
104
|
-
signature: string;
|
|
105
|
-
};
|
|
108
|
+
params: HostAppliGetUrlReturnParams;
|
|
106
109
|
}>;
|
|
107
110
|
static GetStartInfo(serverAddress: string, params: {
|
|
108
111
|
sdkId: string;
|
|
@@ -130,3 +133,4 @@ export default class API {
|
|
|
130
133
|
static RegionList(server: string, params: any): Promise<unknown>;
|
|
131
134
|
static joinParam(params: any): string;
|
|
132
135
|
}
|
|
136
|
+
export {};
|
package/types/appli_params.d.ts
CHANGED
|
@@ -201,6 +201,7 @@ export interface IAppliParams {
|
|
|
201
201
|
videoInputAutoStart: boolean;
|
|
202
202
|
liveStreaming: boolean;
|
|
203
203
|
useSeparateMediaSharePeer: boolean;
|
|
204
|
+
mobileKeyboardType: number;
|
|
204
205
|
}
|
|
205
206
|
export declare enum AppliType {
|
|
206
207
|
DESKTOP = 1,
|
|
@@ -268,6 +269,7 @@ export declare class AppliParams implements IAppliParams {
|
|
|
268
269
|
videoInputAutoStart: boolean;
|
|
269
270
|
liveStreaming: boolean;
|
|
270
271
|
useSeparateMediaSharePeer: boolean;
|
|
272
|
+
mobileKeyboardType: number;
|
|
271
273
|
static copyAndCreate(params?: IAppliParams): AppliParams;
|
|
272
274
|
static setUpWithSDKConfig(params: IAppliParams, config: ILarkSRConfig): AppliParams;
|
|
273
275
|
}
|
package/types/larksr.d.ts
CHANGED
|
@@ -471,6 +471,15 @@ interface ILarkSRConfig {
|
|
|
471
471
|
* 单独上传流程要求渲染服务器版本大于3290)
|
|
472
472
|
*/
|
|
473
473
|
useSeparateMediaSharePeer?: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* 是否启用 canvas 渲染. 默认关闭
|
|
476
|
+
*/
|
|
477
|
+
enableCanvasRender?: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* 可选项
|
|
480
|
+
* loading页载入Logo版本
|
|
481
|
+
*/
|
|
482
|
+
loadingLogoVersion?: string;
|
|
474
483
|
}
|
|
475
484
|
declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
476
485
|
/**
|
package/types/utils/log.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare class Level {
|
|
|
3
3
|
static WARN: string;
|
|
4
4
|
static ERR: string;
|
|
5
5
|
static TRACE: string;
|
|
6
|
-
static getLevelIndex(level: string): 0 |
|
|
6
|
+
static getLevelIndex(level: string): 0 | 1 | 2 | 3 | 4;
|
|
7
7
|
}
|
|
8
8
|
export interface LogObserver {
|
|
9
9
|
onLog(msg: string): void;
|