@rongcloud/plugin-call 5.0.7 → 5.0.10
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/RCCallClient.d.ts +100 -0
- package/dist/RCCallSession.d.ts +232 -0
- package/dist/enums.d.ts +14 -0
- package/dist/eventEmitter.d.ts +4 -0
- package/dist/helper.d.ts +2 -0
- package/dist/index.d.ts +49 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/interface.d.ts +294 -0
- package/dist/logger.d.ts +4 -0
- package/dist/timer.d.ts +12 -0
- package/dist/utils.d.ts +9 -0
- package/dist/validation.d.ts +14 -0
- package/package.json +5 -5
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ISessionListener, IRCCallInitOptions, IValidationResult, IMediaStreamConstraints } from './interface';
|
|
2
|
+
export declare const validateCallInitOptions: (options: IRCCallInitOptions) => IValidationResult;
|
|
3
|
+
/**
|
|
4
|
+
* 校验registerSessionListener参数
|
|
5
|
+
*/
|
|
6
|
+
export declare const validateListener: (listener: ISessionListener) => IValidationResult;
|
|
7
|
+
export declare const validateTargetId: (targetId: string) => IValidationResult;
|
|
8
|
+
export declare const validateMediaType: (mediaType: number) => IValidationResult;
|
|
9
|
+
export declare const validateExtra: (extra: string) => IValidationResult;
|
|
10
|
+
export declare const validatePushTitle: (pushTitle: string) => IValidationResult;
|
|
11
|
+
export declare const validatePushContent: (pushContent: string) => IValidationResult;
|
|
12
|
+
export declare const validateUserIds: (userIds: string[]) => IValidationResult;
|
|
13
|
+
export declare const validateMediaStreamConstraints: (constraints: IMediaStreamConstraints) => IValidationResult;
|
|
14
|
+
//# sourceMappingURL=validation.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rongcloud/plugin-call",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"description": "@rongcloud/plugin-call",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"__attrs__": {
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"node": ">=10.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@rongcloud/engine": "
|
|
36
|
-
"@rongcloud/plugin-rtc": "^5.
|
|
35
|
+
"@rongcloud/engine": "^4.5.5-enterprise.1",
|
|
36
|
+
"@rongcloud/plugin-rtc": "^5.1.10-enterprise.5"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@rongcloud/plugin-call-engine": "^5.0.
|
|
39
|
+
"@rongcloud/plugin-call-engine": "^5.0.8"
|
|
40
40
|
},
|
|
41
|
-
"__commit__": "
|
|
41
|
+
"__commit__": "010761df892b669845b52207e7c1c3829782d100"
|
|
42
42
|
}
|