amqp-connection-manager
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.AmqpConnectionManagerClass = exports.connect = void 0; | ||
/* eslint-disable @typescript-eslint/no-namespace */ | ||
const AmqpConnectionManager_js_1 = __importDefault(require("./AmqpConnectionManager.js")); | ||
@@ -9,0 +10,0 @@ exports.AmqpConnectionManagerClass = AmqpConnectionManager_js_1.default; |
@@ -31,3 +31,3 @@ /// <reference types="node" /> | ||
} | ||
interface PublishOptions extends Options.Publish { | ||
export interface PublishOptions extends Options.Publish { | ||
/** Message will be rejected after timeout ms */ | ||
@@ -34,0 +34,0 @@ timeout?: number; |
import AmqpConnectionManager, { AmqpConnectionManagerOptions, ConnectionUrl, IAmqpConnectionManager } from './AmqpConnectionManager.js'; | ||
import { PublishOptions } from './ChannelWrapper.js'; | ||
export type { AmqpConnectionManagerOptions, ConnectionUrl, IAmqpConnectionManager as AmqpConnectionManager, } from './AmqpConnectionManager.js'; | ||
export type { CreateChannelOpts, default as ChannelWrapper, SetupFunc, Channel, } from './ChannelWrapper.js'; | ||
import { Options as AmqpLibOptions } from 'amqplib'; | ||
export declare namespace Options { | ||
type Connect = AmqpLibOptions.Connect; | ||
type AssertQueue = AmqpLibOptions.AssertQueue; | ||
type DeleteQueue = AmqpLibOptions.DeleteQueue; | ||
type AssertExchange = AmqpLibOptions.AssertExchange; | ||
type DeleteExchange = AmqpLibOptions.DeleteExchange; | ||
type Publish = PublishOptions; | ||
type Consume = AmqpLibOptions.Consume; | ||
type Get = AmqpLibOptions.Get; | ||
} | ||
export declare function connect(urls: ConnectionUrl | ConnectionUrl[] | undefined | null, options?: AmqpConnectionManagerOptions): IAmqpConnectionManager; | ||
@@ -5,0 +17,0 @@ export { AmqpConnectionManager as AmqpConnectionManagerClass }; |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable @typescript-eslint/no-namespace */ | ||
import AmqpConnectionManager from './AmqpConnectionManager.js'; | ||
@@ -2,0 +3,0 @@ export function connect(urls, options) { |
{ | ||
"name": "amqp-connection-manager", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Auto-reconnect and round robin support for amqplib.", | ||
@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
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
152186
24
2714