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

ataraxia

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ataraxia - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

package.json
{
"name": "ataraxia",
"version": "0.7.1",
"version": "0.7.2",
"description": "P2P messaging over mesh networks",

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

@@ -32,2 +32,7 @@ 'use strict';

setSocket(s) {
if(this.socket) {
// Request that the previous socket is destroyed
this.socket.destroy();
}
this.socket = s;

@@ -100,2 +105,7 @@

write(type, payload) {
if(! this.socket) {
this.debug('No socket but tried to send', type, 'with data', payload);
return;
}
this.debug('Sending', type, 'with data', payload);

@@ -102,0 +112,0 @@ const data = msgpack.encode([ String(type), payload ]);

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