fix(core): update

This commit is contained in:
2020-10-05 15:07:28 +00:00
parent d865e3b874
commit 3e2b300cdb
12 changed files with 10225 additions and 604 deletions

View File

@ -46,7 +46,7 @@ export const sha256FromString = async (stringArg: string): Promise<string> => {
* computes sha265 Hash from Object
*/
export const sha265FromObject = async (objectArg: any): Promise<string> => {
const stringifiedObject = plugins.smartjson.Smartjson.stringify(objectArg, {});
const stringifiedObject = plugins.smartjson.stringify(objectArg, {});
const hashResult = await sha256FromString(stringifiedObject);
return hashResult;
};