larksr_websdk 3.2.343 → 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/update.md +462 -462
- package/dist/larksr-web-sdk.min.js +1 -1
- package/dist/types/api.d.ts +9 -6
- package/dist/types/larksr.d.ts +5 -0
- package/dist/types/utils/log.d.ts +1 -1
- package/package.json +71 -71
- package/types/api.d.ts +9 -6
- package/types/larksr.d.ts +5 -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
|
@@ -78,6 +78,13 @@ export interface StartAppInfo {
|
|
|
78
78
|
appKey?: string;
|
|
79
79
|
groupId?: string;
|
|
80
80
|
}
|
|
81
|
+
declare type HostAppliGetUrlReturnParams = {
|
|
82
|
+
appliId: string;
|
|
83
|
+
appKey: string;
|
|
84
|
+
timestamp: string;
|
|
85
|
+
signature: string;
|
|
86
|
+
groupId?: string;
|
|
87
|
+
};
|
|
81
88
|
export default class API {
|
|
82
89
|
static CheckUTLockInfoPath: string;
|
|
83
90
|
static GetTaskPATH: string;
|
|
@@ -98,12 +105,7 @@ export default class API {
|
|
|
98
105
|
}): Promise<{
|
|
99
106
|
host: string;
|
|
100
107
|
origin: string;
|
|
101
|
-
params:
|
|
102
|
-
appliId: string;
|
|
103
|
-
appKey: string;
|
|
104
|
-
timestamp: string;
|
|
105
|
-
signature: string;
|
|
106
|
-
};
|
|
108
|
+
params: HostAppliGetUrlReturnParams;
|
|
107
109
|
}>;
|
|
108
110
|
static GetStartInfo(serverAddress: string, params: {
|
|
109
111
|
sdkId: string;
|
|
@@ -131,3 +133,4 @@ export default class API {
|
|
|
131
133
|
static RegionList(server: string, params: any): Promise<unknown>;
|
|
132
134
|
static joinParam(params: any): string;
|
|
133
135
|
}
|
|
136
|
+
export {};
|
package/dist/types/larksr.d.ts
CHANGED
|
@@ -475,6 +475,11 @@ interface ILarkSRConfig {
|
|
|
475
475
|
* 是否启用 canvas 渲染. 默认关闭
|
|
476
476
|
*/
|
|
477
477
|
enableCanvasRender?: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* 可选项
|
|
480
|
+
* loading页载入Logo版本
|
|
481
|
+
*/
|
|
482
|
+
loadingLogoVersion?: string;
|
|
478
483
|
}
|
|
479
484
|
declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
480
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,71 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "larksr_websdk",
|
|
3
|
-
"version": "3.2.
|
|
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
|
-
"keywords": [
|
|
6
|
-
"pingxingyun",
|
|
7
|
-
"larksr",
|
|
8
|
-
"cloudrendeing",
|
|
9
|
-
"webrtc",
|
|
10
|
-
"cloudxr",
|
|
11
|
-
"pixelstreaming"
|
|
12
|
-
],
|
|
13
|
-
"main": "./dist/larksr-web-sdk.min.js",
|
|
14
|
-
"types": "./types/index.d.ts",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist",
|
|
17
|
-
"types",
|
|
18
|
-
"doc,"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
22
|
-
"dev": "webpack-dev-server --config webpack.config.dev.js",
|
|
23
|
-
"build": "webpack --config webpack.config.js",
|
|
24
|
-
"build:typings": "tsc --build tsconfig.type.json",
|
|
25
|
-
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/types/",
|
|
26
|
-
"dist": "webpack --config webpack.config.js && copyfiles -u 1 \"src/**/*.d.ts\" ./types/ && copyfiles -u 1 \"doc/*\" dist/doc/ && copyfiles -u 1 \"types/**/*.d.ts\" ./dist/types/ && copyfiles -u 1 \"dist/*\" ./sample-plain-html/source/dist/"
|
|
27
|
-
},
|
|
28
|
-
"author": "fcx@pingxingyun.com",
|
|
29
|
-
"license": "ISC",
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"axios": "^0.24.0",
|
|
32
|
-
"bowser": "^2.11.0",
|
|
33
|
-
"core-js": "^3.18.1",
|
|
34
|
-
"crypto-js": "^4.1.1",
|
|
35
|
-
"ios-inner-height": "^1.1.1",
|
|
36
|
-
"protobufjs": "^6.11.2",
|
|
37
|
-
"webrtc-adapter": "^8.1.0",
|
|
38
|
-
"weixin-js-sdk": "^1.6.0"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@babel/core": "^7.15.5",
|
|
42
|
-
"@tsconfig/svelte": "^2.0.1",
|
|
43
|
-
"@types/crypto-js": "^4.0.2",
|
|
44
|
-
"@types/webrtc": "^0.0.30",
|
|
45
|
-
"babel-loader": "^8.2.2",
|
|
46
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
47
|
-
"css-loader": "^6.3.0",
|
|
48
|
-
"fork-ts-checker-webpack-plugin": "^6.3.3",
|
|
49
|
-
"html-loader": "^3.0.1",
|
|
50
|
-
"html-webpack-plugin": "^5.3.2",
|
|
51
|
-
"less-loader": "^10.0.1",
|
|
52
|
-
"react": "^17.0.2",
|
|
53
|
-
"react-dom": "^17.0.2",
|
|
54
|
-
"sass": "^1.43.4",
|
|
55
|
-
"scss": "^0.2.4",
|
|
56
|
-
"style-loader": "^3.3.0",
|
|
57
|
-
"svelte": "^3.44.1",
|
|
58
|
-
"svelte-check": "^2.2.10",
|
|
59
|
-
"svelte-loader": "^3.1.2",
|
|
60
|
-
"svelte-preprocess": "^4.9.8",
|
|
61
|
-
"terser-webpack-plugin": "^5.2.5",
|
|
62
|
-
"ts-loader": "^9.2.6",
|
|
63
|
-
"typescript": "^4.4.3",
|
|
64
|
-
"typescript-svelte-plugin": "^0.2.5",
|
|
65
|
-
"url-loader": "^4.1.1",
|
|
66
|
-
"vconsole": "^3.12.1",
|
|
67
|
-
"webpack": "^5.54.0",
|
|
68
|
-
"webpack-cli": "^4.8.0",
|
|
69
|
-
"webpack-dev-server": "^4.3.0"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "larksr_websdk",
|
|
3
|
+
"version": "3.2.344",
|
|
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
|
+
"keywords": [
|
|
6
|
+
"pingxingyun",
|
|
7
|
+
"larksr",
|
|
8
|
+
"cloudrendeing",
|
|
9
|
+
"webrtc",
|
|
10
|
+
"cloudxr",
|
|
11
|
+
"pixelstreaming"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/larksr-web-sdk.min.js",
|
|
14
|
+
"types": "./types/index.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"types",
|
|
18
|
+
"doc,"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
22
|
+
"dev": "webpack-dev-server --config webpack.config.dev.js",
|
|
23
|
+
"build": "webpack --config webpack.config.js",
|
|
24
|
+
"build:typings": "tsc --build tsconfig.type.json",
|
|
25
|
+
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/types/",
|
|
26
|
+
"dist": "webpack --config webpack.config.js && copyfiles -u 1 \"src/**/*.d.ts\" ./types/ && copyfiles -u 1 \"doc/*\" dist/doc/ && copyfiles -u 1 \"types/**/*.d.ts\" ./dist/types/ && copyfiles -u 1 \"dist/*\" ./sample-plain-html/source/dist/"
|
|
27
|
+
},
|
|
28
|
+
"author": "fcx@pingxingyun.com",
|
|
29
|
+
"license": "ISC",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"axios": "^0.24.0",
|
|
32
|
+
"bowser": "^2.11.0",
|
|
33
|
+
"core-js": "^3.18.1",
|
|
34
|
+
"crypto-js": "^4.1.1",
|
|
35
|
+
"ios-inner-height": "^1.1.1",
|
|
36
|
+
"protobufjs": "^6.11.2",
|
|
37
|
+
"webrtc-adapter": "^8.1.0",
|
|
38
|
+
"weixin-js-sdk": "^1.6.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@babel/core": "^7.15.5",
|
|
42
|
+
"@tsconfig/svelte": "^2.0.1",
|
|
43
|
+
"@types/crypto-js": "^4.0.2",
|
|
44
|
+
"@types/webrtc": "^0.0.30",
|
|
45
|
+
"babel-loader": "^8.2.2",
|
|
46
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
47
|
+
"css-loader": "^6.3.0",
|
|
48
|
+
"fork-ts-checker-webpack-plugin": "^6.3.3",
|
|
49
|
+
"html-loader": "^3.0.1",
|
|
50
|
+
"html-webpack-plugin": "^5.3.2",
|
|
51
|
+
"less-loader": "^10.0.1",
|
|
52
|
+
"react": "^17.0.2",
|
|
53
|
+
"react-dom": "^17.0.2",
|
|
54
|
+
"sass": "^1.43.4",
|
|
55
|
+
"scss": "^0.2.4",
|
|
56
|
+
"style-loader": "^3.3.0",
|
|
57
|
+
"svelte": "^3.44.1",
|
|
58
|
+
"svelte-check": "^2.2.10",
|
|
59
|
+
"svelte-loader": "^3.1.2",
|
|
60
|
+
"svelte-preprocess": "^4.9.8",
|
|
61
|
+
"terser-webpack-plugin": "^5.2.5",
|
|
62
|
+
"ts-loader": "^9.2.6",
|
|
63
|
+
"typescript": "^4.4.3",
|
|
64
|
+
"typescript-svelte-plugin": "^0.2.5",
|
|
65
|
+
"url-loader": "^4.1.1",
|
|
66
|
+
"vconsole": "^3.12.1",
|
|
67
|
+
"webpack": "^5.54.0",
|
|
68
|
+
"webpack-cli": "^4.8.0",
|
|
69
|
+
"webpack-dev-server": "^4.3.0"
|
|
70
|
+
}
|
|
71
|
+
}
|
package/types/api.d.ts
CHANGED
|
@@ -78,6 +78,13 @@ export interface StartAppInfo {
|
|
|
78
78
|
appKey?: string;
|
|
79
79
|
groupId?: string;
|
|
80
80
|
}
|
|
81
|
+
declare type HostAppliGetUrlReturnParams = {
|
|
82
|
+
appliId: string;
|
|
83
|
+
appKey: string;
|
|
84
|
+
timestamp: string;
|
|
85
|
+
signature: string;
|
|
86
|
+
groupId?: string;
|
|
87
|
+
};
|
|
81
88
|
export default class API {
|
|
82
89
|
static CheckUTLockInfoPath: string;
|
|
83
90
|
static GetTaskPATH: string;
|
|
@@ -98,12 +105,7 @@ export default class API {
|
|
|
98
105
|
}): Promise<{
|
|
99
106
|
host: string;
|
|
100
107
|
origin: string;
|
|
101
|
-
params:
|
|
102
|
-
appliId: string;
|
|
103
|
-
appKey: string;
|
|
104
|
-
timestamp: string;
|
|
105
|
-
signature: string;
|
|
106
|
-
};
|
|
108
|
+
params: HostAppliGetUrlReturnParams;
|
|
107
109
|
}>;
|
|
108
110
|
static GetStartInfo(serverAddress: string, params: {
|
|
109
111
|
sdkId: string;
|
|
@@ -131,3 +133,4 @@ export default class API {
|
|
|
131
133
|
static RegionList(server: string, params: any): Promise<unknown>;
|
|
132
134
|
static joinParam(params: any): string;
|
|
133
135
|
}
|
|
136
|
+
export {};
|
package/types/larksr.d.ts
CHANGED
|
@@ -475,6 +475,11 @@ interface ILarkSRConfig {
|
|
|
475
475
|
* 是否启用 canvas 渲染. 默认关闭
|
|
476
476
|
*/
|
|
477
477
|
enableCanvasRender?: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* 可选项
|
|
480
|
+
* loading页载入Logo版本
|
|
481
|
+
*/
|
|
482
|
+
loadingLogoVersion?: string;
|
|
478
483
|
}
|
|
479
484
|
declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
480
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;
|