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

node-red-contrib-agilite

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-agilite - npm Package Compare versions

Comparing version 5.4.4 to 5.4.5

9

connectors/connectors.js

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,4 +18,4 @@ this.on('input', function (msg) {

var apiKey = "";
var profileKey = "";
var routeKey = "";
var profileKey = config.profileKey;
var routeKey = config.routeKey;
var data = null;

@@ -74,2 +75,6 @@ var url = "";

//Mustache
profileKey = Mustache.render(profileKey, msg);
routeKey = Mustache.render(routeKey, msg);
//We need a token, keys and data to proceed

@@ -76,0 +81,0 @@ if (apiKey === "") {

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,3 +18,3 @@ this.on('input', function (msg) {

var apiKey = "";
var profileKey = "";
var profileKey = config.profileKey;
var data = {};

@@ -63,2 +64,5 @@ var url = "";

//Mustache
profileKey = Mustache.render(profileKey, msg);
//We need an apiKey, profileKey and data to proceed

@@ -65,0 +69,0 @@ if (apiKey === "") {

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -18,3 +19,3 @@ this.on('input', function (msg) {

var actionType = "";
var recordId = "";
var recordId = config.recordId;
var data = {};

@@ -65,2 +66,5 @@ var url = "";

//Mustache
recordId = Mustache.render(recordId, msg);
//Validate Values

@@ -67,0 +71,0 @@ if (apiKey === "") {

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,7 +18,7 @@ this.on('input', function (msg) {

var apiKey = "";
var recordId = "";
var profileKey = "";
var groupName = "";
var labelKey = "";
var valueKey = "";
var recordId = config.recordId;
var profileKey = config.profileKey;
var groupName = config.groupName;
var labelKey = config.labelKey;
var valueKey = config.labelKey;
var sortBy = "";

@@ -89,3 +90,3 @@ var url = "";

}
}
}

@@ -96,26 +97,2 @@ if (apiKey === "") {

if (recordId === "") {
recordId = config.recordId;
}
if (profileKey === "") {
profileKey = config.profileKey;
}
if (groupName === "") {
groupName = config.groupName;
}
if (labelKey === "") {
labelKey = config.labelKey;
}
if (valueKey === "") {
valueKey = config.valueKey;
}
if (sortBy === "") {
sortBy = config.sortBy;
}
//We need a apiKey, key and data to proceed

@@ -181,2 +158,9 @@ if (apiKey === "") {

//Mustache
recordId = Mustache.render(recordId, msg);
profileKey = Mustache.render(profileKey, msg);
groupName = Mustache.render(groupName, msg);
labelKey = Mustache.render(labelKey, msg);
valueKey = Mustache.render(valueKey, msg);
//Create msg.agilite if it's null so we can store the result

@@ -286,2 +270,3 @@ if (!msg.agilite)

msg.payload = {};
console.log(profileKey);

@@ -288,0 +273,0 @@ if (error.response) {

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,4 +18,4 @@ this.on('input', function (msg) {

var apiKey = "";
var profileKey = "";
var recordId = "";
var profileKey = config.profileKey;
var recordId = config.recordId;
var url = "";

@@ -66,2 +67,6 @@ var failFlow = config.failFlow;

//Mustache
profileKey = Mustache.render(profileKey, msg);
recordId = Mustache.render(recordId, msg);
//Validate Values

@@ -119,2 +124,3 @@ if (apiKey === "") {

url = url + "/logs/batch/getProcessLogs";
headers.headers["profile-key"] = profileKey;
headers.headers["record-id"] = recordId;

@@ -121,0 +127,0 @@ break;

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,3 +18,3 @@ this.on('input', function (msg) {

var apiKey = "";
var profileKey = "";
var profileKey = config.profileKey;
var url = "";

@@ -63,2 +64,5 @@ var data = {};

//Mustache
profileKey = Mustache.render(profileKey, msg);
//We need an apiKey, profileKey and data to proceed

@@ -65,0 +69,0 @@ if (apiKey === "") {

{
"name": "node-red-contrib-agilite",
"license": "MIT",
"version": "5.4.4",
"version": "5.4.5",
"description": "Node-RED nodes to integrate with Agilit-e cloud or Agilit-e on-prem",

@@ -6,0 +6,0 @@ "homepage": "https://portal.agilite.io",

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,8 +18,8 @@ this.on('input', function (msg) {

var apiKey = "";
var roleName = "";
var conditionalLevels = "";
var processKey = "";
var bpmRecordId = "";
var currentUser = "";
var responsibleUsers = "";
var roleName = config.roleName;
var conditionalLevels = config.conditionalLevels;
var processKey = config.processKey;
var bpmRecordId = config.bpmRecordId;
var currentUser = config.currentUser;
var responsibleUsers = config.responsibleUsers;
var includeHidden = "";

@@ -134,2 +135,10 @@ var url = "";

//Mustache
roleName = Mustache.render(roleName, msg);
conditionalLevels = Mustache.render(conditionalLevels, msg);
processKey = Mustache.render(processKey, msg);
bpmRecordId = Mustache.render(bpmRecordId, msg);
currentUser = Mustache.render(currentUser, msg);
responsibleUsers = Mustache.render(responsibleUsers, msg);
//We need a apiKey, key and data to proceed

@@ -136,0 +145,0 @@ if (apiKey === "") {

@@ -12,2 +12,3 @@ module.exports = function (RED) {

const typeDetect = require("type-detect");
const Mustache = require("mustache");

@@ -17,3 +18,3 @@ this.on('input', function (msg) {

var apiKey = "";
var profileKey = "";
var profileKey = config.profileKey;
var url = "";

@@ -63,2 +64,5 @@ var data = {};

//Mustache
profileKey = Mustache.render(profileKey, msg);
//We need an apiKey, profileKey and data to proceed

@@ -65,0 +69,0 @@ if (apiKey === "") {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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