From b40dec914c5cbc0ad2c87c9969a3f206f4161d72 Mon Sep 17 00:00:00 2001 From: Dmytro Vynnyk Date: Mon, 23 Dec 2024 13:33:53 +0100 Subject: [PATCH] Fix deprecated deployFromJson --- src/utils/deprecated-deploy-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/deprecated-deploy-utils.ts b/src/utils/deprecated-deploy-utils.ts index 7d163312..6d1a7fdc 100644 --- a/src/utils/deprecated-deploy-utils.ts +++ b/src/utils/deprecated-deploy-utils.ts @@ -346,7 +346,7 @@ export const setSignature = ( export const standardPayment = ExecutableDeployItem.standardPayment; /** - * @deprecated use {@link Deploy.toJson} + * @deprecated use {@link Deploy.toJSON} * Convert the deploy object to a JSON representation * * @param deploy The `Deploy` object to convert to JSON @@ -354,7 +354,7 @@ export const standardPayment = ExecutableDeployItem.standardPayment; */ export const deployToJson = (deploy: Deploy) => { return { - deploy: Deploy.toJson(deploy) + deploy: Deploy.toJSON(deploy) }; };