Skip to content

Commit

Permalink
Merge pull request #313 from open-rpc/fix/upgrade-node
Browse files Browse the repository at this point in the history
Fix/upgrade node
  • Loading branch information
BelfordZ authored Nov 27, 2019
2 parents ede9e52 + 15b6b6e commit daa0b4c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ aliases:
defaults: &defaults
working_directory: ~/generator-client
docker:
- image: circleci/node:10
- image: circleci/node:12

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.15.3
12.13.0
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
".node-version"
],
"scripts": {
"start": "./bin/cli.js",
"start": "./build/src/cli.js",
"test": "npm run test:lint && npm run test:unit",
"test:unit": "jest --coverage",
"test:lint": "tslint -c tslint.json 'src/**/*.ts' --fix",
Expand Down
4 changes: 2 additions & 2 deletions templates/typescript/templated/exported-class.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { template } from "lodash";

export default template(`
// Code generated by @open-rpc/client-generator DO NOT EDIT.
import { RequestManager, WebSocketTransport, HTTPTransport, Client, JSONRPCError } from '@open-rpc/client-js';
import { RequestManager, WebSocketTransport, HTTPTransport, Client, JSONRPCError } from "@open-rpc/client-js";
import _ from "lodash";
import { OpenRPC, MethodObject, ContentDescriptorObject } from "@open-rpc/meta-schema";
import { MethodCallValidator, MethodNotFoundError } from "@open-rpc/schema-utils-js";
Expand Down Expand Up @@ -69,7 +69,7 @@ export class <%= className %> {
}
/**
* Sets a default timeout in ms for all requests excluding notifications.
* Sets a default timeout in ms for all requests excluding notifications.
* @example
* // 20s timeout
* myClient.setDefaultTimeout(20000);
Expand Down

0 comments on commit daa0b4c

Please sign in to comment.