Adjust packages with known dependencies (#4356)

This commit is contained in:
Jaco
2021-12-19 22:09:32 +02:00
committed by GitHub
parent bb75aa8f74
commit e81e24fa5f
25 changed files with 58 additions and 37 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
// Copyright 2017-2021 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { packageInfo as rpcInfo } from '@polkadot/rpc-core/packageInfo';
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [typesInfo]);
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [rpcInfo, typesInfo]);