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

svcs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svcs - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

3

lib/route/index.js

@@ -16,2 +16,3 @@ 'use strict';

queue: 'queue123', // todo routeToQueueName(route)
queueOpts: {durable: true, autoDelete: false, messageTtl: 30000, expires: 3600000},
autoAck: false

@@ -92,3 +93,3 @@ };

ch.assertExchange(self.options.exchange, 'topic'),
ch.assertQueue(self.options.queue),
ch.assertQueue(self.options.queue, self.options.queueOpts),
ch.bindQueue(self.options.queue, self.options.exchange, routingKey),

@@ -95,0 +96,0 @@ ch.consume(self.options.queue, handleMessage, {consumerTag: self.consumerTag})

{
"name": "svcs",
"version": "0.1.8",
"version": "0.1.9",
"description": "AMQP driven micro services for node.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -40,3 +40,2 @@ 'use strict';

ok = ok.then(function (ch) {
ch.assertQueue('test_events_params');
ch.publish('amq.topic', '$test.123456.events.some', new Buffer(JSON.stringify({msg: 'some message'})), {contentType: 'application/json'});

@@ -43,0 +42,0 @@ });

@@ -70,3 +70,2 @@ 'use strict';

ok = ok.then(function (ch) {
ch.assertQueue('test_events_json');
ch.publish('amq.topic', '$jsontest.123456.events', new Buffer(JSON.stringify({msg: 'some message'})), {contentType: 'application/json'});

@@ -73,0 +72,0 @@ });

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