@signalapp/ringrtc 2.53.0 → 2.54.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.
- package/dist/acknowledgments.md +30 -36
- package/dist/ringrtc/Service.d.ts +2 -3
- package/dist/ringrtc/Service.js +3 -4
- package/package.json +2 -2
package/dist/acknowledgments.md
CHANGED
|
@@ -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-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.
|
|
672
|
+
## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.54.1, protobuf 2.54.1, ringrtc 2.54.1, regex-aot 0.1.0, partial-default-derive 0.1.0
|
|
673
673
|
|
|
674
674
|
```
|
|
675
675
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -2350,38 +2350,6 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2350
2350
|
|
|
2351
2351
|
```
|
|
2352
2352
|
|
|
2353
|
-
## hex-literal 0.4.1
|
|
2354
|
-
|
|
2355
|
-
```
|
|
2356
|
-
Copyright (c) 2018 Artyom Pavlov
|
|
2357
|
-
Copyright (c) 2018 The RustCrypto Project Developers
|
|
2358
|
-
|
|
2359
|
-
Permission is hereby granted, free of charge, to any
|
|
2360
|
-
person obtaining a copy of this software and associated
|
|
2361
|
-
documentation files (the "Software"), to deal in the
|
|
2362
|
-
Software without restriction, including without
|
|
2363
|
-
limitation the rights to use, copy, modify, merge,
|
|
2364
|
-
publish, distribute, sublicense, and/or sell copies of
|
|
2365
|
-
the Software, and to permit persons to whom the Software
|
|
2366
|
-
is furnished to do so, subject to the following
|
|
2367
|
-
conditions:
|
|
2368
|
-
|
|
2369
|
-
The above copyright notice and this permission notice
|
|
2370
|
-
shall be included in all copies or substantial portions
|
|
2371
|
-
of the Software.
|
|
2372
|
-
|
|
2373
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
2374
|
-
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
2375
|
-
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
2376
|
-
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
2377
|
-
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
2378
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
2379
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
2380
|
-
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
2381
|
-
DEALINGS IN THE SOFTWARE.
|
|
2382
|
-
|
|
2383
|
-
```
|
|
2384
|
-
|
|
2385
2353
|
## bytes 1.10.1
|
|
2386
2354
|
|
|
2387
2355
|
```
|
|
@@ -2995,7 +2963,7 @@ SOFTWARE.
|
|
|
2995
2963
|
|
|
2996
2964
|
```
|
|
2997
2965
|
|
|
2998
|
-
## rand 0.8.5, rand_chacha 0.3.1, rand_core 0.6.4
|
|
2966
|
+
## rand 0.8.5, rand 0.9.1, rand_chacha 0.3.1, rand_chacha 0.9.0, rand_core 0.6.4, rand_core 0.9.3
|
|
2999
2967
|
|
|
3000
2968
|
```
|
|
3001
2969
|
Copyright 2018 Developers of the Rand project
|
|
@@ -3167,6 +3135,32 @@ SOFTWARE.
|
|
|
3167
3135
|
|
|
3168
3136
|
```
|
|
3169
3137
|
|
|
3138
|
+
## const-str 0.6.2
|
|
3139
|
+
|
|
3140
|
+
```
|
|
3141
|
+
MIT License
|
|
3142
|
+
|
|
3143
|
+
Copyright (c) 2020 Nugine
|
|
3144
|
+
|
|
3145
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3146
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3147
|
+
in the Software without restriction, including without limitation the rights
|
|
3148
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3149
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3150
|
+
furnished to do so, subject to the following conditions:
|
|
3151
|
+
|
|
3152
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3153
|
+
copies or substantial portions of the Software.
|
|
3154
|
+
|
|
3155
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3156
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3157
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3158
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3159
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3160
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3161
|
+
SOFTWARE.
|
|
3162
|
+
```
|
|
3163
|
+
|
|
3170
3164
|
## derive-where 1.4.0
|
|
3171
3165
|
|
|
3172
3166
|
```
|
|
@@ -3234,7 +3228,7 @@ SOFTWARE.
|
|
|
3234
3228
|
|
|
3235
3229
|
```
|
|
3236
3230
|
|
|
3237
|
-
## curve25519-dalek-derive 0.1.1, anyhow 1.0.98, displaydoc 0.2.5, fastrand 2.3.0, itoa 1.0.15, linkme-impl 0.3.33, linkme 0.3.33, linux-raw-sys 0.9.4, num_enum 0.7.3, num_enum_derive 0.7.3, once_cell 1.21.3, prettyplease 0.2.32, proc-macro-crate 3.3.0, proc-macro2 1.0.95, quote 1.0.40, rustix 1.0.7, semver 1.0.26, send_wrapper 0.6.0, serde 1.0.219, serde_derive 1.0.219, serde_json 1.0.140, syn 1.0.109, syn 2.0.101, thiserror-impl 1.0.69, thiserror 1.0.69, unicode-ident 1.0.18
|
|
3231
|
+
## curve25519-dalek-derive 0.1.1, anyhow 1.0.98, displaydoc 0.2.5, fastrand 2.3.0, itoa 1.0.15, linkme-impl 0.3.33, linkme 0.3.33, linux-raw-sys 0.9.4, num_enum 0.7.3, num_enum_derive 0.7.3, once_cell 1.21.3, prettyplease 0.2.32, proc-macro-crate 3.3.0, proc-macro2 1.0.95, quote 1.0.40, rustix 1.0.7, semver 1.0.26, send_wrapper 0.6.0, serde 1.0.219, serde_derive 1.0.219, serde_json 1.0.140, syn 1.0.109, syn 2.0.101, thiserror-impl 1.0.69, thiserror-impl 2.0.12, thiserror 1.0.69, thiserror 2.0.12, unicode-ident 1.0.18
|
|
3238
3232
|
|
|
3239
3233
|
```
|
|
3240
3234
|
Permission is hereby granted, free of charge, to any
|
|
@@ -3503,7 +3497,7 @@ THE SOFTWARE.
|
|
|
3503
3497
|
|
|
3504
3498
|
```
|
|
3505
3499
|
|
|
3506
|
-
## derive_more-impl
|
|
3500
|
+
## derive_more-impl 2.0.1, derive_more 2.0.1
|
|
3507
3501
|
|
|
3508
3502
|
```
|
|
3509
3503
|
The MIT License (MIT)
|
|
@@ -3,7 +3,6 @@ export declare const callIdFromEra: (era: string) => CallId;
|
|
|
3
3
|
export declare function callIdFromRingId(ringId: bigint): CallId;
|
|
4
4
|
declare class Config {
|
|
5
5
|
field_trials: Record<string, string> | undefined;
|
|
6
|
-
use_ringrtc_adm?: boolean;
|
|
7
6
|
}
|
|
8
7
|
type GroupId = Buffer;
|
|
9
8
|
type GroupCallUserId = Buffer;
|
|
@@ -231,7 +230,7 @@ export declare class RingRTCType {
|
|
|
231
230
|
receivedHttpResponse(requestId: number, status: number, body: Buffer): void;
|
|
232
231
|
httpRequestFailed(requestId: number, debugInfo: string | undefined): void;
|
|
233
232
|
getGroupCall(groupId: Buffer, sfuUrl: string, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number | undefined, observer: GroupCallObserver): GroupCall | undefined;
|
|
234
|
-
getCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer | undefined, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number | undefined, observer: GroupCallObserver): GroupCall | undefined;
|
|
233
|
+
getCallLinkCall(sfuUrl: string, endorsementPublicKey: Buffer, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer | undefined, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number | undefined, observer: GroupCallObserver): GroupCall | undefined;
|
|
235
234
|
peekGroupCall(sfuUrl: string, membershipProof: Buffer, groupMembers: Array<GroupMemberInfo>): Promise<PeekInfo>;
|
|
236
235
|
peekCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined): Promise<HttpResult<PeekInfo>>;
|
|
237
236
|
requestMembershipProof(clientId: GroupCallClientId): void;
|
|
@@ -676,7 +675,7 @@ export interface CallManager {
|
|
|
676
675
|
receivedHttpResponse(requestId: number, status: number, body: Buffer): void;
|
|
677
676
|
httpRequestFailed(requestId: number, debugInfo: string | undefined): void;
|
|
678
677
|
createGroupCallClient(groupId: Buffer, sfuUrl: string, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number): GroupCallClientId;
|
|
679
|
-
createCallLinkCallClient(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer | undefined, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number): GroupCallClientId;
|
|
678
|
+
createCallLinkCallClient(sfuUrl: string, endorsementPublicKey: Buffer, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer | undefined, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number): GroupCallClientId;
|
|
680
679
|
deleteGroupCallClient(clientId: GroupCallClientId): void;
|
|
681
680
|
connect(clientId: GroupCallClientId): void;
|
|
682
681
|
join(clientId: GroupCallClientId): void;
|
package/dist/ringrtc/Service.js
CHANGED
|
@@ -47,8 +47,7 @@ class NativeCallManager {
|
|
|
47
47
|
Object.defineProperty(this, Native_1.default.callEndpointPropertyKey, {
|
|
48
48
|
configurable: true, // allows it to be changed
|
|
49
49
|
get() {
|
|
50
|
-
const
|
|
51
|
-
const callEndpoint = Native_1.default.createCallEndpoint(this, fieldTrialsString, use_ringrtc_adm);
|
|
50
|
+
const callEndpoint = Native_1.default.createCallEndpoint(this, fieldTrialsString);
|
|
52
51
|
Object.defineProperty(this, Native_1.default.callEndpointPropertyKey, {
|
|
53
52
|
configurable: true, // allows it to be changed
|
|
54
53
|
value: callEndpoint,
|
|
@@ -739,8 +738,8 @@ class RingRTCType {
|
|
|
739
738
|
return groupCall;
|
|
740
739
|
}
|
|
741
740
|
// Called by UX
|
|
742
|
-
getCallLinkCall(sfuUrl, authCredentialPresentation, rootKey, epoch, adminPasskey, hkdfExtraInfo, audioLevelsIntervalMillis, observer) {
|
|
743
|
-
const clientId = this.callManager.createCallLinkCallClient(sfuUrl, authCredentialPresentation, rootKey.bytes, epoch?.asNumber(), adminPasskey, hkdfExtraInfo, audioLevelsIntervalMillis || 0);
|
|
741
|
+
getCallLinkCall(sfuUrl, endorsementPublicKey, authCredentialPresentation, rootKey, epoch, adminPasskey, hkdfExtraInfo, audioLevelsIntervalMillis, observer) {
|
|
742
|
+
const clientId = this.callManager.createCallLinkCallClient(sfuUrl, endorsementPublicKey, authCredentialPresentation, rootKey.bytes, epoch?.asNumber(), adminPasskey, hkdfExtraInfo, audioLevelsIntervalMillis || 0);
|
|
744
743
|
if (clientId === INVALID_CLIENT_ID) {
|
|
745
744
|
// Return undefined since the call link client creation failed.
|
|
746
745
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/ringrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.54.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": "
|
|
28
|
+
"prebuildChecksum": "2c2282f9fc6aad33362d39e370bc420608e05028918f025ec7cafae1982a4a5d"
|
|
29
29
|
},
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "AGPL-3.0-only",
|