Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change amqp_opts type to AmqpConnectionManagerOptions #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:16
- image: cimg/node:lts

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface IAmqpCacoonConfig {
port?: number;
vhost?: string;
connectionString?: string;
amqp_opts: object;
amqp_opts: AmqpConnectionManagerOptions;
providers: {
logger?: ILogger;
};
Expand All @@ -86,7 +86,7 @@ class AmqpCacoon {
private subChannelWrapper: ChannelWrapper | null;
private connection?: AmqpConnectionManager;
private fullHostName: string;
private amqp_opts: object;
private amqp_opts: AmqpConnectionManagerOptions;
private logger?: ILogger;
// private maxWaitForDrainMs: number;
private onChannelConnect: ConnectCallback | null;
Expand Down