@signalapp/libsignal-client 0.60.2 → 0.61.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/Native.d.ts CHANGED
@@ -216,6 +216,7 @@ export function ComparableBackup_ReadUnencrypted(stream: InputStream, len: bigin
216
216
  export function ConnectionManager_clear_proxy(connectionManager: Wrapper<ConnectionManager>): void;
217
217
  export function ConnectionManager_new(environment: number, userAgent: string): ConnectionManager;
218
218
  export function ConnectionManager_on_network_change(connectionManager: Wrapper<ConnectionManager>): void;
219
+ export function ConnectionManager_set_censorship_circumvention_enabled(connectionManager: Wrapper<ConnectionManager>, enabled: boolean): void;
219
220
  export function ConnectionManager_set_ipv6_enabled(connectionManager: Wrapper<ConnectionManager>, ipv6Enabled: boolean): void;
220
221
  export function ConnectionManager_set_proxy(connectionManager: Wrapper<ConnectionManager>, host: string, port: number): void;
221
222
  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
- ## libsignal-account-keys 0.1.0, attest 0.1.0, libsignal-ffi 0.60.2, libsignal-jni 0.60.2, libsignal-jni-testing 0.60.2, libsignal-node 0.60.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, 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, 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
+ ## libsignal-account-keys, attest, libsignal-ffi, libsignal-jni, libsignal-jni-testing, libsignal-node, signal-neon-futures, signal-neon-futures-tests, libsignal-bridge, libsignal-bridge-macros, libsignal-bridge-testing, libsignal-bridge-types, libsignal-core, signal-crypto, device-transfer, libsignal-keytrans, signal-media, libsignal-message-backup, libsignal-message-backup-macros, libsignal-net, libsignal-net-infra, poksho, libsignal-protocol, libsignal-svr3, usernames, zkcredential, zkgroup
673
673
 
674
674
  ```
675
675
  GNU AFFERO GENERAL PUBLIC LICENSE
@@ -3300,7 +3300,7 @@ THE SOFTWARE.
3300
3300
 
3301
3301
  ```
3302
3302
 
3303
- ## either 1.13.0, itertools 0.10.5, itertools 0.13.0, petgraph 0.6.5
3303
+ ## either 1.13.0, itertools 0.13.0, petgraph 0.6.5
3304
3304
 
3305
3305
  ```
3306
3306
  Copyright (c) 2015
@@ -6067,6 +6067,19 @@ DEALINGS IN THE SOFTWARE.
6067
6067
 
6068
6068
  ```
6069
6069
 
6070
+ ## rangemap 1.5.1
6071
+
6072
+ ```
6073
+ Copyright 2019 Jeffrey Parsons
6074
+
6075
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6076
+
6077
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6078
+
6079
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6080
+
6081
+ ```
6082
+
6070
6083
  ## zerocopy-derive 0.7.35, zerocopy 0.7.35
6071
6084
 
6072
6085
  ```
package/dist/net.d.ts CHANGED
@@ -96,6 +96,7 @@ export type ChatService = {
96
96
  *
97
97
  * @throws {AppExpiredError} if the current app version is too old (as judged by the server).
98
98
  * @throws {DeviceDelinkedError} if the current device has been delinked.
99
+ * @throws {RateLimitedError} if the device should wait, then retry.
99
100
  * @throws {LibSignalError} with other codes for other failures.
100
101
  */
101
102
  connect(options?: {
@@ -211,6 +212,17 @@ export declare class Net {
211
212
  * The flag is `true` by default.
212
213
  */
213
214
  setIpv6Enabled(ipv6Enabled: boolean): void;
215
+ /**
216
+ * Enables or disables censorship circumvention for all new connections (until changed).
217
+ *
218
+ * If CC is enabled, *new* connections and services may try additional routes to the Signal
219
+ * servers. Existing connections and services will continue with the setting they were created
220
+ * with. (In particular, changing this setting will not affect any existing
221
+ * {@link ChatService ChatServices}.)
222
+ *
223
+ * CC is off by default.
224
+ */
225
+ setCensorshipCircumventionEnabled(enabled: boolean): void;
214
226
  /**
215
227
  * Sets the proxy host to be used for all new connections (until overridden).
216
228
  *
package/dist/net.js CHANGED
@@ -176,6 +176,19 @@ class Net {
176
176
  setIpv6Enabled(ipv6Enabled) {
177
177
  Native.ConnectionManager_set_ipv6_enabled(this.connectionManager, ipv6Enabled);
178
178
  }
179
+ /**
180
+ * Enables or disables censorship circumvention for all new connections (until changed).
181
+ *
182
+ * If CC is enabled, *new* connections and services may try additional routes to the Signal
183
+ * servers. Existing connections and services will continue with the setting they were created
184
+ * with. (In particular, changing this setting will not affect any existing
185
+ * {@link ChatService ChatServices}.)
186
+ *
187
+ * CC is off by default.
188
+ */
189
+ setCensorshipCircumventionEnabled(enabled) {
190
+ Native.ConnectionManager_set_censorship_circumvention_enabled(this.connectionManager, enabled);
191
+ }
179
192
  /**
180
193
  * Sets the proxy host to be used for all new connections (until overridden).
181
194
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/libsignal-client",
3
- "version": "0.60.2",
3
+ "version": "0.61.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",