@signalapp/ringrtc 2.52.2 → 2.53.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-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.52.2, protobuf 2.52.2, ringrtc 2.52.2, regex-aot 0.1.0, partial-default-derive 0.1.0
672
+ ## libsignal-account-keys 0.1.0, libsignal-core 0.1.0, mrp 2.53.0, protobuf 2.53.0, ringrtc 2.53.0, regex-aot 0.1.0, partial-default-derive 0.1.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -910,7 +910,7 @@ You should also get your employer (if you work as a programmer) or school, if an
910
910
 
911
911
  ```
912
912
 
913
- ## ryu 1.0.19
913
+ ## ryu 1.0.20
914
914
 
915
915
  ```
916
916
  Apache License
@@ -1435,7 +1435,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1435
1435
 
1436
1436
  ```
1437
1437
 
1438
- ## libloading 0.8.6
1438
+ ## libloading 0.8.7
1439
1439
 
1440
1440
  ```
1441
1441
  Copyright © 2015, Simonas Kazlauskas
@@ -1472,7 +1472,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1472
1472
 
1473
1473
  ```
1474
1474
 
1475
- ## windows-sys 0.45.0, windows-sys 0.59.0, windows-targets 0.42.2, windows-targets 0.52.6, windows_aarch64_msvc 0.42.2, windows_aarch64_msvc 0.52.6, windows_x86_64_gnu 0.52.6, windows_x86_64_msvc 0.42.2, windows_x86_64_msvc 0.52.6
1475
+ ## windows-sys 0.45.0, windows-sys 0.59.0, windows-targets 0.42.2, windows-targets 0.52.6, windows-targets 0.53.0, windows_aarch64_msvc 0.42.2, windows_aarch64_msvc 0.52.6, windows_aarch64_msvc 0.53.0, windows_x86_64_gnu 0.52.6, windows_x86_64_gnu 0.53.0, windows_x86_64_msvc 0.42.2, windows_x86_64_msvc 0.52.6, windows_x86_64_msvc 0.53.0
1476
1476
 
1477
1477
  ```
1478
1478
  MIT License
@@ -1499,7 +1499,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1499
1499
 
1500
1500
  ```
1501
1501
 
1502
- ## sha1 0.10.6, sha2 0.10.8
1502
+ ## sha1 0.10.6, sha2 0.10.9
1503
1503
 
1504
1504
  ```
1505
1505
  Copyright (c) 2006-2009 Graydon Hoare
@@ -1620,7 +1620,7 @@ SOFTWARE.
1620
1620
 
1621
1621
  ```
1622
1622
 
1623
- ## cc 1.2.14, cfg-if 1.0.0, cmake 0.1.54, pkg-config 0.3.31
1623
+ ## cc 1.2.24, cfg-if 1.0.0, cmake 0.1.54, pkg-config 0.3.32
1624
1624
 
1625
1625
  ```
1626
1626
  Copyright (c) 2014 Alex Crichton
@@ -1651,7 +1651,7 @@ DEALINGS IN THE SOFTWARE.
1651
1651
 
1652
1652
  ```
1653
1653
 
1654
- ## errno 0.3.10
1654
+ ## errno 0.3.12
1655
1655
 
1656
1656
  ```
1657
1657
  Copyright (c) 2014 Chris Wong
@@ -1682,11 +1682,11 @@ DEALINGS IN THE SOFTWARE.
1682
1682
 
1683
1683
  ```
1684
1684
 
1685
- ## base64ct 1.6.0
1685
+ ## base64ct 1.7.3
1686
1686
 
1687
1687
  ```
1688
1688
  Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
1689
- Copyright (c) 2021 The RustCrypto Project Developers
1689
+ Copyright (c) 2021-2025 The RustCrypto Project Developers
1690
1690
 
1691
1691
  Permission is hereby granted, free of charge, to any
1692
1692
  person obtaining a copy of this software and associated
@@ -1714,7 +1714,7 @@ DEALINGS IN THE SOFTWARE.
1714
1714
 
1715
1715
  ```
1716
1716
 
1717
- ## bitflags 1.3.2, bitflags 2.8.0, log 0.4.25, regex-automata 0.4.9, regex-syntax 0.8.5, regex 1.11.1
1717
+ ## bitflags 1.3.2, bitflags 2.9.1, log 0.4.27, regex-automata 0.4.9, regex-syntax 0.8.5, regex 1.11.1
1718
1718
 
1719
1719
  ```
1720
1720
  Copyright (c) 2014 The Rust Project Developers
@@ -1745,7 +1745,7 @@ DEALINGS IN THE SOFTWARE.
1745
1745
 
1746
1746
  ```
1747
1747
 
1748
- ## uuid 1.13.1
1748
+ ## uuid 1.17.0
1749
1749
 
1750
1750
  ```
1751
1751
  Copyright (c) 2014 The Rust Project Developers
@@ -1777,7 +1777,7 @@ DEALINGS IN THE SOFTWARE.
1777
1777
 
1778
1778
  ```
1779
1779
 
1780
- ## libc 0.2.169
1780
+ ## libc 0.2.172
1781
1781
 
1782
1782
  ```
1783
1783
  Copyright (c) 2014-2020 The Rust Project Developers
@@ -1808,7 +1808,7 @@ DEALINGS IN THE SOFTWARE.
1808
1808
 
1809
1809
  ```
1810
1810
 
1811
- ## either 1.13.0, itertools 0.14.0, petgraph 0.7.1, serde_with 3.12.0, serde_with_macros 3.12.0
1811
+ ## either 1.15.0, itertools 0.14.0, petgraph 0.7.1, serde_with 3.12.0, serde_with_macros 3.12.0
1812
1812
 
1813
1813
  ```
1814
1814
  Copyright (c) 2015
@@ -1839,7 +1839,7 @@ DEALINGS IN THE SOFTWARE.
1839
1839
 
1840
1840
  ```
1841
1841
 
1842
- ## neon-macros 1.0.0
1842
+ ## neon-macros 1.1.1
1843
1843
 
1844
1844
  ```
1845
1845
  Copyright (c) 2015 David Herman
@@ -1864,7 +1864,7 @@ THE SOFTWARE.
1864
1864
 
1865
1865
  ```
1866
1866
 
1867
- ## tempfile 3.16.0
1867
+ ## tempfile 3.20.0
1868
1868
 
1869
1869
  ```
1870
1870
  Copyright (c) 2015 Steven Allen
@@ -2071,7 +2071,7 @@ DEALINGS IN THE SOFTWARE.
2071
2071
 
2072
2072
  ```
2073
2073
 
2074
- ## hashbrown 0.15.2
2074
+ ## hashbrown 0.15.3
2075
2075
 
2076
2076
  ```
2077
2077
  Copyright (c) 2016 Amanieu d'Antras
@@ -2133,7 +2133,7 @@ DEALINGS IN THE SOFTWARE.
2133
2133
 
2134
2134
  ```
2135
2135
 
2136
- ## multimap 0.10.0
2136
+ ## multimap 0.10.1
2137
2137
 
2138
2138
  ```
2139
2139
  Copyright (c) 2016 multimap developers
@@ -2164,7 +2164,7 @@ DEALINGS IN THE SOFTWARE.
2164
2164
 
2165
2165
  ```
2166
2166
 
2167
- ## indexmap 2.7.1
2167
+ ## indexmap 2.9.0
2168
2168
 
2169
2169
  ```
2170
2170
  Copyright (c) 2016--2017
@@ -2195,7 +2195,7 @@ DEALINGS IN THE SOFTWARE.
2195
2195
 
2196
2196
  ```
2197
2197
 
2198
- ## equivalent 1.0.1
2198
+ ## equivalent 1.0.2
2199
2199
 
2200
2200
  ```
2201
2201
  Copyright (c) 2016--2023
@@ -2382,7 +2382,7 @@ DEALINGS IN THE SOFTWARE.
2382
2382
 
2383
2383
  ```
2384
2384
 
2385
- ## bytes 1.10.0
2385
+ ## bytes 1.10.1
2386
2386
 
2387
2387
  ```
2388
2388
  Copyright (c) 2018 Carl Lerche
@@ -2413,7 +2413,7 @@ DEALINGS IN THE SOFTWARE.
2413
2413
 
2414
2414
  ```
2415
2415
 
2416
- ## smallvec 1.13.2
2416
+ ## smallvec 1.15.0
2417
2417
 
2418
2418
  ```
2419
2419
  Copyright (c) 2018 The Servo Project Developers
@@ -2538,7 +2538,7 @@ DEALINGS IN THE SOFTWARE.
2538
2538
 
2539
2539
  ```
2540
2540
 
2541
- ## getrandom 0.2.15, getrandom 0.3.1
2541
+ ## getrandom 0.2.16
2542
2542
 
2543
2543
  ```
2544
2544
  Copyright (c) 2018-2024 The rust-random Project Developers
@@ -2570,6 +2570,38 @@ DEALINGS IN THE SOFTWARE.
2570
2570
 
2571
2571
  ```
2572
2572
 
2573
+ ## getrandom 0.3.3
2574
+
2575
+ ```
2576
+ Copyright (c) 2018-2025 The rust-random Project Developers
2577
+ Copyright (c) 2014 The Rust Project Developers
2578
+
2579
+ Permission is hereby granted, free of charge, to any
2580
+ person obtaining a copy of this software and associated
2581
+ documentation files (the "Software"), to deal in the
2582
+ Software without restriction, including without
2583
+ limitation the rights to use, copy, modify, merge,
2584
+ publish, distribute, sublicense, and/or sell copies of
2585
+ the Software, and to permit persons to whom the Software
2586
+ is furnished to do so, subject to the following
2587
+ conditions:
2588
+
2589
+ The above copyright notice and this permission notice
2590
+ shall be included in all copies or substantial portions
2591
+ of the Software.
2592
+
2593
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
2594
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
2595
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
2596
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
2597
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
2598
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2599
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
2600
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2601
+ DEALINGS IN THE SOFTWARE.
2602
+
2603
+ ```
2604
+
2573
2605
  ## ghash 0.5.1
2574
2606
 
2575
2607
  ```
@@ -2601,7 +2633,7 @@ DEALINGS IN THE SOFTWARE.
2601
2633
 
2602
2634
  ```
2603
2635
 
2604
- ## ppv-lite86 0.2.20
2636
+ ## ppv-lite86 0.2.21
2605
2637
 
2606
2638
  ```
2607
2639
  Copyright (c) 2019 The CryptoCorrosion Contributors
@@ -2757,31 +2789,6 @@ DEALINGS IN THE SOFTWARE.
2757
2789
 
2758
2790
  ```
2759
2791
 
2760
- ## tonic-build 0.12.3
2761
-
2762
- ```
2763
- Copyright (c) 2020 Lucio Franco
2764
-
2765
- Permission is hereby granted, free of charge, to any person obtaining a copy
2766
- of this software and associated documentation files (the "Software"), to deal
2767
- in the Software without restriction, including without limitation the rights
2768
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2769
- copies of the Software, and to permit persons to whom the Software is
2770
- furnished to do so, subject to the following conditions:
2771
-
2772
- The above copyright notice and this permission notice shall be included in
2773
- all copies or substantial portions of the Software.
2774
-
2775
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2776
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2777
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2778
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2779
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2780
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2781
- THE SOFTWARE.
2782
-
2783
- ```
2784
-
2785
2792
  ## password-hash 0.5.0
2786
2793
 
2787
2794
  ```
@@ -2906,7 +2913,7 @@ DEALINGS IN THE SOFTWARE.
2906
2913
 
2907
2914
  ```
2908
2915
 
2909
- ## inout 0.1.3
2916
+ ## inout 0.1.4
2910
2917
 
2911
2918
  ```
2912
2919
  Copyright (c) 2022 The RustCrypto Project Developers
@@ -2938,7 +2945,32 @@ DEALINGS IN THE SOFTWARE.
2938
2945
 
2939
2946
  ```
2940
2947
 
2941
- ## toml_datetime 0.6.8, toml_edit 0.22.24
2948
+ ## tonic-build 0.13.1
2949
+
2950
+ ```
2951
+ Copyright (c) 2025 Lucio Franco
2952
+
2953
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2954
+ of this software and associated documentation files (the "Software"), to deal
2955
+ in the Software without restriction, including without limitation the rights
2956
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2957
+ copies of the Software, and to permit persons to whom the Software is
2958
+ furnished to do so, subject to the following conditions:
2959
+
2960
+ The above copyright notice and this permission notice shall be included in
2961
+ all copies or substantial portions of the Software.
2962
+
2963
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2964
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2965
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2966
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2967
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2968
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2969
+ THE SOFTWARE.
2970
+
2971
+ ```
2972
+
2973
+ ## toml_datetime 0.6.9, toml_edit 0.22.26
2942
2974
 
2943
2975
  ```
2944
2976
  Copyright (c) Individual contributors
@@ -2995,7 +3027,7 @@ DEALINGS IN THE SOFTWARE.
2995
3027
 
2996
3028
  ```
2997
3029
 
2998
- ## zerocopy-derive 0.7.35, zerocopy 0.7.35
3030
+ ## zerocopy 0.8.25
2999
3031
 
3000
3032
  ```
3001
3033
  Copyright 2023 The Fuchsia Authors
@@ -3054,7 +3086,7 @@ SOFTWARE.
3054
3086
 
3055
3087
  ```
3056
3088
 
3057
- ## darling 0.20.10, darling_core 0.20.10, darling_macro 0.20.10
3089
+ ## darling 0.20.11, darling_core 0.20.11, darling_macro 0.20.11
3058
3090
 
3059
3091
  ```
3060
3092
  MIT License
@@ -3135,7 +3167,7 @@ SOFTWARE.
3135
3167
 
3136
3168
  ```
3137
3169
 
3138
- ## derive-where 1.2.7
3170
+ ## derive-where 1.4.0
3139
3171
 
3140
3172
  ```
3141
3173
  MIT License
@@ -3162,7 +3194,7 @@ SOFTWARE.
3162
3194
 
3163
3195
  ```
3164
3196
 
3165
- ## cesu8 1.1.0, neon 1.0.0, windows-core 0.57.0, windows-core 0.58.0, windows-implement 0.57.0, windows-implement 0.58.0, windows-interface 0.57.0, windows-interface 0.58.0, windows-result 0.1.2, windows-result 0.2.0, windows-strings 0.1.0, windows 0.57.0, windows 0.58.0
3197
+ ## cesu8 1.1.0, neon 1.1.1, windows-core 0.57.0, windows-core 0.58.0, windows-implement 0.57.0, windows-implement 0.58.0, windows-interface 0.57.0, windows-interface 0.58.0, windows-result 0.1.2, windows-result 0.2.0, windows-strings 0.1.0, windows 0.57.0, windows 0.58.0
3166
3198
 
3167
3199
  ```
3168
3200
  MIT License
@@ -3202,7 +3234,7 @@ SOFTWARE.
3202
3234
 
3203
3235
  ```
3204
3236
 
3205
- ## curve25519-dalek-derive 0.1.1, anyhow 1.0.95, displaydoc 0.2.5, fastrand 2.3.0, itoa 1.0.14, linux-raw-sys 0.4.15, num_enum 0.7.3, num_enum_derive 0.7.3, once_cell 1.20.3, prettyplease 0.2.29, proc-macro-crate 3.2.0, proc-macro2 1.0.93, quote 1.0.38, rustix 0.38.44, semver 1.0.25, send_wrapper 0.6.0, serde 1.0.217, serde_derive 1.0.217, serde_json 1.0.138, syn-mid 0.6.0, syn 1.0.109, syn 2.0.98, thiserror-impl 1.0.69, thiserror 1.0.69, unicode-ident 1.0.16
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
3206
3238
 
3207
3239
  ```
3208
3240
  Permission is hereby granted, free of charge, to any
@@ -3231,7 +3263,7 @@ DEALINGS IN THE SOFTWARE.
3231
3263
 
3232
3264
  ```
3233
3265
 
3234
- ## winnow 0.7.2
3266
+ ## winnow 0.7.10
3235
3267
 
3236
3268
  ```
3237
3269
  Permission is hereby granted, free of charge, to any person obtaining
@@ -3278,7 +3310,7 @@ SOFTWARE.
3278
3310
 
3279
3311
  ```
3280
3312
 
3281
- ## typenum 1.17.0
3313
+ ## typenum 1.18.0
3282
3314
 
3283
3315
  ```
3284
3316
  The MIT License (MIT)
@@ -3332,7 +3364,7 @@ THE SOFTWARE.
3332
3364
 
3333
3365
  ```
3334
3366
 
3335
- ## aho-corasick 1.1.3, byteorder 1.5.0, memchr 2.7.4, walkdir 2.5.0
3367
+ ## aho-corasick 1.1.3, memchr 2.7.4, walkdir 2.5.0
3336
3368
 
3337
3369
  ```
3338
3370
  The MIT License (MIT)
@@ -3663,7 +3695,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3663
3695
  SOFTWARE.
3664
3696
  ```
3665
3697
 
3666
- ## unicode-ident 1.0.16
3698
+ ## unicode-ident 1.0.18
3667
3699
 
3668
3700
  ```
3669
3701
  UNICODE LICENSE V3
@@ -5715,39 +5747,6 @@ SOFTWARE.
5715
5747
  */
5716
5748
 
5717
5749
 
5718
- ```
5719
-
5720
- ## re2
5721
-
5722
- ```
5723
- // Copyright (c) 2009 The RE2 Authors. All rights reserved.
5724
- //
5725
- // Redistribution and use in source and binary forms, with or without
5726
- // modification, are permitted provided that the following conditions are
5727
- // met:
5728
- //
5729
- // * Redistributions of source code must retain the above copyright
5730
- // notice, this list of conditions and the following disclaimer.
5731
- // * Redistributions in binary form must reproduce the above
5732
- // copyright notice, this list of conditions and the following disclaimer
5733
- // in the documentation and/or other materials provided with the
5734
- // distribution.
5735
- // * Neither the name of Google Inc. nor the names of its
5736
- // contributors may be used to endorse or promote products derived from
5737
- // this software without specific prior written permission.
5738
- //
5739
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5740
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5741
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5742
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5743
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5744
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5745
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5746
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5747
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5748
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5749
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5750
-
5751
5750
  ```
5752
5751
 
5753
5752
  ## rnnoise
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { RingRTCType } from './ringrtc/Service';
2
2
  export { AnswerMessage, AudioDevice, DataMode, BusyMessage, Call, CallEndedReason, CallId, CallLogLevel, CallMessageUrgency, CallSettings, CallState, CallingMessage, ConnectionState, DeviceId, GroupCall, GroupCallEndReason, GroupCallKind, GroupCallObserver, GroupMemberInfo, HangupMessage, HangupType, HttpMethod, HttpResult, IceCandidateMessage, JoinState, LocalDeviceState, OfferMessage, OfferType, OpaqueMessage, PeekDeviceInfo, PeekInfo, PeekStatusCodes, Reaction, RemoteDeviceState, RingCancelReason, RingRTCType, RingUpdate, SpeechEvent, UserId, VideoFrameSender, VideoFrameSource, VideoPixelFormatEnum, videoPixelFormatToEnum, VideoRequest, callIdFromEra, callIdFromRingId, } from './ringrtc/Service';
3
- export { CallLinkRootKey, CallLinkRestrictions, CallLinkState, } from './ringrtc/CallLinks';
3
+ export { CallLinkRootKey, CallLinkRestrictions, CallLinkState, CallLinkEpoch, } from './ringrtc/CallLinks';
4
4
  export declare const RingRTC: RingRTCType;
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // SPDX-License-Identifier: AGPL-3.0-only
5
5
  //
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.RingRTC = exports.CallLinkState = exports.CallLinkRestrictions = exports.CallLinkRootKey = exports.callIdFromRingId = exports.callIdFromEra = exports.VideoRequest = exports.videoPixelFormatToEnum = exports.VideoPixelFormatEnum = exports.SpeechEvent = exports.RingUpdate = exports.RingRTCType = exports.RingCancelReason = exports.RemoteDeviceState = exports.PeekStatusCodes = exports.OpaqueMessage = exports.OfferType = exports.OfferMessage = exports.LocalDeviceState = exports.JoinState = exports.IceCandidateMessage = exports.HttpMethod = exports.HangupType = exports.HangupMessage = exports.GroupMemberInfo = exports.GroupCallKind = exports.GroupCallEndReason = exports.GroupCall = exports.ConnectionState = exports.CallingMessage = exports.CallState = exports.CallMessageUrgency = exports.CallLogLevel = exports.CallEndedReason = exports.Call = exports.BusyMessage = exports.DataMode = exports.AnswerMessage = void 0;
7
+ exports.RingRTC = exports.CallLinkEpoch = exports.CallLinkState = exports.CallLinkRestrictions = exports.CallLinkRootKey = exports.callIdFromRingId = exports.callIdFromEra = exports.VideoRequest = exports.videoPixelFormatToEnum = exports.VideoPixelFormatEnum = exports.SpeechEvent = exports.RingUpdate = exports.RingRTCType = exports.RingCancelReason = exports.RemoteDeviceState = exports.PeekStatusCodes = exports.OpaqueMessage = exports.OfferType = exports.OfferMessage = exports.LocalDeviceState = exports.JoinState = exports.IceCandidateMessage = exports.HttpMethod = exports.HangupType = exports.HangupMessage = exports.GroupMemberInfo = exports.GroupCallKind = exports.GroupCallEndReason = exports.GroupCall = exports.ConnectionState = exports.CallingMessage = exports.CallState = exports.CallMessageUrgency = exports.CallLogLevel = exports.CallEndedReason = exports.Call = exports.BusyMessage = exports.DataMode = exports.AnswerMessage = void 0;
8
8
  const Service_1 = require("./ringrtc/Service");
9
9
  var Service_2 = require("./ringrtc/Service");
10
10
  Object.defineProperty(exports, "AnswerMessage", { enumerable: true, get: function () { return Service_2.AnswerMessage; } });
@@ -45,5 +45,6 @@ var CallLinks_1 = require("./ringrtc/CallLinks");
45
45
  Object.defineProperty(exports, "CallLinkRootKey", { enumerable: true, get: function () { return CallLinks_1.CallLinkRootKey; } });
46
46
  Object.defineProperty(exports, "CallLinkRestrictions", { enumerable: true, get: function () { return CallLinks_1.CallLinkRestrictions; } });
47
47
  Object.defineProperty(exports, "CallLinkState", { enumerable: true, get: function () { return CallLinks_1.CallLinkState; } });
48
+ Object.defineProperty(exports, "CallLinkEpoch", { enumerable: true, get: function () { return CallLinks_1.CallLinkEpoch; } });
48
49
  exports.RingRTC = new Service_1.RingRTCType();
49
50
  //# sourceMappingURL=index.js.map
@@ -13,10 +13,17 @@ export declare class CallLinkState {
13
13
  restrictions: CallLinkRestrictions;
14
14
  revoked: boolean;
15
15
  expiration: Date;
16
- constructor(name: string, restrictions: CallLinkRestrictions, revoked: boolean, expiration: Date);
16
+ epoch?: CallLinkEpoch | undefined;
17
+ constructor(name: string, restrictions: CallLinkRestrictions, revoked: boolean, expiration: Date, epoch?: CallLinkEpoch | undefined);
17
18
  }
18
19
  export declare enum CallLinkRestrictions {
19
20
  None = 0,
20
21
  AdminApproval = 1,
21
22
  Unknown = 2
22
23
  }
24
+ export declare class CallLinkEpoch {
25
+ static parse(str: string): CallLinkEpoch;
26
+ toString(): string;
27
+ get bytes(): Uint8Array;
28
+ static fromBytes(bytes: Uint8Array): CallLinkEpoch;
29
+ }
@@ -7,7 +7,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  return (mod && mod.__esModule) ? mod : { "default": mod };
8
8
  };
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.CallLinkRestrictions = exports.CallLinkState = exports.CallLinkRootKey = void 0;
10
+ exports.CallLinkEpoch = exports.CallLinkRestrictions = exports.CallLinkState = exports.CallLinkRootKey = void 0;
11
11
  const Native_1 = __importDefault(require("./Native"));
12
12
  class CallLinkRootKey {
13
13
  constructor(bytes) {
@@ -38,11 +38,12 @@ class CallLinkRootKey {
38
38
  }
39
39
  exports.CallLinkRootKey = CallLinkRootKey;
40
40
  class CallLinkState {
41
- constructor(name, restrictions, revoked, expiration) {
41
+ constructor(name, restrictions, revoked, expiration, epoch) {
42
42
  this.name = name;
43
43
  this.restrictions = restrictions;
44
44
  this.revoked = revoked;
45
45
  this.expiration = expiration;
46
+ this.epoch = epoch;
46
47
  }
47
48
  }
48
49
  exports.CallLinkState = CallLinkState;
@@ -52,4 +53,35 @@ var CallLinkRestrictions;
52
53
  CallLinkRestrictions[CallLinkRestrictions["AdminApproval"] = 1] = "AdminApproval";
53
54
  CallLinkRestrictions[CallLinkRestrictions["Unknown"] = 2] = "Unknown";
54
55
  })(CallLinkRestrictions || (exports.CallLinkRestrictions = CallLinkRestrictions = {}));
56
+ class CallLinkEpoch {
57
+ /** @internal */
58
+ constructor(value) {
59
+ this.value = value;
60
+ }
61
+ /** @internal */
62
+ asNumber() {
63
+ return this.value;
64
+ }
65
+ static parse(str) {
66
+ return new CallLinkEpoch(Native_1.default.CallLinkEpoch_parse(str));
67
+ }
68
+ toString() {
69
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
70
+ return Native_1.default.CallLinkEpoch_toFormattedString(this.value);
71
+ }
72
+ get bytes() {
73
+ const value = this.value & 0xffffffff;
74
+ const bytes = new Uint8Array(4);
75
+ bytes[0] = value & 0x000000ff;
76
+ bytes[1] = (value & 0x0000ff00) >> 8;
77
+ bytes[2] = (value & 0x00ff0000) >> 16;
78
+ bytes[3] = (value & 0xff000000) >> 24;
79
+ return bytes;
80
+ }
81
+ static fromBytes(bytes) {
82
+ const value = bytes[0] + bytes[1] * 0x100 + 0x10000 * (bytes[2] + bytes[3] * 0x100);
83
+ return new CallLinkEpoch(value);
84
+ }
85
+ }
86
+ exports.CallLinkEpoch = CallLinkEpoch;
55
87
  //# sourceMappingURL=CallLinks.js.map
@@ -1,4 +1,4 @@
1
- import { CallLinkState, CallLinkRestrictions, CallLinkRootKey } from './CallLinks';
1
+ import { CallLinkState, CallLinkRestrictions, CallLinkRootKey, CallLinkEpoch } from './CallLinks';
2
2
  export declare const callIdFromEra: (era: string) => CallId;
3
3
  export declare function callIdFromRingId(ringId: bigint): CallId;
4
4
  declare class Config {
@@ -74,6 +74,7 @@ interface RawCallLinkState {
74
74
  rawRestrictions: number;
75
75
  revoked: boolean;
76
76
  expiration: Date;
77
+ epoch?: number;
77
78
  }
78
79
  export type EmptyObj = Record<PropertyKey, never>;
79
80
  export type HttpResult<T> = {
@@ -133,11 +134,12 @@ export declare class RingRTCType {
133
134
  * @param sfuUrl - the URL to use when accessing the SFU
134
135
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
135
136
  * @param linkRootKey - the root key for the call link
137
+ * @param epoch - the optional call link epoch
136
138
  *
137
139
  * Expected failure codes include:
138
140
  * - 404: the room does not exist (or expired so long ago that it has been removed from the server)
139
141
  */
140
- readCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey): Promise<HttpResult<CallLinkState>>;
142
+ readCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined): Promise<HttpResult<CallLinkState>>;
141
143
  /**
142
144
  * Asynchronous request to create a new call link.
143
145
  *
@@ -187,10 +189,11 @@ export declare class RingRTCType {
187
189
  * @param sfuUrl - the URL to use when accessing the SFU
188
190
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
189
191
  * @param linkRootKey - the root key for the call link
192
+ * @param epoch - the optional call link epoch
190
193
  * @param adminPasskey - the passkey specified when the link was created
191
194
  * @param newName - the new name to use
192
195
  */
193
- updateCallLinkName(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, newName: string): Promise<HttpResult<CallLinkState>>;
196
+ updateCallLinkName(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer, newName: string): Promise<HttpResult<CallLinkState>>;
194
197
  /**
195
198
  * Asynchronous request to update a call link's restrictions.
196
199
  *
@@ -204,10 +207,11 @@ export declare class RingRTCType {
204
207
  * @param sfuUrl - the URL to use when accessing the SFU
205
208
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
206
209
  * @param linkRootKey - the root key for the call link
210
+ * @param epoch - the optional call link epoch
207
211
  * @param adminPasskey - the passkey specified when the link was created
208
212
  * @param restrictions - the new restrictions to use
209
213
  */
210
- updateCallLinkRestrictions(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, restrictions: Exclude<CallLinkRestrictions, CallLinkRestrictions.Unknown>): Promise<HttpResult<CallLinkState>>;
214
+ updateCallLinkRestrictions(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer, restrictions: Exclude<CallLinkRestrictions, CallLinkRestrictions.Unknown>): Promise<HttpResult<CallLinkState>>;
211
215
  /**
212
216
  * Asynchronous request to delete a call link.
213
217
  *
@@ -220,15 +224,16 @@ export declare class RingRTCType {
220
224
  * @param sfuUrl - the URL to use when accessing the SFU
221
225
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
222
226
  * @param linkRootKey - the root key for the call link
227
+ * @param epoch - the optional call link epoch
223
228
  * @param adminPasskey - the passkey specified when the link was created
224
229
  */
225
- deleteCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer): Promise<HttpResult<undefined>>;
230
+ deleteCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer): Promise<HttpResult<undefined>>;
226
231
  receivedHttpResponse(requestId: number, status: number, body: Buffer): void;
227
232
  httpRequestFailed(requestId: number, debugInfo: string | undefined): void;
228
233
  getGroupCall(groupId: Buffer, sfuUrl: string, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number | undefined, observer: GroupCallObserver): GroupCall | undefined;
229
- getCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey, adminPasskey: Buffer | undefined, 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;
230
235
  peekGroupCall(sfuUrl: string, membershipProof: Buffer, groupMembers: Array<GroupMemberInfo>): Promise<PeekInfo>;
231
- peekCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey): Promise<HttpResult<PeekInfo>>;
236
+ peekCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined): Promise<HttpResult<PeekInfo>>;
232
237
  requestMembershipProof(clientId: GroupCallClientId): void;
233
238
  requestGroupMembers(clientId: GroupCallClientId): void;
234
239
  handleConnectionStateChanged(clientId: GroupCallClientId, connectionState: ConnectionState): void;
@@ -671,7 +676,7 @@ export interface CallManager {
671
676
  receivedHttpResponse(requestId: number, status: number, body: Buffer): void;
672
677
  httpRequestFailed(requestId: number, debugInfo: string | undefined): void;
673
678
  createGroupCallClient(groupId: Buffer, sfuUrl: string, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number): GroupCallClientId;
674
- createCallLinkCallClient(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer | undefined, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number): GroupCallClientId;
679
+ createCallLinkCallClient(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer | undefined, hkdfExtraInfo: Buffer, audioLevelsIntervalMillis: number): GroupCallClientId;
675
680
  deleteGroupCallClient(clientId: GroupCallClientId): void;
676
681
  connect(clientId: GroupCallClientId): void;
677
682
  join(clientId: GroupCallClientId): void;
@@ -697,12 +702,12 @@ export interface CallManager {
697
702
  setMembershipProof(clientId: GroupCallClientId, proof: Buffer): void;
698
703
  receiveGroupCallVideoFrame(clientId: GroupCallClientId, remoteDemuxId: number, buffer: Buffer, maxWidth: number, maxHeight: number): [number, number] | undefined;
699
704
  setRtcStatsInterval(clientId: GroupCallClientId, intervalMillis: number): void;
700
- readCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer): void;
705
+ readCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined): void;
701
706
  createCallLink(requestId: number, sfuUrl: string, createCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer, callLinkPublicParams: Buffer, restrictions: number | undefined): void;
702
- updateCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer, newName: string | undefined, newRestrictions: number | undefined, newRevoked: boolean | undefined): void;
703
- deleteCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer): void;
707
+ updateCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer, newName: string | undefined, newRestrictions: number | undefined, newRevoked: boolean | undefined): void;
708
+ deleteCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer): void;
704
709
  peekGroupCall(requestId: number, sfu_url: string, membership_proof: Buffer, group_members: Array<GroupMemberInfo>): void;
705
- peekCallLinkCall(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer): void;
710
+ peekCallLinkCall(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined): void;
706
711
  getAudioInputs(): Array<AudioDevice>;
707
712
  setAudioInput(index: number): void;
708
713
  getAudioOutputs(): Array<AudioDevice>;
@@ -211,7 +211,11 @@ function rawCallLinkStateToCallLinkState(raw) {
211
211
  restrictions = CallLinks_1.CallLinkRestrictions.Unknown;
212
212
  break;
213
213
  }
214
- return new CallLinks_1.CallLinkState(raw.name, restrictions, raw.revoked, raw.expiration);
214
+ let epoch;
215
+ if (raw.epoch) {
216
+ epoch = new CallLinks_1.CallLinkEpoch(raw.epoch);
217
+ }
218
+ return new CallLinks_1.CallLinkState(raw.name, restrictions, raw.revoked, raw.expiration, epoch);
215
219
  }
216
220
  else {
217
221
  return undefined;
@@ -570,15 +574,16 @@ class RingRTCType {
570
574
  * @param sfuUrl - the URL to use when accessing the SFU
571
575
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
572
576
  * @param linkRootKey - the root key for the call link
577
+ * @param epoch - the optional call link epoch
573
578
  *
574
579
  * Expected failure codes include:
575
580
  * - 404: the room does not exist (or expired so long ago that it has been removed from the server)
576
581
  */
577
- readCallLink(sfuUrl, authCredentialPresentation, linkRootKey) {
582
+ readCallLink(sfuUrl, authCredentialPresentation, linkRootKey, epoch) {
578
583
  const [requestId, promise] = this._callLinkRequests.add();
579
584
  // Response comes back via handleCallLinkResponse
580
585
  sillyDeadlockProtection(() => {
581
- this.callManager.readCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes);
586
+ this.callManager.readCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber());
582
587
  });
583
588
  return promise;
584
589
  }
@@ -638,14 +643,15 @@ class RingRTCType {
638
643
  * @param sfuUrl - the URL to use when accessing the SFU
639
644
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
640
645
  * @param linkRootKey - the root key for the call link
646
+ * @param epoch - the optional call link epoch
641
647
  * @param adminPasskey - the passkey specified when the link was created
642
648
  * @param newName - the new name to use
643
649
  */
644
- updateCallLinkName(sfuUrl, authCredentialPresentation, linkRootKey, adminPasskey, newName) {
650
+ updateCallLinkName(sfuUrl, authCredentialPresentation, linkRootKey, epoch, adminPasskey, newName) {
645
651
  const [requestId, promise] = this._callLinkRequests.add();
646
652
  // Response comes back via handleCallLinkResponse
647
653
  sillyDeadlockProtection(() => {
648
- this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, adminPasskey, newName, undefined, undefined);
654
+ this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber(), adminPasskey, newName, undefined, undefined);
649
655
  });
650
656
  return promise;
651
657
  }
@@ -662,14 +668,15 @@ class RingRTCType {
662
668
  * @param sfuUrl - the URL to use when accessing the SFU
663
669
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
664
670
  * @param linkRootKey - the root key for the call link
671
+ * @param epoch - the optional call link epoch
665
672
  * @param adminPasskey - the passkey specified when the link was created
666
673
  * @param restrictions - the new restrictions to use
667
674
  */
668
- updateCallLinkRestrictions(sfuUrl, authCredentialPresentation, linkRootKey, adminPasskey, restrictions) {
675
+ updateCallLinkRestrictions(sfuUrl, authCredentialPresentation, linkRootKey, epoch, adminPasskey, restrictions) {
669
676
  const [requestId, promise] = this._callLinkRequests.add();
670
677
  // Response comes back via handleCallLinkResponse
671
678
  sillyDeadlockProtection(() => {
672
- this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, adminPasskey, undefined, restrictions, undefined);
679
+ this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber(), adminPasskey, undefined, restrictions, undefined);
673
680
  });
674
681
  return promise;
675
682
  }
@@ -685,13 +692,14 @@ class RingRTCType {
685
692
  * @param sfuUrl - the URL to use when accessing the SFU
686
693
  * @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
687
694
  * @param linkRootKey - the root key for the call link
695
+ * @param epoch - the optional call link epoch
688
696
  * @param adminPasskey - the passkey specified when the link was created
689
697
  */
690
- deleteCallLink(sfuUrl, authCredentialPresentation, linkRootKey, adminPasskey) {
698
+ deleteCallLink(sfuUrl, authCredentialPresentation, linkRootKey, epoch, adminPasskey) {
691
699
  const [requestId, promise] = this._emptyRequests.add();
692
700
  // Response comes back via handleCallLinkResponse
693
701
  sillyDeadlockProtection(() => {
694
- this.callManager.deleteCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, adminPasskey);
702
+ this.callManager.deleteCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber(), adminPasskey);
695
703
  });
696
704
  return promise;
697
705
  }
@@ -731,8 +739,8 @@ class RingRTCType {
731
739
  return groupCall;
732
740
  }
733
741
  // Called by UX
734
- getCallLinkCall(sfuUrl, authCredentialPresentation, rootKey, adminPasskey, hkdfExtraInfo, audioLevelsIntervalMillis, observer) {
735
- const clientId = this.callManager.createCallLinkCallClient(sfuUrl, authCredentialPresentation, rootKey.bytes, adminPasskey, hkdfExtraInfo, audioLevelsIntervalMillis || 0);
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);
736
744
  if (clientId === INVALID_CLIENT_ID) {
737
745
  // Return undefined since the call link client creation failed.
738
746
  return undefined;
@@ -765,11 +773,11 @@ class RingRTCType {
765
773
  });
766
774
  }
767
775
  // Called by UX
768
- peekCallLinkCall(sfuUrl, authCredentialPresentation, rootKey) {
776
+ peekCallLinkCall(sfuUrl, authCredentialPresentation, rootKey, epoch) {
769
777
  const [requestId, promise] = this._peekRequests.add();
770
778
  // Response comes back via handlePeekResponse
771
779
  sillyDeadlockProtection(() => {
772
- this.callManager.peekCallLinkCall(requestId, sfuUrl, authCredentialPresentation, rootKey.bytes);
780
+ this.callManager.peekCallLinkCall(requestId, sfuUrl, authCredentialPresentation, rootKey.bytes, epoch?.asNumber());
773
781
  });
774
782
  return promise;
775
783
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/ringrtc",
3
- "version": "2.52.2",
3
+ "version": "2.53.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": "e40117869bcb576603982bfd1531ef00a717f301e201af300c81d712a071b196"
28
+ "prebuildChecksum": "9f04ffe0be063600fcc23d9afd8009b873f304ef5ae59642ee143b806bf804ad"
29
29
  },
30
30
  "author": "",
31
31
  "license": "AGPL-3.0-only",