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
+1
View File
@@ -24,6 +24,7 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/rpc-core": "6.12.2-21",
"@polkadot/types": "6.12.2-21",
"@polkadot/util": "^8.2.2",
"rxjs": "^7.4.0"
+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]);