Skip to content

Commit 5807520

Browse files
committed
fix(web-client): fix the build error
1 parent 6a8d405 commit 5807520

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

web-client/iron-remote-desktop-rdp/src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import init, {
2-
remote_desktop_init,
2+
iron_init,
33
DesktopSize,
44
DeviceEvent,
55
InputTransaction,
@@ -13,7 +13,7 @@ import init, {
1313

1414
export default {
1515
init,
16-
remote_desktop_init,
16+
iron_init,
1717
DesktopSize,
1818
DeviceEvent,
1919
InputTransaction,
@@ -23,4 +23,4 @@ export default {
2323
ClipboardContent,
2424
Session,
2525
SessionTerminationInfo,
26-
}
26+
};

web-client/iron-remote-desktop/src/interfaces/RemoteDesktopModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface RemoteDesktopModule {
1313
DesktopSize: DesktopSize;
1414
DeviceEvent: DeviceEvent;
1515
InputTransaction: InputTransaction;
16-
remote_desktop_init: (logLevel: string) => void;
16+
iron_init: (logLevel: string) => void;
1717
RemoteDesktopError: RemoteDesktopError;
1818
Session: Session;
1919
SessionBuilder: SessionBuilder;

web-client/iron-remote-desktop/src/services/wasm-bridge.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class WasmBridgeService {
8080
loggingService.info('Loading wasm file.');
8181
await this.importedModule.init();
8282
loggingService.info('Initializing IronRDP.');
83-
this.importedModule.remote_desktop_init(LogType[debug]);
83+
this.importedModule.iron_init(LogType[debug]);
8484
}
8585

8686
// If set to false, the clipboard will not be enabled and the callbacks will not be registered to the Rust side

0 commit comments

Comments
 (0)