restjs-api
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -96,2 +96,7 @@ var request = require("request"); | ||
var metadata = options._kidozen || options.metadata; | ||
if (metadata && metadata.actAs) { | ||
optionsToUse.headers.authorization = metadata.actAs; | ||
}; | ||
// set required options | ||
@@ -98,0 +103,0 @@ optionsToUse.method = options.method || "GET"; |
{ | ||
"name": "restjs-api", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Kidozen's connector to invoke REST services", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ # REST client for Node.js |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
260
15606
2