Age | Commit message (Collapse) | Author |
|
- 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.
|
|
- Create comprehensive README.md including:
- Features, Installation (from GitHub), Usage examples (URI generation, callback verification), API Reference, Dependency status note, Testing instructions.
- Review and confirm adequacy of TSDoc comments in source files.
- Update README intro sentence and add explicit notes on required URL format.
- Create `examples/` directory with runnable scripts:
- `examples/generate-uri.ts`
- `examples/verify-callback-example.ts`
- Update signature verification helper (`_internalVerifySignature`) to use `createRequire` for CJS dependency loading in ESM context (required for examples).
- Add "Running Examples" section to README with the correct `node --loader ts-node/esm` command.
|
|
Initialize the DigiID-TS project with basic tooling and configuration.
- Create package.json with project metadata and scripts.
- Configure TypeScript (tsconfig.json) for strict compilation.
- Set up ESLint and Prettier for code linting and formatting.
- Configure Vitest for unit testing and coverage.
- Add a standard Node.js .gitignore file.
- Install development dependencies (TypeScript, Vite, Vitest, ESLint, Prettier).
- Install core runtime dependency 'digibyte-message' from the original library's Git source.
|