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

@bss-sbc/rabbitmq-connection-instance

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bss-sbc/rabbitmq-connection-instance - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

dist/rabbitmq.d.ts

@@ -12,3 +12,3 @@ /// <reference types="node" />

connect(uri: string, options?: Options): Promise<NodeJS.Timeout | undefined>;
publish(queue: string, exchange: string, type: string, routingKey: string, data: any): Promise<boolean | undefined>;
publish(queue: string, exchange: string, type: string, routingKey: string, bindingKey: string, data: any): Promise<boolean | undefined>;
consume(queue: string, onMessage: OnMessage): Promise<Replies.Consume | undefined>;

@@ -27,3 +27,3 @@ stopConsume(queue: string): Promise<void>;

connect(uri: string, options?: Options): Promise<NodeJS.Timeout | undefined>;
publish(queue: string, exchange: string, type: string, routingKey: string, data: any): Promise<boolean | undefined>;
publish(queue: string, exchange: string, type: string, routingKey: string, bindingKey: string, data: any): Promise<boolean | undefined>;
consume(queue: string, onMessage: OnMessage): Promise<Replies.Consume | undefined>;

@@ -30,0 +30,0 @@ stopConsume(queue: string): Promise<void>;

@@ -47,3 +47,3 @@ "use strict";

}
async publish(queue, exchange, type, routingKey, data) {
async publish(queue, exchange, type, routingKey, bindingKey, data) {
let result;

@@ -53,3 +53,3 @@ if (!!this.publisher) {

await this.publisher.assertQueue(queue);
await this.publisher.bindQueue(queue, exchange, routingKey);
await this.publisher.bindQueue(queue, exchange, bindingKey);
// TODO: Logger published

@@ -56,0 +56,0 @@ result = this.publisher.publish(exchange, routingKey, Buffer.from(JSON.stringify(data)));

{
"name": "@bss-sbc/rabbitmq-connection-instance",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/rabbitmq.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