@signalapp/libsignal-client 0.60.2 → 0.62.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 +3 -4
- package/dist/acknowledgments.md +47 -2
- package/dist/net.d.ts +12 -0
- package/dist/net.js +13 -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
|
@@ -126,8 +126,6 @@ export abstract class ChatListener {
|
|
|
126
126
|
): void;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
export abstract class MakeChatListener extends ChatListener {}
|
|
130
|
-
|
|
131
129
|
type Wrapper<T> = Readonly<{
|
|
132
130
|
_nativeHandle: T;
|
|
133
131
|
}>;
|
|
@@ -195,8 +193,8 @@ export function Cds2ClientState_New(mrenclave: Buffer, attestationMsg: Buffer, c
|
|
|
195
193
|
export function CdsiLookup_complete(asyncRuntime: Wrapper<TokioAsyncContext>, lookup: Wrapper<CdsiLookup>): Promise<LookupResponse>;
|
|
196
194
|
export function CdsiLookup_new(asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, request: Wrapper<LookupRequest>): Promise<CdsiLookup>;
|
|
197
195
|
export function CdsiLookup_token(lookup: Wrapper<CdsiLookup>): Buffer;
|
|
198
|
-
export function ChatService_SetListenerAuth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>,
|
|
199
|
-
export function ChatService_SetListenerUnauth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>,
|
|
196
|
+
export function ChatService_SetListenerAuth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>, listener: ChatListener | null): void;
|
|
197
|
+
export function ChatService_SetListenerUnauth(runtime: Wrapper<TokioAsyncContext>, chat: Wrapper<UnauthChat>, listener: ChatListener | null): void;
|
|
200
198
|
export function ChatService_auth_send(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): Promise<ChatResponse>;
|
|
201
199
|
export function ChatService_auth_send_and_debug(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): Promise<ResponseAndDebugInfo>;
|
|
202
200
|
export function ChatService_connect_auth(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthChat>): Promise<ChatServiceDebugInfo>;
|
|
@@ -216,6 +214,7 @@ export function ComparableBackup_ReadUnencrypted(stream: InputStream, len: bigin
|
|
|
216
214
|
export function ConnectionManager_clear_proxy(connectionManager: Wrapper<ConnectionManager>): void;
|
|
217
215
|
export function ConnectionManager_new(environment: number, userAgent: string): ConnectionManager;
|
|
218
216
|
export function ConnectionManager_on_network_change(connectionManager: Wrapper<ConnectionManager>): void;
|
|
217
|
+
export function ConnectionManager_set_censorship_circumvention_enabled(connectionManager: Wrapper<ConnectionManager>, enabled: boolean): void;
|
|
219
218
|
export function ConnectionManager_set_ipv6_enabled(connectionManager: Wrapper<ConnectionManager>, ipv6Enabled: boolean): void;
|
|
220
219
|
export function ConnectionManager_set_proxy(connectionManager: Wrapper<ConnectionManager>, host: string, port: number): void;
|
|
221
220
|
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
|
-
## libsignal-account-keys
|
|
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.
|
|
3303
|
+
## either 1.13.0, itertools 0.13.0, petgraph 0.6.5
|
|
3304
3304
|
|
|
3305
3305
|
```
|
|
3306
3306
|
Copyright (c) 2015
|
|
@@ -5573,6 +5573,38 @@ DEALINGS IN THE SOFTWARE.
|
|
|
5573
5573
|
|
|
5574
5574
|
```
|
|
5575
5575
|
|
|
5576
|
+
## sha2-asm 0.6.4
|
|
5577
|
+
|
|
5578
|
+
```
|
|
5579
|
+
Copyright (c) 2020 RustCrypto Developers
|
|
5580
|
+
Copyright (c) 2017 Project Nayuki, Artyom Pavlov
|
|
5581
|
+
|
|
5582
|
+
Permission is hereby granted, free of charge, to any
|
|
5583
|
+
person obtaining a copy of this software and associated
|
|
5584
|
+
documentation files (the "Software"), to deal in the
|
|
5585
|
+
Software without restriction, including without
|
|
5586
|
+
limitation the rights to use, copy, modify, merge,
|
|
5587
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
5588
|
+
the Software, and to permit persons to whom the Software
|
|
5589
|
+
is furnished to do so, subject to the following
|
|
5590
|
+
conditions:
|
|
5591
|
+
|
|
5592
|
+
The above copyright notice and this permission notice
|
|
5593
|
+
shall be included in all copies or substantial portions
|
|
5594
|
+
of the Software.
|
|
5595
|
+
|
|
5596
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
5597
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
5598
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
5599
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
5600
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
5601
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
5602
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
5603
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
5604
|
+
DEALINGS IN THE SOFTWARE.
|
|
5605
|
+
|
|
5606
|
+
```
|
|
5607
|
+
|
|
5576
5608
|
## cpufeatures 0.2.14
|
|
5577
5609
|
|
|
5578
5610
|
```
|
|
@@ -6067,6 +6099,19 @@ DEALINGS IN THE SOFTWARE.
|
|
|
6067
6099
|
|
|
6068
6100
|
```
|
|
6069
6101
|
|
|
6102
|
+
## rangemap 1.5.1
|
|
6103
|
+
|
|
6104
|
+
```
|
|
6105
|
+
Copyright 2019 Jeffrey Parsons
|
|
6106
|
+
|
|
6107
|
+
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:
|
|
6108
|
+
|
|
6109
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6110
|
+
|
|
6111
|
+
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.
|
|
6112
|
+
|
|
6113
|
+
```
|
|
6114
|
+
|
|
6070
6115
|
## zerocopy-derive 0.7.35, zerocopy 0.7.35
|
|
6071
6116
|
|
|
6072
6117
|
```
|
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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|