@signalapp/ringrtc 2.35.0 → 2.36.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.35.0
672
+ ## libsignal-core 0.1.0, partial-default-derive 0.1.0, regex-aot 0.1.0, ringrtc 2.36.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -516,11 +516,9 @@ export declare class CallingMessage {
516
516
  offer?: OfferMessage;
517
517
  answer?: AnswerMessage;
518
518
  iceCandidates?: Array<IceCandidateMessage>;
519
- legacyHangup?: HangupMessage;
520
519
  busy?: BusyMessage;
521
520
  hangup?: HangupMessage;
522
521
  opaque?: OpaqueMessage;
523
- supportsMultiRing?: boolean;
524
522
  destinationDeviceId?: DeviceId;
525
523
  }
526
524
  export declare class OfferMessage {
@@ -495,12 +495,9 @@ class RingRTCType {
495
495
  this.sendSignaling(remoteUserId, remoteDeviceId, callId, broadcast, message);
496
496
  }
497
497
  sendSignaling(remoteUserId, remoteDeviceId, callId, broadcast, message) {
498
- /* eslint-disable no-param-reassign */
499
- message.supportsMultiRing = true;
500
498
  if (!broadcast) {
501
499
  message.destinationDeviceId = remoteDeviceId;
502
500
  }
503
- /* eslint-enable no-param-reassign */
504
501
  (async () => {
505
502
  if (this.handleOutgoingSignaling) {
506
503
  const signalingResult = await this.handleOutgoingSignaling(remoteUserId, message);
@@ -984,12 +981,6 @@ class RingRTCType {
984
981
  const hangupDeviceId = message.hangup.deviceId || null;
985
982
  this.callManager.receivedHangup(remoteUserId, remoteDeviceId, callId, hangupType, hangupDeviceId);
986
983
  }
987
- if (message.legacyHangup?.callId) {
988
- const callId = message.legacyHangup.callId;
989
- const hangupType = message.legacyHangup.type || HangupType.Normal;
990
- const hangupDeviceId = message.legacyHangup.deviceId || null;
991
- this.callManager.receivedHangup(remoteUserId, remoteDeviceId, callId, hangupType, hangupDeviceId);
992
- }
993
984
  if (message.busy?.callId) {
994
985
  const callId = message.busy.callId;
995
986
  this.callManager.receivedBusy(remoteUserId, remoteDeviceId, callId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.35.0",
3
+ "version": "2.36.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": "d85fba2e7c22554d8639533ea2f80d1c8a9b2a5aee7ff094bf2998b93b203231"
28
+ "prebuildChecksum": "048a7ed95d0f56646a000e265eddbcbad00c3806381ab4442cff2d7c44dfdcdb"
29
29
  },
30
30
  "author": "",
31
31
  "license": "AGPL-3.0-only",