ghost-portal/packages/react-api/src/index.ts
2020-09-17 16:46:46 +02:00

25 lines
561 B
TypeScript

// Copyright 2017-2020 @polkadot/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
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
};