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

fix: shim setImmediate in browser #51

Merged
merged 1 commit into from
May 29, 2019
Merged
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
1 change: 1 addition & 0 deletions src/circuit/dialer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const once = require('once')
const PeerId = require('peer-id')
const waterfall = require('async/waterfall')
const setImmediate = require('async/setImmediate')
const multiaddr = require('multiaddr')

const Connection = require('interface-connection').Connection
Expand Down
1 change: 1 addition & 0 deletions src/circuit/hop.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const proto = require('../protocol').CircuitRelay
const multiaddr = require('multiaddr')
const series = require('async/series')
const waterfall = require('async/waterfall')
const setImmediate = require('async/setImmediate')

const multicodec = require('./../multicodec')

Expand Down