moved files and small changes

This commit is contained in:
Egor Aristov 2025-10-25 11:08:50 +03:00
parent f8ba295079
commit 6051aaba16
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import {KittenIPC} from '../../lib/ts/lib.ts'; import {ChildIPC} from 'kitten-ipc';
import GoIpcApi from './goapi.gen.ts'; import GoIpcApi from './goapi.gen.js';
/** /**
* @kittenipc api * @kittenipc api
@ -15,7 +15,7 @@ class TsIpcApi {
async function main() { async function main() {
const localApi = new TsIpcApi(); const localApi = new TsIpcApi();
const ipc = new KittenIPC(localApi); const ipc = new ChildIPC(localApi);
const goApi = new GoIpcApi(ipc); const goApi = new GoIpcApi(ipc);
await ipc.start(); await ipc.start();

View File

@ -179,7 +179,7 @@ abstract class IPCCommon {
} }
class ParentIPC extends IPCCommon { export class ParentIPC extends IPCCommon {
private readonly cmdPath: string; private readonly cmdPath: string;
private readonly cmdArgs: string[]; private readonly cmdArgs: string[];
private cmd: ChildProcess | null = null; private cmd: ChildProcess | null = null;