@abrar71/lib-jitsi-meet 2129.0.0 → 2131.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": "2129.0.0",
3
+ "version": "2131.0.0",
4
4
  "description": "JS library for accessing Jitsi server side deployments",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,6 +25,7 @@
25
25
  "base64-js": "1.5.1",
26
26
  "current-executing-script": "0.1.3",
27
27
  "emoji-regex": "10.4.0",
28
+ "jwt-decode": "4.0.0",
28
29
  "lodash-es": "4.17.21",
29
30
  "sdp-transform": "2.3.0",
30
31
  "strophe.js": "https://github.com/jitsi/strophejs/releases/download/v1.5-jitsi-3/strophe.js-1.5.0.tgz",
package/types/index.d.ts CHANGED
@@ -2534,6 +2534,10 @@ declare module "JitsiConnectionEvents" {
2534
2534
  * The connection is redirected to a visitor node.
2535
2535
  */
2536
2536
  CONNECTION_REDIRECTED = "connection.redirected",
2537
+ /**
2538
+ * The connection is trying to resume, but token is expired.
2539
+ */
2540
+ CONNECTION_TOKEN_EXPIRED = "connection.token_expired",
2537
2541
  /**
2538
2542
  * Indicates that the display name is required over this connection and need to be supplied when
2539
2543
  * joining the room.
@@ -2550,6 +2554,7 @@ declare module "JitsiConnectionEvents" {
2550
2554
  export const CONNECTION_ESTABLISHED = JitsiConnectionEvents.CONNECTION_ESTABLISHED;
2551
2555
  export const CONNECTION_FAILED = JitsiConnectionEvents.CONNECTION_FAILED;
2552
2556
  export const CONNECTION_REDIRECTED = JitsiConnectionEvents.CONNECTION_REDIRECTED;
2557
+ export const CONNECTION_TOKEN_EXPIRED = JitsiConnectionEvents.CONNECTION_TOKEN_EXPIRED;
2553
2558
  export const DISPLAY_NAME_REQUIRED = JitsiConnectionEvents.DISPLAY_NAME_REQUIRED;
2554
2559
  export const PROPERTIES_UPDATED = JitsiConnectionEvents.PROPERTIES_UPDATED;
2555
2560
  }
@@ -3384,6 +3389,7 @@ declare module "modules/sdp/constants" {
3384
3389
  value: string;
3385
3390
  }
3386
3391
  export interface IFingerprintData {
3392
+ cryptex?: string;
3387
3393
  fingerprint: string;
3388
3394
  hash: string;
3389
3395
  required: boolean;
@@ -6553,32 +6559,30 @@ declare module "modules/xmpp/ResumeTask" {
6553
6559
  */
6554
6560
  get retryDelay(): Optional<number>;
6555
6561
  /**
6556
- * Cancels the delayed resume task.
6562
+ * Removes network online listener for the NETWORK_INFO_EVENT event.
6557
6563
  *
6558
6564
  * @private
6559
6565
  * @returns {void}
6560
6566
  */
6561
- private _cancelResume;
6567
+ private _removeNetworkOnlineListener;
6562
6568
  /**
6563
- * Removes network online listener for the NETWORK_INFO_EVENT event.
6564
- *
6569
+ * Schedules a delayed timeout which will execute the resume action.
6565
6570
  * @private
6566
6571
  * @returns {void}
6567
6572
  */
6568
- private _removeNetworkOnlineListener;
6573
+ private _scheduleResume;
6569
6574
  /**
6570
- * Resumes the XMPP connection using the stream management plugin.
6575
+ * Cancels the delayed resume task.
6571
6576
  *
6572
- * @private
6573
6577
  * @returns {void}
6574
6578
  */
6575
- private _resumeConnection;
6579
+ cancelResume(): void;
6576
6580
  /**
6577
- * Schedules a delayed timeout which will execute the resume action.
6578
- * @private
6581
+ * Resumes the XMPP connection using the stream management plugin.
6582
+ *
6579
6583
  * @returns {void}
6580
6584
  */
6581
- private _scheduleResume;
6585
+ resumeConnection(): void;
6582
6586
  /**
6583
6587
  * Cancels the retry task. It's called by {@link XmppConnection} when it's no longer interested in reconnecting for
6584
6588
  * example when the disconnect method is called.
@@ -8412,7 +8416,7 @@ declare module "JitsiConnection" {
8412
8416
  * This method allows renewal of the tokens if they are expiring.
8413
8417
  * @param token - The new token.
8414
8418
  */
8415
- setToken(token: string): void;
8419
+ refreshToken(token: string): Promise<void>;
8416
8420
  /**
8417
8421
  * Creates and joins new conference.
8418
8422
  * @param name - The name of the conference; if null - a generated name will be
@@ -15202,7 +15206,7 @@ declare module "modules/webaudio/AudioMixer" {
15202
15206
  }
15203
15207
  }
15204
15208
  declare module "version" {
15205
- export const COMMIT_HASH = "a189bcad";
15209
+ export const COMMIT_HASH = "6912eed8";
15206
15210
  }
15207
15211
  declare module "JitsiMeetJS" {
15208
15212
  import JitsiConference, { IConferenceOptions } from "JitsiConference";