ghost-portal/packages/react-api/src/index.ts
2020-10-15 12:29:43 +02:00

27 lines
629 B
TypeScript

// Copyright 2017-2020 @polkadot/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import Api, { DEFAULT_DECIMALS, DEFAULT_SS58, api } from './Api';
import ApiContext from './ApiContext';
import { withApi, withCalls, withCallDiv, withMulti, withObservable } from './hoc';
import { clearLedger, getLedger, isLedger, isLedgerCapable } from './ledger';
import registry from './typeRegistry';
export {
api,
Api,
ApiContext,
DEFAULT_DECIMALS,
DEFAULT_SS58,
registry,
withApi,
withCalls,
withCallDiv,
withMulti,
withObservable,
clearLedger,
getLedger,
isLedger,
isLedgerCapable
};