@manyos/smileconnect-api 1.66.0 → 1.67.0

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.
@@ -8,6 +8,7 @@ const basePath = 'conf';
8
8
  const basePathGlobalScripts = basePath + '/scripts';
9
9
  const HttpsProxyAgent = require('https-proxy-agent');
10
10
  const jsonwebtoken= require('jsonwebtoken');
11
+ const crypto = require('node:crypto');
11
12
 
12
13
  const fetch = require('node-fetch');
13
14
  const xmlParser = require('fast-xml-parser')
@@ -87,6 +88,7 @@ async function executeCode(code, requestData, params, logStream, executedByScrip
87
88
  requestData,
88
89
  params,
89
90
  adapter,
91
+ crypto,
90
92
  jsonwebtoken,
91
93
  log: log.child({script: scriptId}, true),
92
94
  clientId,
package/docs/releases.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Release Notes
2
2
 
3
3
  ## API
4
- ### 1.66.0 - 09.04.24
5
- Add jsonwebtoken to scripts
4
+ ### 1.67.0 - 09.04.24
5
+ Add crypto to scripts
6
6
 
7
7
  ### 1.65.2 - 01.03.24
8
8
  Add foundation data to dynamic api spec
package/docs/scripts.md CHANGED
@@ -253,6 +253,12 @@ Manage JSON Web Token via the package *jsonwebtoken*
253
253
 
254
254
  See https://www.npmjs.com/package/jsonwebtoken for details.
255
255
 
256
+ ## crypto
257
+
258
+ Node Crypto Library
259
+
260
+ See https://nodejs.org/api/crypto.html for details.
261
+
256
262
  ## HttpsProxyAgent
257
263
 
258
264
  Provides Proxy Access for fetch.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.66.0",
3
+ "version": "1.67.0",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {