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

node-msgr

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-msgr - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

2

dist/index.d.ts

@@ -20,2 +20,3 @@ import * as AMQP from 'amqplib';

private exchange;
private connection;
private channelPromise;

@@ -29,2 +30,3 @@ private channel;

consume<T = any>(queueName: string, callback: (msg: Msgr.Message<T>) => any, options?: Msgr.ConsumeOptions): void;
subscribe<T = any>(pattern: string, callback: (msg: Msgr.Message<T>) => any, options?: Msgr.ConsumeOptions): Promise<Function>;
private _connect(url, attempts?);

@@ -31,0 +33,0 @@ private _waitForChannel();

@@ -73,2 +73,19 @@ "use strict";

}
async subscribe(pattern, callback, options = {}) {
if (!this.channel) {
return void this._waitForChannel().then(() => this.subscribe(pattern, callback, options));
}
const assertQueue = await this.channel.assertQueue('', { exclusive: true });
await this.channel.bindQueue(assertQueue.queue, this.exchange, pattern);
const consumeOptions = Object.assign({}, DEFAULT_CONSUME_OPTIONS, options);
this.channel.consume(assertQueue.queue, (message) => {
if (message) {
callback(this._parseMessage(message));
}
}, consumeOptions);
return () => {
this.channel.unbindQueue(assertQueue.queue, this.exchange, pattern);
this.channel.deleteQueue(assertQueue.queue);
};
}
async _connect(url, attempts = 1) {

@@ -78,8 +95,8 @@ if (attempts > 1) {

}
const connection = await AMQP.connect(url);
this.channel = await connection.createChannel();
this.connection = await AMQP.connect(url);
this.channel = await this.connection.createChannel();
if (attempts < this.options.maxConnectionAttempts) {
this.channel.once('error', (e) => {
console.log(`AMQP connection failed. Retrying in ${this.options.connectionRetryInterval}ms.`);
connection.close();
this.connection.close();
this.channel = null;

@@ -101,4 +118,5 @@ this.channelPromise = new Promise((resolve) => setTimeout(resolve, this.options.connectionRetryInterval))

_parseMessage(message) {
const content = JSON.parse(message.content.toString());
return {
content: JSON.parse(message.content.toString()),
content,
properties: message.properties,

@@ -119,2 +137,2 @@ fields: message.fields,

module.exports = Msgr;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGdDQUFnQztBQUNoQyw2QkFBNkI7QUFHN0IsTUFBTSx1QkFBdUIsR0FBd0IsRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFLENBQUM7QUFDckUsTUFBTSxvQkFBb0IsR0FBcUIsRUFBRSxXQUFXLEVBQUUsa0JBQWtCLEVBQUUsQ0FBQztBQUNuRixNQUFNLDBCQUEwQixHQUFHO0lBQy9CLHFCQUFxQixFQUFFLEVBQUU7SUFDekIsdUJBQXVCLEVBQUUsSUFBSTtDQUNoQyxDQUFDO0FBcUJGLGlCQUFrQixTQUFRLEtBQUs7SUFJM0IsWUFBWSxPQUFlLEVBQUUsY0FBd0I7UUFDakQsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ2YsSUFBSSxDQUFDLGNBQWMsR0FBRyxjQUFjLENBQUM7SUFDekMsQ0FBQztDQUNKO0FBRUQ7SUFTSSxZQUFZLEdBQVcsRUFBRSxXQUFtQixNQUFNLEVBQUUsT0FBTyxHQUFHLEVBQUU7UUFGeEQsZUFBVSxHQUEwQixJQUFJLEdBQUcsRUFBRSxDQUFDO1FBSWxELElBQUksQ0FBQyxPQUFPLEdBQUcsTUFBTSxDQUFDLE1BQU0sQ0FBQyxFQUFFLEVBQUUsMEJBQTBCLEVBQUUsT0FBTyxDQUFDLENBQUM7UUFDdEUsSUFBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLENBQUM7UUFDekIsSUFBSSxDQUFDLGNBQWMsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQz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FBQyxPQUFxQjtRQUV0QyxNQUFNLGFBQWEsR0FBRyxPQUFPLENBQUMsVUFBVSxDQUFDLGFBQWEsQ0FBQztRQUN2RCxNQUFNLFFBQVEsR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLEdBQUcsQ0FBQyxhQUFhLENBQUMsQ0FBQztRQUNwRCxFQUFFLENBQUMsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDO1lBQ1gsSUFBSSxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsYUFBYSxDQUFDLENBQUM7WUFDdEMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3RCLENBQUM7SUFDTCxDQUFDO0NBQ0o7QUFFRCxpQkFBUyxJQUFJLENBQUMifQ==

2

package.json
{
"name": "node-msgr",
"version": "0.3.0",
"version": "0.4.0",
"description": "A node AMQP client built to play nice with the msgr Rails gem.",

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

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