New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitcodin

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcodin - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

examples/createEncryptedTransmux.js

0

examples/createLiveStream.js

@@ -0,0 +0,0 @@ var Q = require('q'),

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

@@ -0,0 +0,0 @@ var Q = require('q'),

@@ -0,0 +0,0 @@ {

@@ -248,2 +248,3 @@ /**

},
livestream: {

@@ -364,2 +365,3 @@ get: function (livestreamId) {

},
thumbnail : {

@@ -397,2 +399,49 @@ get: function(thumbnailId) {

}
},
transmux : {
get: function(transmuxId) {
return rest.get('/transmux/' + transmuxId);
},
create: function(transmux) {
var def = Q.defer();
rest.post('/transmux', transmux).then(
function(response) {
(function poll() {
rest.get('/transmux/' + response.id).then(
function (response) {
switch(response.status) {
case 'created':
def.resolve(response);
break;
case 'assigned':
def.resolve(response);
break;
case 'enqueued':
def.resolve(response);
break;
case 'inprogress':
def.resolve(response);
break;
case 'finished':
def.resolve(response);
break;
case 'error':
def.reject("Error while creating transmux!");
break;
default:
def.reject("Unexpected Error while creating transmux!");
break;
}
},
def.reject
);
})();
},
def.reject
);
return def.promise;
}
}

@@ -399,0 +448,0 @@ };

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

5

package.json
{
"name": "bitcodin",
"version": "0.5.1",
"version": "0.6.0",
"description": "Bitcodin API wrapper",

@@ -18,3 +18,4 @@ "homepage": "https://github.com/bitmovin/bitcodin-node",

"video transcoding",
"api"
"api",
"bitmovin"
],

@@ -21,0 +22,0 @@ "author": {

@@ -0,0 +0,0 @@ # [![bitmovin](https://cloudfront-prod.bitmovin.com/wp-content/themes/Bitmovin-V-0.1/images/logo3.png)](http://www.bitmovin.com)

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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