Check for multiple api & types instances (#797)

This commit is contained in:
Jaco Greeff
2019-03-26 17:13:15 +01:00
committed by GitHub
parent 312b0dd347
commit c827bdbbec
10 changed files with 41 additions and 27 deletions
+1 -1
View File
@@ -36,6 +36,6 @@
"@polkadot/rpc-rx": "^0.51.1",
"@polkadot/storage": "^0.51.1",
"@polkadot/types": "^0.51.1",
"@polkadot/util-crypto": "^0.41.1"
"@polkadot/util-crypto": "^0.42.0-beta.0"
}
}
+3
View File
@@ -3,6 +3,9 @@
// of the Apache-2.0 license. See the LICENSE file for details.
export { WsProvider } from '@polkadot/rpc-provider';
import { assertSingletonPackage } from '@polkadot/util';
assertSingletonPackage('@polkadot/api');
export { default as ApiPromise } from './promise';
export { default as ApiRx } from './rx';