@signalapp/libsignal-client 0.56.0 → 0.57.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 +4 -1
- package/dist/acknowledgments.md +28 -1
- package/dist/net.d.ts +5 -3
- package/dist/net.js +4 -4
- 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
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
4
4
|
//
|
|
5
5
|
|
|
6
|
+
import { LibSignalError } from './ts/Errors';
|
|
7
|
+
|
|
6
8
|
// WARNING: this file was automatically generated
|
|
7
9
|
|
|
8
10
|
type Uuid = Buffer;
|
|
@@ -120,7 +122,7 @@ export abstract class ChatListener {
|
|
|
120
122
|
ack: ServerMessageAck
|
|
121
123
|
): void;
|
|
122
124
|
_queue_empty(): void;
|
|
123
|
-
_connection_interrupted(): void;
|
|
125
|
+
_connection_interrupted(reason: LibSignalError | null): void;
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
export abstract class MakeChatListener extends ChatListener {}
|
|
@@ -498,6 +500,7 @@ export function TESTING_ChatServiceErrorConvert(errorDescription: string): void;
|
|
|
498
500
|
export function TESTING_ChatServiceResponseAndDebugInfoConvert(): ResponseAndDebugInfo;
|
|
499
501
|
export function TESTING_ChatServiceResponseConvert(bodyPresent: boolean): ChatResponse;
|
|
500
502
|
export function TESTING_ChatService_InjectConnectionInterrupted(chat: Wrapper<Chat>): void;
|
|
503
|
+
export function TESTING_ChatService_InjectIntentionalDisconnect(chat: Wrapper<Chat>): void;
|
|
501
504
|
export function TESTING_ChatService_InjectRawServerRequest(chat: Wrapper<Chat>, bytes: Buffer): void;
|
|
502
505
|
export function TESTING_ErrorOnBorrowAsync(_input: null): Promise<void>;
|
|
503
506
|
export function TESTING_ErrorOnBorrowIo(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null): Promise<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.
|
|
672
|
+
## attest 0.1.0, libsignal-ffi 0.57.0, libsignal-jni 0.57.0, libsignal-jni-testing 0.57.0, libsignal-node 0.57.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, 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, 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
|
|
@@ -5897,6 +5897,33 @@ SOFTWARE.
|
|
|
5897
5897
|
|
|
5898
5898
|
```
|
|
5899
5899
|
|
|
5900
|
+
## tokio-socks 0.5.2
|
|
5901
|
+
|
|
5902
|
+
```
|
|
5903
|
+
MIT License
|
|
5904
|
+
|
|
5905
|
+
Copyright (c) 2018 Yilin Chen
|
|
5906
|
+
|
|
5907
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5908
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5909
|
+
in the Software without restriction, including without limitation the rights
|
|
5910
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5911
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
5912
|
+
furnished to do so, subject to the following conditions:
|
|
5913
|
+
|
|
5914
|
+
The above copyright notice and this permission notice shall be included in all
|
|
5915
|
+
copies or substantial portions of the Software.
|
|
5916
|
+
|
|
5917
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5918
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5919
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5920
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5921
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5922
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5923
|
+
SOFTWARE.
|
|
5924
|
+
|
|
5925
|
+
```
|
|
5926
|
+
|
|
5900
5927
|
## zeroize 1.8.1
|
|
5901
5928
|
|
|
5902
5929
|
```
|
package/dist/net.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import type { ReadonlyDeep } from 'type-fest';
|
|
3
3
|
import * as Native from '../Native';
|
|
4
|
+
import { LibSignalError } from './Errors';
|
|
4
5
|
import { Wrapper } from '../Native';
|
|
5
6
|
import { Buffer } from 'node:buffer';
|
|
6
7
|
export declare enum Environment {
|
|
@@ -55,10 +56,11 @@ export interface ConnectionEventsListener {
|
|
|
55
56
|
/**
|
|
56
57
|
* Called when the client gets disconnected from the server.
|
|
57
58
|
*
|
|
58
|
-
* This includes both deliberate disconnects as well as unexpected socket
|
|
59
|
-
*
|
|
59
|
+
* This includes both deliberate disconnects as well as unexpected socket
|
|
60
|
+
* closures. If the closure was not due to a deliberate disconnect, the error
|
|
61
|
+
* will be provided.
|
|
60
62
|
*/
|
|
61
|
-
onConnectionInterrupted(): void;
|
|
63
|
+
onConnectionInterrupted(cause: LibSignalError | null): void;
|
|
62
64
|
}
|
|
63
65
|
export interface ChatServiceListener extends ConnectionEventsListener {
|
|
64
66
|
/**
|
package/dist/net.js
CHANGED
|
@@ -73,8 +73,8 @@ class AuthenticatedChatService {
|
|
|
73
73
|
_queue_empty() {
|
|
74
74
|
listener.onQueueEmpty();
|
|
75
75
|
},
|
|
76
|
-
_connection_interrupted() {
|
|
77
|
-
listener.onConnectionInterrupted();
|
|
76
|
+
_connection_interrupted(cause) {
|
|
77
|
+
listener.onConnectionInterrupted(cause);
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
80
|
Native.ChatService_SetListenerAuth(asyncContext, this.chatService, nativeChatListener);
|
|
@@ -107,8 +107,8 @@ class UnauthenticatedChatService {
|
|
|
107
107
|
_queue_empty() {
|
|
108
108
|
throw new Error('Event not supported on unauthenticated connection');
|
|
109
109
|
},
|
|
110
|
-
_connection_interrupted() {
|
|
111
|
-
listener.onConnectionInterrupted();
|
|
110
|
+
_connection_interrupted(cause) {
|
|
111
|
+
listener.onConnectionInterrupted(cause);
|
|
112
112
|
},
|
|
113
113
|
};
|
|
114
114
|
Native.ChatService_SetListenerUnauth(asyncContext, this.chatService, nativeChatListener);
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|