From 269d09f91244d9a948e48d922c1d742e5fa15e07 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 2 Aug 2026 22:50:48 -0700 Subject: [PATCH] Force RPC consumers to validate JSON response. --- src/lib/rpc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rpc.ts b/src/lib/rpc.ts index b3fa8f2..b605cac 100644 --- a/src/lib/rpc.ts +++ b/src/lib/rpc.ts @@ -29,7 +29,7 @@ export class Rpc { * @param {object} [data] - JSON to send to the node as defined by the action * @returns {Promise} JSON-formatted RPC results from the node */ - async post (action: string, data?: Record): Promise { + async post (action: string, data?: Record): Promise { var process: any = process || null this.#validate(action) const headers: Record = {} -- 2.52.0