use-listen-along
Advanced tools
Comparing version 1.1.10 to 1.1.11
{ | ||
"name": "use-listen-along", | ||
"description": "A react hook to listen alongside others on spotify.", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
@@ -29,3 +29,3 @@ # 👥🎵 use-listen along | ||
function listen(disconnect) { | ||
function listen(disconnect: boolean) { | ||
// Get auth from spotify with scope 'user-modify-playback-state'. | ||
@@ -38,3 +38,3 @@ | ||
return ( | ||
<button onClick={() => listen(connection ? true : false)}> {connection ? 'Disconnect' : "Listen Along"} </button> | ||
<button onClick={() => listen(connection)}> {connection ? 'Disconnect' : "Listen Along"} </button> | ||
) | ||
@@ -41,0 +41,0 @@ } |
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
25175