From aa0e8b2c0503452a8b20c007e269f9be42acc755 Mon Sep 17 00:00:00 2001 From: Zane Starr Date: Fri, 27 Sep 2019 15:26:17 -0700 Subject: [PATCH] fix: readme single quote to double quote --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 88370fb..d3eca78 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ A browser-compatible JSON-RPC client with multiple transports: - Event Emitter ```javascript -import { RequestManager, HTTPTransport, Client } from '@open-rpc/client-js'; -const transport = new HTTPTransport('http://localhost:8545'); +import { RequestManager, HTTPTransport, Client } from "@open-rpc/client-js"; +const transport = new HTTPTransport("http://localhost:8545"); const client = new Client(new RequestManager([transport])); -const result = await client.request(‘addition’, [2, 2]); +const result = await client.request("addition", [2, 2]); // => { jsonrpc: '2.0', id: 1, result: 4 } ```