Skip to content

Commit

Permalink
feat: Exposed JsonRpcProvider.sendJsonRpc method to public to help ex…
Browse files Browse the repository at this point in the history
…perimenting with EXPERIMENTAL_* APIs in nearcore
  • Loading branch information
frol committed Mar 25, 2020
1 parent 092d647 commit 24c9cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/providers/json-rpc-provider.d.ts

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

2 changes: 1 addition & 1 deletion src.ts/providers/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class JsonRpcProvider extends Provider {
return this.sendJsonRpc('chunk', [chunkId]);
}

private async sendJsonRpc(method: string, params: any[]): Promise<any> {
async sendJsonRpc(method: string, params: any[]): Promise<any> {
const request = {
method,
params,
Expand Down

0 comments on commit 24c9cb5

Please sign in to comment.