Upgrading to v2
Breaking Changes
Section titled “Breaking Changes”- Various Candid-inherited types are no longer expressed as unions and resolves to a single type. For example:
Uint8Arrayinstead ofUint8Array | number[]. - The
canisterStatusfunction interface was modified to introduce support for query calls.
Upgrading from @dfinity/* libraries
Section titled “Upgrading from @dfinity/* libraries”If you are upgrading from @dfinity/* libraries, have a look at the Upgrading to v1 guide.
For more details, have a look at the Changelog.