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

help-esb

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

help-esb - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

examples/rpcSend.js

@@ -14,3 +14,3 @@ var HelpEsb = require('../help-esb');

console.warn(error);
});
}).finally(client.close.bind(client));

@@ -17,0 +17,0 @@ client.on('type.error', function(err) {

var HelpEsb = require('../help-esb');
var client = new HelpEsb.Client(process.env.ESB);
client.login('bar');
client.send('asdf', {name: 'cool guy'});
client.send('asdf', {name: 'cool guy'}).finally(client.close.bind(client));

@@ -6,0 +6,0 @@ client.on('type.error', function(err) {

@@ -122,2 +122,3 @@ (function(root, factory) {

//
// client.subscribe('foo-result');
// client.rpcSend('foo', {name: 'John'}).then(function(response) {

@@ -182,2 +183,8 @@ // console.log(response);

// ### HelpEsb.Client.close
// Closes the connection, ending communication.
HelpEsb.Client.prototype.close = function() {
this._socket.end();
}
// ---

@@ -184,0 +191,0 @@ // ### Private Methods

{
"name": "help-esb",
"version": "0.1.1",
"version": "0.1.2",
"description": "A client for the Help.com team's ESB.",

@@ -5,0 +5,0 @@ "main": "help-esb.js",

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