You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@signalapp/libsignal-client

Package Overview
Dependencies
Maintainers
9
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalapp/libsignal-client - npm Package Compare versions

Comparing version

to
0.76.0

32

dist/Errors.d.ts

@@ -34,14 +34,15 @@ import { ProtocolAddress } from './Address';

RateLimitedError = 29,
SvrDataMissing = 30,
SvrRequestFailed = 31,
SvrRestoreFailed = 32,
ChatServiceInactive = 33,
AppExpired = 34,
DeviceDelinked = 35,
ConnectionInvalidated = 36,
ConnectedElsewhere = 37,
BackupValidation = 38,
Cancelled = 39,
KeyTransparencyError = 40,
KeyTransparencyVerificationFailed = 41
RateLimitChallengeError = 30,
SvrDataMissing = 31,
SvrRequestFailed = 32,
SvrRestoreFailed = 33,
ChatServiceInactive = 34,
AppExpired = 35,
DeviceDelinked = 36,
ConnectionInvalidated = 37,
ConnectedElsewhere = 38,
BackupValidation = 39,
Cancelled = 40,
KeyTransparencyError = 41,
KeyTransparencyVerificationFailed = 42
}

@@ -159,2 +160,7 @@ export declare class LibSignalErrorBase extends Error {

};
export type RateLimitChallengeError = LibSignalErrorBase & {
code: ErrorCode.RateLimitChallengeError;
readonly token: string;
readonly options: Set<'pushChallenge' | 'captcha'>;
};
export type ChatServiceInactive = LibSignalErrorBase & {

@@ -198,2 +204,2 @@ code: ErrorCode.ChatServiceInactive;

};
export type LibSignalError = GenericError | DuplicatedMessageError | SealedSenderSelfSendError | UntrustedIdentityError | InvalidRegistrationIdError | InvalidProtocolAddress | VerificationFailedError | InvalidSessionError | InvalidSenderKeySessionError | NicknameCannotBeEmptyError | CannotStartWithDigitError | MissingSeparatorError | BadNicknameCharacterError | NicknameTooShortError | NicknameTooLongError | DiscriminatorCannotBeEmptyError | DiscriminatorCannotBeZeroError | DiscriminatorCannotBeSingleDigitError | DiscriminatorCannotHaveLeadingZerosError | BadDiscriminatorCharacterError | DiscriminatorTooLargeError | InputDataTooLong | InvalidEntropyDataLength | InvalidUsernameLinkEncryptedData | IoError | CdsiInvalidTokenError | InvalidUriError | InvalidMediaInputError | SvrDataMissingError | SvrRestoreFailedError | SvrRequestFailedError | UnsupportedMediaInputError | ChatServiceInactive | AppExpiredError | DeviceDelinkedError | ConnectionInvalidatedError | ConnectedElsewhereError | RateLimitedError | BackupValidationError | CancellationError | KeyTransparencyError | KeyTransparencyVerificationFailed;
export type LibSignalError = GenericError | DuplicatedMessageError | SealedSenderSelfSendError | UntrustedIdentityError | InvalidRegistrationIdError | InvalidProtocolAddress | VerificationFailedError | InvalidSessionError | InvalidSenderKeySessionError | NicknameCannotBeEmptyError | CannotStartWithDigitError | MissingSeparatorError | BadNicknameCharacterError | NicknameTooShortError | NicknameTooLongError | DiscriminatorCannotBeEmptyError | DiscriminatorCannotBeZeroError | DiscriminatorCannotBeSingleDigitError | DiscriminatorCannotHaveLeadingZerosError | BadDiscriminatorCharacterError | DiscriminatorTooLargeError | InputDataTooLong | InvalidEntropyDataLength | InvalidUsernameLinkEncryptedData | IoError | CdsiInvalidTokenError | InvalidUriError | InvalidMediaInputError | SvrDataMissingError | SvrRestoreFailedError | SvrRequestFailedError | UnsupportedMediaInputError | ChatServiceInactive | AppExpiredError | DeviceDelinkedError | ConnectionInvalidatedError | ConnectedElsewhereError | RateLimitedError | RateLimitChallengeError | BackupValidationError | CancellationError | KeyTransparencyError | KeyTransparencyVerificationFailed;

@@ -41,14 +41,15 @@ "use strict";

ErrorCode[ErrorCode["RateLimitedError"] = 29] = "RateLimitedError";
ErrorCode[ErrorCode["SvrDataMissing"] = 30] = "SvrDataMissing";
ErrorCode[ErrorCode["SvrRequestFailed"] = 31] = "SvrRequestFailed";
ErrorCode[ErrorCode["SvrRestoreFailed"] = 32] = "SvrRestoreFailed";
ErrorCode[ErrorCode["ChatServiceInactive"] = 33] = "ChatServiceInactive";
ErrorCode[ErrorCode["AppExpired"] = 34] = "AppExpired";
ErrorCode[ErrorCode["DeviceDelinked"] = 35] = "DeviceDelinked";
ErrorCode[ErrorCode["ConnectionInvalidated"] = 36] = "ConnectionInvalidated";
ErrorCode[ErrorCode["ConnectedElsewhere"] = 37] = "ConnectedElsewhere";
ErrorCode[ErrorCode["BackupValidation"] = 38] = "BackupValidation";
ErrorCode[ErrorCode["Cancelled"] = 39] = "Cancelled";
ErrorCode[ErrorCode["KeyTransparencyError"] = 40] = "KeyTransparencyError";
ErrorCode[ErrorCode["KeyTransparencyVerificationFailed"] = 41] = "KeyTransparencyVerificationFailed";
ErrorCode[ErrorCode["RateLimitChallengeError"] = 30] = "RateLimitChallengeError";
ErrorCode[ErrorCode["SvrDataMissing"] = 31] = "SvrDataMissing";
ErrorCode[ErrorCode["SvrRequestFailed"] = 32] = "SvrRequestFailed";
ErrorCode[ErrorCode["SvrRestoreFailed"] = 33] = "SvrRestoreFailed";
ErrorCode[ErrorCode["ChatServiceInactive"] = 34] = "ChatServiceInactive";
ErrorCode[ErrorCode["AppExpired"] = 35] = "AppExpired";
ErrorCode[ErrorCode["DeviceDelinked"] = 36] = "DeviceDelinked";
ErrorCode[ErrorCode["ConnectionInvalidated"] = 37] = "ConnectionInvalidated";
ErrorCode[ErrorCode["ConnectedElsewhere"] = 38] = "ConnectedElsewhere";
ErrorCode[ErrorCode["BackupValidation"] = 39] = "BackupValidation";
ErrorCode[ErrorCode["Cancelled"] = 40] = "Cancelled";
ErrorCode[ErrorCode["KeyTransparencyError"] = 41] = "KeyTransparencyError";
ErrorCode[ErrorCode["KeyTransparencyVerificationFailed"] = 42] = "KeyTransparencyVerificationFailed";
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));

@@ -55,0 +56,0 @@ class LibSignalErrorBase extends Error {

{
"name": "@signalapp/libsignal-client",
"version": "0.75.1",
"version": "0.76.0",
"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