Socket
Socket
Sign inDemoInstall

castv2-client

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castv2-client - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

12

lib/controllers/media.js

@@ -18,2 +18,4 @@ var util = require('util');

var status = data.status[0];
// Sometimes an empty status array can come through; if so don't emit it
if (!status) return;
self.currentSession = status;

@@ -63,2 +65,7 @@ self.emit('status', status);

: [];
data.repeatMode = (typeof options.repeatMode === "string" &&
typeof options.repeatMode !== 'undefined')
? options.repeatMode
: "REPEAT_OFF";

@@ -72,2 +79,5 @@ data.media = media;

}
if(response.type === 'LOAD_CANCELLED') {
return callback(new Error('Load cancelled'));
}
var status = response.status[0];

@@ -112,2 +122,2 @@ callback(null, status);

module.exports = MediaController;
module.exports = MediaController;

2

package.json
{
"name": "castv2-client",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Chromecast client based on the new (CASTV2) protocol",

@@ -5,0 +5,0 @@ "author": "thibauts",

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