@signalapp/ringrtc 2.46.2 → 2.47.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.
@@ -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, mrp 2.46.2, protobuf 2.46.2, ringrtc 2.46.2, regex-aot 0.1.0, partial-default-derive 0.1.0
672
+ ## libsignal-core 0.1.0, mrp 2.47.1, protobuf 2.47.1, ringrtc 2.47.1, regex-aot 0.1.0, partial-default-derive 0.1.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -3150,7 +3150,7 @@ SOFTWARE.
3150
3150
 
3151
3151
  ```
3152
3152
 
3153
- ## curve25519-dalek-derive 0.1.1, anyhow 1.0.86, displaydoc 0.2.5, fastrand 2.1.0, itoa 1.0.11, linux-raw-sys 0.4.14, num_enum 0.6.1, num_enum 0.7.2, num_enum_derive 0.6.1, num_enum_derive 0.7.2, once_cell 1.19.0, pin-project-lite 0.2.14, prettyplease 0.2.20, proc-macro-crate 1.3.1, proc-macro-crate 3.1.0, proc-macro2 1.0.86, quote 1.0.36, rustix 0.38.34, semver 1.0.23, send_wrapper 0.6.0, serde 1.0.204, serde_derive 1.0.204, serde_json 1.0.120, syn-mid 0.6.0, syn 1.0.109, syn 2.0.71, thiserror-impl 1.0.62, thiserror 1.0.62, unicode-ident 1.0.12
3153
+ ## curve25519-dalek-derive 0.1.1, anyhow 1.0.86, displaydoc 0.2.5, fastrand 2.1.0, itoa 1.0.11, linux-raw-sys 0.4.14, num_enum 0.6.1, num_enum 0.7.2, num_enum_derive 0.6.1, num_enum_derive 0.7.2, once_cell 1.19.0, pin-project-lite 0.2.14, prettyplease 0.2.20, proc-macro-crate 1.3.1, proc-macro-crate 3.1.0, proc-macro2 1.0.86, quote 1.0.36, rustix 0.38.34, semver 1.0.23, send_wrapper 0.6.0, serde 1.0.208, serde_derive 1.0.208, serde_json 1.0.120, syn-mid 0.6.0, syn 1.0.109, syn 2.0.71, thiserror-impl 1.0.62, thiserror 1.0.62, unicode-ident 1.0.12
3154
3154
 
3155
3155
  ```
3156
3156
  Permission is hereby granted, free of charge, to any
@@ -500,6 +500,7 @@ export declare class GroupCall {
500
500
  getLocalDeviceState(): LocalDeviceState;
501
501
  getRemoteDeviceStates(): Array<RemoteDeviceState> | undefined;
502
502
  getPeekInfo(): PeekInfo | undefined;
503
+ getCallId(): CallId | undefined;
503
504
  setOutgoingAudioMuted(muted: boolean): void;
504
505
  react(value: string): void;
505
506
  raiseHand(raise: boolean): void;
@@ -1543,6 +1543,14 @@ class GroupCall {
1543
1543
  return this._peekInfo;
1544
1544
  }
1545
1545
  // Called by UI
1546
+ getCallId() {
1547
+ const eraId = this._peekInfo?.eraId;
1548
+ if (eraId) {
1549
+ return (0, exports.callIdFromEra)(eraId);
1550
+ }
1551
+ return undefined;
1552
+ }
1553
+ // Called by UI
1546
1554
  setOutgoingAudioMuted(muted) {
1547
1555
  this._localDeviceState.audioMuted = muted;
1548
1556
  this._callManager.setOutgoingAudioMuted(this._clientId, muted);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.46.2",
3
+ "version": "2.47.1",
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": "2cecbe092761b8694465ffadbd63dde934a6a6e186f96690afc85da1e46dec40"
28
+ "prebuildChecksum": "bf45985a17694303cf596b31cf9f246c5505b6ba76ad3e134e13fe60cf299b8c"
29
29
  },
30
30
  "author": "",
31
31
  "license": "AGPL-3.0-only",