From 7792663e9ade057562763c45c6ca89106bddac2c Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 12 Feb 2019 14:48:15 +0100 Subject: [PATCH] Export WsProvider from api (single-require use) (#685) --- packages/api/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts index 7c149f0c34..461061cb68 100644 --- a/packages/api/src/index.ts +++ b/packages/api/src/index.ts @@ -2,6 +2,8 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. +export { WsProvider } from '@polkadot/rpc-provider/index'; + export { default as ApiPromise } from './promise'; export { default as ApiRx } from './rx'; export { default as SubmittableExtrinsic, SubmittableResult } from './SubmittableExtrinsic';