summaryrefslogtreecommitdiff
path: root/package-lock.json
diff options
context:
space:
mode:
authorPawel Zelawski <pawel.zelawski@outlook.com>2026-01-23 12:19:10 +0100
committerPawel Zelawski <pawel.zelawski@outlook.com>2026-01-23 12:19:10 +0100
commit431497920652a37d2bcb9704a6465a7c474922eb (patch)
treeb00d1803353a4161c7c942a8efdf89f4af6f790e /package-lock.json
parente7250d83ff2793c35c9627f8b5a7ee47057d2c9e (diff)
fix: correct message hashing for signature verification
- Fixed hashMessage function to not add extra length byte before message prefix - The prefix '\x19DigiByte Signed Message:\n' already contains the length indicator - Enhanced public key recovery to try all 4 recovery IDs for better compatibility - Verified with both beta.0 and beta.1 test data - All tests passing
Diffstat (limited to 'package-lock.json')
-rw-r--r--package-lock.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package-lock.json b/package-lock.json
index d3fa4ba..f021d07 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "digiid-ts",
- "version": "2.0.0",
+ "version": "2.0.1-beta.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "digiid-ts",
- "version": "2.0.0",
+ "version": "2.0.1-beta.1",
"license": "MIT",
"dependencies": {
"@noble/curves": "^2.0.1",