@signalapp/libsignal-client
Advanced tools
Comparing version 0.54.0 to 0.54.1
@@ -215,2 +215,8 @@ /// <reference types="node" /> | ||
clearProxy(): void; | ||
/** | ||
* Notifies libsignal that the network has changed. | ||
* | ||
* This will lead to, e.g. caches being cleared and cooldowns being reset. | ||
*/ | ||
onNetworkChange(): void; | ||
cdsiLookup({ username, password }: Readonly<ServiceAuth>, { e164s, acisAndAccessKeys, returnAcisWithoutUaks, abortSignal, }: ReadonlyDeep<CDSRequestOptionsType>): Promise<CDSResponseType<string, string>>; | ||
@@ -217,0 +223,0 @@ } |
@@ -183,2 +183,10 @@ "use strict"; | ||
} | ||
/** | ||
* Notifies libsignal that the network has changed. | ||
* | ||
* This will lead to, e.g. caches being cleared and cooldowns being reset. | ||
*/ | ||
onNetworkChange() { | ||
Native.ConnectionManager_on_network_change(this.connectionManager); | ||
} | ||
async cdsiLookup({ username, password }, { e164s, acisAndAccessKeys, returnAcisWithoutUaks, abortSignal, }) { | ||
@@ -185,0 +193,0 @@ const request = newNativeHandle(Native.LookupRequest_new()); |
@@ -200,2 +200,3 @@ // | ||
export function ConnectionManager_new(environment: number, userAgent: string): ConnectionManager; | ||
export function ConnectionManager_on_network_change(connectionManager: Wrapper<ConnectionManager>): void; | ||
export function ConnectionManager_set_ipv6_enabled(connectionManager: Wrapper<ConnectionManager>, ipv6Enabled: boolean): void; | ||
@@ -202,0 +203,0 @@ export function ConnectionManager_set_proxy(connectionManager: Wrapper<ConnectionManager>, host: string, port: number): void; |
{ | ||
"name": "@signalapp/libsignal-client", | ||
"version": "0.54.0", | ||
"version": "0.54.1", | ||
"license": "AGPL-3.0-only", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77903176
6320