grexxconnect-ess
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -5,3 +5,3 @@ { | ||
"description": "Grexx Connect - External System Service Helper", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"contributors": [ | ||
@@ -8,0 +8,0 @@ { |
@@ -9,2 +9,3 @@ # GrexxConnect External System Service (ESS) Helper | ||
## Features | ||
* reject messages (since v1.0.9) | ||
* auto-reconnect (since v1.0.5) | ||
@@ -52,6 +53,13 @@ * custom monitoring data (since v1.0.5) | ||
const reversedValue = (Message.parsed.content || '').split("").reverse().join(""); | ||
Message.resolve([{ | ||
reference: 'outputField', | ||
values: [{ value: reversedValue }] | ||
}]) | ||
if( reversedValue === 'error' ) { | ||
Message.reject('Error message for production', 'Error message for debugging', { | ||
additionalErrorContext:"Include additional error info here" | ||
}); | ||
} else { | ||
Message.resolve([{ | ||
reference: 'outputField', | ||
values: [{ value: reversedValue }] | ||
}]); | ||
} | ||
}); | ||
@@ -58,0 +66,0 @@ |
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
11487
79