@medicus.ai/medicus-report-pdf-generator 1.0.222 → 1.0.223

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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -94,7 +94,11 @@ module.exports = {
94
94
  let encryptionKey=reportData.encryptionKey
95
95
  let sentData=reportData.data
96
96
  let ecbDecrypted = encryptDecrypt.ecbDecrypt(sentData.toString(), encryptionKey)
97
+ return {
98
+ ecbDecrypted:ecbDecrypted
99
+ }
97
100
  let xorDecrypted = encryptDecrypt.XORDecrypt(ecbDecrypted.toString(), encryptionKey)
101
+
98
102
  let base64Object = Buffer.from(xorDecrypted, 'utf8').toString('base64');
99
103
  let LOGS = '';
100
104
  let LOGS_FILE_PATH = __dirname + '/output/LOGS.txt';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medicus.ai/medicus-report-pdf-generator",
3
- "version": "1.0.222",
3
+ "version": "1.0.223",
4
4
  "description": "Nasco corporate report - latest update in 2/11/2022 - Fix sanusx coprorate report issues",
5
5
  "main": "index.js",
6
6
  "scripts": {