Implement RPC contract validation baseline

This commit is contained in:
2026-05-14 15:41:51 -04:00
parent 379c07b50c
commit df367756d0
60 changed files with 10704 additions and 47 deletions

View File

@@ -1,8 +1,11 @@
import type { RpcClient } from "../../../packages/contracts/src/rpc";
import type { RpcClient, ServerEvent } from "../../../packages/contracts/src/rpc";
declare global {
interface Window {
mosaic?: RpcClient;
mosaic?: RpcClient & {
on(eventType: string, callback: (data: ServerEvent) => void): () => void;
removeAllListeners(eventType?: string): void;
};
}
}