v0.19.3
What's Changed
Noteworthy change: Principal now contains a toJSON
method, returning an object with {"__principal__": <principal-string>}
. This is compatible with the JSON reviver that is provided in @dfinity/utils
, allowing you to easily serialize and deserialize structures containing Principals into and out of JSON
- feat: enhanced error message for missing canister id by @krpeacock in #759
- chore: lock npm version for CI by @krpeacock in #762
- feat: certificate time checks by @krpeacock in #763
- feat: Principal class serializes to JSON by @krpeacock in #766
- chore: npm audit by @krpeacock in #771
- fix: Principal JSON is compatible with @dfinity/utils jsonReviver helper by @krpeacock in #770
- chore: release v0.19.3 by @krpeacock in #772
Full Changelog: v0.19.2...v0.19.3