@signalapp/ringrtc 2.39.3 → 2.40.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.
@@ -669,7 +669,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see
669
669
 
670
670
  ```
671
671
 
672
- ## libsignal-core 0.1.0, partial-default-derive 0.1.0, regex-aot 0.1.0, ringrtc 2.39.3
672
+ ## libsignal-core 0.1.0, partial-default-derive 0.1.0, regex-aot 0.1.0, ringrtc 2.40.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -81,7 +81,7 @@ export declare class RingRTCType {
81
81
  [name: string]: string;
82
82
  }, body: Buffer | undefined) => void) | null;
83
83
  handleSendCallMessage: ((recipientUuid: Buffer, message: Buffer, urgency: CallMessageUrgency) => void) | null;
84
- handleSendCallMessageToGroup: ((groupId: Buffer, message: Buffer, urgency: CallMessageUrgency) => void) | null;
84
+ handleSendCallMessageToGroup: ((groupId: Buffer, message: Buffer, urgency: CallMessageUrgency, overrideRecipients: Array<Buffer>) => void) | null;
85
85
  handleGroupCallRingUpdate: ((groupId: Buffer, ringId: bigint, sender: Buffer, update: RingUpdate) => void) | null;
86
86
  constructor();
87
87
  setConfig(config: Config): void;
@@ -236,7 +236,7 @@ export declare class RingRTCType {
236
236
  [name: string]: string;
237
237
  }, body: Buffer | undefined): void;
238
238
  sendCallMessage(recipientUuid: Buffer, message: Buffer, urgency: CallMessageUrgency): void;
239
- sendCallMessageToGroup(groupId: Buffer, message: Buffer, urgency: CallMessageUrgency): void;
239
+ sendCallMessageToGroup(groupId: Buffer, message: Buffer, urgency: CallMessageUrgency, overrideRecipients: Array<Buffer>): void;
240
240
  get call(): Call | null;
241
241
  getCall(callId: CallId): Call | null;
242
242
  accept(callId: CallId, asVideoCall: boolean): void;
@@ -645,7 +645,7 @@ export interface CallManagerCallbacks {
645
645
  onSendHangup(remoteUserId: UserId, remoteDeviceId: DeviceId, callId: CallId, broadcast: boolean, HangupType: HangupType, hangupDeviceId: DeviceId | null): void;
646
646
  onSendBusy(remoteUserId: UserId, remoteDeviceId: DeviceId, callId: CallId, broadcast: boolean): void;
647
647
  sendCallMessage(recipientUuid: Buffer, message: Buffer, urgency: CallMessageUrgency): void;
648
- sendCallMessageToGroup(groupId: Buffer, message: Buffer, urgency: CallMessageUrgency): void;
648
+ sendCallMessageToGroup(groupId: Buffer, message: Buffer, urgency: CallMessageUrgency, overrideRecipients: Array<Buffer>): void;
649
649
  sendHttpRequest(requestId: number, url: string, method: HttpMethod, headers: {
650
650
  [name: string]: string;
651
651
  }, body: Buffer | undefined): void;
@@ -1034,9 +1034,9 @@ class RingRTCType {
1034
1034
  }
1035
1035
  }
1036
1036
  // Called by Rust
1037
- sendCallMessageToGroup(groupId, message, urgency) {
1037
+ sendCallMessageToGroup(groupId, message, urgency, overrideRecipients) {
1038
1038
  if (this.handleSendCallMessageToGroup) {
1039
- this.handleSendCallMessageToGroup(groupId, message, urgency);
1039
+ this.handleSendCallMessageToGroup(groupId, message, urgency, overrideRecipients);
1040
1040
  }
1041
1041
  else {
1042
1042
  this.logError('RingRTC.handleSendCallMessageToGroup is not set!');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.39.3",
3
+ "version": "2.40.0",
4
4
  "description": "Signal Messenger voice and video calling library.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "config": {
27
27
  "prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz",
28
- "prebuildChecksum": "e9bec251b133c8d91766fc0cc60c8eed48cf6ed9dc4ef84f855ea8761a9b58f5"
28
+ "prebuildChecksum": "fbdbd8ac3923dde1e82addb15b4a08ef7660c6e8b9f412139eaff19d8b67d0d4"
29
29
  },
30
30
  "author": "",
31
31
  "license": "AGPL-3.0-only",