@signalapp/libsignal-client 0.54.0 → 0.54.2
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 +1 -0
- package/dist/acknowledgments.md +19 -20
- package/dist/incremental_mac.d.ts +2 -2
- package/dist/incremental_mac.js +4 -4
- package/dist/net.d.ts +6 -0
- package/dist/net.js +8 -0
- package/package.json +1 -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
|
@@ -197,6 +197,7 @@ export function ComparableBackup_GetUnknownFields(backup: Wrapper<ComparableBack
|
|
|
197
197
|
export function ComparableBackup_ReadUnencrypted(stream: InputStream, len: bigint, purpose: number): Promise<ComparableBackup>;
|
|
198
198
|
export function ConnectionManager_clear_proxy(connectionManager: Wrapper<ConnectionManager>): void;
|
|
199
199
|
export function ConnectionManager_new(environment: number, userAgent: string): ConnectionManager;
|
|
200
|
+
export function ConnectionManager_on_network_change(connectionManager: Wrapper<ConnectionManager>): void;
|
|
200
201
|
export function ConnectionManager_set_ipv6_enabled(connectionManager: Wrapper<ConnectionManager>, ipv6Enabled: boolean): void;
|
|
201
202
|
export function ConnectionManager_set_proxy(connectionManager: Wrapper<ConnectionManager>, host: string, port: number): void;
|
|
202
203
|
export function CreateCallLinkCredentialPresentation_CheckValidContents(presentationBytes: Buffer): void;
|
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.54.
|
|
672
|
+
## attest 0.1.0, libsignal-ffi 0.54.2, libsignal-jni 0.54.2, libsignal-jni-testing 0.54.2, libsignal-node 0.54.2, 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, 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
|
|
@@ -1922,7 +1922,7 @@ limitations under the License.
|
|
|
1922
1922
|
|
|
1923
1923
|
```
|
|
1924
1924
|
|
|
1925
|
-
## boring 4.
|
|
1925
|
+
## boring 4.9.0
|
|
1926
1926
|
|
|
1927
1927
|
```
|
|
1928
1928
|
Copyright 2011-2017 Google Inc.
|
|
@@ -2357,7 +2357,7 @@ express Statement of Purpose.
|
|
|
2357
2357
|
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2358
2358
|
```
|
|
2359
2359
|
|
|
2360
|
-
## boring-sys 4.
|
|
2360
|
+
## boring-sys 4.9.0
|
|
2361
2361
|
|
|
2362
2362
|
```
|
|
2363
2363
|
/* Copyright (c) 2015, Google Inc.
|
|
@@ -2728,7 +2728,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2728
2728
|
|
|
2729
2729
|
```
|
|
2730
2730
|
|
|
2731
|
-
## boring-sys 4.
|
|
2731
|
+
## boring-sys 4.9.0
|
|
2732
2732
|
|
|
2733
2733
|
```
|
|
2734
2734
|
Copyright (c) 2014 Alex Crichton
|
|
@@ -3049,7 +3049,7 @@ THE SOFTWARE.
|
|
|
3049
3049
|
|
|
3050
3050
|
```
|
|
3051
3051
|
|
|
3052
|
-
## anstyle-wincon 3.0.
|
|
3052
|
+
## anstyle-wincon 3.0.3
|
|
3053
3053
|
|
|
3054
3054
|
```
|
|
3055
3055
|
Copyright (c) 2015 Josh Triplett, 2022 The rust-cli Developers
|
|
@@ -3136,7 +3136,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3136
3136
|
|
|
3137
3137
|
```
|
|
3138
3138
|
|
|
3139
|
-
## gimli 0.29.0, heck 0.5.0, peeking_take_while 0.1.2, unicode-bidi 0.3.15, unicode-normalization 0.1.23
|
|
3139
|
+
## gimli 0.29.0, heck 0.4.1, heck 0.5.0, peeking_take_while 0.1.2, unicode-bidi 0.3.15, unicode-normalization 0.1.23
|
|
3140
3140
|
|
|
3141
3141
|
```
|
|
3142
3142
|
Copyright (c) 2015 The Rust Project Developers
|
|
@@ -3287,7 +3287,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3287
3287
|
|
|
3288
3288
|
```
|
|
3289
3289
|
|
|
3290
|
-
## boring-sys 4.
|
|
3290
|
+
## boring-sys 4.9.0
|
|
3291
3291
|
|
|
3292
3292
|
```
|
|
3293
3293
|
Copyright (c) 2015-2016 the fiat-crypto authors (see
|
|
@@ -3515,7 +3515,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3515
3515
|
|
|
3516
3516
|
```
|
|
3517
3517
|
|
|
3518
|
-
## hashbrown 0.14.5
|
|
3518
|
+
## hashbrown 0.12.3, hashbrown 0.14.5
|
|
3519
3519
|
|
|
3520
3520
|
```
|
|
3521
3521
|
Copyright (c) 2016 Amanieu d'Antras
|
|
@@ -3577,7 +3577,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3577
3577
|
|
|
3578
3578
|
```
|
|
3579
3579
|
|
|
3580
|
-
## anstyle-parse 0.2.
|
|
3580
|
+
## anstyle-parse 0.2.4
|
|
3581
3581
|
|
|
3582
3582
|
```
|
|
3583
3583
|
Copyright (c) 2016 Joe Wilm and individual contributors
|
|
@@ -3758,7 +3758,7 @@ SOFTWARE.
|
|
|
3758
3758
|
|
|
3759
3759
|
```
|
|
3760
3760
|
|
|
3761
|
-
## tokio-boring 4.
|
|
3761
|
+
## tokio-boring 4.9.0
|
|
3762
3762
|
|
|
3763
3763
|
```
|
|
3764
3764
|
Copyright (c) 2016 Tokio contributors
|
|
@@ -3821,7 +3821,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
3821
3821
|
|
|
3822
3822
|
```
|
|
3823
3823
|
|
|
3824
|
-
## indexmap 2.2.6
|
|
3824
|
+
## indexmap 1.9.3, indexmap 2.2.6
|
|
3825
3825
|
|
|
3826
3826
|
```
|
|
3827
3827
|
Copyright (c) 2016--2017
|
|
@@ -4693,7 +4693,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
4693
4693
|
|
|
4694
4694
|
```
|
|
4695
4695
|
|
|
4696
|
-
## protobuf-codegen 3.
|
|
4696
|
+
## 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
|
|
4697
4697
|
|
|
4698
4698
|
```
|
|
4699
4699
|
Copyright (c) 2019 Stepan Koltsov
|
|
@@ -4715,7 +4715,6 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
|
4715
4715
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
4716
4716
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
|
4717
4717
|
OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4718
|
-
|
|
4719
4718
|
```
|
|
4720
4719
|
|
|
4721
4720
|
## ppv-lite86 0.2.17
|
|
@@ -5242,7 +5241,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
5242
5241
|
|
|
5243
5242
|
```
|
|
5244
5243
|
|
|
5245
|
-
## anstyle 1.0.
|
|
5244
|
+
## anstyle 1.0.7
|
|
5246
5245
|
|
|
5247
5246
|
```
|
|
5248
5247
|
Copyright (c) 2022 The rust-cli Developers
|
|
@@ -5454,7 +5453,7 @@ SOFTWARE.
|
|
|
5454
5453
|
|
|
5455
5454
|
```
|
|
5456
5455
|
|
|
5457
|
-
## anstream 0.6.
|
|
5456
|
+
## anstream 0.6.14, anstyle-query 1.1.0, clap 4.4.18, colorchoice 1.0.1, env_filter 0.1.1, env_logger 0.11.4, is_terminal_polyfill 1.70.0, toml_datetime 0.6.6, toml_edit 0.21.1
|
|
5458
5457
|
|
|
5459
5458
|
```
|
|
5460
5459
|
Copyright (c) Individual contributors
|
|
@@ -6184,7 +6183,7 @@ SOFTWARE.
|
|
|
6184
6183
|
|
|
6185
6184
|
```
|
|
6186
6185
|
|
|
6187
|
-
## 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
|
|
6186
|
+
## 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
|
|
6188
6187
|
|
|
6189
6188
|
```
|
|
6190
6189
|
MIT License
|
|
@@ -6533,7 +6532,7 @@ THE SOFTWARE.
|
|
|
6533
6532
|
|
|
6534
6533
|
```
|
|
6535
6534
|
|
|
6536
|
-
## strsim 0.10.0
|
|
6535
|
+
## strsim 0.10.0
|
|
6537
6536
|
|
|
6538
6537
|
```
|
|
6539
6538
|
The MIT License (MIT)
|
|
@@ -6671,7 +6670,7 @@ SOFTWARE.
|
|
|
6671
6670
|
|
|
6672
6671
|
```
|
|
6673
6672
|
|
|
6674
|
-
## clap_builder 4.
|
|
6673
|
+
## clap_builder 4.4.18, clap_derive 4.4.7, clap_lex 0.6.0
|
|
6675
6674
|
|
|
6676
6675
|
```
|
|
6677
6676
|
The MIT License (MIT)
|
|
@@ -6954,7 +6953,7 @@ SOFTWARE.
|
|
|
6954
6953
|
|
|
6955
6954
|
```
|
|
6956
6955
|
|
|
6957
|
-
## version_check 0.9.
|
|
6956
|
+
## version_check 0.9.4
|
|
6958
6957
|
|
|
6959
6958
|
```
|
|
6960
6959
|
The MIT License (MIT)
|
|
@@ -7032,7 +7031,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
7032
7031
|
SOFTWARE.
|
|
7033
7032
|
```
|
|
7034
7033
|
|
|
7035
|
-
## boring-sys 4.
|
|
7034
|
+
## boring-sys 4.9.0, ring 0.17.8
|
|
7036
7035
|
|
|
7037
7036
|
```
|
|
7038
7037
|
/* ====================================================================
|
|
@@ -16,7 +16,7 @@ export declare class DigestingWritable extends stream.Writable {
|
|
|
16
16
|
_digests: Buffer[];
|
|
17
17
|
constructor(key: Buffer, sizeChoice: ChunkSizeChoice);
|
|
18
18
|
getFinalDigest(): Buffer;
|
|
19
|
-
_write(chunk: any,
|
|
19
|
+
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
20
20
|
_final(callback: (error?: Error | null) => void): void;
|
|
21
21
|
}
|
|
22
22
|
export declare class ValidatingWritable extends stream.Writable {
|
|
@@ -24,7 +24,7 @@ export declare class ValidatingWritable extends stream.Writable {
|
|
|
24
24
|
_validatedBytes: number;
|
|
25
25
|
constructor(key: Buffer, sizeChoice: ChunkSizeChoice, digest: Buffer);
|
|
26
26
|
validatedSize(): number;
|
|
27
|
-
_write(chunk: any,
|
|
27
|
+
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
28
28
|
_final(callback: (error?: Error | null) => void): void;
|
|
29
29
|
}
|
|
30
30
|
export declare function chunkSizeInBytes(sizeChoice: ChunkSizeChoice): number;
|
package/dist/incremental_mac.js
CHANGED
|
@@ -27,9 +27,9 @@ class DigestingWritable extends stream.Writable {
|
|
|
27
27
|
}
|
|
28
28
|
_write(
|
|
29
29
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
30
|
-
chunk,
|
|
30
|
+
chunk, encoding, callback) {
|
|
31
31
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
32
|
-
const buffer = Buffer.from(chunk,
|
|
32
|
+
const buffer = Buffer.from(chunk, encoding);
|
|
33
33
|
const next_digest = Native.IncrementalMac_Update(this, buffer, 0, buffer.length);
|
|
34
34
|
if (next_digest.length != 0) {
|
|
35
35
|
this._digests.push(next_digest);
|
|
@@ -53,9 +53,9 @@ class ValidatingWritable extends stream.Writable {
|
|
|
53
53
|
}
|
|
54
54
|
_write(
|
|
55
55
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
56
|
-
chunk,
|
|
56
|
+
chunk, encoding, callback) {
|
|
57
57
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
58
|
-
const buffer = Buffer.from(chunk,
|
|
58
|
+
const buffer = Buffer.from(chunk, encoding);
|
|
59
59
|
const validBytes = Native.ValidatingMac_Update(this, buffer, 0, buffer.length);
|
|
60
60
|
if (validBytes >= 0) {
|
|
61
61
|
this._validatedBytes += validBytes;
|
package/dist/net.d.ts
CHANGED
|
@@ -212,6 +212,12 @@ export declare class Net {
|
|
|
212
212
|
* method is a no-op.
|
|
213
213
|
*/
|
|
214
214
|
clearProxy(): void;
|
|
215
|
+
/**
|
|
216
|
+
* Notifies libsignal that the network has changed.
|
|
217
|
+
*
|
|
218
|
+
* This will lead to, e.g. caches being cleared and cooldowns being reset.
|
|
219
|
+
*/
|
|
220
|
+
onNetworkChange(): void;
|
|
215
221
|
cdsiLookup({ username, password }: Readonly<ServiceAuth>, { e164s, acisAndAccessKeys, returnAcisWithoutUaks, abortSignal, }: ReadonlyDeep<CDSRequestOptionsType>): Promise<CDSResponseType<string, string>>;
|
|
216
222
|
}
|
|
217
223
|
/**
|
package/dist/net.js
CHANGED
|
@@ -180,6 +180,14 @@ class Net {
|
|
|
180
180
|
clearProxy() {
|
|
181
181
|
Native.ConnectionManager_clear_proxy(this.connectionManager);
|
|
182
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* Notifies libsignal that the network has changed.
|
|
185
|
+
*
|
|
186
|
+
* This will lead to, e.g. caches being cleared and cooldowns being reset.
|
|
187
|
+
*/
|
|
188
|
+
onNetworkChange() {
|
|
189
|
+
Native.ConnectionManager_on_network_change(this.connectionManager);
|
|
190
|
+
}
|
|
183
191
|
async cdsiLookup({ username, password }, { e164s, acisAndAccessKeys, returnAcisWithoutUaks, abortSignal, }) {
|
|
184
192
|
const request = newNativeHandle(Native.LookupRequest_new());
|
|
185
193
|
e164s.forEach((e164) => {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|