@tiledesk/tiledesk-tybot-connector 0.1.66 → 0.1.67

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/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@
5
5
  available on:
6
6
  ▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
7
7
 
8
+ ### 0.1.67
9
+ - adds tdActionId to Schema for SetAttribute
10
+ - removes hidden vars from attributes
11
+
8
12
  ### 0.1.66
9
13
  - Replaced tdClient.agent() with tdCLient.moveToAgent() in DirMoveToAgent
10
14
 
package/index.js CHANGED
@@ -478,7 +478,7 @@ router.get('/ext/parameters/requests/:requestid', async (req, res) => {
478
478
  if (parameters) {
479
479
  for (const [key, value] of Object.entries(parameters)) {
480
480
  // console.log(key, value);
481
- if (!key.startsWith("td")) {
481
+ if (!key.startsWith("_")) {
482
482
  userParams[key] = value;
483
483
  }
484
484
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.1.66",
3
+ "version": "0.1.67",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,15 +12,15 @@ const schema = {
12
12
  "type": "string",
13
13
  "enum": ["setattribute"]
14
14
  },
15
-
15
+ "_tdActionId": {
16
+ "type": ["string", "null"]
17
+ },
16
18
  "_tdActionTitle": {
17
19
  "type": ["string", "null"]
18
20
  },
19
-
20
21
  "destination": {
21
22
  "type": "string",
22
23
  },
23
-
24
24
  "operation": {
25
25
  "type": "object",
26
26
  "properties": {