Skip to content

Commit

Permalink
Merge pull request #270 from luddd3/fix-pb-import-broken
Browse files Browse the repository at this point in the history
Revert "fix: import of promise breaker"
  • Loading branch information
jwalton authored Aug 9, 2022
2 parents f42f7c2 + aaeae1e commit fb333e4
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 * as pb from 'promise-breaker';
import 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 * as pb from 'promise-breaker';
import pb from 'promise-breaker';
import { promisify } from 'util';
import { IAmqpConnectionManager } from './AmqpConnectionManager.js';

Expand Down

0 comments on commit fb333e4

Please sign in to comment.