@discordjs/opus
Advanced tools
Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "@discordjs/opus", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Opus bindings for Node", | ||
@@ -30,10 +30,10 @@ "main": "lib/index.js", | ||
"@discordjs/node-pre-gyp": "^0.1.0", | ||
"node-addon-api": "^2.0.0" | ||
"node-addon-api": "^3.0.2" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.8.0", | ||
"eslint-config-aqua": "^7.2.3", | ||
"node-gyp": "^6.1.0", | ||
"eslint": "^7.12.0", | ||
"eslint-config-aqua": "^7.3.0", | ||
"node-gyp": "^7.1.2", | ||
"prism-media": "^1.2.2", | ||
"typescript": "^3.8.3" | ||
"typescript": "^4.0.3" | ||
}, | ||
@@ -40,0 +40,0 @@ "eslintConfig": { |
@@ -14,4 +14,4 @@ # @discordjs/opus [](https://github.com/discordjs/opus/actions?query=workflow%3ABuild) [](https://github.com/discordjs/opus/actions?query=workflow%3APrebuild) | ||
// Encode and decode. | ||
const encoded = encoder.encode(buffer, 48000 / 100); | ||
const decoded = encoder.decode(encoded, 48000 / 100); | ||
const encoded = encoder.encode(buffer); | ||
const decoded = encoder.decode(encoded); | ||
``` | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5120929
+ Addednode-addon-api@3.2.1(transitive)
- Removednode-addon-api@2.0.2(transitive)
Updatednode-addon-api@^3.0.2