From d80642340ce8574ec6a2a501f5851f5f438f6ae3 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Fri, 15 Nov 2019 10:10:00 -0800 Subject: [PATCH] fix: Fix typings export for web3-providers-ws --- packages/web3-providers-ws/types/index.d.ts | 2 +- .../web3-providers-ws/types/tests/web3-provider-ws-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web3-providers-ws/types/index.d.ts b/packages/web3-providers-ws/types/index.d.ts index e8fec4bd7a5..03615360cc3 100644 --- a/packages/web3-providers-ws/types/index.d.ts +++ b/packages/web3-providers-ws/types/index.d.ts @@ -22,4 +22,4 @@ import { WebsocketProviderBase } from 'web3-core-helpers'; -export class WebsocketProvider extends WebsocketProviderBase { } +export default class WebsocketProvider extends WebsocketProviderBase { } diff --git a/packages/web3-providers-ws/types/tests/web3-provider-ws-tests.ts b/packages/web3-providers-ws/types/tests/web3-provider-ws-tests.ts index 6ab7b48f6e6..6a215e21ce7 100644 --- a/packages/web3-providers-ws/types/tests/web3-provider-ws-tests.ts +++ b/packages/web3-providers-ws/types/tests/web3-provider-ws-tests.ts @@ -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,