v12.0.1
v12.0.1
Fixed
- Export TypeScript definition for
StrKey.isValidContract
(#751). scValToNative
would fail when the values contained error codes because the parsing routine hadn't been updated to the new error schemas. Errors are now converted to the following format (#753):
interface Error {
type: "contract" | "system";
code: number;
value?: string; // only present for type === 'system'
}
You can refer to the XDR documentation for additional explanations for each error code.
New Contributors
Full Changelog: v12.0.0...v12.0.1