Use libsodium.js if available (#1390)

* Use libsodium.js if available

* Style consistency

* Added peer dep and update README

* Link should point to npmjs 🤔
This commit is contained in:
Skiptir Engu
2017-04-19 13:35:45 -03:00
committed by Crawl
parent 27114eebf9
commit 8475a4abee
3 changed files with 22 additions and 10 deletions

View File

@@ -45,7 +45,8 @@
"node-opus": "^0.2.5",
"opusscript": "^0.0.3",
"sodium": "^2.0.1",
"uws": "^0.14.1"
"uws": "^0.14.1",
"libsodium-wrappers": "^0.5.1"
},
"devDependencies": {
"discord.js-docgen": "hydrabolt/discord.js-docgen",