Split @polkadot/types-create (#4330)

* Split @polkadot/types-create

* Remove floating Type class

* Adjust

* Adjust detectPackage

* Fix types-known exports
This commit is contained in:
Jaco
2021-12-15 16:05:13 +02:00
committed by GitHub
parent 890dd391dc
commit f02d3af3d2
56 changed files with 288 additions and 189 deletions
+3
View File
@@ -29,6 +29,9 @@
"@polkadot/rpc-core": "6.12.2-2",
"@polkadot/rpc-provider": "6.12.2-2",
"@polkadot/types": "6.12.2-2",
"@polkadot/types-codec": "6.12.2-2",
"@polkadot/types-create": "6.12.2-2",
"@polkadot/types-known": "6.12.2-2",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"eventemitter3": "^4.0.7",
+4 -1
View File
@@ -4,8 +4,11 @@
import { packageInfo as coreInfo } from '@polkadot/rpc-core/packageInfo';
import { packageInfo as providerInfo } from '@polkadot/rpc-provider/packageInfo';
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
import { packageInfo as createInfo } from '@polkadot/types-create/packageInfo';
import { packageInfo as knownInfo } from '@polkadot/types-known/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [coreInfo, providerInfo, typesInfo]);
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [coreInfo, providerInfo, typesInfo, codecInfo, createInfo, knownInfo]);