mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 19:11:04 +00:00
Split Ledger (& transports) into package (#399)
* Split Ledger (& transports) into package * Fix browser/node resolution * Bump
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
import './detectPackage';
|
||||
|
||||
import keyring, { Keyring } from './Keyring';
|
||||
import Ledger from './ledger';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
detectPackage(require('./package.json'), typeof __dirname !== 'undefined' && __dirname);
|
||||
export { default as Ledger } from '@polkadot/ledger';
|
||||
|
||||
export default keyring;
|
||||
|
||||
export {
|
||||
Keyring,
|
||||
Ledger
|
||||
};
|
||||
export { Keyring };
|
||||
|
||||
Reference in New Issue
Block a user