summaryrefslogtreecommitdiff
path: root/tsconfig.json
AgeCommit message (Collapse)Author
2025-04-14fix: Correct Bech32 address verification via dependency changePawel Zelawski
- 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.
2025-04-09docs: Add README, usage examples, and example runner instructionsPawel Zelawski
- 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.
2025-04-09feat: Initialize project structure and dependenciesPawel Zelawski
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.