diff --git a/package-lock.json b/package-lock.json index c45bb5f3..971442aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lmm-oa-sws", - "version": "1.0.0-alpha.45", + "version": "1.0.0-alpha.46", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lmm-oa-sws", - "version": "1.0.0-alpha.45", + "version": "1.0.0-alpha.46", "dependencies": { "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", @@ -41,8 +41,7 @@ "devDependencies": { "@semantic-release/changelog": "^6.0.1", "@semantic-release/exec": "^6.0.2", - "@semantic-release/git": "^10.0.1", - "react-error-overlay": "^6.0.9" + "@semantic-release/git": "^10.0.1" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 31c1f5c6..5ee8a993 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,6 @@ "devDependencies": { "@semantic-release/changelog": "^6.0.1", "@semantic-release/exec": "^6.0.2", - "@semantic-release/git": "^10.0.1", - "react-error-overlay": "^6.0.9" + "@semantic-release/git": "^10.0.1" } } diff --git a/src/utils/sws-cryptr.js b/src/utils/sws-cryptr.js index 98b0a656..bea989ee 100644 --- a/src/utils/sws-cryptr.js +++ b/src/utils/sws-cryptr.js @@ -7,5 +7,7 @@ export const encryptString = (secret, payload) => { export const decryptString = (secret, payload) => { const simpleCrypto = new SimpleCrypto(secret); - return simpleCrypto.decrypt(payload); + // remove quotes + const cypheredText = payload.substr(0, payload.length); + return simpleCrypto.decrypt(cypheredText); };