@lvce-editor/rpc-registry 9.4.0 → 9.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ export declare const dispose: () => Promise<void>, invoke: (method: string, ...params: readonly unknown[]) => Promise<any>, invokeAndTransfer: (method: string, ...params: readonly unknown[]) => Promise<any>, registerMockRpc: (commandMap: Record<string, any>) => import("../DisposableMockRpc/DisposableMockRpc.ts").DisposableMockRpc, set: (rpc: import("@lvce-editor/rpc").Rpc) => void;
2
+ export declare const create: (options: any) => Promise<any>;
3
+ export declare const loadContent: (options: any) => Promise<any>;
@@ -0,0 +1,8 @@
1
+ import * as RpcFactory from "../RpcFactory/RpcFactory.js";
2
+ export const { dispose, invoke, invokeAndTransfer, registerMockRpc, set } = RpcFactory.create(6006);
3
+ export const create = async (options) => {
4
+ return invoke('ChatDebug.create', options);
5
+ };
6
+ export const loadContent = async (options) => {
7
+ return invoke('ChatDebug.loadContent', options);
8
+ };
@@ -1,6 +1,7 @@
1
1
  export type { Rpc, MockRpc } from '@lvce-editor/rpc';
2
2
  export * as ChatStorageWorker from '../ChatStorageWorker/ChatStorageWorker.ts';
3
3
  export * as ChatNetworkWorker from '../ChatNetworkWorker/ChatNetworkWorker.ts';
4
+ export * as ChatDebugWorker from '../ChatDebugWorker/ChatDebugWorker.ts';
4
5
  export * as ChatToolWorker from '../ChatToolWorker/ChatToolWorker.ts';
5
6
  export * as ClipBoardProcess from '../ClipBoardProcess/ClipBoardProcess.ts';
6
7
  export * as ClipBoardWorker from '../ClipBoardWorker/ClipBoardWorker.ts';
@@ -1,5 +1,6 @@
1
1
  export * as ChatStorageWorker from "../ChatStorageWorker/ChatStorageWorker.js";
2
2
  export * as ChatNetworkWorker from "../ChatNetworkWorker/ChatNetworkWorker.js";
3
+ export * as ChatDebugWorker from "../ChatDebugWorker/ChatDebugWorker.js";
3
4
  export * as ChatToolWorker from "../ChatToolWorker/ChatToolWorker.js";
4
5
  export * as ClipBoardProcess from "../ClipBoardProcess/ClipBoardProcess.js";
5
6
  export * as ClipBoardWorker from "../ClipBoardWorker/ClipBoardWorker.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/rpc-registry",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
4
4
  "description": "Rpc Registry",
5
5
  "repository": {
6
6
  "type": "git",