aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-18 23:09:08 +0800
committerFabio Berger <me@fabioberger.com>2018-03-18 23:09:08 +0800
commitae04f558822b3c094901036e5dcfe0c6f6aae07b (patch)
tree572f701d848d2e3a3921ab89efeb3e2ef4a1f2bd
parentb40fab35f6c1989fa391ac02c81150960270fc53 (diff)
downloaddexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.tar
dexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.tar.gz
dexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.tar.bz2
dexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.tar.lz
dexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.tar.xz
dexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.tar.zst
dexon-sol-tools-ae04f558822b3c094901036e5dcfe0c6f6aae07b.zip
Export ErrorCallback type from Subproviders package
-rw-r--r--packages/subproviders/CHANGELOG.md1
-rw-r--r--packages/subproviders/src/index.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/subproviders/CHANGELOG.md b/packages/subproviders/CHANGELOG.md
index cb053b620..87a2787ae 100644
--- a/packages/subproviders/CHANGELOG.md
+++ b/packages/subproviders/CHANGELOG.md
@@ -7,6 +7,7 @@
* Add types for `NextCallback`, `OnNextCompleted` (#426)
* Introduce `JSONRPCRequestPayloadWithMethod` type
* Ignore `ganache-core` dependency when using package in a browser environment.
+ * Export `ErrorCallback` type.
## v0.7.0 - _March 8, 2018_
diff --git a/packages/subproviders/src/index.ts b/packages/subproviders/src/index.ts
index a8c2b5c17..9c409e3d9 100644
--- a/packages/subproviders/src/index.ts
+++ b/packages/subproviders/src/index.ts
@@ -2,7 +2,7 @@ import Eth from '@ledgerhq/hw-app-eth';
import TransportU2F from '@ledgerhq/hw-transport-u2f';
import { LedgerEthereumClient } from './types';
-export { Callback, NextCallback } from './types';
+export { Callback, ErrorCallback, NextCallback } from './types';
export { EmptyWalletSubprovider } from './subproviders/empty_wallet_subprovider';
export { FakeGasEstimateSubprovider } from './subproviders/fake_gas_estimate_subprovider';