Skip to content

Commit

Permalink
fix: add buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Apr 28, 2020
1 parent dd9e6d3 commit 67f167d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var debug = require('debug')('simple-peer')
var getBrowserRTC = require('get-browser-rtc')
var randombytes = require('randombytes')
var stream = require('readable-stream')
var { Buffer } = require('buffer')
var queueMicrotask = require('queue-microtask') // TODO: remove when Node 10 is not supported

var MAX_BUFFERED_AMOUNT = 64 * 1024
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"url": "https://github.com/feross/simple-peer/issues"
},
"dependencies": {
"buffer": "^5.6.0",
"debug": "^4.0.1",
"get-browser-rtc": "^1.0.0",
"queue-microtask": "^1.1.0",
Expand Down

0 comments on commit 67f167d

Please sign in to comment.