New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hyperswarm/secret-stream

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperswarm/secret-stream - npm Package Compare versions

Comparing version 5.0.1 to 5.1.0

1

index.js

@@ -359,2 +359,3 @@ const { Pull, Push, HEADERBYTES, KEYBYTES, ABYTES } = require('sodium-secretstream')

opened(val)
if (val) this.emit('connect')
}

@@ -361,0 +362,0 @@ }

2

package.json
{
"name": "@hyperswarm/secret-stream",
"version": "5.0.1",
"version": "5.1.0",
"description": "Secret stream backed by Noise and libsodium's secretstream",

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

@@ -107,4 +107,10 @@ # @hyperswarm/secret-stream

#### `s.on('connect', onconnect)`
Emitted when the handshake is fully done.
It is safe to write to the stream immediately though, as data is buffered
internally before the handshake has been completed.
## License
MIT
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