mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-18 11:45:42 +00:00
24 lines
588 B
TypeScript
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
|
|
};
|