@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.
- package/index.js +4 -0
- 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