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

harcon-radiation

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harcon-radiation - npm Package Compare versions

Comparing version 0.1.0 to 0.1.5

8

lib/harcon-radiation.js

@@ -38,4 +38,4 @@ var rest = require('connect-rest');

radiation.ignite = function( event, params, callback ){
var parameters = [ event ].concat( params );
radiation.ignite = function( division, event, params, callback ){
var parameters = [ division, event ].concat( params );
parameters.push( function(err, res){

@@ -74,3 +74,3 @@ return callback( err, res );

rest.post( path, function( request, content, callback ){
self.ignite( firestarter.context + '.' + service, content.params || content.parameters || [], callback );
self.ignite( firestarter.division, firestarter.context + '.' + service, content.params || content.parameters || [], callback );
} );

@@ -130,3 +130,3 @@ self.rests[ firestarter.name ].push( path );

if( self.ios.contains( data.event ) ){
return self.ignite( data.event, data.params || data.parameters || [], function(err, res){
return self.ignite( data.division, data.event, data.params || data.parameters || [], function(err, res){
socket.emit( err ? 'error' : 'done', err ? err.message : res );

@@ -133,0 +133,0 @@ } );

{
"name": "harcon-radiation",
"version": "0.1.0",
"version": "0.1.5",
"description": "REST and Websocket plugin for harcon",

@@ -53,3 +53,3 @@ "keywords": [

},
"_id": "harcon-radiation@0.1.0"
"_id": "harcon-radiation@0.1.5"
}
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