Socket
Socket
Sign inDemoInstall

@niobium/api-transport

Package Overview
Dependencies
55
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name" : "@niobium/api-transport",
"description" : "Niobium API transport layer",
"version" : "0.3.1",
"version" : "0.3.2",
"license" : "MIT",

@@ -6,0 +6,0 @@ "author" : {

@@ -259,3 +259,3 @@ const nTools = require('@niobium/tools');

if (packet && !this.isLocal) this.socket.binary(true).compress(false).emit(this.options.cmdToTarget, await this.serializePacket(packet));
if (packet && !this.isLocal) this.socket.compress(false).emit(this.options.cmdToTarget, await this.serializePacket(packet));
if (packet && this.isLocal) {

@@ -332,3 +332,3 @@ let ret = await this.emitEx(packet.name, true, {

if (mwConfig.hasError) packet.args = [this.API_ERROR];
this.socket.binary(true).compress(false).emit(this.options.cmdFromTargetRet, await this.serializePacket(packet));
this.socket.compress(false).emit(this.options.cmdFromTargetRet, await this.serializePacket(packet));
if (packet.hasError || mwConfig.hasError) throw packet.errorDescription || mwConfig.errorDescription;

@@ -335,0 +335,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc