@xylink/xy-rtc-sdk 3.8.0 → 3.8.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/README.MD +37 -37
- package/lib/action/index.d.ts +4 -4
- package/lib/enum/i18n.d.ts +39 -0
- package/lib/enum/index.d.ts +21 -0
- package/lib/main/client.d.ts +9 -9
- package/lib/main/layoutManager.d.ts +17 -5
- package/lib/main/meeting.d.ts +19 -2
- package/lib/tools/template.d.ts +8 -1
- package/lib/type/client.d.ts +34 -36
- package/lib/type/layout.d.ts +8 -6
- package/lib/type/meeting.d.ts +20 -0
- package/lib/type/stream.d.ts +40 -0
- package/lib/xyrtc.cjs.js +1 -1
- package/lib/xyrtc.umd.js +1 -1
- package/package.json +119 -119
package/package.json
CHANGED
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xylink/xy-rtc-sdk",
|
|
3
|
-
"version": "3.8.
|
|
4
|
-
"description": "XYLink RTC SDK(小鱼易连WebRTC SDK)",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"XYLink RTC SDK",
|
|
7
|
-
"XYLink WebRTC SDK",
|
|
8
|
-
"WebRTC SDK",
|
|
9
|
-
"RTC SDK"
|
|
10
|
-
],
|
|
11
|
-
"main": "lib/xyrtc.cjs.js",
|
|
12
|
-
"types": "lib/index.d.ts",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "npm run start",
|
|
15
|
-
"start": "cross-env NODE_ENV=development webpack serve --config ./scripts/webpack.dev.js",
|
|
16
|
-
"build:demo": "cross-env NODE_ENV=production webpack --config ./scripts/webpack.common.js",
|
|
17
|
-
"build:lib": "cross-env NODE_ENV=production webpack --config ./scripts/webpack.sdk.js",
|
|
18
|
-
"build:nodeLib": "node ./scripts/build_lib.js",
|
|
19
|
-
"test": "jest",
|
|
20
|
-
"xytools": "xytools",
|
|
21
|
-
"version:beta": "npm version prerelease --preid=beta",
|
|
22
|
-
"publish:beta": "npm publish --tag beta --access public"
|
|
23
|
-
},
|
|
24
|
-
"author": "jinghui-Luo",
|
|
25
|
-
"email": "luojinghui424@gmail.com",
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/xylink-com/xylink-rtc-demo/issues",
|
|
28
|
-
"email": "luojinghui424@gmail.com"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@babel/core": "^7.18.10",
|
|
32
|
-
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
33
|
-
"@babel/preset-env": "^7.18.10",
|
|
34
|
-
"@babel/preset-react": "^7.18.6",
|
|
35
|
-
"@babel/preset-typescript": "^7.7.4",
|
|
36
|
-
"@svgr/webpack": "^6.3.1",
|
|
37
|
-
"@types/clone-deep": "^4.0.1",
|
|
38
|
-
"@types/crypto-js": "^4.0.1",
|
|
39
|
-
"@types/downloadjs": "^1.4.2",
|
|
40
|
-
"@types/react": "^17.0.3",
|
|
41
|
-
"@types/react-dom": "^17.0.6",
|
|
42
|
-
"@types/uuid": "^8.3.0",
|
|
43
|
-
"antd": "4.10.1",
|
|
44
|
-
"axios": "^0.19.1",
|
|
45
|
-
"babel-loader": "^8.2.5",
|
|
46
|
-
"babel-plugin-import": "^1.13.5",
|
|
47
|
-
"clone-deep": "^4.0.1",
|
|
48
|
-
"copy-webpack-plugin": "^11.0.0",
|
|
49
|
-
"core-js": "^3.24.1",
|
|
50
|
-
"cross-env": "^7.0.3",
|
|
51
|
-
"css-loader": "^6.7.1",
|
|
52
|
-
"dexie": "^2.0.4",
|
|
53
|
-
"dexie-export-import": "^1.0.0-rc.1",
|
|
54
|
-
"downloadjs": "^1.4.7",
|
|
55
|
-
"eslint": "^6.7.1",
|
|
56
|
-
"eslint-config-alloy": "^3.4.0",
|
|
57
|
-
"html-webpack-plugin": "^5.5.0",
|
|
58
|
-
"husky": "^4.3.8",
|
|
59
|
-
"jest": "^25.1.0",
|
|
60
|
-
"jszip": "^3.5.0",
|
|
61
|
-
"less": "^4.1.3",
|
|
62
|
-
"less-loader": "^11.0.0",
|
|
63
|
-
"lint-staged": "^10.5.4",
|
|
64
|
-
"mini-css-extract-plugin": "^2.6.1",
|
|
65
|
-
"postcss-loader": "^7.0.1",
|
|
66
|
-
"prettier": "^1.19.1",
|
|
67
|
-
"react": "^16.10.2",
|
|
68
|
-
"react-dom": "^16.10.2",
|
|
69
|
-
"sass": "^1.54.3",
|
|
70
|
-
"sass-loader": "^13.0.2",
|
|
71
|
-
"style-loader": "^3.3.1",
|
|
72
|
-
"terser-webpack-plugin": "^5.3.3",
|
|
73
|
-
"ts-loader": "^9.3.1",
|
|
74
|
-
"typescript": "^4.3.2",
|
|
75
|
-
"validate-commit-msg": "^2.14.0",
|
|
76
|
-
"vconsole": "^3.3.4",
|
|
77
|
-
"webpack": "^5.74.0",
|
|
78
|
-
"webpack-cli": "^4.10.0",
|
|
79
|
-
"webpack-dev-server": "^4.9.3",
|
|
80
|
-
"worker-loader": "^3.0.8",
|
|
81
|
-
"xytools": "^1.5.7"
|
|
82
|
-
},
|
|
83
|
-
"dependencies": {
|
|
84
|
-
"crypto-browserify": "^3.12.0",
|
|
85
|
-
"crypto-js": "^4.1.1",
|
|
86
|
-
"encryptlong": "^3.1.4",
|
|
87
|
-
"js-base64": "^3.6.1",
|
|
88
|
-
"uuid": "^7.0.2"
|
|
89
|
-
},
|
|
90
|
-
"husky": {
|
|
91
|
-
"hooks": {
|
|
92
|
-
"pre-commit": "lint-staged",
|
|
93
|
-
"commit-msg": "validate-commit-msg"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"config": {
|
|
97
|
-
"validate-commit-msg": {
|
|
98
|
-
"types": [
|
|
99
|
-
"feat",
|
|
100
|
-
"fix",
|
|
101
|
-
"docs",
|
|
102
|
-
"style",
|
|
103
|
-
"refactor",
|
|
104
|
-
"perf",
|
|
105
|
-
"test",
|
|
106
|
-
"build",
|
|
107
|
-
"ci",
|
|
108
|
-
"chore",
|
|
109
|
-
"revert",
|
|
110
|
-
"merge"
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"lint-staged": {
|
|
115
|
-
"{src,demo}/**/*.{js,jsx,json,ts,tsx,scss,sass,css,md}": [
|
|
116
|
-
"prettier --write"
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xylink/xy-rtc-sdk",
|
|
3
|
+
"version": "3.8.1",
|
|
4
|
+
"description": "XYLink RTC SDK(小鱼易连WebRTC SDK)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"XYLink RTC SDK",
|
|
7
|
+
"XYLink WebRTC SDK",
|
|
8
|
+
"WebRTC SDK",
|
|
9
|
+
"RTC SDK"
|
|
10
|
+
],
|
|
11
|
+
"main": "lib/xyrtc.cjs.js",
|
|
12
|
+
"types": "lib/index.d.ts",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"dev": "npm run start",
|
|
15
|
+
"start": "cross-env NODE_ENV=development webpack serve --config ./scripts/webpack.dev.js",
|
|
16
|
+
"build:demo": "cross-env NODE_ENV=production webpack --config ./scripts/webpack.common.js",
|
|
17
|
+
"build:lib": "cross-env NODE_ENV=production webpack --config ./scripts/webpack.sdk.js",
|
|
18
|
+
"build:nodeLib": "node ./scripts/build_lib.js",
|
|
19
|
+
"test": "jest",
|
|
20
|
+
"xytools": "xytools",
|
|
21
|
+
"version:beta": "npm version prerelease --preid=beta",
|
|
22
|
+
"publish:beta": "npm publish --tag beta --access public"
|
|
23
|
+
},
|
|
24
|
+
"author": "jinghui-Luo",
|
|
25
|
+
"email": "luojinghui424@gmail.com",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/xylink-com/xylink-rtc-demo/issues",
|
|
28
|
+
"email": "luojinghui424@gmail.com"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@babel/core": "^7.18.10",
|
|
32
|
+
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
33
|
+
"@babel/preset-env": "^7.18.10",
|
|
34
|
+
"@babel/preset-react": "^7.18.6",
|
|
35
|
+
"@babel/preset-typescript": "^7.7.4",
|
|
36
|
+
"@svgr/webpack": "^6.3.1",
|
|
37
|
+
"@types/clone-deep": "^4.0.1",
|
|
38
|
+
"@types/crypto-js": "^4.0.1",
|
|
39
|
+
"@types/downloadjs": "^1.4.2",
|
|
40
|
+
"@types/react": "^17.0.3",
|
|
41
|
+
"@types/react-dom": "^17.0.6",
|
|
42
|
+
"@types/uuid": "^8.3.0",
|
|
43
|
+
"antd": "4.10.1",
|
|
44
|
+
"axios": "^0.19.1",
|
|
45
|
+
"babel-loader": "^8.2.5",
|
|
46
|
+
"babel-plugin-import": "^1.13.5",
|
|
47
|
+
"clone-deep": "^4.0.1",
|
|
48
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
49
|
+
"core-js": "^3.24.1",
|
|
50
|
+
"cross-env": "^7.0.3",
|
|
51
|
+
"css-loader": "^6.7.1",
|
|
52
|
+
"dexie": "^2.0.4",
|
|
53
|
+
"dexie-export-import": "^1.0.0-rc.1",
|
|
54
|
+
"downloadjs": "^1.4.7",
|
|
55
|
+
"eslint": "^6.7.1",
|
|
56
|
+
"eslint-config-alloy": "^3.4.0",
|
|
57
|
+
"html-webpack-plugin": "^5.5.0",
|
|
58
|
+
"husky": "^4.3.8",
|
|
59
|
+
"jest": "^25.1.0",
|
|
60
|
+
"jszip": "^3.5.0",
|
|
61
|
+
"less": "^4.1.3",
|
|
62
|
+
"less-loader": "^11.0.0",
|
|
63
|
+
"lint-staged": "^10.5.4",
|
|
64
|
+
"mini-css-extract-plugin": "^2.6.1",
|
|
65
|
+
"postcss-loader": "^7.0.1",
|
|
66
|
+
"prettier": "^1.19.1",
|
|
67
|
+
"react": "^16.10.2",
|
|
68
|
+
"react-dom": "^16.10.2",
|
|
69
|
+
"sass": "^1.54.3",
|
|
70
|
+
"sass-loader": "^13.0.2",
|
|
71
|
+
"style-loader": "^3.3.1",
|
|
72
|
+
"terser-webpack-plugin": "^5.3.3",
|
|
73
|
+
"ts-loader": "^9.3.1",
|
|
74
|
+
"typescript": "^4.3.2",
|
|
75
|
+
"validate-commit-msg": "^2.14.0",
|
|
76
|
+
"vconsole": "^3.3.4",
|
|
77
|
+
"webpack": "^5.74.0",
|
|
78
|
+
"webpack-cli": "^4.10.0",
|
|
79
|
+
"webpack-dev-server": "^4.9.3",
|
|
80
|
+
"worker-loader": "^3.0.8",
|
|
81
|
+
"xytools": "^1.5.7"
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"crypto-browserify": "^3.12.0",
|
|
85
|
+
"crypto-js": "^4.1.1",
|
|
86
|
+
"encryptlong": "^3.1.4",
|
|
87
|
+
"js-base64": "^3.6.1",
|
|
88
|
+
"uuid": "^7.0.2"
|
|
89
|
+
},
|
|
90
|
+
"husky": {
|
|
91
|
+
"hooks": {
|
|
92
|
+
"pre-commit": "lint-staged",
|
|
93
|
+
"commit-msg": "validate-commit-msg"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"config": {
|
|
97
|
+
"validate-commit-msg": {
|
|
98
|
+
"types": [
|
|
99
|
+
"feat",
|
|
100
|
+
"fix",
|
|
101
|
+
"docs",
|
|
102
|
+
"style",
|
|
103
|
+
"refactor",
|
|
104
|
+
"perf",
|
|
105
|
+
"test",
|
|
106
|
+
"build",
|
|
107
|
+
"ci",
|
|
108
|
+
"chore",
|
|
109
|
+
"revert",
|
|
110
|
+
"merge"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"lint-staged": {
|
|
115
|
+
"{src,demo}/**/*.{js,jsx,json,ts,tsx,scss,sass,css,md}": [
|
|
116
|
+
"prettier --write"
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|