* Move ledgerChains to apps-config * Swap Ledger capabilities to hook * Fix type usage * getLedger returns promise * Revert promise result * cleanup * use has ledger support (#4413) * use hasLedgerSupport * Bump common Co-authored-by: Jaco Greeff <jacogr@gmail.com> Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
20 lines
441 B
TypeScript
20 lines
441 B
TypeScript
// Copyright 2017-2021 @polkadot/react-api authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import Api, { api, DEFAULT_DECIMALS, DEFAULT_SS58 } from './Api';
|
|
import ApiContext from './ApiContext';
|
|
import { withApi, withCallDiv, withCalls, withMulti, withObservable } from './hoc';
|
|
|
|
export {
|
|
api,
|
|
Api,
|
|
ApiContext,
|
|
DEFAULT_DECIMALS,
|
|
DEFAULT_SS58,
|
|
withApi,
|
|
withCalls,
|
|
withCallDiv,
|
|
withMulti,
|
|
withObservable
|
|
};
|