@webex/plugin-meetings 3.11.0-next.2 → 3.11.0-next.21
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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/hashTree/hashTree.js +18 -0
- package/dist/hashTree/hashTree.js.map +1 -1
- package/dist/hashTree/hashTreeParser.js +307 -139
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/hashTree/types.js +2 -1
- package/dist/hashTree/types.js.map +1 -1
- package/dist/hashTree/utils.js +10 -0
- package/dist/hashTree/utils.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +55 -42
- package/dist/locus-info/index.js.map +1 -1
- package/dist/media/MediaConnectionAwaiter.js +57 -1
- package/dist/media/MediaConnectionAwaiter.js.map +1 -1
- package/dist/media/properties.js +4 -2
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/index.js +33 -22
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/util.js +108 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meetings/index.js +76 -26
- package/dist/meetings/index.js.map +1 -1
- package/dist/metrics/constants.js +2 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +1 -1
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/types/hashTree/hashTree.d.ts +7 -0
- package/dist/types/hashTree/hashTreeParser.d.ts +47 -12
- package/dist/types/hashTree/types.d.ts +1 -0
- package/dist/types/hashTree/utils.d.ts +6 -0
- package/dist/types/locus-info/index.d.ts +9 -2
- package/dist/types/media/MediaConnectionAwaiter.d.ts +10 -1
- package/dist/types/media/properties.d.ts +2 -1
- package/dist/types/meeting/index.d.ts +8 -5
- package/dist/types/meeting/util.d.ts +28 -0
- package/dist/types/meetings/index.d.ts +3 -1
- package/dist/types/metrics/constants.d.ts +1 -0
- package/dist/types/reactions/reactions.type.d.ts +1 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +22 -22
- package/src/hashTree/hashTree.ts +17 -0
- package/src/hashTree/hashTreeParser.ts +294 -96
- package/src/hashTree/types.ts +1 -0
- package/src/hashTree/utils.ts +9 -0
- package/src/locus-info/index.ts +83 -35
- package/src/media/MediaConnectionAwaiter.ts +41 -1
- package/src/media/properties.ts +3 -1
- package/src/meeting/index.ts +24 -11
- package/src/meeting/util.ts +132 -1
- package/src/meetings/index.ts +93 -8
- package/src/metrics/constants.ts +1 -0
- package/src/multistream/mediaRequestManager.ts +1 -1
- package/src/reactions/reactions.type.ts +1 -0
- package/test/unit/spec/hashTree/hashTree.ts +66 -0
- package/test/unit/spec/hashTree/hashTreeParser.ts +942 -110
- package/test/unit/spec/locus-info/index.js +88 -17
- package/test/unit/spec/media/MediaConnectionAwaiter.ts +41 -1
- package/test/unit/spec/media/properties.ts +12 -3
- package/test/unit/spec/meeting/index.js +160 -2
- package/test/unit/spec/meeting/utils.js +294 -22
- package/test/unit/spec/meetings/index.js +594 -17
|
@@ -95,6 +95,8 @@ export default class Meetings extends WebexPlugin {
|
|
|
95
95
|
preferredWebexSite: any;
|
|
96
96
|
reachability: Reachability;
|
|
97
97
|
registered: any;
|
|
98
|
+
registrationPromise: Promise<void>;
|
|
99
|
+
unregistrationPromise: Promise<void>;
|
|
98
100
|
request: any;
|
|
99
101
|
geoHintInfo: any;
|
|
100
102
|
meetingInfo: any;
|
|
@@ -287,7 +289,7 @@ export default class Meetings extends WebexPlugin {
|
|
|
287
289
|
* @public
|
|
288
290
|
* @memberof Meetings
|
|
289
291
|
*/
|
|
290
|
-
unregister():
|
|
292
|
+
unregister(): Promise<void>;
|
|
291
293
|
/**
|
|
292
294
|
* Creates a noise reduction effect
|
|
293
295
|
*
|
package/dist/webinar/index.js
CHANGED
package/package.json
CHANGED
|
@@ -41,14 +41,15 @@
|
|
|
41
41
|
"@types/jsdom": "^21",
|
|
42
42
|
"@webex/babel-config-legacy": "0.0.0",
|
|
43
43
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
44
|
+
"@webex/event-dictionary-ts": "^1.0.2073",
|
|
44
45
|
"@webex/jest-config-legacy": "0.0.0",
|
|
45
46
|
"@webex/legacy-tools": "0.0.0",
|
|
46
|
-
"@webex/plugin-rooms": "3.11.0-next.
|
|
47
|
-
"@webex/test-helper-chai": "3.
|
|
48
|
-
"@webex/test-helper-mocha": "3.
|
|
49
|
-
"@webex/test-helper-mock-webex": "3.
|
|
50
|
-
"@webex/test-helper-retry": "3.
|
|
51
|
-
"@webex/test-helper-test-users": "3.
|
|
47
|
+
"@webex/plugin-rooms": "3.11.0-next.6",
|
|
48
|
+
"@webex/test-helper-chai": "3.11.0-next.1",
|
|
49
|
+
"@webex/test-helper-mocha": "3.11.0-next.1",
|
|
50
|
+
"@webex/test-helper-mock-webex": "3.11.0-next.1",
|
|
51
|
+
"@webex/test-helper-retry": "3.11.0-next.1",
|
|
52
|
+
"@webex/test-helper-test-users": "3.11.0-next.1",
|
|
52
53
|
"chai": "^4.3.4",
|
|
53
54
|
"chai-as-promised": "^7.1.1",
|
|
54
55
|
"eslint": "^8.24.0",
|
|
@@ -60,23 +61,22 @@
|
|
|
60
61
|
"typescript": "^4.7.4"
|
|
61
62
|
},
|
|
62
63
|
"dependencies": {
|
|
63
|
-
"@webex/common": "3.
|
|
64
|
-
"@webex/
|
|
65
|
-
"@webex/internal-
|
|
66
|
-
"@webex/internal-plugin-
|
|
67
|
-
"@webex/internal-plugin-
|
|
68
|
-
"@webex/internal-plugin-
|
|
69
|
-
"@webex/internal-plugin-
|
|
70
|
-
"@webex/internal-plugin-
|
|
71
|
-
"@webex/internal-plugin-
|
|
72
|
-
"@webex/internal-plugin-
|
|
73
|
-
"@webex/
|
|
74
|
-
"@webex/
|
|
75
|
-
"@webex/plugin-
|
|
76
|
-
"@webex/plugin-rooms": "3.11.0-next.1",
|
|
64
|
+
"@webex/common": "3.11.0-next.1",
|
|
65
|
+
"@webex/internal-media-core": "2.22.1",
|
|
66
|
+
"@webex/internal-plugin-conversation": "3.11.0-next.6",
|
|
67
|
+
"@webex/internal-plugin-device": "3.11.0-next.5",
|
|
68
|
+
"@webex/internal-plugin-llm": "3.11.0-next.6",
|
|
69
|
+
"@webex/internal-plugin-mercury": "3.11.0-next.6",
|
|
70
|
+
"@webex/internal-plugin-metrics": "3.11.0-next.5",
|
|
71
|
+
"@webex/internal-plugin-support": "3.11.0-next.6",
|
|
72
|
+
"@webex/internal-plugin-user": "3.11.0-next.5",
|
|
73
|
+
"@webex/internal-plugin-voicea": "3.11.0-next.6",
|
|
74
|
+
"@webex/media-helpers": "3.11.0-next.3",
|
|
75
|
+
"@webex/plugin-people": "3.11.0-next.6",
|
|
76
|
+
"@webex/plugin-rooms": "3.11.0-next.6",
|
|
77
77
|
"@webex/ts-sdp": "^1.8.1",
|
|
78
78
|
"@webex/web-capabilities": "^1.9.0",
|
|
79
|
-
"@webex/webex-core": "3.11.0-next.
|
|
79
|
+
"@webex/webex-core": "3.11.0-next.5",
|
|
80
80
|
"ampersand-collection": "^2.0.2",
|
|
81
81
|
"bowser": "^2.11.0",
|
|
82
82
|
"btoa": "^1.2.1",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"//": [
|
|
94
94
|
"TODO: upgrade jwt-decode when moving to node 18"
|
|
95
95
|
],
|
|
96
|
-
"version": "3.11.0-next.
|
|
96
|
+
"version": "3.11.0-next.21"
|
|
97
97
|
}
|
package/src/hashTree/hashTree.ts
CHANGED
|
@@ -371,6 +371,23 @@ class HashTree {
|
|
|
371
371
|
return items;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
+
/**
|
|
375
|
+
* Retrieves the version of a specific item by its id and type.
|
|
376
|
+
* @param {number} id The ID of the item.
|
|
377
|
+
* @param {ObjectType} type The type of the item.
|
|
378
|
+
* @returns {number | undefined} The version of the item if found, undefined otherwise.
|
|
379
|
+
*/
|
|
380
|
+
getItemVersion(id: number, type: ObjectType): number | undefined {
|
|
381
|
+
if (this.numLeaves === 0) {
|
|
382
|
+
return undefined;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
const index = id % this.numLeaves;
|
|
386
|
+
const item = this.leaves[index]?.[type]?.[id];
|
|
387
|
+
|
|
388
|
+
return item?.version;
|
|
389
|
+
}
|
|
390
|
+
|
|
374
391
|
/**
|
|
375
392
|
* Resizes the HashTree to have a new number of leaf nodes, redistributing all existing items.
|
|
376
393
|
* @param {number} newNumLeaves The new number of leaf nodes (must be 0 or a power of 2).
|