Move metadata into types (circular deps hell) (#3743)
* Move metadata into types (circular deps hells) * Adjust * Additional * Additional * Last round? * Adjust imports * Adjust * packages * Bump common
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
// Copyright 2017-2021 @polkadot/rpc-core authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { packageInfo as metaInfo } from '@polkadot/metadata/packageInfo';
|
||||
import { packageInfo as providerInfo } from '@polkadot/rpc-provider/packageInfo';
|
||||
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
import { packageInfo } from './packageInfo';
|
||||
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [metaInfo, providerInfo, typesInfo]);
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [providerInfo, typesInfo]);
|
||||
|
||||
Reference in New Issue
Block a user