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:
@@ -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,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]);
|
||||
|
||||
Reference in New Issue
Block a user