Skip to content

Commit

Permalink
fix: Fix typings export for web3-providers-ws
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Nov 15, 2019
1 parent 5c78c2b commit d806423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web3-providers-ws/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

import { WebsocketProviderBase } from 'web3-core-helpers';

export class WebsocketProvider extends WebsocketProviderBase { }
export default class WebsocketProvider extends WebsocketProviderBase { }
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

import { WebsocketProviderOptions, JsonRpcResponse } from 'web3-core-helpers';
import { WebsocketProvider } from 'web3-providers';
import WebsocketProvider from 'web3-providers';

const options: WebsocketProviderOptions = {
timeout: 30000,
Expand Down

0 comments on commit d806423

Please sign in to comment.