@manyos/smileconnect-api 1.46.1 → 1.46.2

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/conf/clients.json CHANGED
@@ -238,7 +238,13 @@
238
238
  }
239
239
  ],
240
240
  "basequery": "",
241
- "scripts": {}
241
+ "scripts": {
242
+ "POST": {
243
+ "postMapping": [
244
+ "reject"
245
+ ]
246
+ }
247
+ }
242
248
  },
243
249
  "person": {
244
250
  "basequery": "1=1",
@@ -95,7 +95,7 @@ async function executeCode(code, requestData, params, logStream, executedByScrip
95
95
  wrapper: "none"
96
96
  });
97
97
 
98
- log.debug('Create vm with sandbox', sandbox);
98
+ //log.debug('Create vm with sandbox', sandbox);
99
99
 
100
100
  log.debug('run Script', code);
101
101
 
package/docs/releases.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## API
4
4
 
5
+ ### 1.46.2 - 14.10.21
6
+ Fix issue: Promise Rejection in scripts prevented
7
+
5
8
  ### 1.46.1 - 14.10.21
6
9
  Update Adapterframework to 1.14.0
7
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.46.1",
3
+ "version": "1.46.2",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "request-promise-native": "^1.0.9",
38
38
  "socket.io": "^2.4.1",
39
39
  "uuid": "^3.4.0",
40
- "vm2": "^3.9.3"
40
+ "vm2": "3.9.3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "chai": "^4.3.4",