Socket
Socket
Sign inDemoInstall

@signalapp/libsignal-client

Package Overview
Dependencies
3
Maintainers
6
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.39.3 to 0.40.0

dist/MessageBackup.d.ts

6

dist/net.d.ts

@@ -23,3 +23,7 @@ import type { ReadonlyDeep } from 'type-fest';

};
export type CDSResponseType<Aci, Pni> = Map<string, CDSResponseEntryType<Aci, Pni>>;
export type CDSResponseEntries<Aci, Pni> = Map<string, CDSResponseEntryType<Aci, Pni>>;
export interface CDSResponseType<Aci, Pni> {
entries: CDSResponseEntries<Aci, Pni>;
debugPermitsUsed: number;
}
export declare class Net {

@@ -26,0 +30,0 @@ private readonly _asyncContext;

2

dist/usernames.js

@@ -13,3 +13,3 @@ "use strict";

function generateCandidates(nickname, minNicknameLength, maxNicknameLength) {
return Native.Username_CandidatesFrom(nickname, minNicknameLength, maxNicknameLength).split(',');
return Native.Username_CandidatesFrom(nickname, minNicknameLength, maxNicknameLength);
}

@@ -16,0 +16,0 @@ exports.generateCandidates = generateCandidates;

@@ -14,3 +14,6 @@ //

type LookupResponse = Map<string, LookupResponseEntry>;
interface LookupResponse {
entries: Map<string, LookupResponseEntry>;
debugPermitsUsed: number;
}

@@ -100,2 +103,7 @@ interface LookupResponseEntry {

interface MessageBackupValidationOutcome {
errorMessage: string | null;
unknownFieldMessages: Array<string>;
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars

@@ -241,2 +249,5 @@ type Serialized<T> = Buffer;

export function LookupRequest_setToken(request: Wrapper<LookupRequest>, token: Buffer): void;
export function MessageBackupKey_New(masterKey: Buffer, aci: Buffer): MessageBackupKey;
export function MessageBackupValidator_Validate(key: Wrapper<MessageBackupKey>, firstStream: InputStream, secondStream: InputStream, len: Buffer): Promise<MessageBackupValidationOutcome>;
export function MinidumpToJSONString(buffer: Buffer): string;
export function Mp4Sanitizer_Sanitize(input: InputStream, len: Buffer): Promise<SanitizedMetadata>;

@@ -423,2 +434,3 @@ export function PlaintextContent_Deserialize(data: Buffer): PlaintextContent;

export function SignedPreKeyRecord_Serialize(obj: Wrapper<SignedPreKeyRecord>): Buffer;
export function TESTING_CdsiLookupErrorConvert(): void;
export function TESTING_CdsiLookupResponseConvert(): LookupResponse;

@@ -449,2 +461,3 @@ export function TESTING_ErrorOnBorrowAsync(_input: null): Promise<void>;

export function TESTING_PanicOnReturnSync(_needsCleanup: null): null;
export function TESTING_ReturnStringArray(): string[];
export function TESTING_TestingHandleType_getValue(handle: Wrapper<TestingHandleType>): number;

@@ -462,3 +475,3 @@ export function TokioAsyncContext_new(): TokioAsyncContext;

export function UsernameLink_DecryptUsername(entropy: Buffer, encryptedUsername: Buffer): string;
export function Username_CandidatesFrom(nickname: string, minLen: number, maxLen: number): string;
export function Username_CandidatesFrom(nickname: string, minLen: number, maxLen: number): string[];
export function Username_Hash(username: string): Buffer;

@@ -496,2 +509,3 @@ export function Username_HashFromParts(nickname: string, discriminator: string, minLen: number, maxLen: number): Buffer;

interface LookupRequest { readonly __type: unique symbol; }
interface MessageBackupKey { readonly __type: unique symbol; }
interface NonSuspendingBackgroundThreadRuntime { readonly __type: unique symbol; }

@@ -498,0 +512,0 @@ interface OtherTestingHandleType { readonly __type: unique symbol; }

{
"name": "@signalapp/libsignal-client",
"version": "0.39.3",
"version": "0.40.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc