Comparing version 0.2.0 to 0.2.1
@@ -17,3 +17,3 @@ | ||
// Ensure the range is valid. | ||
if( !VALID_RATES.contains( this.rate ) ) { | ||
if( VALID_RATES.indexOf( this.rate ) === -1 ) { | ||
throw new RangeError( | ||
@@ -20,0 +20,0 @@ 'Encoder rate (' + this.rate + ') is not valid. ' + |
{ | ||
"name": "node-opus", | ||
"description": "NodeJS native binding to OPUS", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Mikko Rantanen <jubjub@jubjubnest.net>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/Rantanen/node-opus", |
9418896