@signalapp/libsignal-client 0.54.0 → 0.54.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
@@ -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;
@@ -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.0, libsignal-jni 0.54.0, libsignal-jni-testing 0.54.0, libsignal-node 0.54.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-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
672
+ ## attest 0.1.0, libsignal-ffi 0.54.1, libsignal-jni 0.54.1, libsignal-jni-testing 0.54.1, libsignal-node 0.54.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, 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
@@ -3049,7 +3049,7 @@ THE SOFTWARE.
3049
3049
 
3050
3050
  ```
3051
3051
 
3052
- ## anstyle-wincon 3.0.4
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
@@ -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.5
3580
+ ## anstyle-parse 0.2.4
3581
3581
 
3582
3582
  ```
3583
3583
  Copyright (c) 2016 Joe Wilm and individual 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.5.0, protobuf-json-mapping 3.5.0, protobuf-support 3.5.0, protobuf 3.5.0
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.8
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.15, anstyle-query 1.1.1, clap 4.5.11, colorchoice 1.0.2, env_filter 0.1.2, env_logger 0.11.5, is_terminal_polyfill 1.70.1, toml_datetime 0.6.7, toml_edit 0.21.1
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, protobuf-parse 3.5.0
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, strsim 0.11.1
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.5.11, clap_derive 4.5.11, clap_lex 0.7.2
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.5
6956
+ ## version_check 0.9.4
6958
6957
 
6959
6958
  ```
6960
6959
  The MIT License (MIT)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/libsignal-client",
3
- "version": "0.54.0",
3
+ "version": "0.54.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",