The helper functions for JSON-RPC 2.0 requests and notifications.
This module does not check types, nor convert unsupported types (e.g., undefined to null).
This is intentional so you can extend JSON-RPC to values ​​other than JSON.
npm install --save json-rpc-proxy
# or
yarn add json-rpc-proxyfunction createRequestProxy<T extends object, U = unknown>(createId: () => string): RequestProxy<T, U>function createNotificationProxy<T extends object, U = unknown>(): NotificationProxy<T, U>function applyRequest<T>(callables: object, request: JsonRpcRequest<T>): Promise<JsonRpcResponse<T>>function applyNotification<T>(callables: object, notification: JsonRpcNotification<T>): Promise<void>