Skip to content

Commit

Permalink
fix: readme single quote to double quote
Browse files Browse the repository at this point in the history
  • Loading branch information
zcstarr committed Sep 27, 2019
1 parent 23ab8e0 commit aa0e8b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -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 }
```

Expand Down

0 comments on commit aa0e8b2

Please sign in to comment.