index.ts 651 B

12345678910111213141516171819202122232425
  1. // Copyright 2017-2020 @polkadot/react-api authors & contributors
  2. // This software may be modified and distributed under the terms
  3. // of the Apache-2.0 license. See the LICENSE file for details.
  4. import Api, { api } from './Api';
  5. import ApiContext from './ApiContext';
  6. import { withApi, withCalls, withCallDiv, withMulti, withObservable } from './hoc';
  7. import { clearLedger, getLedger, isLedger, isLedgerCapable } from './ledger';
  8. import registry from './typeRegistry';
  9. export {
  10. api,
  11. Api,
  12. ApiContext,
  13. registry,
  14. withApi,
  15. withCalls,
  16. withCallDiv,
  17. withMulti,
  18. withObservable,
  19. clearLedger,
  20. getLedger,
  21. isLedger,
  22. isLedgerCapable
  23. };