Comparing version 2.0.3 to 2.0.4
/* | ||
* Copyright (c) 2015, Salesforce.com, Inc. | ||
* Copyright (c) 2016, Salesforce.com, Inc. | ||
* All rights reserved. | ||
@@ -23,4 +23,10 @@ * | ||
var FuelRest = function(options) { | ||
var authOptions = options && options.auth || {}; | ||
var authOptions; | ||
if(!(this instanceof FuelRest)) { | ||
return new FuelRest(options); | ||
} | ||
authOptions = options && options.auth || {}; | ||
// use fuel auth instance if applicable | ||
@@ -27,0 +33,0 @@ if(authOptions instanceof FuelAuth) { |
/* | ||
* Copyright (c) 2015, Salesforce.com, Inc. | ||
* Copyright (c) 2016, Salesforce.com, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
{ | ||
"name": "fuel-rest", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Node library for performing REST API calls to Salesforce Marketing Cloud (formerly ExactTarget).", | ||
@@ -5,0 +5,0 @@ "main": "./lib/fuel-rest.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11265
153