ghost-portal/packages/react-api/src/index.ts
2021-01-03 11:33:39 +01:00

25 lines
578 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';
import { clearLedger, getLedger, isLedger, isLedgerCapable } from './ledger';
export {
api,
Api,
ApiContext,
DEFAULT_DECIMALS,
DEFAULT_SS58,
withApi,
withCalls,
withCallDiv,
withMulti,
withObservable,
clearLedger,
getLedger,
isLedger,
isLedgerCapable
};