Check for multiple api & types instances (#797)
This commit is contained in:
@@ -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,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';
|
||||
|
||||
Reference in New Issue
Block a user