@abrar71/lib-jitsi-meet 2117.0.0 → 2119.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abrar71/lib-jitsi-meet",
3
- "version": "2117.0.0",
3
+ "version": "2119.0.0",
4
4
  "description": "JS library for accessing Jitsi server side deployments",
5
5
  "repository": {
6
6
  "type": "git",
package/types/index.d.ts CHANGED
@@ -5453,6 +5453,9 @@ declare module "modules/e2ee/ExternallyManagedKeyHandler" {
5453
5453
  }
5454
5454
  declare module "modules/e2ee/E2EEErrors" {
5455
5455
  export enum E2EEErrors {
5456
+ E2EE_OLM_NO_ONE_TIME_KEYS = "e2ee.olm.no-one-time-keys",
5457
+ E2EE_OLM_SESSION_ALREADY_EXISTS = "e2ee.olm.session-already-exists",
5458
+ E2EE_OLM_SESSION_INIT_PENDING = "e2ee.olm.session-init-pending",
5456
5459
  E2EE_SAS_CHANNEL_VERIFICATION_FAILED = "e2ee.sas.channel-verification-failed",
5457
5460
  E2EE_SAS_COMMITMENT_MISMATCHED = "e2ee.sas.commitment-mismatched",
5458
5461
  E2EE_SAS_INVALID_SAS_VERIFICATION = "e2ee.sas.invalid-sas-verification",
@@ -5511,6 +5514,7 @@ declare module "modules/e2ee/OlmAdapter" {
5511
5514
  _mediaKeyIndex: number;
5512
5515
  _reqs: Map<any, any>;
5513
5516
  _sessionInitialization: Deferred<any>;
5517
+ _sessionReadyCallbacks: Map<any, any>;
5514
5518
  /**
5515
5519
  * Returns the current participants conference ID.
5516
5520
  *
@@ -5518,7 +5522,9 @@ declare module "modules/e2ee/OlmAdapter" {
5518
5522
  */
5519
5523
  get myId(): string;
5520
5524
  /**
5521
- * Starts new olm sessions with every other participant that has the participantId "smaller" the localParticipantId.
5525
+ * Starts new olm sessions with every other participant and waits for all sessions to be established.
5526
+ * This includes both outgoing sessions (initiated by us to participants with higher IDs) and
5527
+ * incoming sessions (initiated by participants with lower IDs).
5522
5528
  */
5523
5529
  initSessions(): Promise<void>;
5524
5530
  /**
@@ -5536,7 +5542,7 @@ declare module "modules/e2ee/OlmAdapter" {
5536
5542
  */
5537
5543
  updateCurrentMediaKey(key: Uint8Array | boolean): number;
5538
5544
  /**
5539
- * Frees the olmData session for the given participant.
5545
+ * Frees the olmData session for the given participant and clears all session-related state.
5540
5546
  *
5541
5547
  */
5542
5548
  clearParticipantSession(participant: any): void;
@@ -15196,7 +15202,7 @@ declare module "modules/webaudio/AudioMixer" {
15196
15202
  }
15197
15203
  }
15198
15204
  declare module "version" {
15199
- export const COMMIT_HASH = "ef10c015";
15205
+ export const COMMIT_HASH = "2341ad28";
15200
15206
  }
15201
15207
  declare module "JitsiMeetJS" {
15202
15208
  import JitsiConference, { IConferenceOptions } from "JitsiConference";