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 4.2.0 to 4.3.0

2

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

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

@@ -136,3 +136,2 @@ /// <reference types="node" />

private readonly syncStates;
private readonly masterKey;
private readonly storageKey;

@@ -160,2 +159,3 @@ private readonly privateKey;

readonly secondaryDevices: Device[];
readonly masterKey: Buffer;
lastResortKeyId: number;

@@ -162,0 +162,0 @@ readonly userAgent = "OWI";

@@ -203,3 +203,2 @@ "use strict";

syncStates = new WeakMap();
masterKey = crypto_1.default.randomBytes(16);
storageKey;

@@ -228,2 +227,3 @@ privateKey = libsignal_client_1.PrivateKey.generate();

secondaryDevices = new Array();
masterKey = crypto_1.default.randomBytes(16);
lastResortKeyId = 1;

@@ -230,0 +230,0 @@ // TODO(indutny): make primary device type configurable

@@ -266,2 +266,3 @@ "use strict";

ProvisioningVersion: compiled_1.signalservice.ProvisioningVersion.CURRENT,
masterKey: primaryDevice.masterKey,
}).finish();

@@ -268,0 +269,0 @@ const { body, ephemeralKey } = (0, crypto_1.encryptProvisionMessage)(Buffer.from(envelopeData), publicKey);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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