Moving away from default exports.

This commit is contained in:
Richard Moore 2018-07-16 00:39:29 -04:00
parent 614b2d0325
commit 3b843a1782
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
6 changed files with 1 additions and 102 deletions

View File

@ -7,10 +7,3 @@ export {
Contract, Contract,
Interface Interface
} }
/*
export default {
Contract,
Interface
}
*/

View File

@ -42,7 +42,7 @@ export {
version version
}; };
export default { export const ethers = {
Wallet, Wallet,
HDNode, HDNode,

View File

@ -33,20 +33,4 @@ export {
JsonRpcSigner JsonRpcSigner
}; };
/*
export default {
Provider,
getDefaultProvider,
FallbackProvider,
EtherscanProvider,
InfuraProvider,
JsonRpcProvider,
Web3Provider,
IpcProvider,
JsonRpcSigner
};
*/

View File

@ -110,74 +110,4 @@ export {
errors errors
} }
/*
export default {
AbiCoder,
defaultAbiCoder,
parseSignature,
parseParamType,
constants,
RLP,
fetchJson,
defineReadOnly,
defineFrozen,
resolveProperties,
shallowCopy,
etherSymbol,
arrayify,
concat,
padZeros,
stripZeros,
base64,
bigNumberify,
hexlify,
hexStripZeros,
hexZeroPad,
hexDataLength,
hexDataSlice,
toUtf8Bytes,
toUtf8String,
hashMessage,
namehash,
id,
getAddress,
getIcapAddress,
getContractAddress,
formatEther,
parseEther,
formatUnits,
parseUnits,
keccak256,
sha256,
randomBytes,
solidityPack,
solidityKeccak256,
soliditySha256,
splitSignature,
joinSignature,
parseTransaction,
serializeTransaction,
errors
}
*/

View File

@ -7,5 +7,3 @@ import { SigningKey } from './signing-key';
export { HDNode, SigningKey, Wallet }; export { HDNode, SigningKey, Wallet };
//export default { HDNode, SigningKey, Wallet };

View File

@ -18,9 +18,3 @@ const zh_tw: Wordlist = _zh_tw;
export { export {
en, it, ja, ko, zh, zh_cn, zh_tw en, it, ja, ko, zh, zh_cn, zh_tw
} }
/*
export default {
en, it, ja, ko, zh, zh_cn, zh_tw
}
*/