aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-08-03 19:36:16 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-08-03 19:36:16 +0800
commitbd488020df0911ab581ad401097a3a97a8048c60 (patch)
tree4fa5bedf325823526f551ea4a44e4325f7701b04
parentab398751e1cd899fb356db2908e6442b92de03da (diff)
downloaddexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.tar
dexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.tar.gz
dexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.tar.bz2
dexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.tar.lz
dexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.tar.xz
dexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.tar.zst
dexon-sol-tools-bd488020df0911ab581ad401097a3a97a8048c60.zip
Export RPC data types from web3-wrapper
-rw-r--r--packages/web3-wrapper/CHANGELOG.json3
-rw-r--r--packages/web3-wrapper/src/index.ts12
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/web3-wrapper/CHANGELOG.json b/packages/web3-wrapper/CHANGELOG.json
index e4d4c19fc..2c43f99fb 100644
--- a/packages/web3-wrapper/CHANGELOG.json
+++ b/packages/web3-wrapper/CHANGELOG.json
@@ -4,6 +4,9 @@
"changes": [
{
"note": "Export marshaller to convert between RPC and user-space data formats"
+ },
+ {
+ "note": "Export RPC types"
}
]
},
diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts
index 015c9b2f1..5d3d135e4 100644
--- a/packages/web3-wrapper/src/index.ts
+++ b/packages/web3-wrapper/src/index.ts
@@ -1,3 +1,13 @@
export { Web3Wrapper } from './web3_wrapper';
export { marshaller } from './marshaller';
-export { Web3WrapperErrors, NodeType } from './types';
+export {
+ Web3WrapperErrors,
+ NodeType,
+ CallDataRPC,
+ CallTxDataBaseRPC,
+ AbstractBlockRPC,
+ BlockWithoutTransactionDataRPC,
+ BlockWithTransactionDataRPC,
+ TransactionRPC,
+ TxDataRPC,
+} from './types';