Skip to content

Commit 39d01f1

Browse files
committed
Fixing uppercase in hashing
1 parent 95946ca commit 39d01f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "simpay-typescript-api",
33
"author": "Rafał Więcek",
4-
"version": "2.1.0",
4+
"version": "2.1.1",
55
"description": "SimPay.pl API",
66
"main": "lib/index.js",
77
"types": "lib/index.d.ts",

src/lib/hashing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ export class Hashing {
1818

1919
hash.update(text);
2020

21-
return hash.digest('hex').toUpperCase();
21+
return hash.digest('hex');
2222
}
2323
}

0 commit comments

Comments
 (0)