diff --git a/packages/bruno-electron/package.json b/packages/bruno-electron/package.json index 9c93ac0bb..cb29fd17b 100644 --- a/packages/bruno-electron/package.json +++ b/packages/bruno-electron/package.json @@ -21,6 +21,7 @@ "axios": "^0.26.0", "btoa": "^1.2.1", "chokidar": "^3.5.3", + "crypto-js": "^4.1.1", "electron-is-dev": "^2.0.0", "electron-store": "^8.1.0", "electron-util": "^0.17.2", diff --git a/packages/bruno-js/src/scripts/bru.js b/packages/bruno-js/src/scripts/bru.js index 76d4852e2..d999f2f7b 100644 --- a/packages/bruno-js/src/scripts/bru.js +++ b/packages/bruno-js/src/scripts/bru.js @@ -6,6 +6,7 @@ const _ = require('lodash'); const moment = require('moment'); const uuid = require('uuid'); const nanoid = require('nanoid'); +const CryptoJS = require('crypto-js'); class Bru { constructor(environment) { @@ -26,6 +27,8 @@ class Bru { return uuid; case 'nanoid': return nanoid; + case 'crypto-js': + return CryptoJS; default: throw new Error(`Module ${module} is not supported`); }