Correct @polkadot/rpc-augment (fromChain) (#4408)

This commit is contained in:
Jaco
2022-01-02 17:35:22 +02:00
committed by GitHub
parent 186e071f86
commit 1d19c44a9b
4 changed files with 22 additions and 26 deletions
-1
View File
@@ -45,7 +45,6 @@ function generate (metaHex: HexString, pkg: string | undefined, output: string,
[
HEADER('chain'),
...[
'@polkadot/api/augment/rpc',
...['consts', 'errors', 'events', 'query', 'tx', 'rpc'].filter((key) => !!key).map((key) => `./augment-api-${key}`)
].map((path) => `import '${path}';\n`)
].join('')