@signalapp/libsignal-client
Advanced tools
Comparing version 0.35.0 to 0.36.0
@@ -30,3 +30,4 @@ "use strict"; | ||
Native.LookupRequest_setReturnAcisWithoutUaks(request, returnAcisWithoutUaks); | ||
return await Native.CdsiLookup({ _nativeHandle: this._asyncContext }, { _nativeHandle: this._connectionManager }, username, password, request, timeout); | ||
const lookup = await Native.CdsiLookup_new({ _nativeHandle: this._asyncContext }, { _nativeHandle: this._connectionManager }, username, password, request, timeout); | ||
return await Native.CdsiLookup_complete({ _nativeHandle: this._asyncContext }, { _nativeHandle: lookup }); | ||
} | ||
@@ -33,0 +34,0 @@ } |
@@ -111,3 +111,5 @@ // | ||
export function Cds2ClientState_New(mrenclave: Buffer, attestationMsg: Buffer, currentTimestamp: Timestamp): SgxClientState; | ||
export function CdsiLookup(asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, request: Wrapper<LookupRequest>, timeoutMillis: number): Promise<LookupResponse>; | ||
export function CdsiLookup_complete(asyncRuntime: Wrapper<TokioAsyncContext>, lookup: Wrapper<CdsiLookup>): Promise<LookupResponse>; | ||
export function CdsiLookup_new(asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, username: string, password: string, request: Wrapper<LookupRequest>, timeoutMillis: number): Promise<CdsiLookup>; | ||
export function CdsiLookup_token(lookup: Wrapper<CdsiLookup>): Buffer; | ||
export function CiphertextMessage_FromPlaintextContent(m: Wrapper<PlaintextContent>): CiphertextMessage; | ||
@@ -194,4 +196,6 @@ export function CiphertextMessage_Serialize(obj: Wrapper<CiphertextMessage>): Buffer; | ||
export function LookupRequest_addE164(request: Wrapper<LookupRequest>, e164: string): void; | ||
export function LookupRequest_addPreviousE164(request: Wrapper<LookupRequest>, e164: string): void; | ||
export function LookupRequest_new(): LookupRequest; | ||
export function LookupRequest_setReturnAcisWithoutUaks(request: Wrapper<LookupRequest>, returnAcisWithoutUaks: boolean): void; | ||
export function LookupRequest_setToken(request: Wrapper<LookupRequest>, token: Buffer): void; | ||
export function Mp4Sanitizer_Sanitize(input: InputStream, len: Buffer): Promise<SanitizedMetadata>; | ||
@@ -385,4 +389,7 @@ export function PlaintextContent_Deserialize(data: Buffer): PlaintextContent; | ||
export function TESTING_FutureFailure(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: number): Promise<number>; | ||
export function TESTING_FutureProducesOtherPointerType(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: string): Promise<OtherTestingHandleType>; | ||
export function TESTING_FutureProducesPointerType(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: number): Promise<TestingHandleType>; | ||
export function TESTING_FutureSuccess(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, input: number): Promise<number>; | ||
export function TESTING_NonSuspendingBackgroundThreadRuntime_New(): NonSuspendingBackgroundThreadRuntime; | ||
export function TESTING_OtherTestingHandleType_getValue(handle: Wrapper<OtherTestingHandleType>): string; | ||
export function TESTING_PanicInBodyAsync(_input: null): Promise<void>; | ||
@@ -400,2 +407,3 @@ export function TESTING_PanicInBodyIo(asyncRuntime: Wrapper<NonSuspendingBackgroundThreadRuntime>, _input: null): Promise<void>; | ||
export function TESTING_PanicOnReturnSync(_needsCleanup: null): null; | ||
export function TESTING_TestingHandleType_getValue(handle: Wrapper<TestingHandleType>): number; | ||
export function TokioAsyncContext_new(): TokioAsyncContext; | ||
@@ -427,2 +435,3 @@ export function UnidentifiedSenderMessageContent_Deserialize(data: Buffer): UnidentifiedSenderMessageContent; | ||
interface AuthCredentialWithPniResponse { readonly __type: unique symbol; } | ||
interface CdsiLookup { readonly __type: unique symbol; } | ||
interface CiphertextMessage { readonly __type: unique symbol; } | ||
@@ -445,2 +454,3 @@ interface ConnectionManager { readonly __type: unique symbol; } | ||
interface NonSuspendingBackgroundThreadRuntime { readonly __type: unique symbol; } | ||
interface OtherTestingHandleType { readonly __type: unique symbol; } | ||
interface PlaintextContent { readonly __type: unique symbol; } | ||
@@ -476,2 +486,3 @@ interface PreKeyBundle { readonly __type: unique symbol; } | ||
interface SignedPreKeyRecord { readonly __type: unique symbol; } | ||
interface TestingHandleType { readonly __type: unique symbol; } | ||
interface TokioAsyncContext { readonly __type: unique symbol; } | ||
@@ -478,0 +489,0 @@ interface UnidentifiedSenderMessageContent { readonly __type: unique symbol; } |
{ | ||
"name": "@signalapp/libsignal-client", | ||
"version": "0.35.0", | ||
"version": "0.36.0", | ||
"license": "AGPL-3.0-only", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
49795743
4715