1.0.1
New Feature for renaming keys and variants during serialization
- Added an optional record parameter to the
toText
andfromText
functions with a field calledrenamekeys
renameKeys
takes an array ofText
tuples for mapping field keys in records and variant to their new names.
- Solves the issue of using reserved Motoko keywords as record fields
- credits to @janusdotai for finding the bug