Files
pezkuwi-ui/packages/ui-keyring/src/index.ts
T
2020-02-06 15:25:08 +01:00

24 lines
588 B
TypeScript

// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { detectPackage } from '@polkadot/util';
import keyring, { Keyring } from './Keyring';
import Ledger from './ledger';
// eslint-disable-next-line no-useless-catch
try {
// eslint-disable-next-line @typescript-eslint/no-var-requires
detectPackage(require('./package.json'), __dirname);
} catch (error) {
throw error;
}
export default keyring;
export {
Keyring,
Ledger
};