API optional augmentation (#4355)
* API optional augmentation
* Rebuild
* Rebuild
* Cleanups
* Adjust, no multi-imports
* Adjust
* Adjust
* Dedupe
* Augmented exports
* It builds via references (no circulars)
* Don't output *.manual.{js,cjs}
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2021 @polkadot/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { packageInfo as rpcInfo } from '@polkadot/rpc-core/packageInfo';
|
||||
import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
|
||||
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
import { packageInfo } from './packageInfo';
|
||||
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [rpcInfo, typesInfo]);
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [baseInfo, typesInfo]);
|
||||
|
||||
Reference in New Issue
Block a user