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

cloudrail-si

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudrail-si - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

services/Heroku.js

5

changelog.md
# CloudRail SI Node.JS SDK changelog
* **2.10.1**
* Heroku has been added as a new service implementing Profile.
It supports the retrieval of a unique ID, the full name and the email address.
It is still in Beta and not officially listed or documented.
* **2.10.0**

@@ -4,0 +9,0 @@ * Introduced new interface called Business Cloud Storage

2

index.js

@@ -45,2 +45,3 @@ "use strict";

var AmazonS3_1 = require("./services/AmazonS3");
var Heroku_1 = require("./services/Heroku");
module.exports = {

@@ -59,2 +60,3 @@ "services": {

"GooglePlus": GooglePlus_1.GooglePlus,
"Heroku": Heroku_1.Heroku,
"Instagram": Instagram_1.Instagram,

@@ -61,0 +63,0 @@ "LinkedIn": LinkedIn_1.LinkedIn,

9

package.json

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

"keywords": [
"AmazonS3",
"Box",
"Backblaze",
"Dropbox",

@@ -19,5 +21,7 @@ "Egnyte",

"GooglePlus",
"Heroku",
"Instagram",
"LinkedIn",
"MailJet",
"MicrosoftAzure",
"MicrosoftLive",

@@ -27,2 +31,3 @@ "Nexmo",

"PayPal",
"Rackspace",
"SendGrid",

@@ -36,3 +41,3 @@ "Slack",

],
"description": "The CloudRail SI SDK for Node.JS, a simple, universal, unified API for the most popular cloud services. Supports: Box, Dropbox, Egnyte, Facebook, Foursquare, GitHub, GoogleDrive, GooglePlaces, GooglePlus, Instagram, LinkedIn, MailJet, MicrosoftLive, Nexmo, OneDrive, PayPal, SendGrid, Slack, Stripe, Twilio, Twitter, Yahoo, Yelp",
"description": "The CloudRail SI SDK for Node.JS, a simple, universal, unified API for the most popular cloud services. Supports: AmazonS3, Box, Backblaze, Dropbox, Egnyte, Facebook, Foursquare, GitHub, GoogleDrive, GooglePlaces, GooglePlus, Heroku, Instagram, LinkedIn, MailJet, MicrosoftAzure, MicrosoftLive, Nexmo, OneDrive, PayPal, Rackspace, SendGrid, Slack, Stripe, Twilio, Twitter, Yahoo, Yelp",
"engines": {

@@ -42,3 +47,3 @@ "node": ">=4.0.0"

"engineStrict": true,
"version": "2.10.0",
"version": "2.10.1",
"main": "index.js",

@@ -45,0 +50,0 @@ "typings": "index.d.ts",

@@ -22,3 +22,3 @@ <p align="center">

Full documentation can be found at https://documentation.cloudrail.com/nodejs/nodejs
Full documentation can be found [here](https://documentation.cloudrail.com/nodejs/nodejs/Home)

@@ -36,2 +36,3 @@ ---

Cloud Storage | Dropbox, Google Drive, OneDrive, Box, Egnyte
Business Cloud Storage | Amazon S3, Microsoft Azure, Rackspace, Backblaze
Social Profile | Facebook, GitHub, Google+, LinkedIn, Slack, Twitter, Windows Live, Yahoo, Instagram

@@ -64,3 +65,3 @@ Social Interaction | Facebook, Twitter

```` javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -83,4 +84,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -105,3 +105,3 @@ ### Business/Bucket Cloud Storage Interface:

```` javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -124,3 +124,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -148,3 +148,3 @@ ### Social Profile Interface:

```` javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -169,3 +169,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -185,3 +185,3 @@ ### Social Interaction Interface:

```` javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -202,3 +202,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -219,3 +219,3 @@ ### Payment Interface:

```` javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -232,3 +232,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -248,3 +248,3 @@ ### Email Interface:

````javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -260,3 +260,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -276,3 +276,3 @@ ### SMS Interface:

````javascript
```javascript
const cloudrail = require("cloudrail-si");

@@ -288,3 +288,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -305,3 +305,3 @@ ### Points of Interest Interface:

```` javascript
``` javascript
const cloudrail = require("cloudrail-si");

@@ -318,3 +318,3 @@ cloudrail.Settings.setKey("[CloudRail License Key]");

});
````
```
---

@@ -332,3 +332,3 @@

* Simple Documentation: There is no searching around Stack Overflow for the answer. The CloudRail Wiki at https://documentation.cloudrail.com/nodejs/nodejs is regularly updated, clean, and simple to use.
* Simple Documentation: There is no searching around Stack Overflow for the answer. The [CloudRail Wiki](https://documentation.cloudrail.com/nodejs/nodejs/Home) is regularly updated, clean, and simple to use.

@@ -341,5 +341,5 @@ * No Maintenance Times: The CloudRail Libraries are updated when a provider changes their API.

````
```
npm install cloudrail-si
````
```

@@ -352,3 +352,3 @@ ## Typescript

```` javascript
```javascript
/// <reference path="node_modules/cloudrail-si/index.d.ts" />

@@ -366,3 +366,3 @@

});
````
```

@@ -369,0 +369,0 @@ ## Examples

@@ -54,2 +54,3 @@ "use strict";

var DataToUint8_1 = require("./commands/array/DataToUint8");
var Settings_1 = require("../Settings");
var Interpreter = (function () {

@@ -64,2 +65,5 @@ function Interpreter(sandbox) {

}
if (Settings_1.Settings.block) {
return Promise.reject(new Error("Your CloudRail license has expired. Please visit https://developers.cloudrail.com to upgrade or contact support@cloudrail.com"));
}
this.sandbox.createNewStackLevel(functionName, 0);

@@ -69,3 +73,3 @@ Helper_1.Helper.addAll(this.sandbox.currentParameters(), parameters);

var errorMessage = "Service code error: function '" + functionName + "' not found";
throw new InternalError_1.InternalError(errorMessage);
return Promise.reject(new InternalError_1.InternalError(errorMessage));
}

@@ -72,0 +76,0 @@ return this.run();

@@ -671,3 +671,3 @@ "use strict";

["if==than", "$P1", "accessToken", 4],
["string.concat", "$L0", "https://accounts.google.com/o/oauth2/v2/auth?client_id=", "$P0.clientID", "&scope=", "https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive", "&response_type=code&prompt=consent&access_type=offline&redirect_uri=", "$P0.redirectUri"],
["string.concat", "$L0", "https://accounts.google.com/o/oauth2/v2/auth?client_id=", "$P0.clientID", "&scope=", "https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive", "&response_type=code&prompt=consent&access_type=offline&redirect_uri=", "$P0.redirectUri", "&suppress_webview_warning=true"],
["awaitCodeRedirect", "$L1", "$L0"],

@@ -674,0 +674,0 @@ ["string.concat", "$L2", "client_id=", "$P0.clientID", "&redirect_uri=", "$P0.redirectUri", "&client_secret=", "$P0.clientSecret", "&code=", "$L1", "&grant_type=authorization_code"],

@@ -98,3 +98,3 @@ "use strict";

["if==than", "$P1", "accessToken", 4],
["string.concat", "$L0", "https://accounts.google.com/o/oauth2/v2/auth?client_id=", "$P0.clientID", "&scope=", "https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.me+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile", "&response_type=code&prompt=consent&access_type=offline&redirect_uri=", "$P0.redirectUri", "&state=", "$P0.state"],
["string.concat", "$L0", "https://accounts.google.com/o/oauth2/v2/auth?client_id=", "$P0.clientID", "&scope=", "https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.me+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile", "&response_type=code&prompt=consent&access_type=offline&redirect_uri=", "$P0.redirectUri", "&state=", "$P0.state", "&suppress_webview_warning=true"],
["awaitCodeRedirect", "$L1", "$L0"],

@@ -101,0 +101,0 @@ ["string.concat", "$L2", "client_id=", "$P0.clientID", "&redirect_uri=", "$P0.redirectUri", "&client_secret=", "$P0.clientSecret", "&code=", "$L1", "&grant_type=authorization_code"],

@@ -8,4 +8,5 @@ "use strict";

};
Settings.block = false;
return Settings;
}());
exports.Settings = Settings;

@@ -74,6 +74,9 @@ "use strict";

}).then(function (resStr) {
var obj = JSON.parse(resStr);
if (!Statistics.entryID) {
var obj = JSON.parse(resStr);
Statistics.entryID = obj.id;
}
if (obj.block) {
Settings_1.Settings.block = true;
}
Statistics.data = {};

@@ -80,0 +83,0 @@ Statistics.count = 0;

Sorry, the diff of this file is too big to display

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