Comparing version 1.4.10 to 1.4.11
{ | ||
"name": "darcon", | ||
"version": "1.4.10", | ||
"version": "1.4.11", | ||
"description": "Simple Messaging/Service Bus for node entities over NatsIO", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -25,2 +25,5 @@ const _ = require( 'isa.js' ) | ||
fastify.post( prefix + '/:division/:entity/:message', fastifyConfig.preValidation ? fastifyConfig.preValidation( fastify, '/:division/:entity/:message' ) : {}, async function (request, reply) { | ||
if ( request.params.division !== Darcon.name ) | ||
throw new Error('Invalid request') | ||
let newRequest = extractRequest( request, options ) | ||
@@ -27,0 +30,0 @@ let content = newRequest.packet || newRequest.body |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58111
1354