Skip to content

Commit

Permalink
fix: import of promise breaker
Browse files Browse the repository at this point in the history
Fixes #234
  • Loading branch information
luddd3 committed Aug 5, 2022
1 parent e6631ea commit d873885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AmqpConnectionManager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import amqp, { Connection } from 'amqplib';
import { EventEmitter, once } from 'events';
import { TcpSocketConnectOpts } from 'net';
import pb from 'promise-breaker';
import * as pb from 'promise-breaker';
import { ConnectionOptions } from 'tls';
import { URL } from 'url';
import ChannelWrapper, { CreateChannelOpts } from './ChannelWrapper.js';
Expand Down
2 changes: 1 addition & 1 deletion src/ChannelWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type * as amqplib from 'amqplib';
import { Options } from 'amqplib';
import crypto from 'crypto';
import { EventEmitter } from 'events';
import pb from 'promise-breaker';
import * as pb from 'promise-breaker';
import { promisify } from 'util';
import { IAmqpConnectionManager } from './AmqpConnectionManager.js';

Expand Down

0 comments on commit d873885

Please sign in to comment.