aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper/src/web3_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-20 03:10:06 +0800
committerGitHub <noreply@github.com>2018-07-20 03:10:06 +0800
commitf1c3840c3b0804428f02306f50b200d1f0fc3a88 (patch)
treed421287ec329dae9800fb7a542a141d648638eaf /packages/web3-wrapper/src/web3_wrapper.ts
parent9b6476a6b7db8db7b0fc6bbf9306c01566fb47a9 (diff)
parente5c5b36a73aad7a84e9540d905bc568997d12c5b (diff)
downloaddexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.tar
dexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.tar.gz
dexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.tar.bz2
dexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.tar.lz
dexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.tar.xz
dexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.tar.zst
dexon-sol-tools-f1c3840c3b0804428f02306f50b200d1f0fc3a88.zip
Merge pull request #897 from 0xProject/doc-changes
Doc Changes for RC publish
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r--packages/web3-wrapper/src/web3_wrapper.ts10
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.
*/