@signalapp/libsignal-client 0.67.3 → 0.67.4

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
@@ -168,6 +168,7 @@ export function AuthenticatedChatConnection_connect(asyncRuntime: Wrapper<TokioA
168
168
  export function AuthenticatedChatConnection_disconnect(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>): CancellablePromise<void>;
169
169
  export function AuthenticatedChatConnection_info(chat: Wrapper<AuthenticatedChatConnection>): ChatConnectionInfo;
170
170
  export function AuthenticatedChatConnection_init_listener(chat: Wrapper<AuthenticatedChatConnection>, listener: ChatListener): void;
171
+ export function AuthenticatedChatConnection_preconnect(asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>): CancellablePromise<void>;
171
172
  export function AuthenticatedChatConnection_send(asyncRuntime: Wrapper<TokioAsyncContext>, chat: Wrapper<AuthenticatedChatConnection>, httpRequest: Wrapper<HttpRequest>, timeoutMillis: number): CancellablePromise<ChatResponse>;
172
173
  export function BackupAuthCredentialPresentation_CheckValidContents(presentationBytes: Buffer): void;
173
174
  export function BackupAuthCredentialPresentation_GetBackupId(presentationBytes: Buffer): Buffer;
@@ -519,14 +520,15 @@ export function SignedPreKeyRecord_New(id: number, timestamp: Timestamp, pubKey:
519
520
  export function SignedPreKeyRecord_Serialize(obj: Wrapper<SignedPreKeyRecord>): Buffer;
520
521
  export function TESTING_CdsiLookupErrorConvert(errorDescription: string): void;
521
522
  export function TESTING_CdsiLookupResponseConvert(asyncRuntime: Wrapper<TokioAsyncContext>): CancellablePromise<LookupResponse>;
523
+ export function TESTING_ChatConnectErrorConvert(errorDescription: string): void;
522
524
  export function TESTING_ChatRequestGetBody(request: Wrapper<HttpRequest>): Buffer;
523
525
  export function TESTING_ChatRequestGetHeaderValue(request: Wrapper<HttpRequest>, headerName: string): string;
524
526
  export function TESTING_ChatRequestGetMethod(request: Wrapper<HttpRequest>): string;
525
527
  export function TESTING_ChatRequestGetPath(request: Wrapper<HttpRequest>): string;
526
528
  export function TESTING_ChatResponseConvert(bodyPresent: boolean): ChatResponse;
527
- export function TESTING_ChatServiceErrorConvert(errorDescription: string): void;
529
+ export function TESTING_ChatSendErrorConvert(errorDescription: string): void;
528
530
  export function TESTING_ConnectionManager_isUsingProxy(manager: Wrapper<ConnectionManager>): number;
529
- export function TESTING_ConnectionManager_newLocalOverride(userAgent: string, chatPort: number, cdsiPort: number, svr2Port: number, svr3SgxPort: number, svr3NitroPort: number, svr3Tpm2SnpPort: number, rootCertificateDer: Buffer): ConnectionManager;
531
+ export function TESTING_ConnectionManager_newLocalOverride(userAgent: string, chatPort: number, cdsiPort: number, svr2Port: number, rootCertificateDer: Buffer): ConnectionManager;
530
532
  export function TESTING_ErrorOnBorrowAsync(_input: null): Promise<void>;
531
533
  export function TESTING_ErrorOnBorrowIo(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null): CancellablePromise<void>;
532
534
  export function TESTING_ErrorOnBorrowSync(_input: null): void;