ghost-portal/packages/react-api/src/index.ts
2020-01-06 16:16:50 +01:00

26 lines
651 B
TypeScript

// Copyright 2017-2020 @polkadot/react-api authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import Api, { 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,
registry,
withApi,
withCalls,
withCallDiv,
withMulti,
withObservable,
clearLedger,
getLedger,
isLedger,
isLedgerCapable
};