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

appscene

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appscene - npm Package Compare versions

Comparing version 0.0.2 to 0.0.4

13

lib/entities/app.js

@@ -52,4 +52,17 @@ var bluebird = require('bluebird'),

});
};
/**
* Completely destroys the given app, if it has no builds.
* */
client.deleteApp = function(appId) {
return new bluebird.Promise(function(resolve, reject) {
appId = util.id(appId);
if(!appId) {
return reject(util.error('INVALID_DATA', 'Invalid application id.'));
}
api.delete('/apps/' + appId, resolve, reject);
});
}
};

@@ -67,2 +67,21 @@ var bluebird = require('bluebird'),

/**
* Promotes the given buildId to codepush.
* */
client.promoteBuild = function(appId, buildId, _opt) {
return new bluebird.Promise(function(resolve, reject) {
buildId = util.id(buildId);
appId = util.id(appId);
if(!buildId) {
return reject(util.error('INVALID_DATA', 'Invalid build id.'));
}
if(!appId) {
return reject(util.error('INVALID_DATA', 'Invalid app id.'));
}
var opt = (typeof _opt === 'object' && _opt ? _opt : {});
opt.build_id = buildId;
api.post('/apps/' + appId + '/promote', opt, resolve, reject);
});
};
};

2

package.json
{
"name": "appscene",
"author": "UNLOQIO",
"version": "0.0.2",
"version": "0.0.4",
"dependencies": {

@@ -6,0 +6,0 @@ "async": "1.4.x",

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