diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-19 23:46:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-19 23:46:24 +0800 |
commit | 34df5af2955079dadd7d63c67a3f93cc82adbff3 (patch) | |
tree | a65657dba553c2011857f98307af360aa096b340 /packages/web3-wrapper/src/web3_wrapper.ts | |
parent | 9ab6ab1bf99864510fe2a0ed7296d04e103bde65 (diff) | |
download | dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.tar dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.tar.gz dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.tar.bz2 dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.tar.lz dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.tar.xz dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.tar.zst dexon-sol-tools-34df5af2955079dadd7d63c67a3f93cc82adbff3.zip |
Don't export object literal because the docs cannot yet render them, moved type to types file
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index e828708f0..4439eb284 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -22,24 +22,18 @@ import { import * as _ from 'lodash'; import { marshaller } from './marshaller'; -import { BlockWithoutTransactionDataRPC, BlockWithTransactionDataRPC, Web3WrapperErrors } from './types'; +import { BlockWithoutTransactionDataRPC, BlockWithTransactionDataRPC, NodeType, Web3WrapperErrors } from './types'; import { utils } from './utils'; const BASE_TEN = 10; // These are unique identifiers contained in the response of the // web3_clientVersion call. -export const uniqueVersionIds = { +const uniqueVersionIds = { geth: 'Geth', ganache: 'EthereumJS TestRPC', }; -// NodeType represents the type of the backing Ethereum node. -export enum NodeType { - Geth = 'GETH', - Ganache = 'GANACHE', -} - /** * An alternative to the Web3.js library that provides a consistent, clean, promise-based interface. */ |