@xylink/xy-rtc-sdk 3.9.1 → 3.10.0-beta.4

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.
Files changed (51) hide show
  1. package/lib/action/index.d.ts +101 -19
  2. package/lib/enum/client.d.ts +1 -1
  3. package/lib/enum/{contraints.d.ts → constraints.d.ts} +6 -0
  4. package/lib/enum/device.d.ts +34 -0
  5. package/lib/enum/errorCode.d.ts +7 -1
  6. package/lib/enum/i18n.d.ts +6 -0
  7. package/lib/enum/index.d.ts +60 -6
  8. package/lib/enum/meeting.d.ts +4 -0
  9. package/lib/feature/index.d.ts +1 -0
  10. package/lib/feature/speaker.d.ts +61 -0
  11. package/lib/index.d.ts +11 -10
  12. package/lib/main/ability/const.d.ts +2 -0
  13. package/lib/main/ability/index.d.ts +31 -0
  14. package/lib/main/{iauth.d.ts → auth.d.ts} +8 -8
  15. package/lib/main/client.d.ts +191 -99
  16. package/lib/main/clientImplements.d.ts +99 -0
  17. package/lib/main/deviceManager.d.ts +150 -93
  18. package/lib/main/helper.d.ts +62 -9
  19. package/lib/main/layout/index.d.ts +67 -31
  20. package/lib/main/meeting.d.ts +32 -26
  21. package/lib/main/peer.d.ts +3 -1
  22. package/lib/main/stream.d.ts +47 -21
  23. package/lib/main/videoManager.d.ts +95 -12
  24. package/lib/tools/{audioLevel.d.ts → analyser.d.ts} +11 -4
  25. package/lib/tools/browser.d.ts +2 -0
  26. package/lib/tools/httpClient.d.ts +27 -6
  27. package/lib/tools/index.d.ts +12 -5
  28. package/lib/tools/{logger.d.ts → log/logger.d.ts} +18 -7
  29. package/lib/tools/log/loggerManager.d.ts +69 -0
  30. package/lib/tools/promiseQueue.d.ts +45 -0
  31. package/lib/tools/queue.d.ts +12 -15
  32. package/lib/tools/resize.d.ts +62 -0
  33. package/lib/tools/snapshot.d.ts +31 -0
  34. package/lib/tools/socket.d.ts +99 -32
  35. package/lib/tools/utils.d.ts +13 -5
  36. package/lib/type/ability.d.ts +25 -0
  37. package/lib/type/analyser.d.ts +18 -0
  38. package/lib/type/{iauth.d.ts → auth.d.ts} +0 -7
  39. package/lib/type/base.d.ts +16 -0
  40. package/lib/type/client.d.ts +154 -74
  41. package/lib/type/device.d.ts +103 -31
  42. package/lib/type/index.d.ts +3 -1
  43. package/lib/type/layout.d.ts +34 -0
  44. package/lib/type/logger.d.ts +19 -1
  45. package/lib/type/meeting.d.ts +294 -10
  46. package/lib/type/socket.d.ts +60 -0
  47. package/lib/type/stream.d.ts +20 -12
  48. package/lib/xyrtc.cjs.js +1 -1
  49. package/lib/xyrtc.umd.js +1 -1
  50. package/package.json +7 -5
  51. /package/lib/tools/{logger.worker.d.ts → log/logger.worker.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylink/xy-rtc-sdk",
3
- "version": "3.9.1",
3
+ "version": "3.10.0-beta.4",
4
4
  "description": "XYLink RTC SDK(小鱼易连WebRTC SDK)",
5
5
  "keywords": [
6
6
  "XYLink RTC SDK",
@@ -40,7 +40,8 @@
40
40
  "@types/react": "^17.0.3",
41
41
  "@types/react-dom": "^17.0.6",
42
42
  "@types/uuid": "^8.3.0",
43
- "antd": "4.10.1",
43
+ "@xylink/xy_api_gateway": "0.4.9-lite.2",
44
+ "antd": "4.15.5",
44
45
  "axios": "^0.19.1",
45
46
  "babel-loader": "^8.2.5",
46
47
  "babel-plugin-import": "^1.13.5",
@@ -57,11 +58,13 @@
57
58
  "html-webpack-plugin": "^5.5.0",
58
59
  "husky": "^4.3.8",
59
60
  "jest": "^25.1.0",
61
+ "js-sha512": "^0.8.0",
60
62
  "jszip": "^3.5.0",
61
63
  "less": "^4.1.3",
62
64
  "less-loader": "^11.0.0",
63
65
  "lint-staged": "^10.5.4",
64
66
  "mini-css-extract-plugin": "^2.6.1",
67
+ "portfinder": "^1.0.32",
65
68
  "postcss-loader": "^7.0.1",
66
69
  "prettier": "^2.8.8",
67
70
  "react": "^16.10.2",
@@ -78,12 +81,11 @@
78
81
  "webpack-cli": "^4.10.0",
79
82
  "webpack-dev-server": "^4.9.3",
80
83
  "worker-loader": "^3.0.8",
81
- "xytools": "^1.5.7"
84
+ "xytools": "^1.5.7",
85
+ "zustand": "^4.4.4"
82
86
  },
83
87
  "dependencies": {
84
- "@xylink/xy_api_gateway": "^0.4.2",
85
88
  "crypto-browserify": "^3.12.0",
86
- "crypto-js": "^4.1.1",
87
89
  "encryptlong": "^3.1.4",
88
90
  "js-base64": "^3.6.1",
89
91
  "uuid": "^7.0.2"