@signalapp/libsignal-client 0.79.1 → 0.80.0
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/dist/Errors.d.ts +6 -2
- package/dist/Errors.js +1 -0
- package/dist/incremental_mac.js +1 -1
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/darwin-x64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/linux-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/linux-x64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/win32-arm64/@signalapp+libsignal-client.node +0 -0
- package/prebuilds/win32-x64/@signalapp+libsignal-client.node +0 -0
package/dist/Errors.d.ts
CHANGED
|
@@ -45,7 +45,8 @@ export declare enum ErrorCode {
|
|
|
45
45
|
BackupValidation = 41,
|
|
46
46
|
Cancelled = 42,
|
|
47
47
|
KeyTransparencyError = 43,
|
|
48
|
-
KeyTransparencyVerificationFailed = 44
|
|
48
|
+
KeyTransparencyVerificationFailed = 44,
|
|
49
|
+
IncrementalMacVerificationFailed = 45
|
|
49
50
|
}
|
|
50
51
|
export declare class LibSignalErrorBase extends Error {
|
|
51
52
|
readonly code: ErrorCode;
|
|
@@ -207,4 +208,7 @@ export type KeyTransparencyError = LibSignalErrorCommon & {
|
|
|
207
208
|
export type KeyTransparencyVerificationFailed = LibSignalErrorCommon & {
|
|
208
209
|
code: ErrorCode.KeyTransparencyVerificationFailed;
|
|
209
210
|
};
|
|
210
|
-
export type
|
|
211
|
+
export type IncrementalMacVerificationFailed = LibSignalErrorCommon & {
|
|
212
|
+
code: ErrorCode.IncrementalMacVerificationFailed;
|
|
213
|
+
};
|
|
214
|
+
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 | SvrAttestationError | SvrInvalidDataError | UnsupportedMediaInputError | ChatServiceInactive | AppExpiredError | DeviceDelinkedError | ConnectionInvalidatedError | ConnectedElsewhereError | RateLimitedError | RateLimitChallengeError | BackupValidationError | CancellationError | KeyTransparencyError | KeyTransparencyVerificationFailed | IncrementalMacVerificationFailed;
|
package/dist/Errors.js
CHANGED
|
@@ -53,6 +53,7 @@ var ErrorCode;
|
|
|
53
53
|
ErrorCode[ErrorCode["Cancelled"] = 42] = "Cancelled";
|
|
54
54
|
ErrorCode[ErrorCode["KeyTransparencyError"] = 43] = "KeyTransparencyError";
|
|
55
55
|
ErrorCode[ErrorCode["KeyTransparencyVerificationFailed"] = 44] = "KeyTransparencyVerificationFailed";
|
|
56
|
+
ErrorCode[ErrorCode["IncrementalMacVerificationFailed"] = 45] = "IncrementalMacVerificationFailed";
|
|
56
57
|
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
|
57
58
|
class LibSignalErrorBase extends Error {
|
|
58
59
|
constructor(message, name, operation, extraProps) {
|
package/dist/incremental_mac.js
CHANGED
|
@@ -182,6 +182,6 @@ function chunkSizeInBytes(sizeChoice) {
|
|
|
182
182
|
}
|
|
183
183
|
exports.chunkSizeInBytes = chunkSizeInBytes;
|
|
184
184
|
function makeVerificationError(message) {
|
|
185
|
-
return new Errors_1.LibSignalErrorBase(message, '
|
|
185
|
+
return new Errors_1.LibSignalErrorBase(message, 'IncrementalMacVerificationFailed', 'incremental_mac');
|
|
186
186
|
}
|
|
187
187
|
//# sourceMappingURL=incremental_mac.js.map
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|