diff --git a/lib/4nk/MessageBus.ts b/lib/4nk/MessageBus.ts index adae0ff..c03aeb8 100644 --- a/lib/4nk/MessageBus.ts +++ b/lib/4nk/MessageBus.ts @@ -489,7 +489,7 @@ export default class MessageBus { }); } - public updateProcess(processId: string, lastStateId: string, newData: Record, privateFields: string[], roles: Record | null): Promise { + public updateProcess(processId: string, newData: Record, privateFields: string[], roles: Record | null): Promise { return new Promise((resolve: (updatedProcess: any) => void, reject: (error: string) => void) => { this.checkToken().then(() => { const userStore = UserStore.getInstance(); @@ -520,7 +520,6 @@ export default class MessageBus { this.sendMessage({ type: 'UPDATE_PROCESS', processId, - lastStateId, newData, privateFields, roles, @@ -624,7 +623,7 @@ export default class MessageBus { return; } - console.log('[MessageBus] sendMessage:', message, 'to', this.origin); + // console.log('[MessageBus] sendMessage:', message, 'to', this.origin); iframe.contentWindow?.postMessage(message, this.origin); }