@signalapp/libsignal-client 0.51.0 → 0.52.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/Native.d.ts CHANGED
@@ -420,7 +420,7 @@ export function ServerCertificate_GetKeyId(obj: Wrapper<ServerCertificate>): num
420
420
  export function ServerCertificate_GetSerialized(obj: Wrapper<ServerCertificate>): Buffer;
421
421
  export function ServerCertificate_GetSignature(obj: Wrapper<ServerCertificate>): Buffer;
422
422
  export function ServerCertificate_New(keyId: number, serverKey: Wrapper<PublicKey>, trustRoot: Wrapper<PrivateKey>): ServerCertificate;
423
- export function ServerMessageAck_Send(asyncRuntime: Wrapper<TokioAsyncContext>, ack: Wrapper<ServerMessageAck>): Promise<void>;
423
+ export function ServerMessageAck_SendStatus(asyncRuntime: Wrapper<TokioAsyncContext>, ack: Wrapper<ServerMessageAck>, status: number): Promise<void>;
424
424
  export function ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic(serverPublicParams: Wrapper<ServerPublicParams>, randomness: Buffer, groupSecretParams: Serialized<GroupSecretParams>, authCredentialWithPniBytes: Buffer): Buffer;
425
425
  export function ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic(serverPublicParams: Wrapper<ServerPublicParams>, randomness: Buffer, groupSecretParams: Serialized<GroupSecretParams>, profileKeyCredential: Serialized<ExpiringProfileKeyCredential>): Buffer;
426
426
  export function ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic(serverPublicParams: Wrapper<ServerPublicParams>, randomness: Buffer, userId: Buffer, profileKey: Serialized<ProfileKey>): Serialized<ProfileKeyCredentialRequestContext>;
@@ -522,6 +522,7 @@ export function TESTING_PanicOnReturnIo(asyncRuntime: Wrapper<NonSuspendingBackg
522
522
  export function TESTING_PanicOnReturnSync(_needsCleanup: null): null;
523
523
  export function TESTING_ProcessBytestringArray(input: Buffer[]): Buffer[];
524
524
  export function TESTING_ReturnStringArray(): string[];
525
+ export function TESTING_ServerMessageAck_Create(): ServerMessageAck;
525
526
  export function TESTING_TestingHandleType_getValue(handle: Wrapper<TestingHandleType>): number;
526
527
  export function TokioAsyncContext_cancel(context: Wrapper<TokioAsyncContext>, rawCancellationId: bigint): void;
527
528
  export function TokioAsyncContext_new(): TokioAsyncContext;
@@ -2,7 +2,7 @@
2
2
 
3
3
  libsignal makes use of the following open source projects.
4
4
 
5
- ## partial-default 0.1.0, partial-default-derive 0.1.0
5
+ ## partial-default-derive 0.1.0, partial-default 0.1.0
6
6
 
7
7
  ```
8
8
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -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
- ## attest 0.1.0, device-transfer 0.1.0, libsignal-bridge 0.1.0, libsignal-bridge-macros 0.1.0, libsignal-core 0.1.0, libsignal-ffi 0.51.0, libsignal-jni 0.51.0, libsignal-message-backup 0.1.0, libsignal-message-backup-macros 0.1.0, libsignal-net 0.1.0, libsignal-node 0.51.0, libsignal-protocol 0.1.0, libsignal-svr3 0.1.0, poksho 0.7.0, signal-crypto 0.1.0, signal-media 0.1.0, signal-neon-futures 0.1.0, signal-neon-futures-tests 0.1.0, signal-pin 0.1.0, usernames 0.1.0, zkcredential 0.1.0, zkgroup 0.9.0
672
+ ## attest 0.1.0, libsignal-ffi 0.52.0, libsignal-jni 0.52.0, libsignal-node 0.52.0, signal-neon-futures 0.1.0, signal-neon-futures-tests 0.1.0, libsignal-bridge 0.1.0, libsignal-bridge-macros 0.1.0, libsignal-bridge-types 0.1.0, libsignal-core 0.1.0, signal-crypto 0.1.0, device-transfer 0.1.0, signal-media 0.1.0, libsignal-message-backup 0.1.0, libsignal-message-backup-macros 0.1.0, libsignal-net 0.1.0, signal-pin 0.1.0, poksho 0.7.0, libsignal-protocol 0.1.0, libsignal-svr3 0.1.0, usernames 0.1.0, zkcredential 0.1.0, zkgroup 0.9.0
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -1326,7 +1326,7 @@ You should also get your employer (if you work as a programmer) or school, if an
1326
1326
 
1327
1327
  ```
1328
1328
 
1329
- ## ciborium 0.2.2, ciborium-io 0.2.2, ciborium-ll 0.2.2
1329
+ ## ciborium-io 0.2.2, ciborium-ll 0.2.2, ciborium 0.2.2
1330
1330
 
1331
1331
  ```
1332
1332
  Apache License
@@ -1715,7 +1715,7 @@ END OF TERMS AND CONDITIONS
1715
1715
 
1716
1716
  ```
1717
1717
 
1718
- ## debugid 0.8.0, prost 0.12.6, prost-build 0.12.6, prost-derive 0.12.6, prost-types 0.12.6
1718
+ ## debugid 0.8.0, prost-build 0.12.6, prost-derive 0.12.6, prost-types 0.12.6, prost 0.12.6
1719
1719
 
1720
1720
  ```
1721
1721
  Apache License
@@ -2011,7 +2011,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2011
2011
 
2012
2012
  ```
2013
2013
 
2014
- ## curve25519-dalek 4.1.1
2014
+ ## curve25519-dalek 4.1.3
2015
2015
 
2016
2016
  ```
2017
2017
  Copyright (c) 2012 The Go Authors. All rights reserved.
@@ -2043,45 +2043,6 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2043
2043
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2044
2044
  ```
2045
2045
 
2046
- ## sha1_smol 1.0.0
2047
-
2048
- ```
2049
- Copyright (c) 2014 by Armin Ronacher.
2050
-
2051
- Copyright (c) 2013 Koka El Kiwi
2052
-
2053
- Some rights reserved.
2054
-
2055
- Redistribution and use in source and binary forms, with or without
2056
- modification, are permitted provided that the following conditions are
2057
- met:
2058
-
2059
- * Redistributions of source code must retain the above copyright
2060
- notice, this list of conditions and the following disclaimer.
2061
-
2062
- * Redistributions in binary form must reproduce the above
2063
- copyright notice, this list of conditions and the following
2064
- disclaimer in the documentation and/or other materials provided
2065
- with the distribution.
2066
-
2067
- * The names of the contributors may not be used to endorse or
2068
- promote products derived from this software without specific
2069
- prior written permission.
2070
-
2071
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2072
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2073
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2074
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2075
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2076
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2077
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2078
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2079
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2080
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2081
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2082
-
2083
- ```
2084
-
2085
2046
  ## subtle 2.5.0
2086
2047
 
2087
2048
  ```
@@ -2116,7 +2077,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2116
2077
 
2117
2078
  ```
2118
2079
 
2119
- ## curve25519-dalek 4.1.1
2080
+ ## curve25519-dalek 4.1.3
2120
2081
 
2121
2082
  ```
2122
2083
  Copyright (c) 2016-2021 isis agora lovecruft. All rights reserved.
@@ -2585,7 +2546,7 @@ DEALINGS IN THE SOFTWARE.
2585
2546
 
2586
2547
  ```
2587
2548
 
2588
- ## lazy_static 1.4.0, rayon 1.10.0, rayon-core 1.12.1
2549
+ ## lazy_static 1.4.0, rayon-core 1.12.1, rayon 1.10.0
2589
2550
 
2590
2551
  ```
2591
2552
  Copyright (c) 2010 The Rust Project Developers
@@ -2616,7 +2577,7 @@ DEALINGS IN THE SOFTWARE.
2616
2577
 
2617
2578
  ```
2618
2579
 
2619
- ## core-foundation 0.9.4, core-foundation-sys 0.8.6
2580
+ ## core-foundation-sys 0.8.6, core-foundation 0.9.4
2620
2581
 
2621
2582
  ```
2622
2583
  Copyright (c) 2012-2013 Mozilla Foundation
@@ -2854,6 +2815,37 @@ THE SOFTWARE.
2854
2815
 
2855
2816
  ```
2856
2817
 
2818
+ ## errno 0.3.9
2819
+
2820
+ ```
2821
+ Copyright (c) 2014 Chris Wong
2822
+
2823
+ Permission is hereby granted, free of charge, to any
2824
+ person obtaining a copy of this software and associated
2825
+ documentation files (the "Software"), to deal in the
2826
+ Software without restriction, including without
2827
+ limitation the rights to use, copy, modify, merge,
2828
+ publish, distribute, sublicense, and/or sell copies of
2829
+ the Software, and to permit persons to whom the Software
2830
+ is furnished to do so, subject to the following
2831
+ conditions:
2832
+
2833
+ The above copyright notice and this permission notice
2834
+ shall be included in all copies or substantial portions
2835
+ of the Software.
2836
+
2837
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
2838
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
2839
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
2840
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
2841
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
2842
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2843
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
2844
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2845
+ DEALINGS IN THE SOFTWARE.
2846
+
2847
+ ```
2848
+
2857
2849
  ## base64ct 1.6.0
2858
2850
 
2859
2851
  ```
@@ -2886,7 +2878,7 @@ DEALINGS IN THE SOFTWARE.
2886
2878
 
2887
2879
  ```
2888
2880
 
2889
- ## bitflags 2.5.0, glob 0.3.1, log 0.4.21, num-bigint 0.4.5, num-derive 0.4.2, num-integer 0.1.46, num-traits 0.2.19, range-map 0.2.0, regex 1.10.4, regex-automata 0.4.6, regex-syntax 0.8.3
2881
+ ## bitflags 2.5.0, glob 0.3.1, log 0.4.21, num-bigint 0.4.5, num-derive 0.4.2, num-integer 0.1.46, num-traits 0.2.19, range-map 0.2.0, regex-automata 0.4.6, regex-syntax 0.8.3, regex 1.10.4
2890
2882
 
2891
2883
  ```
2892
2884
  Copyright (c) 2014 The Rust Project Developers
@@ -3088,7 +3080,7 @@ THE SOFTWARE.
3088
3080
 
3089
3081
  ```
3090
3082
 
3091
- ## neon 1.0.0, neon-macros 1.0.0
3083
+ ## neon-macros 1.0.0, neon 1.0.0
3092
3084
 
3093
3085
  ```
3094
3086
  Copyright (c) 2015 David Herman
@@ -3200,7 +3192,7 @@ DEALINGS IN THE SOFTWARE.
3200
3192
 
3201
3193
  ```
3202
3194
 
3203
- ## gimli 0.28.1, heck 0.3.3, heck 0.4.1, peeking_take_while 0.1.2, unicode-bidi 0.3.15, unicode-normalization 0.1.23, unicode-segmentation 1.11.0
3195
+ ## gimli 0.28.1, heck 0.3.3, heck 0.4.1, heck 0.5.0, peeking_take_while 0.1.2, unicode-bidi 0.3.15, unicode-normalization 0.1.23, unicode-segmentation 1.11.0
3204
3196
 
3205
3197
  ```
3206
3198
  Copyright (c) 2015 The Rust Project Developers
@@ -3547,7 +3539,7 @@ THE SOFTWARE.
3547
3539
 
3548
3540
  ```
3549
3541
 
3550
- ## futures 0.3.30, futures-channel 0.3.30, futures-core 0.3.30, futures-executor 0.3.30, futures-io 0.3.30, futures-macro 0.3.30, futures-sink 0.3.30, futures-task 0.3.30, futures-util 0.3.30
3542
+ ## futures-channel 0.3.30, futures-core 0.3.30, futures-executor 0.3.30, futures-io 0.3.30, futures-macro 0.3.30, futures-sink 0.3.30, futures-task 0.3.30, futures-util 0.3.30, futures 0.3.30
3551
3543
 
3552
3544
  ```
3553
3545
  Copyright (c) 2016 Alex Crichton
@@ -3672,7 +3664,7 @@ DEALINGS IN THE SOFTWARE.
3672
3664
 
3673
3665
  ```
3674
3666
 
3675
- ## rustls 0.23.8, rustls-native-certs 0.7.0, rustls-pemfile 2.1.2
3667
+ ## rustls-native-certs 0.7.0, rustls-pemfile 2.1.2, rustls 0.23.8
3676
3668
 
3677
3669
  ```
3678
3670
  Copyright (c) 2016 Joseph Birr-Pixton <jpixton@gmail.com>
@@ -4211,7 +4203,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4211
4203
 
4212
4204
  ```
4213
4205
 
4214
- ## foreign-types 0.5.0, foreign-types-macros 0.2.3, foreign-types-shared 0.3.1
4206
+ ## foreign-types-macros 0.2.3, foreign-types-shared 0.3.1, foreign-types 0.5.0
4215
4207
 
4216
4208
  ```
4217
4209
  Copyright (c) 2017 The foreign-types Developers
@@ -4392,37 +4384,6 @@ DEALINGS IN THE SOFTWARE.
4392
4384
 
4393
4385
  ```
4394
4386
 
4395
- ## libm 0.2.8
4396
-
4397
- ```
4398
- Copyright (c) 2018 Jorge Aparicio
4399
-
4400
- Permission is hereby granted, free of charge, to any
4401
- person obtaining a copy of this software and associated
4402
- documentation files (the "Software"), to deal in the
4403
- Software without restriction, including without
4404
- limitation the rights to use, copy, modify, merge,
4405
- publish, distribute, sublicense, and/or sell copies of
4406
- the Software, and to permit persons to whom the Software
4407
- is furnished to do so, subject to the following
4408
- conditions:
4409
-
4410
- The above copyright notice and this permission notice
4411
- shall be included in all copies or substantial portions
4412
- of the Software.
4413
-
4414
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
4415
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
4416
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
4417
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
4418
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
4419
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
4420
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
4421
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4422
- DEALINGS IN THE SOFTWARE.
4423
-
4424
- ```
4425
-
4426
4387
  ## autocfg 1.3.0
4427
4388
 
4428
4389
  ```
@@ -4573,37 +4534,6 @@ DEALINGS IN THE SOFTWARE.
4573
4534
 
4574
4535
  ```
4575
4536
 
4576
- ## platforms 3.4.0
4577
-
4578
- ```
4579
- Copyright (c) 2018-2020 The Rust Secure Code Working Group
4580
-
4581
- Permission is hereby granted, free of charge, to any
4582
- person obtaining a copy of this software and associated
4583
- documentation files (the "Software"), to deal in the
4584
- Software without restriction, including without
4585
- limitation the rights to use, copy, modify, merge,
4586
- publish, distribute, sublicense, and/or sell copies of
4587
- the Software, and to permit persons to whom the Software
4588
- is furnished to do so, subject to the following
4589
- conditions:
4590
-
4591
- The above copyright notice and this permission notice
4592
- shall be included in all copies or substantial portions
4593
- of the Software.
4594
-
4595
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
4596
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
4597
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
4598
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
4599
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
4600
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
4601
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
4602
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4603
- DEALINGS IN THE SOFTWARE.
4604
-
4605
- ```
4606
-
4607
4537
  ## cbc 0.1.2, ctr 0.9.2
4608
4538
 
4609
4539
  ```
@@ -4757,7 +4687,7 @@ DEALINGS IN THE SOFTWARE.
4757
4687
 
4758
4688
  ```
4759
4689
 
4760
- ## http-body 1.0.0, http-body-util 0.1.1
4690
+ ## http-body-util 0.1.1, http-body 1.0.0
4761
4691
 
4762
4692
  ```
4763
4693
  Copyright (c) 2019 Hyper Contributors
@@ -4819,7 +4749,7 @@ DEALINGS IN THE SOFTWARE.
4819
4749
 
4820
4750
  ```
4821
4751
 
4822
- ## protobuf 3.4.0, protobuf-codegen 3.4.0, protobuf-json-mapping 3.4.0, protobuf-parse 3.4.0, protobuf-support 3.4.0
4752
+ ## protobuf-codegen 3.4.0, protobuf-json-mapping 3.4.0, protobuf-parse 3.4.0, protobuf-support 3.4.0, protobuf 3.4.0
4823
4753
 
4824
4754
  ```
4825
4755
  Copyright (c) 2019 Stepan Koltsov
@@ -4874,7 +4804,7 @@ DEALINGS IN THE SOFTWARE.
4874
4804
 
4875
4805
  ```
4876
4806
 
4877
- ## aes-gcm 0.10.3, aes-gcm-siv 0.11.1, chacha20poly1305 0.10.1
4807
+ ## aes-gcm-siv 0.11.1, chacha20poly1305 0.10.1
4878
4808
 
4879
4809
  ```
4880
4810
  Copyright (c) 2019 The RustCrypto Project Developers
@@ -4937,7 +4867,7 @@ DEALINGS IN THE SOFTWARE.
4937
4867
 
4938
4868
  ```
4939
4869
 
4940
- ## tracing 0.1.40, tracing-attributes 0.1.27, tracing-core 0.1.32
4870
+ ## tracing-attributes 0.1.27, tracing-core 0.1.32, tracing 0.1.40
4941
4871
 
4942
4872
  ```
4943
4873
  Copyright (c) 2019 Tokio Contributors
@@ -5361,7 +5291,7 @@ SOFTWARE.
5361
5291
 
5362
5292
  ```
5363
5293
 
5364
- ## mediasan-common 0.5.1, mp4san 0.5.1, mp4san-derive 0.5.1, webpsan 0.5.1
5294
+ ## mediasan-common 0.5.1, mp4san-derive 0.5.1, mp4san 0.5.1, webpsan 0.5.1
5365
5295
 
5366
5296
  ```
5367
5297
  Copyright (c) 2022 jessa0
@@ -5492,7 +5422,7 @@ THE SOFTWARE.
5492
5422
 
5493
5423
  ```
5494
5424
 
5495
- ## tokio 1.37.0, tokio-macros 2.2.0, tokio-stream 0.1.15, tokio-util 0.7.11
5425
+ ## tokio-macros 2.2.0, tokio-stream 0.1.15, tokio-util 0.7.11, tokio 1.37.0
5496
5426
 
5497
5427
  ```
5498
5428
  Copyright (c) 2023 Tokio Contributors
@@ -5679,7 +5609,7 @@ DEALINGS IN THE SOFTWARE.
5679
5609
 
5680
5610
  ```
5681
5611
 
5682
- ## breakpad-symbols 0.20.0, minidump 0.20.0, minidump-common 0.20.0, minidump-processor 0.20.0, minidump-unwind 0.20.0
5612
+ ## breakpad-symbols 0.20.0, minidump-common 0.20.0, minidump-processor 0.20.0, minidump-unwind 0.20.0, minidump 0.20.0
5683
5613
 
5684
5614
  ```
5685
5615
  MIT License
@@ -5922,7 +5852,7 @@ SOFTWARE.
5922
5852
 
5923
5853
  ```
5924
5854
 
5925
- ## macro_rules_attribute 0.2.0, macro_rules_attribute-proc_macro 0.2.0
5855
+ ## macro_rules_attribute-proc_macro 0.2.0, macro_rules_attribute 0.2.0
5926
5856
 
5927
5857
  ```
5928
5858
  MIT License
@@ -5949,7 +5879,7 @@ SOFTWARE.
5949
5879
 
5950
5880
  ```
5951
5881
 
5952
- ## strum 0.26.2, strum_macros 0.26.2
5882
+ ## strum 0.26.2, strum_macros 0.26.4
5953
5883
 
5954
5884
  ```
5955
5885
  MIT License
@@ -6191,7 +6121,7 @@ SOFTWARE.
6191
6121
 
6192
6122
  ```
6193
6123
 
6194
- ## cesu8 1.1.0, curve25519-dalek-derive 0.1.0, half 2.4.1, pqcrypto-internals 0.2.5, pqcrypto-kyber 0.7.9, pqcrypto-kyber 0.8.1, pqcrypto-traits 0.3.5, rustls-platform-verifier 0.3.1, rustls-platform-verifier-android 0.1.0
6124
+ ## cesu8 1.1.0, half 2.4.1, pqcrypto-internals 0.2.5, pqcrypto-kyber 0.7.9, pqcrypto-kyber 0.8.1, pqcrypto-traits 0.3.5, rustls-platform-verifier-android 0.1.0, rustls-platform-verifier 0.3.1
6195
6125
 
6196
6126
  ```
6197
6127
  MIT License
@@ -6305,7 +6235,7 @@ DEALINGS IN THE SOFTWARE.
6305
6235
 
6306
6236
  ```
6307
6237
 
6308
- ## adler 1.0.2, anyhow 1.0.86, async-trait 0.1.80, atomic-waker 1.1.2, dyn-clone 1.0.17, fastrand 2.1.0, home 0.5.9, is-terminal 0.4.12, itoa 1.0.11, linkme 0.3.26, linkme-impl 0.3.26, linux-raw-sys 0.4.14, minimal-lexical 0.2.1, num_enum 0.6.1, num_enum_derive 0.6.1, once_cell 1.19.0, paste 1.0.15, pin-project-lite 0.2.14, prettyplease 0.2.20, proc-macro-crate 1.3.1, proc-macro2 1.0.83, quote 1.0.36, rustc-hash 1.1.0, rustix 0.38.34, rustversion 1.0.17, semver 1.0.23, send_wrapper 0.6.0, serde 1.0.202, serde_derive 1.0.202, serde_json 1.0.117, syn 1.0.109, syn 2.0.66, syn-mid 0.6.0, thiserror 1.0.61, thiserror-impl 1.0.61, unicode-ident 1.0.12, utf-8 0.7.6
6238
+ ## curve25519-dalek-derive 0.1.1, adler 1.0.2, anyhow 1.0.86, async-trait 0.1.80, atomic-waker 1.1.2, displaydoc 0.2.5, dyn-clone 1.0.17, fastrand 2.1.0, home 0.5.9, is-terminal 0.4.12, itoa 1.0.11, linkme-impl 0.3.26, linkme 0.3.26, linux-raw-sys 0.4.14, minimal-lexical 0.2.1, num_enum 0.6.1, num_enum_derive 0.6.1, once_cell 1.19.0, paste 1.0.15, pin-project-lite 0.2.14, prettyplease 0.2.20, proc-macro-crate 1.3.1, proc-macro2 1.0.83, quote 1.0.36, rustc-hash 1.1.0, rustix 0.38.34, rustversion 1.0.17, semver 1.0.23, send_wrapper 0.6.0, serde 1.0.202, serde_derive 1.0.202, serde_json 1.0.117, syn-mid 0.6.0, syn 1.0.109, syn 2.0.66, thiserror-impl 1.0.61, thiserror 1.0.61, unicode-ident 1.0.12, utf-8 0.7.6
6309
6239
 
6310
6240
  ```
6311
6241
  Permission is hereby granted, free of charge, to any
@@ -6334,35 +6264,6 @@ DEALINGS IN THE SOFTWARE.
6334
6264
 
6335
6265
  ```
6336
6266
 
6337
- ## displaydoc 0.2.4
6338
-
6339
- ```
6340
- Permission is hereby granted, free of charge, to any
6341
- person obtaining a copy of this software and associated
6342
- documentation files (the "Software"), to deal in the
6343
- Software without restriction, including without
6344
- limitation the rights to use, copy, modify, merge,
6345
- publish, distribute, sublicense, and/or sell copies of
6346
- the Software, and to permit persons to whom the Software
6347
- is furnished to do so, subject to the following
6348
- conditions:
6349
-
6350
- The above copyright notice and this permission notice
6351
- shall be included in all copies or substantial portions
6352
- of the Software.
6353
-
6354
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
6355
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
6356
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
6357
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
6358
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
6359
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
6360
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
6361
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
6362
- DEALINGS IN THE SOFTWARE.
6363
-
6364
- ```
6365
-
6366
6267
  ## winnow 0.5.40
6367
6268
 
6368
6269
  ```
@@ -6641,7 +6542,7 @@ THE SOFTWARE.
6641
6542
 
6642
6543
  ```
6643
6544
 
6644
- ## security-framework 2.11.0, security-framework-sys 2.11.0
6545
+ ## security-framework-sys 2.11.0, security-framework 2.11.0
6645
6546
 
6646
6547
  ```
6647
6548
  The MIT License (MIT)
@@ -6923,7 +6824,7 @@ DEALINGS IN THE SOFTWARE.
6923
6824
 
6924
6825
  ```
6925
6826
 
6926
- ## dyn-clonable 0.9.0, dyn-clonable-impl 0.9.0
6827
+ ## dyn-clonable-impl 0.9.0, dyn-clonable 0.9.0
6927
6828
 
6928
6829
  ```
6929
6830
  The MIT License (MIT)
package/dist/net.d.ts CHANGED
@@ -37,6 +37,7 @@ export type ChatRequest = Readonly<{
37
37
  timeoutMillis?: number;
38
38
  }>;
39
39
  type ConnectionManager = Wrapper<Native.ConnectionManager>;
40
+ export declare function newNativeHandle<T>(handle: T): Wrapper<T>;
40
41
  /** Low-level async runtime control, mostly just exported for testing. */
41
42
  export declare class TokioAsyncContext {
42
43
  readonly _nativeHandle: Native.TokioAsyncContext;
@@ -48,7 +49,7 @@ export declare class ChatServerMessageAck {
48
49
  readonly _nativeHandle: Native.ServerMessageAck;
49
50
  private promise;
50
51
  constructor(asyncContext: TokioAsyncContext, _nativeHandle: Native.ServerMessageAck);
51
- send(): Promise<void>;
52
+ send(statusCode: number): Promise<void>;
52
53
  }
53
54
  export interface ChatServiceListener {
54
55
  /**
package/dist/net.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.RestoredSecret = exports.Net = exports.ChatService = exports.ChatServerMessageAck = exports.TokioAsyncContext = exports.Environment = void 0;
7
+ exports.RestoredSecret = exports.Net = exports.ChatService = exports.ChatServerMessageAck = exports.TokioAsyncContext = exports.newNativeHandle = exports.Environment = void 0;
8
8
  const Native = require("../Native");
9
9
  const Address_1 = require("./Address");
10
10
  const node_buffer_1 = require("node:buffer");
@@ -20,6 +20,7 @@ function newNativeHandle(handle) {
20
20
  _nativeHandle: handle,
21
21
  };
22
22
  }
23
+ exports.newNativeHandle = newNativeHandle;
23
24
  /** Low-level async runtime control, mostly just exported for testing. */
24
25
  class TokioAsyncContext {
25
26
  constructor(handle) {
@@ -50,9 +51,9 @@ class ChatServerMessageAck {
50
51
  this._nativeHandle = _nativeHandle;
51
52
  this.promise = null;
52
53
  }
53
- send() {
54
+ send(statusCode) {
54
55
  if (!this.promise) {
55
- this.promise = Native.ServerMessageAck_Send(this.asyncContext, this);
56
+ this.promise = Native.ServerMessageAck_SendStatus(this.asyncContext, this, statusCode);
56
57
  }
57
58
  return this.promise;
58
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/libsignal-client",
3
- "version": "0.51.0",
3
+ "version": "0.52.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@types/chai-as-promised": "^7.1.3",
40
40
  "@types/chance": "^1.1.3",
41
41
  "@types/mocha": "^5.2.7",
42
- "@types/node": "~18.15.0",
42
+ "@types/node": "~20.11.0",
43
43
  "@types/sinon": "^17.0.3",
44
44
  "@types/sinon-chai": "^3.2.12",
45
45
  "@types/uuid": "^8.3.0",
@@ -57,7 +57,7 @@
57
57
  "eslint-plugin-more": "^1.0.0",
58
58
  "mocha": "^9",
59
59
  "node-gyp": "^10.0.0",
60
- "prebuildify": "^5.0.1",
60
+ "prebuildify": "^6.0.0",
61
61
  "prettier": "^2.7.1",
62
62
  "rimraf": "^3.0.1",
63
63
  "sinon": "^18.0.0",
index 8780656..bb42549 100644
Binary file
index 04fb92a..3abbde4 100644
Binary file
index ee7bb7e..09a4f67 100644
Binary file
index 4665e58..7bd08eb 100644
Binary file
index e396c8d..77bf161 100644
Binary file
index 8c86710..eabe5aa 100644
Binary file