From 573d9b5885036a93808cc37d40606e1f5de76e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuz=20Utku=20Y=C4=B1ld=C4=B1z?= <76889160+oguzutku1745@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:08:40 +0300 Subject: [PATCH] Remove depreciated function (executeOffline -> run) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oğuz Utku Yıldız <76889160+oguzutku1745@users.noreply.github.com> --- documentation/sdk/typescript/00_sdk_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/sdk/typescript/00_sdk_overview.md b/documentation/sdk/typescript/00_sdk_overview.md index 4be17c567..ca1277b0e 100644 --- a/documentation/sdk/typescript/00_sdk_overview.md +++ b/documentation/sdk/typescript/00_sdk_overview.md @@ -235,7 +235,7 @@ const account = new Account(); programManager.setAccount(account); /// Get the response and ensure that the program executed correctly -const executionResponse = await programManager.executeOffline(program, "hello", ["5u32", "5u32"]); +const executionResponse = await programManager.run(program, "hello", ["5u32", "5u32"]); const result = executionResponse.getOutputs(); assert(result === ["10u32"]); ```