Cleanup exports (less indirection) (#3226)

* Cleanup exports (less indirection)

* packageInfo import
This commit is contained in:
Jaco Greeff
2021-02-27 13:17:07 +01:00
committed by GitHub
parent 47afe2cfc6
commit a0d6384b01
13 changed files with 16 additions and 42 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import type { ApiInterfaceRx, ApiTypes, DecoratedErrors, DecoratedEvents, Decora
import { assertReturn } from '@polkadot/util';
import { packageInfo } from '../detectPackage';
import { packageInfo } from '../packageInfo';
import { Init } from './Init';
interface PkgJson {
-2
View File
@@ -21,5 +21,3 @@ import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
export { packageInfo };
+1 -2
View File
@@ -7,6 +7,5 @@ export { Keyring } from '@polkadot/keyring';
export { WsProvider } from '@polkadot/rpc-provider/ws';
export { ApiPromise } from './promise';
export { ApiRx } from './rx';
export { SubmittableResult } from './submittable';
export { ApiRx } from './rx';