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

earnshark-sdk

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

earnshark-sdk - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

13

index.js
var http = require('http'),
https = require('https'),
request = require('request');
request = require('request'),
BbPromise = require('bluebird');

@@ -19,2 +20,12 @@ exports.addNewSubscription = function (product_id, key, body) {

return new BbPromise(function (resolve) {
request(options, function (error, response, body) {
if (error) {
console.log(error);
} else {
console.log("Subscription Added : " + response);
}
});
});
request(options, function (error, response, body) {

@@ -21,0 +32,0 @@ console.log(response);

44

package.json
{
"name": "earnshark-sdk",
"version": "0.0.4",
"engines": {
"node": ">=4.0"
},
"description": "Earnshark client SDK for JavaScript",
"author": "99xtechnology.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/99xt/earnshark-sdk-js"
},
"keywords": [
"name": "earnshark-sdk",
"version": "0.0.5",
"engines": {
"node": ">=4.0"
},
"description": "Earnshark client SDK for JavaScript",
"author": "99xtechnology.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/99xt/earnshark-sdk-js"
},
"keywords": [
"earnshark",

@@ -27,10 +27,12 @@ "license",

],
"main": "index.js",
"bin": {},
"scripts": {
"test": "echo \"Warning: no test specified\" && exit 0"
},
"dependencies": {
"request": "^2.72.0"
}
"main": "index.js",
"bin": {},
"scripts": {
"test": "echo \"Warning: no test specified\" && exit 0"
},
"dependencies": {
"bluebird": "^3.4.1",
"moment": "^2.13.0",
"request": "^2.72.0"
}
}
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