Socket
Socket
Sign inDemoInstall

kerplunk-twitter

Package Overview
Dependencies
41
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.1.0

25

lib/index.js

@@ -148,11 +148,15 @@ (function() {

},
crons: [
{
jobs: {
timeline: {
frequency: 120,
task: function(finished) {
return API.isSetup(function(err, isSetup) {
if (err) {
throw err;
}
if (isSetup) {
return Promise.promise(function(resolve, reject) {
return API.isSetup(function(err, isSetup) {
if (err) {
return reject(err);
}
return resolve(isSetup);
});
}).then(function(isSetup) {
if (isSetup === true) {
return API.timeline(function(err) {

@@ -163,8 +167,5 @@ if (err) {

if (err) {
console.error(err);
return console.error(err);
}
return finished();
});
} else {
return finished();
}

@@ -174,3 +175,3 @@ });

}
]
}
};

@@ -177,0 +178,0 @@ };

@@ -5,3 +5,3 @@ {

"description": "Authenticate to the Twitter API",
"version": "0.0.1",
"version": "0.1.0",
"kerplunk": {

@@ -63,2 +63,2 @@ "permissions": {

"license": "MIT"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc