Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.3 KB

CHANGELOG.md

File metadata and controls

49 lines (30 loc) · 1.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.0.0: 2023-07-24

Fixed

  • Read and encode input from leftmost bits first per the spec

Removed

  • Removed stripLeadingZeros option

1.1.0 - 2021-10-27

Added

  • Ability to strip leading zeros from encoded value
  • Ability to strip leading zeros from decoded value
  • Ability to decode to a bigint instead of string
  • encode() now accepts a bigint in addition to Buffer or number
  • Ignore hyphens when decoding

Fixed

  • Copy input buffer so it is not modified

1.0.1 - 2021-10-25

Added

  • Created README

1.0.0 - 2021-10-24

Added

  • Ability to encode an input buffer to base 32
  • Ability to encode a number to base 32
  • Ability to decode a base 32 string to a buffer