@signalapp/ringrtc 2.30.0 → 2.31.1

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.
@@ -18,7 +18,10 @@ export interface PeekInfo {
18
18
  creator?: GroupCallUserId;
19
19
  eraId?: string;
20
20
  maxDevices?: number;
21
+ /** @deprecated Use {@link #deviceCountIncludingPendingDevices} and {@link #deviceCountExcludingPendingDevices} as appropriate */
21
22
  deviceCount: number;
23
+ deviceCountIncludingPendingDevices: number;
24
+ deviceCountExcludingPendingDevices: number;
22
25
  pendingUsers: Array<GroupCallUserId>;
23
26
  }
24
27
  export declare enum PeekStatusCodes {
@@ -165,6 +168,7 @@ export declare class RingRTCType {
165
168
  * Possible failure codes include:
166
169
  * - 401: the room does not exist (and this is the wrong API to create a new room)
167
170
  * - 403: the admin passkey is incorrect
171
+ * - 409: the room is currently in use, so restrictions cannot be changed at the moment
168
172
  *
169
173
  * This request is idempotent; if it fails due to a network issue, it is safe to retry.
170
174
  *
@@ -639,6 +639,7 @@ class RingRTCType {
639
639
  * Possible failure codes include:
640
640
  * - 401: the room does not exist (and this is the wrong API to create a new room)
641
641
  * - 403: the admin passkey is incorrect
642
+ * - 409: the room is currently in use, so restrictions cannot be changed at the moment
642
643
  *
643
644
  * This request is idempotent; if it fails due to a network issue, it is safe to retry.
644
645
  *
@@ -730,7 +731,13 @@ class RingRTCType {
730
731
  return result.value;
731
732
  }
732
733
  else {
733
- return { devices: [], deviceCount: 0, pendingUsers: [] };
734
+ return {
735
+ devices: [],
736
+ deviceCount: 0,
737
+ deviceCountIncludingPendingDevices: 0,
738
+ deviceCountExcludingPendingDevices: 0,
739
+ pendingUsers: [],
740
+ };
734
741
  }
735
742
  });
736
743
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.30.0",
3
+ "version": "2.31.1",
4
4
  "description": "Signal Messenger voice and video calling library.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "config": {
25
25
  "prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz",
26
- "prebuildChecksum": "26feb53eafc2d3d91e595285f697e6e45d825a0b7eb52663ef88112b9775c6fa"
26
+ "prebuildChecksum": "6cd281113e43b3e2228428033dca8241fc7d4d2ba4cdeb6a95491d0f523f7619"
27
27
  },
28
28
  "author": "",
29
29
  "license": "AGPL-3.0-only",