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

multiserver

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiserver - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

8

package.json
{
"name": "multiserver",
"description": "",
"version": "1.4.1",
"version": "1.5.0",
"homepage": "https://github.com/dominictarr/multiserver",

@@ -14,6 +14,6 @@ "repository": {

"pull-ws": "^3.2.2",
"secret-handshake": "^1.0.0",
"secret-handshake": "^1.1.1",
"separator-escape": "0.0.0",
"stream-to-pull-stream": "~1.7.0",
"socks": "1.1.9"
"socks": "1.1.9",
"stream-to-pull-stream": "^1.7.2"
},

@@ -20,0 +20,0 @@ "devDependencies": {

@@ -5,7 +5,8 @@ var SHS = require('secret-handshake')

module.exports = function (opts) {
var keys = SHS.toKeys(opts.keys || opts.seed)
var server = SHS.createServer(
opts.keys, opts.auth || opts.authenticate, opts.appKey, opts.timeout
keys, opts.auth || opts.authenticate, opts.appKey, opts.timeout
)
var client = SHS.createClient(
opts.keys, opts.appKey, opts.timeout
keys, opts.appKey, opts.timeout
)

@@ -41,4 +42,5 @@

stringify: function () {
return 'shs:'+opts.keys.publicKey.toString('base64')
}
return 'shs:'+keys.publicKey.toString('base64')
},
publicKey: keys.publicKey
}

@@ -48,1 +50,3 @@ }

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