diff options
author | Pawel Zelawski <pawel.zelawski@outlook.com> | 2025-04-14 10:30:43 +0200 |
---|---|---|
committer | Pawel Zelawski <pawel.zelawski@outlook.com> | 2025-04-14 10:30:43 +0200 |
commit | b354d96163e2ba2103f7d8b101dae547eb4747fa (patch) | |
tree | a1be4510d0b82797a4ed465e534c15924d8d2082 /package.json | |
parent | e5a32e3002dfd5c17c847013cd27092f96ac2fba (diff) |
fix: Correct Bech32 address verification via dependency change
- Replaced faulty 'digibyte-message' dependency with 'bitcoinjs-message'.
- This resolves a critical bug where signatures from DigiByte Bech32 addresses (dgb1...) could not be verified due to issues in the old dependency chain.
- digiid-ts now correctly handles Legacy (D...), SegWit (S...), and Bech32 (dgb1...) address signature verification.
- Updated build configurations and addressed related linting issues revealed during testing.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/package.json b/package.json index f03da9d..16204c6 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { "name": "digiid-ts", - "version": "1.0.1", + "version": "1.1.0", "description": "A modern TypeScript implementation of the DigiID authentication protocol.", "main": "dist/digiid-ts.umd.js", "module": "dist/digiid-ts.es.js", "types": "dist/index.d.ts", "type": "module", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/digiid-ts.es.js" - }, - "require": { - "types": "./dist/index.d.ts", - "default": "./dist/digiid-ts.umd.js" - } - } + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/digiid-ts.es.js" + }, + "require": { + "types": "./dist/index.d.ts", + "default": "./dist/digiid-ts.umd.js" + } + } }, "files": [ "dist" @@ -71,10 +71,10 @@ "vitest": "^3.1.1" }, "dependencies": { - "digibyte-message": "github:digicontributer/bitcore-message#9d9c8ad30158db25f683e2dee746a14a9d7ec8a0" + "bitcoinjs-message": "^2.2.0" }, "overrides": { "elliptic": "^6.6.1", "lodash": "^4.17.21" } -} +}
\ No newline at end of file |