@signalapp/libsignal-client 0.58.0 → 0.58.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 +17 -14
- package/dist/acknowledgments.md +289 -12
- package/dist/net.d.ts +2 -2
- package/dist/net.js +4 -4
- package/package.json +2 -1
- package/prebuilds/darwin-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/darwin-x64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/linux-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/linux-x64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/win32-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/win32-x64/@signalapp+libsignal-client.node +0 -0
package/Native.d.ts
CHANGED
|
@@ -182,16 +182,18 @@ export function Cds2ClientState_New(mrenclave: Buffer, attestationMsg: Buffer, c
|
|
|
182
182
|
export function CdsiLookup_complete(asyncRuntime: Wrapper<TokioAsyncContext>, lookup: Wrapper<CdsiLookup>): Promise<LookupResponse>;
|
|
183
183
|
export function CdsiLookup_new(asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, request: Wrapper<LookupRequest>): Promise<CdsiLookup>;
|
|
184
184
|
export function CdsiLookup_token(lookup: Wrapper<CdsiLookup>): Buffer;
|
|
185
|
-
export function ChatService_SetListenerAuth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<
|
|
186
|
-
export function ChatService_SetListenerUnauth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<
|
|
187
|
-
export function ChatService_auth_send(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<
|
|
188
|
-
export function ChatService_auth_send_and_debug(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<
|
|
189
|
-
export function ChatService_connect_auth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<
|
|
190
|
-
export function ChatService_connect_unauth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<
|
|
191
|
-
export function
|
|
192
|
-
export function
|
|
193
|
-
export function
|
|
194
|
-
export function
|
|
185
|
+
export function ChatService_SetListenerAuth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>, makeListener: MakeChatListener | null): void;
|
|
186
|
+
export function ChatService_SetListenerUnauth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>, makeListener: MakeChatListener | null): void;
|
|
187
|
+
export function ChatService_auth_send(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): Promise<ChatResponse>;
|
|
188
|
+
export function ChatService_auth_send_and_debug(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): Promise<ResponseAndDebugInfo>;
|
|
189
|
+
export function ChatService_connect_auth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>): Promise<ChatServiceDebugInfo>;
|
|
190
|
+
export function ChatService_connect_unauth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>): Promise<ChatServiceDebugInfo>;
|
|
191
|
+
export function ChatService_disconnect_auth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>): Promise<void>;
|
|
192
|
+
export function ChatService_disconnect_unauth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>): Promise<void>;
|
|
193
|
+
export function ChatService_new_auth(connectionManager: Wrapper<ConnectionManager>, username: string, password: string, receiveStories: boolean): AuthChat;
|
|
194
|
+
export function ChatService_new_unauth(connectionManager: Wrapper<ConnectionManager>): UnauthChat;
|
|
195
|
+
export function ChatService_unauth_send(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): Promise<ChatResponse>;
|
|
196
|
+
export function ChatService_unauth_send_and_debug(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): Promise<ResponseAndDebugInfo>;
|
|
195
197
|
export function CiphertextMessage_FromPlaintextContent(m: Wrapper<PlaintextContent>): CiphertextMessage;
|
|
196
198
|
export function CiphertextMessage_Serialize(obj: Wrapper<CiphertextMessage>): Buffer;
|
|
197
199
|
export function CiphertextMessage_Type(msg: Wrapper<CiphertextMessage>): number;
|
|
@@ -500,9 +502,9 @@ export function TESTING_ChatServiceDebugInfoConvert(): ChatServiceDebugInfo;
|
|
|
500
502
|
export function TESTING_ChatServiceErrorConvert(errorDescription: string): void;
|
|
501
503
|
export function TESTING_ChatServiceResponseAndDebugInfoConvert(): ResponseAndDebugInfo;
|
|
502
504
|
export function TESTING_ChatServiceResponseConvert(bodyPresent: boolean): ChatResponse;
|
|
503
|
-
export function TESTING_ChatService_InjectConnectionInterrupted(chat: Wrapper<
|
|
504
|
-
export function TESTING_ChatService_InjectIntentionalDisconnect(chat: Wrapper<
|
|
505
|
-
export function TESTING_ChatService_InjectRawServerRequest(chat: Wrapper<
|
|
505
|
+
export function TESTING_ChatService_InjectConnectionInterrupted(chat: Wrapper<AuthChat>): void;
|
|
506
|
+
export function TESTING_ChatService_InjectIntentionalDisconnect(chat: Wrapper<AuthChat>): void;
|
|
507
|
+
export function TESTING_ChatService_InjectRawServerRequest(chat: Wrapper<AuthChat>, bytes: Buffer): void;
|
|
506
508
|
export function TESTING_ErrorOnBorrowAsync(_input: null): Promise<void>;
|
|
507
509
|
export function TESTING_ErrorOnBorrowIo(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null): Promise<void>;
|
|
508
510
|
export function TESTING_ErrorOnBorrowSync(_input: null): void;
|
|
@@ -558,8 +560,8 @@ export function WebpSanitizer_Sanitize(input: SyncInputStream): void;
|
|
|
558
560
|
export function initLogger(maxLevel: LogLevel, callback: (level: LogLevel, target: string, file: string | null, line: number | null, message: string) => void): void
|
|
559
561
|
export function test_only_fn_returns_123(): number;
|
|
560
562
|
interface Aes256GcmSiv { readonly __type: unique symbol; }
|
|
563
|
+
interface AuthChat { readonly __type: unique symbol; }
|
|
561
564
|
interface CdsiLookup { readonly __type: unique symbol; }
|
|
562
|
-
interface Chat { readonly __type: unique symbol; }
|
|
563
565
|
interface CiphertextMessage { readonly __type: unique symbol; }
|
|
564
566
|
interface ComparableBackup { readonly __type: unique symbol; }
|
|
565
567
|
interface ComparableBackup { readonly __type: unique symbol; }
|
|
@@ -615,6 +617,7 @@ interface SignalMessage { readonly __type: unique symbol; }
|
|
|
615
617
|
interface SignedPreKeyRecord { readonly __type: unique symbol; }
|
|
616
618
|
interface TestingHandleType { readonly __type: unique symbol; }
|
|
617
619
|
interface TokioAsyncContext { readonly __type: unique symbol; }
|
|
620
|
+
interface UnauthChat { readonly __type: unique symbol; }
|
|
618
621
|
interface UnidentifiedSenderMessageContent { readonly __type: unique symbol; }
|
|
619
622
|
interface UuidCiphertext { readonly __type: unique symbol; }
|
|
620
623
|
interface ValidatingMac { readonly __type: unique symbol; }
|
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
|
-
## attest 0.1.0, libsignal-ffi 0.58.
|
|
672
|
+
## attest 0.1.0, libsignal-ffi 0.58.1, libsignal-jni 0.58.1, libsignal-jni-testing 0.58.1, libsignal-node 0.58.1, 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-testing 0.1.0, libsignal-bridge-types 0.1.0, libsignal-core 0.1.0, signal-crypto 0.1.0, device-transfer 0.1.0, libsignal-keytrans 0.0.1, signal-media 0.1.0, libsignal-message-backup 0.1.0, libsignal-message-backup-macros 0.1.0, libsignal-net 0.1.0, libsignal-net-infra 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
|
|
@@ -2926,7 +2926,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2926
2926
|
|
|
2927
2927
|
```
|
|
2928
2928
|
|
|
2929
|
-
## backtrace 0.3.74, cc 1.1.18, cfg-if 1.0.0, cmake 0.1.48, flate2 1.0.33, jobserver 0.1.32, openssl-probe 0.1.5, rustc-demangle 0.1.24, socket2 0.5.7
|
|
2929
|
+
## backtrace 0.3.74, cc 1.1.18, cfg-if 1.0.0, cmake 0.1.48, flate2 1.0.33, jobserver 0.1.32, openssl-probe 0.1.5, rustc-demangle 0.1.24, scoped-tls 1.0.1, socket2 0.5.7
|
|
2930
2930
|
|
|
2931
2931
|
```
|
|
2932
2932
|
Copyright (c) 2014 Alex Crichton
|
|
@@ -3043,6 +3043,32 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
3043
3043
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
3044
3044
|
DEALINGS IN THE SOFTWARE.
|
|
3045
3045
|
|
|
3046
|
+
```
|
|
3047
|
+
|
|
3048
|
+
## mime 0.3.17
|
|
3049
|
+
|
|
3050
|
+
```
|
|
3051
|
+
Copyright (c) 2014 Sean McArthur
|
|
3052
|
+
|
|
3053
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3054
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3055
|
+
in the Software without restriction, including without limitation the rights
|
|
3056
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3057
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3058
|
+
furnished to do so, subject to the following conditions:
|
|
3059
|
+
|
|
3060
|
+
The above copyright notice and this permission notice shall be included in
|
|
3061
|
+
all copies or substantial portions of the Software.
|
|
3062
|
+
|
|
3063
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3064
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3065
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3066
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3067
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3068
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
3069
|
+
THE SOFTWARE.
|
|
3070
|
+
|
|
3071
|
+
|
|
3046
3072
|
```
|
|
3047
3073
|
|
|
3048
3074
|
## base64ct 1.6.0
|
|
@@ -3138,6 +3164,32 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
3138
3164
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
3139
3165
|
DEALINGS IN THE SOFTWARE.
|
|
3140
3166
|
|
|
3167
|
+
```
|
|
3168
|
+
|
|
3169
|
+
## unicase 2.7.0
|
|
3170
|
+
|
|
3171
|
+
```
|
|
3172
|
+
Copyright (c) 2014-2017 Sean McArthur
|
|
3173
|
+
|
|
3174
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3175
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3176
|
+
in the Software without restriction, including without limitation the rights
|
|
3177
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3178
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3179
|
+
furnished to do so, subject to the following conditions:
|
|
3180
|
+
|
|
3181
|
+
The above copyright notice and this permission notice shall be included in
|
|
3182
|
+
all copies or substantial portions of the Software.
|
|
3183
|
+
|
|
3184
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3185
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3186
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3187
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3188
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3189
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
3190
|
+
THE SOFTWARE.
|
|
3191
|
+
|
|
3192
|
+
|
|
3141
3193
|
```
|
|
3142
3194
|
|
|
3143
3195
|
## nom 7.1.3
|
|
@@ -3164,6 +3216,32 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
3164
3216
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
3165
3217
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3166
3218
|
|
|
3219
|
+
```
|
|
3220
|
+
|
|
3221
|
+
## headers-core 0.2.0, headers 0.3.9
|
|
3222
|
+
|
|
3223
|
+
```
|
|
3224
|
+
Copyright (c) 2014-2019 Sean McArthur
|
|
3225
|
+
|
|
3226
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3227
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3228
|
+
in the Software without restriction, including without limitation the rights
|
|
3229
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3230
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3231
|
+
furnished to do so, subject to the following conditions:
|
|
3232
|
+
|
|
3233
|
+
The above copyright notice and this permission notice shall be included in
|
|
3234
|
+
all copies or substantial portions of the Software.
|
|
3235
|
+
|
|
3236
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3237
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3238
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3239
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3240
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3241
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
3242
|
+
THE SOFTWARE.
|
|
3243
|
+
|
|
3244
|
+
|
|
3167
3245
|
```
|
|
3168
3246
|
|
|
3169
3247
|
## libc 0.2.158
|
|
@@ -3197,7 +3275,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3197
3275
|
|
|
3198
3276
|
```
|
|
3199
3277
|
|
|
3200
|
-
## hyper 1.4.1
|
|
3278
|
+
## hyper 0.14.30, hyper 1.4.1
|
|
3201
3279
|
|
|
3202
3280
|
```
|
|
3203
3281
|
Copyright (c) 2014-2021 Sean McArthur
|
|
@@ -3775,6 +3853,37 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3775
3853
|
|
|
3776
3854
|
```
|
|
3777
3855
|
|
|
3856
|
+
## serde_urlencoded 0.7.1
|
|
3857
|
+
|
|
3858
|
+
```
|
|
3859
|
+
Copyright (c) 2016 Anthony Ramine
|
|
3860
|
+
|
|
3861
|
+
Permission is hereby granted, free of charge, to any
|
|
3862
|
+
person obtaining a copy of this software and associated
|
|
3863
|
+
documentation files (the "Software"), to deal in the
|
|
3864
|
+
Software without restriction, including without
|
|
3865
|
+
limitation the rights to use, copy, modify, merge,
|
|
3866
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
3867
|
+
the Software, and to permit persons to whom the Software
|
|
3868
|
+
is furnished to do so, subject to the following
|
|
3869
|
+
conditions:
|
|
3870
|
+
|
|
3871
|
+
The above copyright notice and this permission notice
|
|
3872
|
+
shall be included in all copies or substantial portions
|
|
3873
|
+
of the Software.
|
|
3874
|
+
|
|
3875
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
3876
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
3877
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
3878
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
3879
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
3880
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
3881
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
3882
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
3883
|
+
DEALINGS IN THE SOFTWARE.
|
|
3884
|
+
|
|
3885
|
+
```
|
|
3886
|
+
|
|
3778
3887
|
## utf8parse 0.2.2
|
|
3779
3888
|
|
|
3780
3889
|
```
|
|
@@ -3837,7 +3946,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3837
3946
|
|
|
3838
3947
|
```
|
|
3839
3948
|
|
|
3840
|
-
## rustls-native-certs 0.7.3, rustls-pemfile 2.1.3, rustls 0.23.13
|
|
3949
|
+
## rustls-native-certs 0.7.3, rustls-pemfile 2.1.3, rustls 0.22.4, rustls 0.23.13
|
|
3841
3950
|
|
|
3842
3951
|
```
|
|
3843
3952
|
Copyright (c) 2016 Joseph Birr-Pixton <jpixton@gmail.com>
|
|
@@ -3899,6 +4008,31 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3899
4008
|
|
|
3900
4009
|
```
|
|
3901
4010
|
|
|
4011
|
+
## httpdate 1.0.3
|
|
4012
|
+
|
|
4013
|
+
```
|
|
4014
|
+
Copyright (c) 2016 Pyfisch
|
|
4015
|
+
|
|
4016
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4017
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
4018
|
+
in the Software without restriction, including without limitation the rights
|
|
4019
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4020
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
4021
|
+
furnished to do so, subject to the following conditions:
|
|
4022
|
+
|
|
4023
|
+
The above copyright notice and this permission notice shall be included in
|
|
4024
|
+
all copies or substantial portions of the Software.
|
|
4025
|
+
|
|
4026
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4027
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4028
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4029
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4030
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4031
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4032
|
+
THE SOFTWARE.
|
|
4033
|
+
|
|
4034
|
+
```
|
|
4035
|
+
|
|
3902
4036
|
## rustc_version 0.4.1
|
|
3903
4037
|
|
|
3904
4038
|
```
|
|
@@ -4205,7 +4339,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
4205
4339
|
|
|
4206
4340
|
```
|
|
4207
4341
|
|
|
4208
|
-
## tungstenite 0.23.0
|
|
4342
|
+
## tungstenite 0.21.0, tungstenite 0.23.0
|
|
4209
4343
|
|
|
4210
4344
|
```
|
|
4211
4345
|
Copyright (c) 2017 Alexey Galakhov
|
|
@@ -4324,7 +4458,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
4324
4458
|
|
|
4325
4459
|
```
|
|
4326
4460
|
|
|
4327
|
-
## tokio-tungstenite 0.23.1
|
|
4461
|
+
## tokio-tungstenite 0.21.0, tokio-tungstenite 0.23.1
|
|
4328
4462
|
|
|
4329
4463
|
```
|
|
4330
4464
|
Copyright (c) 2017 Daniel Abramov
|
|
@@ -4401,7 +4535,7 @@ SOFTWARE.
|
|
|
4401
4535
|
|
|
4402
4536
|
```
|
|
4403
4537
|
|
|
4404
|
-
## h2 0.4.6
|
|
4538
|
+
## h2 0.3.26, h2 0.4.6
|
|
4405
4539
|
|
|
4406
4540
|
```
|
|
4407
4541
|
Copyright (c) 2017 h2 authors
|
|
@@ -4432,7 +4566,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
4432
4566
|
|
|
4433
4567
|
```
|
|
4434
4568
|
|
|
4435
|
-
## http 1.1.0
|
|
4569
|
+
## http 0.2.12, http 1.1.0
|
|
4436
4570
|
|
|
4437
4571
|
```
|
|
4438
4572
|
Copyright (c) 2017 http-rs authors
|
|
@@ -4463,6 +4597,37 @@ DEALINGS IN THE SOFTWARE.
|
|
|
4463
4597
|
|
|
4464
4598
|
```
|
|
4465
4599
|
|
|
4600
|
+
## tokio-rustls 0.25.0
|
|
4601
|
+
|
|
4602
|
+
```
|
|
4603
|
+
Copyright (c) 2017 quininer kel
|
|
4604
|
+
|
|
4605
|
+
Permission is hereby granted, free of charge, to any
|
|
4606
|
+
person obtaining a copy of this software and associated
|
|
4607
|
+
documentation files (the "Software"), to deal in the
|
|
4608
|
+
Software without restriction, including without
|
|
4609
|
+
limitation the rights to use, copy, modify, merge,
|
|
4610
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
4611
|
+
the Software, and to permit persons to whom the Software
|
|
4612
|
+
is furnished to do so, subject to the following
|
|
4613
|
+
conditions:
|
|
4614
|
+
|
|
4615
|
+
The above copyright notice and this permission notice
|
|
4616
|
+
shall be included in all copies or substantial portions
|
|
4617
|
+
of the Software.
|
|
4618
|
+
|
|
4619
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
4620
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
4621
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
4622
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
4623
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
4624
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
4625
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
4626
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
4627
|
+
DEALINGS IN THE SOFTWARE.
|
|
4628
|
+
|
|
4629
|
+
```
|
|
4630
|
+
|
|
4466
4631
|
## aes 0.8.4
|
|
4467
4632
|
|
|
4468
4633
|
```
|
|
@@ -4705,6 +4870,32 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
4705
4870
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
4706
4871
|
DEALINGS IN THE SOFTWARE.
|
|
4707
4872
|
|
|
4873
|
+
```
|
|
4874
|
+
|
|
4875
|
+
## warp 0.3.7
|
|
4876
|
+
|
|
4877
|
+
```
|
|
4878
|
+
Copyright (c) 2018-2020 Sean McArthur
|
|
4879
|
+
|
|
4880
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4881
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
4882
|
+
in the Software without restriction, including without limitation the rights
|
|
4883
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4884
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
4885
|
+
furnished to do so, subject to the following conditions:
|
|
4886
|
+
|
|
4887
|
+
The above copyright notice and this permission notice shall be included in
|
|
4888
|
+
all copies or substantial portions of the Software.
|
|
4889
|
+
|
|
4890
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4891
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4892
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4893
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4894
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4895
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4896
|
+
THE SOFTWARE.
|
|
4897
|
+
|
|
4898
|
+
|
|
4708
4899
|
```
|
|
4709
4900
|
|
|
4710
4901
|
## cbc 0.1.2, ctr 0.9.2
|
|
@@ -4891,7 +5082,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
4891
5082
|
|
|
4892
5083
|
```
|
|
4893
5084
|
|
|
4894
|
-
## http-body-util 0.1.2
|
|
5085
|
+
## http-body-util 0.1.2, http-body 0.4.6
|
|
4895
5086
|
|
|
4896
5087
|
```
|
|
4897
5088
|
Copyright (c) 2019 Hyper Contributors
|
|
@@ -5071,7 +5262,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
5071
5262
|
|
|
5072
5263
|
```
|
|
5073
5264
|
|
|
5074
|
-
## aes-gcm-siv 0.11.1, chacha20poly1305 0.10.1
|
|
5265
|
+
## aes-gcm-siv 0.11.1, aes-gcm 0.10.3, chacha20poly1305 0.10.1
|
|
5075
5266
|
|
|
5076
5267
|
```
|
|
5077
5268
|
Copyright (c) 2019 The RustCrypto Project Developers
|
|
@@ -5165,6 +5356,37 @@ DEALINGS IN THE SOFTWARE.
|
|
|
5165
5356
|
|
|
5166
5357
|
```
|
|
5167
5358
|
|
|
5359
|
+
## tower-service 0.3.3
|
|
5360
|
+
|
|
5361
|
+
```
|
|
5362
|
+
Copyright (c) 2019 Tower Contributors
|
|
5363
|
+
|
|
5364
|
+
Permission is hereby granted, free of charge, to any
|
|
5365
|
+
person obtaining a copy of this software and associated
|
|
5366
|
+
documentation files (the "Software"), to deal in the
|
|
5367
|
+
Software without restriction, including without
|
|
5368
|
+
limitation the rights to use, copy, modify, merge,
|
|
5369
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
5370
|
+
the Software, and to permit persons to whom the Software
|
|
5371
|
+
is furnished to do so, subject to the following
|
|
5372
|
+
conditions:
|
|
5373
|
+
|
|
5374
|
+
The above copyright notice and this permission notice
|
|
5375
|
+
shall be included in all copies or substantial portions
|
|
5376
|
+
of the Software.
|
|
5377
|
+
|
|
5378
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
5379
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
5380
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
5381
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
5382
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
5383
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
5384
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
5385
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
5386
|
+
DEALINGS IN THE SOFTWARE.
|
|
5387
|
+
|
|
5388
|
+
```
|
|
5389
|
+
|
|
5168
5390
|
## universal-hash 0.5.1
|
|
5169
5391
|
|
|
5170
5392
|
```
|
|
@@ -6367,6 +6589,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
6367
6589
|
SOFTWARE.
|
|
6368
6590
|
```
|
|
6369
6591
|
|
|
6592
|
+
## multer 2.1.0
|
|
6593
|
+
|
|
6594
|
+
```
|
|
6595
|
+
MIT License
|
|
6596
|
+
|
|
6597
|
+
Copyright (c) 2020 Rousan Ali
|
|
6598
|
+
|
|
6599
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6600
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6601
|
+
in the Software without restriction, including without limitation the rights
|
|
6602
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
6603
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
6604
|
+
furnished to do so, subject to the following conditions:
|
|
6605
|
+
|
|
6606
|
+
The above copyright notice and this permission notice shall be included in all
|
|
6607
|
+
copies or substantial portions of the Software.
|
|
6608
|
+
|
|
6609
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
6610
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
6611
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
6612
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
6613
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
6614
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
6615
|
+
SOFTWARE.
|
|
6616
|
+
|
|
6617
|
+
```
|
|
6618
|
+
|
|
6370
6619
|
## tinyvec_macros 0.1.1
|
|
6371
6620
|
|
|
6372
6621
|
```
|
|
@@ -6628,7 +6877,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
6628
6877
|
|
|
6629
6878
|
```
|
|
6630
6879
|
|
|
6631
|
-
## curve25519-dalek-derive 0.1.1, adler2 2.0.0, anyhow 1.0.88, async-trait 0.1.82, atomic-waker 1.1.2, displaydoc 0.2.5, dyn-clone 1.0.17, fastrand 2.1.1, home 0.5.9, itoa 1.0.11, linkme-impl 0.3.28, linkme 0.3.28, linux-raw-sys 0.4.14, minimal-lexical 0.2.1, num_enum 0.7.3, num_enum_derive 0.7.3, once_cell 1.19.0, paste 1.0.15, pin-project-lite 0.2.14, prettyplease 0.2.22, proc-macro-crate 3.2.0, proc-macro2 1.0.86, quote 1.0.37, rustc-hash 1.1.0, rustix 0.38.37, rustversion 1.0.17, semver 1.0.23, send_wrapper 0.6.0, serde 1.0.210, serde_derive 1.0.210, serde_json 1.0.128, syn-mid 0.6.0, syn 1.0.109, syn 2.0.77, thiserror-impl 1.0.63, thiserror 1.0.63, unicode-ident 1.0.13, utf-8 0.7.6
|
|
6880
|
+
## curve25519-dalek-derive 0.1.1, adler2 2.0.0, anyhow 1.0.88, async-trait 0.1.82, atomic-waker 1.1.2, displaydoc 0.2.5, dyn-clone 1.0.17, fastrand 2.1.1, home 0.5.9, itoa 1.0.11, linkme-impl 0.3.28, linkme 0.3.28, linux-raw-sys 0.4.14, minimal-lexical 0.2.1, num_enum 0.7.3, num_enum_derive 0.7.3, once_cell 1.19.0, paste 1.0.15, pin-project-internal 1.1.5, pin-project-lite 0.2.14, pin-project 1.1.5, prettyplease 0.2.22, proc-macro-crate 3.2.0, proc-macro2 1.0.86, quote 1.0.37, rustc-hash 1.1.0, rustix 0.38.37, rustversion 1.0.17, semver 1.0.23, send_wrapper 0.6.0, serde 1.0.210, serde_derive 1.0.210, serde_json 1.0.128, syn-mid 0.6.0, syn 1.0.109, syn 2.0.77, thiserror-impl 1.0.63, thiserror 1.0.63, unicode-ident 1.0.13, utf-8 0.7.6
|
|
6632
6881
|
|
|
6633
6882
|
```
|
|
6634
6883
|
Permission is hereby granted, free of charge, to any
|
|
@@ -6797,7 +7046,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
6797
7046
|
THE SOFTWARE.
|
|
6798
7047
|
```
|
|
6799
7048
|
|
|
6800
|
-
## base64 0.22.1
|
|
7049
|
+
## base64 0.21.7, base64 0.22.1
|
|
6801
7050
|
|
|
6802
7051
|
```
|
|
6803
7052
|
The MIT License (MIT)
|
|
@@ -7322,6 +7571,34 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
7322
7571
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7323
7572
|
SOFTWARE.
|
|
7324
7573
|
|
|
7574
|
+
```
|
|
7575
|
+
|
|
7576
|
+
## mime_guess 2.0.5
|
|
7577
|
+
|
|
7578
|
+
```
|
|
7579
|
+
The MIT License (MIT)
|
|
7580
|
+
|
|
7581
|
+
Copyright (c) 2015 Austin Bonander
|
|
7582
|
+
|
|
7583
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7584
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7585
|
+
in the Software without restriction, including without limitation the rights
|
|
7586
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7587
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
7588
|
+
furnished to do so, subject to the following conditions:
|
|
7589
|
+
|
|
7590
|
+
The above copyright notice and this permission notice shall be included in all
|
|
7591
|
+
copies or substantial portions of the Software.
|
|
7592
|
+
|
|
7593
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7594
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7595
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7596
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7597
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7598
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7599
|
+
SOFTWARE.
|
|
7600
|
+
|
|
7601
|
+
|
|
7325
7602
|
```
|
|
7326
7603
|
|
|
7327
7604
|
## generic-array 0.14.7
|
package/dist/net.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ export type ChatService = {
|
|
|
137
137
|
*/
|
|
138
138
|
export declare class AuthenticatedChatService implements ChatService {
|
|
139
139
|
private readonly asyncContext;
|
|
140
|
-
readonly chatService: Wrapper<Native.
|
|
140
|
+
readonly chatService: Wrapper<Native.AuthChat>;
|
|
141
141
|
constructor(asyncContext: TokioAsyncContext, connectionManager: ConnectionManager, username: string, password: string, receiveStories: boolean, listener: ChatServiceListener);
|
|
142
142
|
disconnect(): Promise<void>;
|
|
143
143
|
connect(options?: {
|
|
@@ -155,7 +155,7 @@ export declare class AuthenticatedChatService implements ChatService {
|
|
|
155
155
|
*/
|
|
156
156
|
export declare class UnauthenticatedChatService implements ChatService {
|
|
157
157
|
private readonly asyncContext;
|
|
158
|
-
readonly chatService: Wrapper<Native.
|
|
158
|
+
readonly chatService: Wrapper<Native.UnauthChat>;
|
|
159
159
|
constructor(asyncContext: TokioAsyncContext, connectionManager: ConnectionManager, listener: ConnectionEventsListener);
|
|
160
160
|
disconnect(): Promise<void>;
|
|
161
161
|
connect(options?: {
|
package/dist/net.js
CHANGED
|
@@ -65,7 +65,7 @@ exports.ChatServerMessageAck = ChatServerMessageAck;
|
|
|
65
65
|
class AuthenticatedChatService {
|
|
66
66
|
constructor(asyncContext, connectionManager, username, password, receiveStories, listener) {
|
|
67
67
|
this.asyncContext = asyncContext;
|
|
68
|
-
this.chatService = newNativeHandle(Native.
|
|
68
|
+
this.chatService = newNativeHandle(Native.ChatService_new_auth(connectionManager, username, password, receiveStories));
|
|
69
69
|
const nativeChatListener = {
|
|
70
70
|
_incoming_message(envelope, timestamp, ack) {
|
|
71
71
|
listener.onIncomingMessage(envelope, timestamp, new ChatServerMessageAck(asyncContext, ack));
|
|
@@ -80,7 +80,7 @@ class AuthenticatedChatService {
|
|
|
80
80
|
Native.ChatService_SetListenerAuth(asyncContext, this.chatService, nativeChatListener);
|
|
81
81
|
}
|
|
82
82
|
disconnect() {
|
|
83
|
-
return Native.
|
|
83
|
+
return Native.ChatService_disconnect_auth(this.asyncContext, this.chatService);
|
|
84
84
|
}
|
|
85
85
|
connect(options) {
|
|
86
86
|
return this.asyncContext.makeCancellable(options?.abortSignal, Native.ChatService_connect_auth(this.asyncContext, this.chatService));
|
|
@@ -99,7 +99,7 @@ exports.AuthenticatedChatService = AuthenticatedChatService;
|
|
|
99
99
|
class UnauthenticatedChatService {
|
|
100
100
|
constructor(asyncContext, connectionManager, listener) {
|
|
101
101
|
this.asyncContext = asyncContext;
|
|
102
|
-
this.chatService = newNativeHandle(Native.
|
|
102
|
+
this.chatService = newNativeHandle(Native.ChatService_new_unauth(connectionManager));
|
|
103
103
|
const nativeChatListener = {
|
|
104
104
|
_incoming_message(_envelope, _timestamp, _ack) {
|
|
105
105
|
throw new Error('Event not supported on unauthenticated connection');
|
|
@@ -114,7 +114,7 @@ class UnauthenticatedChatService {
|
|
|
114
114
|
Native.ChatService_SetListenerUnauth(asyncContext, this.chatService, nativeChatListener);
|
|
115
115
|
}
|
|
116
116
|
disconnect() {
|
|
117
|
-
return Native.
|
|
117
|
+
return Native.ChatService_disconnect_unauth(this.asyncContext, this.chatService);
|
|
118
118
|
}
|
|
119
119
|
connect(options) {
|
|
120
120
|
return this.asyncContext.makeCancellable(options?.abortSignal, Native.ChatService_connect_unauth(this.asyncContext, this.chatService));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalapp/libsignal-client",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.1",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"test": "mocha --recursive dist/test --require source-map-support/register",
|
|
26
26
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
27
27
|
"format": "p() { prettier ${@:- --write} '**/*.{css,js,json,md,scss,ts,tsx}' ../rust/bridge/node/bin/Native.d.ts.in; }; p",
|
|
28
|
+
"format-check": "p() { prettier ${@:- --check} '**/*.{css,js,json,md,scss,ts,tsx}' ../rust/bridge/node/bin/Native.d.ts.in; }; p",
|
|
28
29
|
"prepack": "cp ../acknowledgments/acknowledgments.md dist"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|