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

node-red-bluemix-nodes

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-bluemix-nodes - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

19

alchemy/feature-extract.js

@@ -35,8 +35,15 @@ /**

var services = cfenv.getAppEnv().services,
service;
var apikey;
var service = cfenv.getAppEnv().getServiceCreds(/alchemy/i);
var apikey = service ? service.apikey : null;
if (service) {
apikey = service.apikey;
}
RED.httpAdmin.get('/alchemy-feature-extract/vcap', function (req, res) {
res.json(service);
res.json(service ? {bound_service: true} : null);
});

@@ -54,3 +61,3 @@

apikey = apikey || config.apikey;
apikey = apikey || this.credentials.apikey;

@@ -90,3 +97,7 @@ if (!apikey) {

RED.nodes.registerType('alchemy-feature-extract', AlchemyFeatureExtractNode);
RED.nodes.registerType('alchemy-feature-extract', AlchemyFeatureExtractNode, {
credentials: {
apikey: {type:"password"}
}
});
};

@@ -27,8 +27,15 @@ /**

var services = cfenv.getAppEnv().services,
service;
var apikey;
var service = cfenv.getAppEnv().getServiceCreds(/alchemy/i);
var apikey = service ? service.apikey : null;
if (service) {
apikey = service.apikey;
}
RED.httpAdmin.get('/alchemy-image-analysis/vcap', function (req, res) {
res.json(service);
res.json(service ? {bound_service: true} : null);
});

@@ -46,3 +53,3 @@

apikey = apikey || config.apikey;
apikey = apikey || this.credentials.apikey;

@@ -70,3 +77,7 @@ if (!apikey) {

RED.nodes.registerType('alchemy-image-analysis', AlchemyImageAnalysisNode);
RED.nodes.registerType('alchemy-image-analysis', AlchemyImageAnalysisNode, {
credentials: {
apikey: {type:"password"}
}
});
};
{
"name": "node-red-bluemix-nodes",
"version": "0.2.10",
"version": "0.2.11",
"description": "A collection of extra Node-RED nodes for IBM Bluemix.",

@@ -16,4 +16,3 @@ "dependencies": {

"watson-developer-cloud": "^0.9.23",
"when": "~3.x",
"xml2js": "^0.4.6"
"when": "~3.x"
},

@@ -20,0 +19,0 @@ "repository": {

@@ -73,7 +73,4 @@ /**

var parseString = require('xml2js').parseString;
parseString(response, function (err, result) {
msg.relationships = result;
node.send(msg);
});
msg.relationships = response;
node.send(msg);
});

@@ -80,0 +77,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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