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 0.0.6 to 0.0.7

LICENSE

14

lib/controllers/receiver.js

@@ -36,7 +36,7 @@ var util = require('util');

ReceiverController.prototype.getAppAvailability = function(appId, callback) {
var data = {
type: 'GET_APP_AVAILABILITY',
var data = {
type: 'GET_APP_AVAILABILITY',
appId: Array.isArray(appId) ? appId : [appId]
};
this.request(data, function(err, response) {

@@ -63,5 +63,5 @@ if(err) return callback(err);

ReceiverController.prototype.setVolume = function(volume, callback) {
var data = {
type: 'SET_VOLUME',
volume: volume
var data = {
type: 'SET_VOLUME',
volume: {level: volume}
};

@@ -89,2 +89,2 @@

module.exports = ReceiverController;
module.exports = ReceiverController;
{
"name": "castv2-client",
"version": "0.0.6",
"version": "0.0.7",
"description": "A Chromecast client based on the new (CASTV2) protocol",

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

@@ -9,2 +9,4 @@ castv2-client

For advanced use, like using [subtitles](https://github.com/thibauts/node-castv2-client/wiki/How-to-use-subtitles-with-the-DefaultMediaReceiver-app) with the DefaultMediaReceiver check the [wiki](https://github.com/thibauts/node-castv2-client/wiki).
Installation

@@ -98,1 +100,6 @@ ------------

```
Contributors
------------
* [xat](https://github.com/xat) (Simon Kusterer)
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