@signalapp/ringrtc 2.52.2 → 2.54.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.
- package/dist/acknowledgments.md +100 -107
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/ringrtc/CallLinks.d.ts +8 -1
- package/dist/ringrtc/CallLinks.js +34 -2
- package/dist/ringrtc/Service.d.ts +19 -15
- package/dist/ringrtc/Service.js +24 -17
- 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.0, protobuf 2.54.0, ringrtc 2.54.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
2198
|
+
## equivalent 1.0.2
|
|
2199
2199
|
|
|
2200
2200
|
```
|
|
2201
2201
|
Copyright (c) 2016--2023
|
|
@@ -2350,11 +2350,10 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2350
2350
|
|
|
2351
2351
|
```
|
|
2352
2352
|
|
|
2353
|
-
##
|
|
2353
|
+
## bytes 1.10.1
|
|
2354
2354
|
|
|
2355
2355
|
```
|
|
2356
|
-
Copyright (c) 2018
|
|
2357
|
-
Copyright (c) 2018 The RustCrypto Project Developers
|
|
2356
|
+
Copyright (c) 2018 Carl Lerche
|
|
2358
2357
|
|
|
2359
2358
|
Permission is hereby granted, free of charge, to any
|
|
2360
2359
|
person obtaining a copy of this software and associated
|
|
@@ -2382,10 +2381,10 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2382
2381
|
|
|
2383
2382
|
```
|
|
2384
2383
|
|
|
2385
|
-
##
|
|
2384
|
+
## smallvec 1.15.0
|
|
2386
2385
|
|
|
2387
2386
|
```
|
|
2388
|
-
Copyright (c) 2018
|
|
2387
|
+
Copyright (c) 2018 The Servo Project Developers
|
|
2389
2388
|
|
|
2390
2389
|
Permission is hereby granted, free of charge, to any
|
|
2391
2390
|
person obtaining a copy of this software and associated
|
|
@@ -2413,10 +2412,10 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2413
2412
|
|
|
2414
2413
|
```
|
|
2415
2414
|
|
|
2416
|
-
##
|
|
2415
|
+
## block-buffer 0.10.4, block-padding 0.3.3
|
|
2417
2416
|
|
|
2418
2417
|
```
|
|
2419
|
-
Copyright (c) 2018 The
|
|
2418
|
+
Copyright (c) 2018-2019 The RustCrypto Project Developers
|
|
2420
2419
|
|
|
2421
2420
|
Permission is hereby granted, free of charge, to any
|
|
2422
2421
|
person obtaining a copy of this software and associated
|
|
@@ -2444,10 +2443,11 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2444
2443
|
|
|
2445
2444
|
```
|
|
2446
2445
|
|
|
2447
|
-
##
|
|
2446
|
+
## cbc 0.1.2, ctr 0.9.2
|
|
2448
2447
|
|
|
2449
2448
|
```
|
|
2450
|
-
Copyright (c) 2018-
|
|
2449
|
+
Copyright (c) 2018-2022 RustCrypto Developers
|
|
2450
|
+
Copyright (c) 2018 Artyom Pavlov
|
|
2451
2451
|
|
|
2452
2452
|
Permission is hereby granted, free of charge, to any
|
|
2453
2453
|
person obtaining a copy of this software and associated
|
|
@@ -2475,11 +2475,10 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2475
2475
|
|
|
2476
2476
|
```
|
|
2477
2477
|
|
|
2478
|
-
##
|
|
2478
|
+
## opaque-debug 0.3.1
|
|
2479
2479
|
|
|
2480
2480
|
```
|
|
2481
|
-
Copyright (c) 2018-
|
|
2482
|
-
Copyright (c) 2018 Artyom Pavlov
|
|
2481
|
+
Copyright (c) 2018-2024 The RustCrypto Project Developers
|
|
2483
2482
|
|
|
2484
2483
|
Permission is hereby granted, free of charge, to any
|
|
2485
2484
|
person obtaining a copy of this software and associated
|
|
@@ -2507,10 +2506,11 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2507
2506
|
|
|
2508
2507
|
```
|
|
2509
2508
|
|
|
2510
|
-
##
|
|
2509
|
+
## getrandom 0.2.16
|
|
2511
2510
|
|
|
2512
2511
|
```
|
|
2513
|
-
Copyright (c) 2018-2024 The
|
|
2512
|
+
Copyright (c) 2018-2024 The rust-random Project Developers
|
|
2513
|
+
Copyright (c) 2014 The Rust Project Developers
|
|
2514
2514
|
|
|
2515
2515
|
Permission is hereby granted, free of charge, to any
|
|
2516
2516
|
person obtaining a copy of this software and associated
|
|
@@ -2538,10 +2538,10 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2538
2538
|
|
|
2539
2539
|
```
|
|
2540
2540
|
|
|
2541
|
-
## getrandom 0.
|
|
2541
|
+
## getrandom 0.3.3
|
|
2542
2542
|
|
|
2543
2543
|
```
|
|
2544
|
-
Copyright (c) 2018-
|
|
2544
|
+
Copyright (c) 2018-2025 The rust-random Project Developers
|
|
2545
2545
|
Copyright (c) 2014 The Rust Project Developers
|
|
2546
2546
|
|
|
2547
2547
|
Permission is hereby granted, free of charge, to any
|
|
@@ -2601,7 +2601,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2601
2601
|
|
|
2602
2602
|
```
|
|
2603
2603
|
|
|
2604
|
-
## ppv-lite86 0.2.
|
|
2604
|
+
## ppv-lite86 0.2.21
|
|
2605
2605
|
|
|
2606
2606
|
```
|
|
2607
2607
|
Copyright (c) 2019 The CryptoCorrosion Contributors
|
|
@@ -2757,31 +2757,6 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2757
2757
|
|
|
2758
2758
|
```
|
|
2759
2759
|
|
|
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
2760
|
## password-hash 0.5.0
|
|
2786
2761
|
|
|
2787
2762
|
```
|
|
@@ -2906,7 +2881,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2906
2881
|
|
|
2907
2882
|
```
|
|
2908
2883
|
|
|
2909
|
-
## inout 0.1.
|
|
2884
|
+
## inout 0.1.4
|
|
2910
2885
|
|
|
2911
2886
|
```
|
|
2912
2887
|
Copyright (c) 2022 The RustCrypto Project Developers
|
|
@@ -2938,7 +2913,32 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2938
2913
|
|
|
2939
2914
|
```
|
|
2940
2915
|
|
|
2941
|
-
##
|
|
2916
|
+
## tonic-build 0.13.1
|
|
2917
|
+
|
|
2918
|
+
```
|
|
2919
|
+
Copyright (c) 2025 Lucio Franco
|
|
2920
|
+
|
|
2921
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2922
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2923
|
+
in the Software without restriction, including without limitation the rights
|
|
2924
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2925
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2926
|
+
furnished to do so, subject to the following conditions:
|
|
2927
|
+
|
|
2928
|
+
The above copyright notice and this permission notice shall be included in
|
|
2929
|
+
all copies or substantial portions of the Software.
|
|
2930
|
+
|
|
2931
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2932
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2933
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2934
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2935
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2936
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2937
|
+
THE SOFTWARE.
|
|
2938
|
+
|
|
2939
|
+
```
|
|
2940
|
+
|
|
2941
|
+
## toml_datetime 0.6.9, toml_edit 0.22.26
|
|
2942
2942
|
|
|
2943
2943
|
```
|
|
2944
2944
|
Copyright (c) Individual contributors
|
|
@@ -2963,7 +2963,7 @@ SOFTWARE.
|
|
|
2963
2963
|
|
|
2964
2964
|
```
|
|
2965
2965
|
|
|
2966
|
-
## 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
|
|
2967
2967
|
|
|
2968
2968
|
```
|
|
2969
2969
|
Copyright 2018 Developers of the Rand project
|
|
@@ -2995,7 +2995,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2995
2995
|
|
|
2996
2996
|
```
|
|
2997
2997
|
|
|
2998
|
-
## zerocopy
|
|
2998
|
+
## zerocopy 0.8.25
|
|
2999
2999
|
|
|
3000
3000
|
```
|
|
3001
3001
|
Copyright 2023 The Fuchsia Authors
|
|
@@ -3054,7 +3054,7 @@ SOFTWARE.
|
|
|
3054
3054
|
|
|
3055
3055
|
```
|
|
3056
3056
|
|
|
3057
|
-
## darling 0.20.
|
|
3057
|
+
## darling 0.20.11, darling_core 0.20.11, darling_macro 0.20.11
|
|
3058
3058
|
|
|
3059
3059
|
```
|
|
3060
3060
|
MIT License
|
|
@@ -3135,7 +3135,33 @@ SOFTWARE.
|
|
|
3135
3135
|
|
|
3136
3136
|
```
|
|
3137
3137
|
|
|
3138
|
-
##
|
|
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
|
+
|
|
3164
|
+
## derive-where 1.4.0
|
|
3139
3165
|
|
|
3140
3166
|
```
|
|
3141
3167
|
MIT License
|
|
@@ -3162,7 +3188,7 @@ SOFTWARE.
|
|
|
3162
3188
|
|
|
3163
3189
|
```
|
|
3164
3190
|
|
|
3165
|
-
## cesu8 1.1.0, neon 1.
|
|
3191
|
+
## 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
3192
|
|
|
3167
3193
|
```
|
|
3168
3194
|
MIT License
|
|
@@ -3202,7 +3228,7 @@ SOFTWARE.
|
|
|
3202
3228
|
|
|
3203
3229
|
```
|
|
3204
3230
|
|
|
3205
|
-
## curve25519-dalek-derive 0.1.1, anyhow 1.0.
|
|
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
|
|
3206
3232
|
|
|
3207
3233
|
```
|
|
3208
3234
|
Permission is hereby granted, free of charge, to any
|
|
@@ -3231,7 +3257,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3231
3257
|
|
|
3232
3258
|
```
|
|
3233
3259
|
|
|
3234
|
-
## winnow 0.7.
|
|
3260
|
+
## winnow 0.7.10
|
|
3235
3261
|
|
|
3236
3262
|
```
|
|
3237
3263
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -3278,7 +3304,7 @@ SOFTWARE.
|
|
|
3278
3304
|
|
|
3279
3305
|
```
|
|
3280
3306
|
|
|
3281
|
-
## typenum 1.
|
|
3307
|
+
## typenum 1.18.0
|
|
3282
3308
|
|
|
3283
3309
|
```
|
|
3284
3310
|
The MIT License (MIT)
|
|
@@ -3332,7 +3358,7 @@ THE SOFTWARE.
|
|
|
3332
3358
|
|
|
3333
3359
|
```
|
|
3334
3360
|
|
|
3335
|
-
## aho-corasick 1.1.3,
|
|
3361
|
+
## aho-corasick 1.1.3, memchr 2.7.4, walkdir 2.5.0
|
|
3336
3362
|
|
|
3337
3363
|
```
|
|
3338
3364
|
The MIT License (MIT)
|
|
@@ -3471,7 +3497,7 @@ THE SOFTWARE.
|
|
|
3471
3497
|
|
|
3472
3498
|
```
|
|
3473
3499
|
|
|
3474
|
-
## derive_more-impl
|
|
3500
|
+
## derive_more-impl 2.0.1, derive_more 2.0.1
|
|
3475
3501
|
|
|
3476
3502
|
```
|
|
3477
3503
|
The MIT License (MIT)
|
|
@@ -3663,7 +3689,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
3663
3689
|
SOFTWARE.
|
|
3664
3690
|
```
|
|
3665
3691
|
|
|
3666
|
-
## unicode-ident 1.0.
|
|
3692
|
+
## unicode-ident 1.0.18
|
|
3667
3693
|
|
|
3668
3694
|
```
|
|
3669
3695
|
UNICODE LICENSE V3
|
|
@@ -5715,39 +5741,6 @@ SOFTWARE.
|
|
|
5715
5741
|
*/
|
|
5716
5742
|
|
|
5717
5743
|
|
|
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
5744
|
```
|
|
5752
5745
|
|
|
5753
5746
|
## 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
|
-
|
|
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,9 +1,8 @@
|
|
|
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 {
|
|
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;
|
|
@@ -74,6 +73,7 @@ interface RawCallLinkState {
|
|
|
74
73
|
rawRestrictions: number;
|
|
75
74
|
revoked: boolean;
|
|
76
75
|
expiration: Date;
|
|
76
|
+
epoch?: number;
|
|
77
77
|
}
|
|
78
78
|
export type EmptyObj = Record<PropertyKey, never>;
|
|
79
79
|
export type HttpResult<T> = {
|
|
@@ -133,11 +133,12 @@ export declare class RingRTCType {
|
|
|
133
133
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
134
134
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
135
135
|
* @param linkRootKey - the root key for the call link
|
|
136
|
+
* @param epoch - the optional call link epoch
|
|
136
137
|
*
|
|
137
138
|
* Expected failure codes include:
|
|
138
139
|
* - 404: the room does not exist (or expired so long ago that it has been removed from the server)
|
|
139
140
|
*/
|
|
140
|
-
readCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey): Promise<HttpResult<CallLinkState>>;
|
|
141
|
+
readCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined): Promise<HttpResult<CallLinkState>>;
|
|
141
142
|
/**
|
|
142
143
|
* Asynchronous request to create a new call link.
|
|
143
144
|
*
|
|
@@ -187,10 +188,11 @@ export declare class RingRTCType {
|
|
|
187
188
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
188
189
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
189
190
|
* @param linkRootKey - the root key for the call link
|
|
191
|
+
* @param epoch - the optional call link epoch
|
|
190
192
|
* @param adminPasskey - the passkey specified when the link was created
|
|
191
193
|
* @param newName - the new name to use
|
|
192
194
|
*/
|
|
193
|
-
updateCallLinkName(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, newName: string): Promise<HttpResult<CallLinkState>>;
|
|
195
|
+
updateCallLinkName(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer, newName: string): Promise<HttpResult<CallLinkState>>;
|
|
194
196
|
/**
|
|
195
197
|
* Asynchronous request to update a call link's restrictions.
|
|
196
198
|
*
|
|
@@ -204,10 +206,11 @@ export declare class RingRTCType {
|
|
|
204
206
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
205
207
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
206
208
|
* @param linkRootKey - the root key for the call link
|
|
209
|
+
* @param epoch - the optional call link epoch
|
|
207
210
|
* @param adminPasskey - the passkey specified when the link was created
|
|
208
211
|
* @param restrictions - the new restrictions to use
|
|
209
212
|
*/
|
|
210
|
-
updateCallLinkRestrictions(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, restrictions: Exclude<CallLinkRestrictions, CallLinkRestrictions.Unknown>): Promise<HttpResult<CallLinkState>>;
|
|
213
|
+
updateCallLinkRestrictions(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer, restrictions: Exclude<CallLinkRestrictions, CallLinkRestrictions.Unknown>): Promise<HttpResult<CallLinkState>>;
|
|
211
214
|
/**
|
|
212
215
|
* Asynchronous request to delete a call link.
|
|
213
216
|
*
|
|
@@ -220,15 +223,16 @@ export declare class RingRTCType {
|
|
|
220
223
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
221
224
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
222
225
|
* @param linkRootKey - the root key for the call link
|
|
226
|
+
* @param epoch - the optional call link epoch
|
|
223
227
|
* @param adminPasskey - the passkey specified when the link was created
|
|
224
228
|
*/
|
|
225
|
-
deleteCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer): Promise<HttpResult<undefined>>;
|
|
229
|
+
deleteCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined, adminPasskey: Buffer): Promise<HttpResult<undefined>>;
|
|
226
230
|
receivedHttpResponse(requestId: number, status: number, body: Buffer): void;
|
|
227
231
|
httpRequestFailed(requestId: number, debugInfo: string | undefined): void;
|
|
228
|
-
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;
|
|
232
|
+
getGroupCall(groupId: Buffer, sfuUrl: string, endorsementPublicKey: Buffer, 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;
|
|
230
234
|
peekGroupCall(sfuUrl: string, membershipProof: Buffer, groupMembers: Array<GroupMemberInfo>): Promise<PeekInfo>;
|
|
231
|
-
peekCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey): Promise<HttpResult<PeekInfo>>;
|
|
235
|
+
peekCallLinkCall(sfuUrl: string, authCredentialPresentation: Buffer, rootKey: CallLinkRootKey, epoch: CallLinkEpoch | undefined): Promise<HttpResult<PeekInfo>>;
|
|
232
236
|
requestMembershipProof(clientId: GroupCallClientId): void;
|
|
233
237
|
requestGroupMembers(clientId: GroupCallClientId): void;
|
|
234
238
|
handleConnectionStateChanged(clientId: GroupCallClientId, connectionState: ConnectionState): void;
|
|
@@ -670,8 +674,8 @@ export interface CallManager {
|
|
|
670
674
|
receivedCallMessage(remoteUserId: Buffer, remoteDeviceId: DeviceId, localDeviceId: DeviceId, data: Buffer, messageAgeSec: number): void;
|
|
671
675
|
receivedHttpResponse(requestId: number, status: number, body: Buffer): void;
|
|
672
676
|
httpRequestFailed(requestId: number, debugInfo: string | undefined): void;
|
|
673
|
-
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;
|
|
677
|
+
createGroupCallClient(groupId: Buffer, sfuUrl: string, endorsementPublicKey: Buffer, 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;
|
|
675
679
|
deleteGroupCallClient(clientId: GroupCallClientId): void;
|
|
676
680
|
connect(clientId: GroupCallClientId): void;
|
|
677
681
|
join(clientId: GroupCallClientId): void;
|
|
@@ -697,12 +701,12 @@ export interface CallManager {
|
|
|
697
701
|
setMembershipProof(clientId: GroupCallClientId, proof: Buffer): void;
|
|
698
702
|
receiveGroupCallVideoFrame(clientId: GroupCallClientId, remoteDemuxId: number, buffer: Buffer, maxWidth: number, maxHeight: number): [number, number] | undefined;
|
|
699
703
|
setRtcStatsInterval(clientId: GroupCallClientId, intervalMillis: number): void;
|
|
700
|
-
readCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer): void;
|
|
704
|
+
readCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined): void;
|
|
701
705
|
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;
|
|
706
|
+
updateCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer, newName: string | undefined, newRestrictions: number | undefined, newRevoked: boolean | undefined): void;
|
|
707
|
+
deleteCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined, adminPasskey: Buffer): void;
|
|
704
708
|
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;
|
|
709
|
+
peekCallLinkCall(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, epoch: number | undefined): void;
|
|
706
710
|
getAudioInputs(): Array<AudioDevice>;
|
|
707
711
|
setAudioInput(index: number): void;
|
|
708
712
|
getAudioOutputs(): Array<AudioDevice>;
|
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,
|
|
@@ -211,7 +210,11 @@ function rawCallLinkStateToCallLinkState(raw) {
|
|
|
211
210
|
restrictions = CallLinks_1.CallLinkRestrictions.Unknown;
|
|
212
211
|
break;
|
|
213
212
|
}
|
|
214
|
-
|
|
213
|
+
let epoch;
|
|
214
|
+
if (raw.epoch) {
|
|
215
|
+
epoch = new CallLinks_1.CallLinkEpoch(raw.epoch);
|
|
216
|
+
}
|
|
217
|
+
return new CallLinks_1.CallLinkState(raw.name, restrictions, raw.revoked, raw.expiration, epoch);
|
|
215
218
|
}
|
|
216
219
|
else {
|
|
217
220
|
return undefined;
|
|
@@ -570,15 +573,16 @@ class RingRTCType {
|
|
|
570
573
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
571
574
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
572
575
|
* @param linkRootKey - the root key for the call link
|
|
576
|
+
* @param epoch - the optional call link epoch
|
|
573
577
|
*
|
|
574
578
|
* Expected failure codes include:
|
|
575
579
|
* - 404: the room does not exist (or expired so long ago that it has been removed from the server)
|
|
576
580
|
*/
|
|
577
|
-
readCallLink(sfuUrl, authCredentialPresentation, linkRootKey) {
|
|
581
|
+
readCallLink(sfuUrl, authCredentialPresentation, linkRootKey, epoch) {
|
|
578
582
|
const [requestId, promise] = this._callLinkRequests.add();
|
|
579
583
|
// Response comes back via handleCallLinkResponse
|
|
580
584
|
sillyDeadlockProtection(() => {
|
|
581
|
-
this.callManager.readCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes);
|
|
585
|
+
this.callManager.readCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber());
|
|
582
586
|
});
|
|
583
587
|
return promise;
|
|
584
588
|
}
|
|
@@ -638,14 +642,15 @@ class RingRTCType {
|
|
|
638
642
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
639
643
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
640
644
|
* @param linkRootKey - the root key for the call link
|
|
645
|
+
* @param epoch - the optional call link epoch
|
|
641
646
|
* @param adminPasskey - the passkey specified when the link was created
|
|
642
647
|
* @param newName - the new name to use
|
|
643
648
|
*/
|
|
644
|
-
updateCallLinkName(sfuUrl, authCredentialPresentation, linkRootKey, adminPasskey, newName) {
|
|
649
|
+
updateCallLinkName(sfuUrl, authCredentialPresentation, linkRootKey, epoch, adminPasskey, newName) {
|
|
645
650
|
const [requestId, promise] = this._callLinkRequests.add();
|
|
646
651
|
// Response comes back via handleCallLinkResponse
|
|
647
652
|
sillyDeadlockProtection(() => {
|
|
648
|
-
this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, adminPasskey, newName, undefined, undefined);
|
|
653
|
+
this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber(), adminPasskey, newName, undefined, undefined);
|
|
649
654
|
});
|
|
650
655
|
return promise;
|
|
651
656
|
}
|
|
@@ -662,14 +667,15 @@ class RingRTCType {
|
|
|
662
667
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
663
668
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
664
669
|
* @param linkRootKey - the root key for the call link
|
|
670
|
+
* @param epoch - the optional call link epoch
|
|
665
671
|
* @param adminPasskey - the passkey specified when the link was created
|
|
666
672
|
* @param restrictions - the new restrictions to use
|
|
667
673
|
*/
|
|
668
|
-
updateCallLinkRestrictions(sfuUrl, authCredentialPresentation, linkRootKey, adminPasskey, restrictions) {
|
|
674
|
+
updateCallLinkRestrictions(sfuUrl, authCredentialPresentation, linkRootKey, epoch, adminPasskey, restrictions) {
|
|
669
675
|
const [requestId, promise] = this._callLinkRequests.add();
|
|
670
676
|
// Response comes back via handleCallLinkResponse
|
|
671
677
|
sillyDeadlockProtection(() => {
|
|
672
|
-
this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, adminPasskey, undefined, restrictions, undefined);
|
|
678
|
+
this.callManager.updateCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber(), adminPasskey, undefined, restrictions, undefined);
|
|
673
679
|
});
|
|
674
680
|
return promise;
|
|
675
681
|
}
|
|
@@ -685,13 +691,14 @@ class RingRTCType {
|
|
|
685
691
|
* @param sfuUrl - the URL to use when accessing the SFU
|
|
686
692
|
* @param authCredentialPresentation - a serialized CallLinkAuthCredentialPresentation
|
|
687
693
|
* @param linkRootKey - the root key for the call link
|
|
694
|
+
* @param epoch - the optional call link epoch
|
|
688
695
|
* @param adminPasskey - the passkey specified when the link was created
|
|
689
696
|
*/
|
|
690
|
-
deleteCallLink(sfuUrl, authCredentialPresentation, linkRootKey, adminPasskey) {
|
|
697
|
+
deleteCallLink(sfuUrl, authCredentialPresentation, linkRootKey, epoch, adminPasskey) {
|
|
691
698
|
const [requestId, promise] = this._emptyRequests.add();
|
|
692
699
|
// Response comes back via handleCallLinkResponse
|
|
693
700
|
sillyDeadlockProtection(() => {
|
|
694
|
-
this.callManager.deleteCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, adminPasskey);
|
|
701
|
+
this.callManager.deleteCallLink(requestId, sfuUrl, authCredentialPresentation, linkRootKey.bytes, epoch?.asNumber(), adminPasskey);
|
|
695
702
|
});
|
|
696
703
|
return promise;
|
|
697
704
|
}
|
|
@@ -720,8 +727,8 @@ class RingRTCType {
|
|
|
720
727
|
}
|
|
721
728
|
// Group Calls
|
|
722
729
|
// Called by UX
|
|
723
|
-
getGroupCall(groupId, sfuUrl, hkdfExtraInfo, audioLevelsIntervalMillis, observer) {
|
|
724
|
-
const clientId = this.callManager.createGroupCallClient(groupId, sfuUrl, hkdfExtraInfo, audioLevelsIntervalMillis || 0);
|
|
730
|
+
getGroupCall(groupId, sfuUrl, endorsementPublicKey, hkdfExtraInfo, audioLevelsIntervalMillis, observer) {
|
|
731
|
+
const clientId = this.callManager.createGroupCallClient(groupId, sfuUrl, endorsementPublicKey, hkdfExtraInfo, audioLevelsIntervalMillis || 0);
|
|
725
732
|
if (clientId === INVALID_CLIENT_ID) {
|
|
726
733
|
// Return undefined since the group call client creation failed.
|
|
727
734
|
return undefined;
|
|
@@ -731,8 +738,8 @@ class RingRTCType {
|
|
|
731
738
|
return groupCall;
|
|
732
739
|
}
|
|
733
740
|
// 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);
|
|
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);
|
|
736
743
|
if (clientId === INVALID_CLIENT_ID) {
|
|
737
744
|
// Return undefined since the call link client creation failed.
|
|
738
745
|
return undefined;
|
|
@@ -765,11 +772,11 @@ class RingRTCType {
|
|
|
765
772
|
});
|
|
766
773
|
}
|
|
767
774
|
// Called by UX
|
|
768
|
-
peekCallLinkCall(sfuUrl, authCredentialPresentation, rootKey) {
|
|
775
|
+
peekCallLinkCall(sfuUrl, authCredentialPresentation, rootKey, epoch) {
|
|
769
776
|
const [requestId, promise] = this._peekRequests.add();
|
|
770
777
|
// Response comes back via handlePeekResponse
|
|
771
778
|
sillyDeadlockProtection(() => {
|
|
772
|
-
this.callManager.peekCallLinkCall(requestId, sfuUrl, authCredentialPresentation, rootKey.bytes);
|
|
779
|
+
this.callManager.peekCallLinkCall(requestId, sfuUrl, authCredentialPresentation, rootKey.bytes, epoch?.asNumber());
|
|
773
780
|
});
|
|
774
781
|
return promise;
|
|
775
782
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/ringrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.54.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": "
|
|
28
|
+
"prebuildChecksum": "8090e0bbf9eba62d6f9c54a23a3e1589f8c4c3c3bd0f0a99d91b3a66f5573722"
|
|
29
29
|
},
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "AGPL-3.0-only",
|