Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@signalapp/mock-server

Package Overview
Dependencies
Maintainers
6
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalapp/mock-server - npm Package Compare versions

Comparing version 6.4.1 to 6.4.2

2

package.json
{
"name": "@signalapp/mock-server",
"version": "6.4.1",
"version": "6.4.2",
"description": "Mock Signal Server for writing tests",

@@ -5,0 +5,0 @@ "main": "src/index.js",

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

secondaryDevices = new Array();
masterKey = crypto_1.default.randomBytes(16);
masterKey = crypto_1.default.randomBytes(32);
// TODO(indutny): make primary device type configurable

@@ -234,0 +234,0 @@ userAgent = 'OWI';

@@ -13,7 +13,7 @@ import z from 'zod';

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
}, {
keyId: number;
}, {
publicKey: string;
keyId: number;
}>;

@@ -26,8 +26,8 @@ export type ServerPreKey = z.infer<typeof PreKeySchema>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -41,7 +41,7 @@ }>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
}, {
keyId: number;
}, {
publicKey: string;
keyId: number;
}>, "many">;

@@ -53,8 +53,8 @@ pqPreKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -67,8 +67,8 @@ }>, "many">>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -81,8 +81,8 @@ }>>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -92,18 +92,18 @@ }>>;

preKeys: {
keyId: number;
publicKey: string;
keyId: number;
}[];
pqPreKeys?: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}[] | undefined;
pqLastResortPreKey?: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
} | undefined;
signedPreKey?: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -113,18 +113,18 @@ } | undefined;

preKeys: {
keyId: number;
publicKey: string;
keyId: number;
}[];
pqPreKeys?: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}[] | undefined;
pqLastResortPreKey?: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
} | undefined;
signedPreKey?: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -140,3 +140,2 @@ } | undefined;

}, "strip", z.ZodTypeAny, {
content: string;
type: number;

@@ -149,7 +148,8 @@ destinationDeviceId: number & {

};
content: string;
}, {
content: string;
type: number;
destinationDeviceId: number;
destinationRegistrationId: number;
content: string;
}>;

@@ -164,3 +164,2 @@ export type Message = z.infer<typeof MessageSchema>;

}, "strip", z.ZodTypeAny, {
content: string;
type: number;

@@ -173,13 +172,12 @@ destinationDeviceId: number & {

};
content: string;
}, {
content: string;
type: number;
destinationDeviceId: number;
destinationRegistrationId: number;
content: string;
}>, "many">;
timestamp: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
timestamp: number;
messages: {
content: string;
type: number;

@@ -192,11 +190,13 @@ destinationDeviceId: number & {

};
content: string;
}[];
timestamp: number;
}, {
timestamp: number;
messages: {
content: string;
type: number;
destinationDeviceId: number;
destinationRegistrationId: number;
content: string;
}[];
timestamp: number;
}>;

@@ -212,2 +212,3 @@ export type MessageList = z.infer<typeof MessageListSchema>;

}, "strip", z.ZodTypeAny, {
fetchesMessages: boolean;
registrationId: number & {

@@ -220,8 +221,7 @@ __reg_id: never;

name: string;
}, {
fetchesMessages: boolean;
}, {
registrationId: number;
pniRegistrationId: number;
name: string;
fetchesMessages: boolean;
}>;

@@ -233,8 +233,8 @@ aciSignedPreKey: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -247,8 +247,8 @@ }>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -261,8 +261,8 @@ }>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -275,8 +275,8 @@ }>;

}, "strip", z.ZodTypeAny, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
}, {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -287,2 +287,3 @@ }>;

accountAttributes: {
fetchesMessages: boolean;
registrationId: number & {

@@ -295,22 +296,21 @@ __reg_id: never;

name: string;
fetchesMessages: boolean;
};
aciSignedPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
};
pniSignedPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
};
aciPqLastResortPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
};
pniPqLastResortPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -321,25 +321,25 @@ };

accountAttributes: {
fetchesMessages: boolean;
registrationId: number;
pniRegistrationId: number;
name: string;
fetchesMessages: boolean;
};
aciSignedPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
};
pniSignedPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
};
aciPqLastResortPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;
};
pniPqLastResortPreKey: {
keyId: number;
publicKey: string;
keyId: number;
signature: string;

@@ -356,8 +356,8 @@ };

}, "strip", z.ZodTypeAny, {
attributes: number;
members: number;
attributes: number;
addFromInviteLink: number;
}, {
attributes: number;
members: number;
attributes: number;
addFromInviteLink: number;

@@ -368,17 +368,17 @@ }>;

publicKey: Uint8Array;
version: 0;
accessControl: {
attributes: number;
members: number;
attributes: number;
addFromInviteLink: number;
};
version: 0;
members: unknown[];
}, {
publicKey: Uint8Array;
version: 0;
accessControl: {
attributes: number;
members: number;
attributes: number;
addFromInviteLink: number;
};
version: 0;
members: unknown[];

@@ -385,0 +385,0 @@ }>;

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc