Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0 to 0.5.1

LICENSE

2

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

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bitmovin/bitcodin-node",

@@ -11,23 +11,26 @@ /**

it('should create a thumbnail', function () {
var thumbnailConfiguration = {
"jobId": 254849,
"height": 320,
"position": 50,
"async": true
};
it('should create a thumbnail', function (done) {
var jobPromise = bitcodin.job.list(0, 'finished');
var promise = bitcodin.thumbnail.create(thumbnailConfiguration);
jobPromise.then(function (result) {
var thumbnailConfiguration = {
"jobId": result.jobs[0].jobId,
"height": 320,
"position": 50,
"async": true
};
promise.then(function (data) {
thumbnails.push(data);
});
var promise = bitcodin.thumbnail.create(thumbnailConfiguration);
return promise.should.eventually.be.fulfilled;
promise.then(function (data) {
thumbnails.push(data);
done();
}, done);
}, done);
});
it('should get a thumbnail for a given id', function () {
return bitcodin.thumbnail.get('141b44e6-61c3-42d7-81d2-65b450c60862').should.eventually.be.fulfilled;
return bitcodin.thumbnail.get(thumbnails[0].id).should.eventually.be.fulfilled;
});
});
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