@webex/plugin-meetings 2.39.0 → 2.39.2
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/common/browser-detection.d.ts +9 -0
- package/dist/common/collection.d.ts +48 -0
- package/dist/common/config.d.ts +2 -0
- package/dist/common/errors/captcha-error.d.ts +15 -0
- package/dist/common/errors/intent-to-join.d.ts +16 -0
- package/dist/common/errors/join-meeting.d.ts +17 -0
- package/dist/common/errors/media.d.ts +15 -0
- package/dist/common/errors/parameter.d.ts +15 -0
- package/dist/common/errors/password-error.d.ts +15 -0
- package/dist/common/errors/permission.d.ts +14 -0
- package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/common/errors/reconnection.d.ts +15 -0
- package/dist/common/errors/stats.d.ts +15 -0
- package/dist/common/errors/webex-errors.d.ts +81 -0
- package/dist/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/common/events/events-scope.d.ts +17 -0
- package/dist/common/events/events.d.ts +12 -0
- package/dist/common/events/trigger-proxy.d.ts +2 -0
- package/dist/common/events/util.d.ts +2 -0
- package/dist/common/logs/logger-config.d.ts +2 -0
- package/dist/common/logs/logger-proxy.d.ts +2 -0
- package/dist/common/logs/request.d.ts +34 -0
- package/dist/common/queue.d.ts +32 -0
- package/dist/config.d.ts +73 -0
- package/dist/constants.d.ts +924 -0
- package/dist/controls-options-manager/constants.d.ts +4 -0
- package/dist/controls-options-manager/enums.d.ts +5 -0
- package/dist/controls-options-manager/index.d.ts +120 -0
- package/dist/controls-options-manager/util.d.ts +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/locus-info/controlsUtils.d.ts +2 -0
- package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/locus-info/fullState.d.ts +2 -0
- package/dist/locus-info/hostUtils.d.ts +2 -0
- package/dist/locus-info/index.d.ts +269 -0
- package/dist/locus-info/infoUtils.d.ts +2 -0
- package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/locus-info/parser.d.ts +212 -0
- package/dist/locus-info/selfUtils.d.ts +2 -0
- package/dist/media/index.d.ts +32 -0
- package/dist/media/properties.d.ts +108 -0
- package/dist/media/util.d.ts +2 -0
- package/dist/mediaQualityMetrics/config.d.ts +233 -0
- package/dist/meeting/effectsState.d.ts +42 -0
- package/dist/meeting/in-meeting-actions.d.ts +79 -0
- package/dist/meeting/index.d.ts +1621 -0
- package/dist/meeting/muteState.d.ts +116 -0
- package/dist/meeting/request.d.ts +255 -0
- package/dist/meeting/state.d.ts +9 -0
- package/dist/meeting/util.d.ts +2 -0
- package/dist/meeting-info/collection.d.ts +20 -0
- package/dist/meeting-info/index.d.ts +57 -0
- package/dist/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/meeting-info/request.d.ts +22 -0
- package/dist/meeting-info/util.d.ts +2 -0
- package/dist/meeting-info/utilv2.d.ts +2 -0
- package/dist/meetings/collection.d.ts +23 -0
- package/dist/meetings/index.d.ts +297 -0
- package/dist/meetings/request.d.ts +27 -0
- package/dist/meetings/util.d.ts +18 -0
- package/dist/member/index.d.ts +145 -0
- package/dist/member/util.d.ts +2 -0
- package/dist/members/collection.d.ts +24 -0
- package/dist/members/index.d.ts +298 -0
- package/dist/members/request.d.ts +50 -0
- package/dist/members/util.d.ts +2 -0
- package/dist/metrics/config.d.ts +169 -0
- package/dist/metrics/config.js +1 -11
- package/dist/metrics/config.js.map +1 -1
- package/dist/metrics/constants.d.ts +57 -0
- package/dist/metrics/index.d.ts +152 -0
- package/dist/metrics/index.js +3 -25
- package/dist/metrics/index.js.map +1 -1
- package/dist/networkQualityMonitor/index.d.ts +70 -0
- package/dist/peer-connection-manager/index.d.ts +6 -0
- package/dist/peer-connection-manager/util.d.ts +6 -0
- package/dist/personal-meeting-room/index.d.ts +47 -0
- package/dist/personal-meeting-room/request.d.ts +14 -0
- package/dist/personal-meeting-room/util.d.ts +2 -0
- package/dist/reachability/index.d.ts +139 -0
- package/dist/reachability/request.d.ts +35 -0
- package/dist/reactions/reactions.d.ts +4 -0
- package/dist/reactions/reactions.type.d.ts +32 -0
- package/dist/reconnection-manager/index.d.ts +112 -0
- package/dist/recording-controller/enums.d.ts +7 -0
- package/dist/recording-controller/index.d.ts +193 -0
- package/dist/recording-controller/util.d.ts +13 -0
- package/dist/roap/collection.d.ts +10 -0
- package/dist/roap/handler.d.ts +47 -0
- package/dist/roap/index.d.ts +116 -0
- package/dist/roap/request.d.ts +35 -0
- package/dist/roap/state.d.ts +9 -0
- package/dist/roap/turnDiscovery.d.ts +67 -0
- package/dist/roap/util.d.ts +2 -0
- package/dist/statsAnalyzer/global.d.ts +126 -0
- package/dist/statsAnalyzer/index.d.ts +190 -0
- package/dist/statsAnalyzer/mqaUtil.d.ts +22 -0
- package/dist/transcription/index.d.ts +64 -0
- package/package.json +18 -19
- package/src/metrics/config.ts +0 -10
- package/src/metrics/index.ts +3 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/plugin-meetings",
|
|
3
|
-
"version": "2.39.
|
|
3
|
+
"version": "2.39.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
|
|
6
6
|
"contributors": [
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"Taymoor Khan <taykhan@cisco.com>"
|
|
13
13
|
],
|
|
14
14
|
"main": "dist/index.js",
|
|
15
|
-
"types": "types/index.d.ts",
|
|
16
15
|
"devMain": "src/index.js",
|
|
17
16
|
"repository": {
|
|
18
17
|
"type": "git",
|
|
@@ -29,15 +28,15 @@
|
|
|
29
28
|
]
|
|
30
29
|
},
|
|
31
30
|
"scripts": {
|
|
32
|
-
"build": "yarn run -T tsc --declaration true --declarationDir ./
|
|
31
|
+
"build": "yarn run -T tsc --declaration true --declarationDir ./dist"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
|
-
"@webex/plugin-meetings": "2.39.
|
|
36
|
-
"@webex/test-helper-chai": "2.39.
|
|
37
|
-
"@webex/test-helper-mocha": "2.39.
|
|
38
|
-
"@webex/test-helper-mock-webex": "2.39.
|
|
39
|
-
"@webex/test-helper-retry": "2.39.
|
|
40
|
-
"@webex/test-helper-test-users": "2.39.
|
|
34
|
+
"@webex/plugin-meetings": "2.39.2",
|
|
35
|
+
"@webex/test-helper-chai": "2.39.2",
|
|
36
|
+
"@webex/test-helper-mocha": "2.39.2",
|
|
37
|
+
"@webex/test-helper-mock-webex": "2.39.2",
|
|
38
|
+
"@webex/test-helper-retry": "2.39.2",
|
|
39
|
+
"@webex/test-helper-test-users": "2.39.2",
|
|
41
40
|
"chai": "^4.3.4",
|
|
42
41
|
"chai-as-promised": "^7.1.1",
|
|
43
42
|
"jsdom-global": "3.0.2",
|
|
@@ -45,18 +44,18 @@
|
|
|
45
44
|
"typescript": "^4.7.4"
|
|
46
45
|
},
|
|
47
46
|
"dependencies": {
|
|
48
|
-
"@webex/common": "2.39.
|
|
47
|
+
"@webex/common": "2.39.2",
|
|
49
48
|
"@webex/internal-media-core": "0.0.7-beta",
|
|
50
|
-
"@webex/internal-plugin-conversation": "2.39.
|
|
51
|
-
"@webex/internal-plugin-device": "2.39.
|
|
52
|
-
"@webex/internal-plugin-mercury": "2.39.
|
|
53
|
-
"@webex/internal-plugin-metrics": "2.39.
|
|
54
|
-
"@webex/internal-plugin-support": "2.39.
|
|
55
|
-
"@webex/internal-plugin-user": "2.39.
|
|
56
|
-
"@webex/plugin-people": "2.39.
|
|
57
|
-
"@webex/plugin-rooms": "2.39.
|
|
49
|
+
"@webex/internal-plugin-conversation": "2.39.2",
|
|
50
|
+
"@webex/internal-plugin-device": "2.39.2",
|
|
51
|
+
"@webex/internal-plugin-mercury": "2.39.2",
|
|
52
|
+
"@webex/internal-plugin-metrics": "2.39.2",
|
|
53
|
+
"@webex/internal-plugin-support": "2.39.2",
|
|
54
|
+
"@webex/internal-plugin-user": "2.39.2",
|
|
55
|
+
"@webex/plugin-people": "2.39.2",
|
|
56
|
+
"@webex/plugin-rooms": "2.39.2",
|
|
58
57
|
"@webex/ts-sdp": "1.0.1",
|
|
59
|
-
"@webex/webex-core": "2.39.
|
|
58
|
+
"@webex/webex-core": "2.39.2",
|
|
60
59
|
"bowser": "^2.11.0",
|
|
61
60
|
"btoa": "^1.2.1",
|
|
62
61
|
"dotenv": "^4.0.0",
|
package/src/metrics/config.ts
CHANGED
|
@@ -481,15 +481,5 @@ export const errorObjects = {
|
|
|
481
481
|
|
|
482
482
|
export const UNKNOWN = 'unknown';
|
|
483
483
|
|
|
484
|
-
export const OS_NAME = {
|
|
485
|
-
WINDOWS: 'windows',
|
|
486
|
-
MAC: 'mac',
|
|
487
|
-
IOS: 'ios',
|
|
488
|
-
ANDROID: 'android',
|
|
489
|
-
CHROME: 'chrome',
|
|
490
|
-
LINUX: 'linux',
|
|
491
|
-
OTHERS: 'other',
|
|
492
|
-
};
|
|
493
|
-
|
|
494
484
|
export const CLIENT_NAME = 'webex-js-sdk';
|
|
495
485
|
export const PLATFORM = 'Web';
|
package/src/metrics/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ import uuid from 'uuid';
|
|
|
8
8
|
import window from 'global/window';
|
|
9
9
|
import anonymize from 'ip-anonymize';
|
|
10
10
|
|
|
11
|
+
import {getOSNameInternal} from '@webex/internal-plugin-metrics';
|
|
11
12
|
import LoggerProxy from '../common/logs/logger-proxy';
|
|
12
13
|
import {MEETING_ERRORS} from '../constants';
|
|
13
14
|
import BrowserDetection from '../common/browser-detection';
|
|
@@ -16,22 +17,11 @@ import {
|
|
|
16
17
|
error,
|
|
17
18
|
eventType,
|
|
18
19
|
errorCodes as ERROR_CODE,
|
|
19
|
-
OS_NAME,
|
|
20
20
|
UNKNOWN,
|
|
21
21
|
CLIENT_NAME,
|
|
22
22
|
mediaType,
|
|
23
23
|
} from './config';
|
|
24
24
|
|
|
25
|
-
const OSMap = {
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
'Chrome OS': OS_NAME.chrome,
|
|
28
|
-
macOS: OS_NAME.MAC,
|
|
29
|
-
Windows: OS_NAME.WINDOWS,
|
|
30
|
-
iOS: OS_NAME.IOS,
|
|
31
|
-
Android: OS_NAME.ANDROID,
|
|
32
|
-
Linux: OS_NAME.LINUX,
|
|
33
|
-
};
|
|
34
|
-
|
|
35
25
|
const {getOSName, getOSVersion, getBrowserName, getBrowserVersion} = BrowserDetection();
|
|
36
26
|
|
|
37
27
|
// Apply a CIDR /28 format to the IPV4 and /96 to the IPV6 addresses
|
|
@@ -205,7 +195,7 @@ class Metrics {
|
|
|
205
195
|
localNetworkPrefix: anonymizeIPAddress(this.webex.meetings.geoHintInfo?.clientAddress),
|
|
206
196
|
osVersion: getOSVersion() || 'unknown',
|
|
207
197
|
subClientType: options.subClientType,
|
|
208
|
-
os:
|
|
198
|
+
os: getOSNameInternal(),
|
|
209
199
|
browser: getBrowserName(),
|
|
210
200
|
browserVersion: getBrowserVersion(),
|
|
211
201
|
},
|
|
@@ -256,17 +246,6 @@ class Metrics {
|
|
|
256
246
|
return payload;
|
|
257
247
|
}
|
|
258
248
|
|
|
259
|
-
/**
|
|
260
|
-
* returns metrics friendly OS versions
|
|
261
|
-
* @param {String} osName Os name
|
|
262
|
-
* @returns {String}
|
|
263
|
-
* @private
|
|
264
|
-
* @memberof Metrics
|
|
265
|
-
*/
|
|
266
|
-
private getOsName() {
|
|
267
|
-
return OSMap[getOSName()] ?? OS_NAME.OTHERS;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
249
|
/**
|
|
271
250
|
* get the payload specific for a media quality event through call analyzer
|
|
272
251
|
* @param {String} eventType the event name
|
|
@@ -311,7 +290,7 @@ class Metrics {
|
|
|
311
290
|
clientType: options.clientType, // TODO: Only clientType: 'TEAMS_CLIENT' is whitelisted
|
|
312
291
|
clientVersion: `${CLIENT_NAME}/${this.webex.version}`,
|
|
313
292
|
localNetworkPrefix: anonymizeIPAddress(this.webex.meetings.geoHintInfo?.clientAddress),
|
|
314
|
-
os:
|
|
293
|
+
os: getOSNameInternal(),
|
|
315
294
|
osVersion: getOSVersion() || UNKNOWN,
|
|
316
295
|
subClientType: options.subClientType,
|
|
317
296
|
browser: getBrowserName(),
|