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

kurento-module-chroma

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kurento-module-chroma - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

.npmignore

27

lib/ChromaFilter.js

@@ -20,8 +20,11 @@ /* Autogenerated with Kurento Idl */

var checkType = require('checktype');
var kurentoClient = require('kurento-client');
var checkType = kurentoClient.checkType;
var ChecktypeError = checkType.ChecktypeError;
var Filter = require('kurento-client').register.abstracts.Filter;
var Transaction = kurentoClient.TransactionsManager.Transaction;
var Filter = kurentoClient.register.abstracts.Filter;
/**

@@ -37,7 +40,5 @@ * Create a {@link module:chroma.ChromaFilter ChromaFilter}

* @constructor module:chroma.ChromaFilter
*
* @param {external:String} id
*/
function ChromaFilter(id){
ChromaFilter.super_.call(this, id);
function ChromaFilter(){
ChromaFilter.super_.call(this);
};

@@ -60,2 +61,6 @@ inherits(ChromaFilter, Filter);

ChromaFilter.prototype.setBackground = function(uri, callback){
var transaction = (arguments[0] instanceof Transaction)
? Array.prototype.shift.apply(arguments)
: undefined;
checkType('String', 'uri', uri, {required: true});

@@ -67,3 +72,3 @@

return this.invoke('setBackground', params, callback);
return this._invoke(transaction, 'setBackground', params, callback);
};

@@ -85,3 +90,9 @@ /**

ChromaFilter.prototype.unsetBackground = function(callback){
return this.invoke('unsetBackground', callback);
var transaction = (arguments[0] instanceof Transaction)
? Array.prototype.shift.apply(arguments)
: undefined;
if(!arguments.length) callback = undefined;
return this._invoke(transaction, 'unsetBackground', callback);
};

@@ -88,0 +99,0 @@ /**

@@ -18,3 +18,3 @@ /* Autogenerated with Kurento Idl */

var checkType = require('checktype');
var checkType = require('kurento-client').checkType;

@@ -21,0 +21,0 @@ /**

{
"name": "kurento-module-chroma",
"version": "1.0.1",
"version": "1.0.3",
"description": "Chroma Detector Filter",

@@ -13,8 +13,27 @@ "main": "lib/index.js",

},
"scripts": {
"prepublish": "node scripts/prepublish"
},
"dependencies": {
"checktype": "^0.0.4",
"inherits": "^2.0.1"
"es6-promise": "^2.0.0",
"inherits": "^2.0.1",
"promisecallback": "^0.0.2"
},
"peerDependencies": {
"kurento-client": "^5.0.0"
"devDependencies": {
"kurento-client-core": "Kurento/kurento-client-core-js#develop",
"kurento-client-elements": "Kurento/kurento-client-elements-js#develop",
"kurento-client-filters": "Kurento/kurento-client-filters-js#develop",
"bower": "~1.3.12",
"grunt": "~0.4.5",
"grunt-browserify": "^3.1.0",
"grunt-cli": "~0.1.13",
"grunt-jsdoc": "~0.5.7",
"grunt-npm2bower-sync": "^0.4.0",
"jsonfile": "^2.0.0",
"kurento-client": "Kurento/kurento-client-js#develop",
"merge": "^1.2.0",
"minifyify": "^4.4.0",
"grunt-contrib-clean": "~0.6.0",
"grunt-path-check": "^0.9.3",
"grunt-shell": "^1.1.1"
},

@@ -26,3 +45,6 @@ "license": "LGPL",

"email": "kurento@googlegroups.com"
},
"peerDependencies": {
"kurento-client": "^5.0.0"
}
}
}

@@ -5,4 +5,4 @@ kurento-module-chroma

This code is the autogenerated javascript client for [kurento] module chroma.
This repository host the descriptor file for the [kurento] module chroma.
[kurento]: http://www.kurento.org
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