Split rpc augmentation (#4349)

* Split rpc augmentation

* CC

* Split augmentation trigger

* Exports
This commit is contained in:
Jaco
2021-12-18 13:15:15 +02:00
committed by GitHub
parent 6518166252
commit 6d1b9cbfb2
36 changed files with 365 additions and 49 deletions
@@ -0,0 +1,9 @@
// Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [typesInfo]);