mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Make uws a peer dep, and readd ws (#928)
* Make uws a peer dep, and readd ws * if -> else if
This commit is contained in:
@@ -34,11 +34,12 @@
|
||||
"pako": "^1.0.3",
|
||||
"superagent": "^3.0.0",
|
||||
"tweetnacl": "^0.14.3",
|
||||
"uws": "^0.11.1"
|
||||
"ws": "^1.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"node-opus": "^0.2.0",
|
||||
"opusscript": "^0.0.1"
|
||||
"opusscript": "^0.0.1",
|
||||
"uws": "^0.11.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bufferutil": "^1.2.1",
|
||||
@@ -55,6 +56,7 @@
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"browser": {
|
||||
"ws": false,
|
||||
"uws": false,
|
||||
"opusscript": false,
|
||||
"node-opus": false,
|
||||
|
||||
Reference in New Issue
Block a user