Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 86e0a7a

Browse files
PiusNyakoojojacobheun
authored andcommitted
fix: import async/setImmediate to avoid webpack errors (#303)
1 parent 6fade87 commit 86e0a7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dialer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const Connection = require('interface-connection').Connection
44
const ConnectionFSM = require('./connection')
55
const getPeerInfo = require('./get-peer-info')
66
const once = require('once')
7+
const setImmediate = require('async/setImmediate')
78

89
const debug = require('debug')
910
const log = debug('libp2p:switch:dial')

0 commit comments

Comments
 (0)