Skip to content

Releases: almasen/n-digit-token

v2.2.2

30 Dec 14:00
ccbfb5d
Compare
Choose a tag to compare
Merge pull request #16 from almasen/dev

2.2.2

v2.2.1

13 Sep 22:55
2ec9548
Compare
Choose a tag to compare

What's Changed

Added

  • Upgrade development dependencies
  • Refactor add minor missing function return types
  • Refactor style lint rule to use standard 2 indent width

Full Changelog: v2.2.0...v2.2.1

v2.2.0

03 Jan 23:06
4d5566b
Compare
Choose a tag to compare

2.2.0

What's Changed

Added

  • More robust type system with support for advanced options validation
  • Separate function signatures and JSDocs for different token return types
  • Dedicated test ensuring modulo-bias is avoided
  • New randomDigits alias following node/crypto naming convention
  • Refactor whole package to dedicated, loosely coupled modules
  • Further static tests to ensure type compatibility and safety
  • Upgrade development dependencies
  • Minor fixes and improvements

Changed

  • Exported function signatures to add support for conditional, more advanced type checking and documentation
  • Updated default examples in docs to TypeScript

Fixed

  • Default return type not being recognised as string

Full Changelog: v2.1.1...v2.2.0

v2.1.1

03 Apr 16:27
99ec8b8
Compare
Choose a tag to compare

2.1.1

Added

  • Bump development dependencies

v2.1.0

15 Nov 01:58
c122f58
Compare
Choose a tag to compare

2.1.0

Added

  • Bump development dependencies
  • Refactor main & validator modules
  • Clarified documentation for custom options
  • Minor fixes and improvements
  • Update package lock format

v2.0.5

16 Aug 14:46
c0f3ca5
Compare
Choose a tag to compare

2.0.5

Added

  • Upgrade npm lockfile version
  • Bump various dev-dependencies
  • Minor fixes and improvements

v2.0.4

12 May 01:03
6da8845
Compare
Choose a tag to compare

2.0.4

Added

  • CI workflow for automatic GitHub release generation
  • Updated some dev-dependencies to their newer versions as per #5

Changed

  • Minor documentation improvements regarding customisation options