@signalapp/libsignal-client 0.76.1 → 0.76.3

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
@@ -470,13 +470,11 @@ export function RegistrationService_CheckSvr2Credentials(asyncRuntime: Wrapper<T
470
470
  export function RegistrationService_CreateSession(asyncRuntime: Wrapper<TokioAsyncContext>, createSession: RegistrationCreateSessionRequest, connectChat: ConnectChatBridge): CancellablePromise<RegistrationService>;
471
471
  export function RegistrationService_RegisterAccount(asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, registerAccount: Wrapper<RegisterAccountRequest>, accountAttributes: Wrapper<RegistrationAccountAttributes>): CancellablePromise<RegisterAccountResponse>;
472
472
  export function RegistrationService_RegistrationSession(service: Wrapper<RegistrationService>): RegistrationSession;
473
- export function RegistrationService_RequestPushChallenge(asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, pushToken: string, pushTokenType: RegistrationPushTokenType): CancellablePromise<void>;
474
473
  export function RegistrationService_RequestVerificationCode(asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, transport: string, client: string, languages: string[]): CancellablePromise<void>;
475
474
  export function RegistrationService_ReregisterAccount(asyncRuntime: Wrapper<TokioAsyncContext>, connectChat: ConnectChatBridge, number: string, registerAccount: Wrapper<RegisterAccountRequest>, accountAttributes: Wrapper<RegistrationAccountAttributes>): CancellablePromise<RegisterAccountResponse>;
476
475
  export function RegistrationService_ResumeSession(asyncRuntime: Wrapper<TokioAsyncContext>, sessionId: string, number: string, connectChat: ConnectChatBridge): CancellablePromise<RegistrationService>;
477
476
  export function RegistrationService_SessionId(service: Wrapper<RegistrationService>): string;
478
477
  export function RegistrationService_SubmitCaptcha(asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, captchaValue: string): CancellablePromise<void>;
479
- export function RegistrationService_SubmitPushChallenge(asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, pushChallenge: string): CancellablePromise<void>;
480
478
  export function RegistrationService_SubmitVerificationCode(asyncRuntime: Wrapper<TokioAsyncContext>, service: Wrapper<RegistrationService>, code: string): CancellablePromise<void>;
481
479
  export function RegistrationSession_GetAllowedToRequestCode(session: Wrapper<RegistrationSession>): boolean;
482
480
  export function RegistrationSession_GetNextCallSeconds(session: Wrapper<RegistrationSession>): number | null;
@@ -679,6 +677,10 @@ export function TESTING_ServerMessageAck_Create(): ServerMessageAck;
679
677
  export function TESTING_SignedPublicPreKey_CheckBridgesCorrectly(sourcePublicKey: Wrapper<PublicKey>, signedPreKey: SignedPublicPreKey): void;
680
678
  export function TESTING_TestingHandleType_getValue(handle: Wrapper<TestingHandleType>): number;
681
679
  export function TESTING_TokioAsyncFuture(asyncRuntime: Wrapper<TokioAsyncContext>, input: number): CancellablePromise<number>;
680
+ export function TestingSemaphore_AddPermits(semaphore: Wrapper<TestingSemaphore>, permits: number): void;
681
+ export function TestingSemaphore_New(initial: number): TestingSemaphore;
682
+ export function TestingValueHolder_Get(holder: Wrapper<TestingValueHolder>): number;
683
+ export function TestingValueHolder_New(value: number): TestingValueHolder;
682
684
  export function TokioAsyncContext_cancel(context: Wrapper<TokioAsyncContext>, rawCancellationId: bigint): void;
683
685
  export function TokioAsyncContext_new(): TokioAsyncContext;
684
686
  export function UnauthenticatedChatConnection_connect(asyncRuntime: Wrapper<TokioAsyncContext>, connectionManager: Wrapper<ConnectionManager>, languages: string[]): CancellablePromise<UnauthenticatedChatConnection>;
@@ -780,6 +782,8 @@ interface SignalMessage { readonly __type: unique symbol; }
780
782
  interface SignedPreKeyRecord { readonly __type: unique symbol; }
781
783
  interface TestingFutureCancellationCounter { readonly __type: unique symbol; }
782
784
  interface TestingHandleType { readonly __type: unique symbol; }
785
+ interface TestingSemaphore { readonly __type: unique symbol; }
786
+ interface TestingValueHolder { readonly __type: unique symbol; }
783
787
  interface TokioAsyncContext { readonly __type: unique symbol; }
784
788
  interface UnauthenticatedChatConnection { readonly __type: unique symbol; }
785
789
  interface UnidentifiedSenderMessageContent { readonly __type: unique symbol; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalapp/libsignal-client",
3
- "version": "0.76.1",
3
+ "version": "0.76.3",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",