Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

use-listen-along

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-listen-along - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc