Comparing version 1.1.0 to 1.2.0
10
index.js
@@ -99,3 +99,3 @@ var client = require('./client.js'); | ||
play: function() { | ||
return this.exec('toggle'); | ||
return this.exec('play'); | ||
}, | ||
@@ -112,2 +112,10 @@ | ||
/** | ||
* @description Toggle pause mode | ||
* @returns {Promise} | ||
*/ | ||
toggle: function() { | ||
return this.exec('toggle'); | ||
}, | ||
/** | ||
* @description Go to position pos in the current track | ||
@@ -114,0 +122,0 @@ * @param pos Position to seek (in miliseconds) |
{ | ||
"name": "node-spop", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Node wrapper for https://github.com/Schnouki/spop", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12205
337