fcr-ui-widget-sdk 3.10.1 → 3.10.5

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/lib/sdk.d.ts CHANGED
@@ -30,7 +30,7 @@ export declare class FcrUIWidgetSDKImpl implements FcrUIWidgetSDK {
30
30
  getAllUserCount(): Promise<number>;
31
31
  startSessionByPhone(params: FcrPhoneConnectorSessionParams): Promise<string>;
32
32
  startSessionByIP(params: FcrIPConnectorSessionParams): Promise<string>;
33
- stopSession(sessionId: string): Promise<number>;
33
+ stopSession(sessionId: string): Promise<void>;
34
34
  active(): Promise<void>;
35
35
  inactive(): Promise<void>;
36
36
  getActivity(): Promise<boolean>;
package/lib/type.d.ts CHANGED
@@ -40,7 +40,7 @@ export interface FcrUIWidgetSDK {
40
40
  * 停止会话
41
41
  * @param sessionId 会话ID
42
42
  */
43
- stopSession(sessionId: string): Promise<number>;
43
+ stopSession(sessionId: string): Promise<void>;
44
44
  /**
45
45
  * 激活widget
46
46
  * @param widgetId widgetId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fcr-ui-widget-sdk",
3
- "version": "3.10.1",
3
+ "version": "3.10.5",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "repository": "ssh://git@git.agoralab.co/aduc/fcr-ui-scene-desktop.git",
@@ -16,15 +16,15 @@
16
16
  "test": "agora-tc-test-karma-browser"
17
17
  },
18
18
  "dependencies": {
19
- "agora-foundation": "3.10.1",
20
- "fcr-core": "3.10.1"
19
+ "agora-foundation": "3.10.5",
20
+ "fcr-core": "3.10.5"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@babel/core": "^7.23.5",
24
24
  "@babel/preset-env": "^7.23.5",
25
25
  "@babel/preset-react": "^7.24.1",
26
26
  "@babel/preset-typescript": "^7.23.3",
27
- "agora-toolchain": "3.10.1",
27
+ "agora-toolchain": "3.10.5",
28
28
  "tslib": "^2.6.2"
29
29
  }
30
30
  }