triangle-utils 1.0.23 → 1.0.24
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/package.json +1 -2
- package/utils/Utils_Misc.js +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "triangle-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"description": "",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@aws-sdk/client-cognito-identity-provider": "^3.953.0",
|
|
11
10
|
"@aws-sdk/client-dynamodb": "^3.953.0",
|
|
12
11
|
"@aws-sdk/client-s3": "^3.953.0",
|
|
13
12
|
"nodemailer": "^7.0.11"
|
package/utils/Utils_Misc.js
CHANGED
|
@@ -114,7 +114,7 @@ export default class Utils_Misc {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
get_secret_hash(username) {
|
|
117
|
-
const secret_hash = crypto.createHmac("sha256", this.config.
|
|
117
|
+
const secret_hash = crypto.createHmac("sha256", this.config.cognito_client_secret)
|
|
118
118
|
.update(username + this.config.cognito_client_id)
|
|
119
119
|
.digest("base64")
|
|
120
120
|
return secret_hash
|