Split Ledger (& transports) into package (#399)

* Split Ledger (& transports) into package

* Fix browser/node resolution

* Bump
This commit is contained in:
Jaco Greeff
2020-11-10 16:11:50 +01:00
committed by GitHub
parent 0da5471b3e
commit 2692c90106
18 changed files with 524 additions and 47 deletions
+7
View File
@@ -0,0 +1,7 @@
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { detectPackage } from '@polkadot/util';
// eslint-disable-next-line @typescript-eslint/no-var-requires
detectPackage(require('./package.json'), typeof __dirname !== 'undefined' && __dirname);