v0.3.0
- All encode and decode methods no longer return
null, instead, throws an error:- For
decode,toCSSSheet,toCSSObjectandtoSVG, invalid hash causes an error. - For
encode, the component constraint and resolution-pixel mismatch causes an error.
- For
- Encode validation is now done in JS rather than in AssemblyScript. This is to throw an error as early as possible.