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.
|
|
- Update package.json version from 0.1.0 to 1.0.0
- This change reflects that the library is now production-ready
- The version number follows semantic versioning conventions
- Future changes will be treated as major version updates
- Add ESLint configuration for TypeScript
- Create separate TypeScript config for examples
- Ignore dist directory in linting
- Set TypeScript no-explicit-any rule to warning level
|
|
- Update documentation to use "Digi-ID" instead of "DigiID" in user-facing text
- Maintain internal code using 'DigiID' for consistency with original implementation
The changes improve documentation clarity while maintaining full functionality.
|
|
- 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.
|