node-red-contrib-aws-sqs-variable 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aws-sqs-config.html +10 -1
- package/aws-sqs-config.js +10 -1
- package/package.json +2 -2
package/aws-sqs-config.html
CHANGED
|
@@ -3,7 +3,16 @@
|
|
|
3
3
|
category: 'config',
|
|
4
4
|
defaults: {
|
|
5
5
|
name: { value: "" },
|
|
6
|
-
region: {
|
|
6
|
+
region: {
|
|
7
|
+
value: "eu-central-1",
|
|
8
|
+
required: false,
|
|
9
|
+
validate: function(v) {
|
|
10
|
+
if (this.regionType === "str") {
|
|
11
|
+
return (v || "").trim().length > 0;
|
|
12
|
+
}
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
},
|
|
7
16
|
regionType: { value: "str" },
|
|
8
17
|
regionContext: { value: "" },
|
|
9
18
|
useIAMRole: { value: false, required: true },
|
package/aws-sqs-config.js
CHANGED
|
@@ -256,7 +256,16 @@ module.exports = function(RED) {
|
|
|
256
256
|
},
|
|
257
257
|
defaults: {
|
|
258
258
|
name: { value: "" },
|
|
259
|
-
region: {
|
|
259
|
+
region: {
|
|
260
|
+
value: "eu-central-1",
|
|
261
|
+
required: false,
|
|
262
|
+
validate: function(v) {
|
|
263
|
+
if (this.regionType === "str") {
|
|
264
|
+
return (v || "").trim().length > 0;
|
|
265
|
+
}
|
|
266
|
+
return true;
|
|
267
|
+
}
|
|
268
|
+
},
|
|
260
269
|
regionType: { value: "str" },
|
|
261
270
|
regionContext: { value: "" },
|
|
262
271
|
useIAMRole: { value: false, required: true },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-aws-sqs-variable",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Node-RED nodes for AWS SQS send/receive with flexible credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node-red",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/client-sqs": "^3.
|
|
34
|
+
"@aws-sdk/client-sqs": "^3.922.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {},
|
|
37
37
|
"engines": {
|