Comparing version 8.4.10 to 8.4.15
let Cerobee = require('clerobee') | ||
let clerobee = new Cerobee( 16 ) | ||
let VALVE_SEPARATOR = '>' | ||
let VALVE_SEPARATOR = '|' | ||
let VALVE_DEFAULT = '-' | ||
@@ -167,4 +167,4 @@ let VALVE_GLOBAL = '*' | ||
if ( valveIndex > -1 ) { | ||
valve = event.substring( valveIndex + 1 ) | ||
event = event.substring( 0, valveIndex ) | ||
valve = event.substring( 0, valveIndex ) | ||
event = event.substring( valveIndex + 1 ) | ||
} | ||
@@ -171,0 +171,0 @@ |
{ | ||
"name": "harcon", | ||
"version": "8.4.10", | ||
"version": "8.4.15", | ||
"description": "Messaging/Service Bus for the harmonic convergence of node-based enterprise entities.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -23,3 +23,3 @@ Harcon - Proven and reliable microservice solution for the harmonic convergence of JS entities. | ||
- __Channel-agnostic__: harcon represents a very abstract messaging framework allowing you to use any underlaying technology your application requires: [AMQP](http://www.amqp.org), [MQTT](http://mqtt.org), [Amazon SQS](https://aws.amazon.com/sqs/), etc... | ||
- __Channel-agnostic__: harcon represents a very abstract messaging framework allowing you to use any underlaying technology your application requires: [AMQP](http://www.amqp.org), [MQTT](http://mqtt.org), [Amazon SQS](https://aws.amazon.com/sqs/), [NATS](http://nats.io) etc... | ||
For amqp integration, please check this: [harcon-amqp](https://github.com/imrefazekas/harcon-amqp) | ||
@@ -26,0 +26,0 @@ For sqs integration, please check this: [harcon-sqs](https://github.com/imrefazekas/harcon-sqs) |
@@ -111,2 +111,9 @@ const assert = require('assert') | ||
describe('Harcon broadcasting', function () { | ||
it('Broatcasting', async function () { | ||
let res = await inflicter.ignite( clerobee.generate(), null, '', '*|Alizee.dormir' ) | ||
expect(res).to.eql( 'Non, non, non!' ) | ||
}) | ||
}) | ||
describe('Depth handling', function () { | ||
@@ -113,0 +120,0 @@ it('multilevel domains', async function () { |
623657
3728