From 760ba211759029fddf729b011a2fe3d9900a9e9e Mon Sep 17 00:00:00 2001 From: Sosthene Date: Wed, 27 Aug 2025 17:56:34 +0200 Subject: [PATCH] Update updateProcess definition --- src/client.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client.ts b/src/client.ts index 68323ae..5e81957 100644 --- a/src/client.ts +++ b/src/client.ts @@ -270,12 +270,13 @@ export class SDKSignerClient { /** * Update a process */ - async updateProcess(processId: string, stateId: string, data: any): Promise { + async updateProcess(processId: string, newData: { [label: string]: any }, privateFields: string[], roles: any | null): Promise { const message: ClientMessage = { type: MessageType.UPDATE_PROCESS, processId, - stateId, - ...data, + newData, + privateFields, + roles, messageId: this.generateMessageId() };