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

nxt-aws-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nxt-aws-client - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

index.js

3

dist/socket/index.js

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

this.id = 0;
this.options.logger.debug({ url: config.socket.url }, 'Connecting to WS server.');
this.client = new WebSocket(config.socket.url, {

@@ -19,3 +20,3 @@ headers: {

this.client.on('close', () => this.options.logger.debug({}, 'Socket closed.'));
this.client.on('unexpected-response', (req, res) => this.options.logger.debug({ code: res.statusCode }, 'Unexpected socket response.'));
this.client.on('unexpected-response', (req, res) => this.options.logger.debug({ code: res.statusCode, body: res.read(), status: res.statusMessage }, 'Unexpected socket response.'));
this.requestsBus = new events_1.EventEmitter();

@@ -22,0 +23,0 @@ this.requestsBus.setMaxListeners(0);

{
"name": "nxt-aws-client",
"version": "1.0.1",
"version": "1.0.2",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts",

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