Skip to content

Commit

Permalink
fix: import async/setImmediate to avoid webpack errors (libp2p#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
PiusNyakoojo authored and jacobheun committed Jan 28, 2019
1 parent 6fade87 commit 86e0a7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dialer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const Connection = require('interface-connection').Connection
const ConnectionFSM = require('./connection')
const getPeerInfo = require('./get-peer-info')
const once = require('once')
const setImmediate = require('async/setImmediate')

const debug = require('debug')
const log = debug('libp2p:switch:dial')
Expand Down

0 comments on commit 86e0a7a

Please sign in to comment.