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

pfinterfaceweb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pfinterfaceweb - npm Package Compare versions

Comparing version 0.0.2 to 0.0.4

4

config.js

@@ -43,3 +43,3 @@ var config = {}

/*config.stomp = {
config.stomp = {
host : "localhost",

@@ -54,3 +54,3 @@ port :61613,

}
}*/
}
module.exports = config;

@@ -85,10 +85,15 @@ // pfinterface

stompClient.on('disconnected', function(){
stompdebug('disconnected from broker, trying to reconnect');
console.log("STOMP broker disconnected")
stompdebug('disconnected from broker, trying to reconnect')
pfint.removeAllListeners('route')
pfint.removeAllListeners('memorySlot')
pfint.removeAllListeners('customCommand')
setTimeout( function() { stompClient.connect() } ,5000 )
})
stompClient.on('reconnected', function (){
stompdebug("reconnected");
console.log("STOMP broker reconnected")
stompdebug("reconnected")
});
stompClient.on('reconnecting', function (){
stompdebug("reconnecting");
stompdebug("reconnecting")
})

@@ -119,3 +124,7 @@ } catch (err)

})
pfint.on('connected', function ()
{
console.log("PathfinderPC Server Connected")
})
// API methods coming right up

@@ -122,0 +131,0 @@ var app = express()

@@ -8,3 +8,3 @@ {

},
"version": "0.0.2",
"version": "0.0.4",
"description": "An interface to PathfinderPC exposing methods as a HTTP REST API. Also can optionally send messages to a STOMP compatible Message Queue server",

@@ -11,0 +11,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

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