Repository navigation
v8.1.0
Changes
- feat(money): ✨ Add Money and Currency value objects
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/8.1.0
- Pull request: #87
- Source branch:
feat/money - Version bump:
minor
Pull request notes
Adds Money (exact amounts stored as integer minor units, strict constructor, lenient fromString, fromMinorUnits, arithmetic and comparison guarded by currency) and Currency (ISO 4217 codes with minor unit digits and symbol lookup), plus InvalidMoneyError and CurrencyMismatchError. Includes tests and reference docs.