Skip to content

Commit

Permalink
Small naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLuit committed Jan 8, 2019
1 parent cd1f5d0 commit 38fbe27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ web3.eth.getCode("0x06012c8cf97BEaD5deAe237070F9587f8E7A266d").then(code => { /

#### Browser
```javascript
const { EVM } = window.EVM_Utils;
const { EVM } = window.EVM;
const web3 = new Web3(window.web3.currentProvider);
web3.eth.getCode("0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359", function(err,code) { /* DAI contract */
if(err) throw err;
Expand Down Expand Up @@ -106,7 +106,7 @@ web3.eth.getTransaction("0xd20a8d888a3f29471ea41ea77cc2d95ccd79ade1eaad059e83524

#### Browser
```javascript
const { Transaction } = window.EVM_Utils;
const { Transaction } = window.EVM;
const web3 = new Web3(window.web3.currentProvider);
web3.eth.getTransaction("0xd20a8d888a3f29471ea41ea77cc2d95ccd79ade1eaad059e83524e72b9adf962", function(err,transactionData) {
if(err) throw err;
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const sourcePath = path.resolve(__dirname, 'src');
const config: Configuration = {
mode: isDevelopment ? 'development' : 'production',
entry: {
EVM_Utils: path.resolve(sourcePath, 'index.ts')
EVM: path.resolve(sourcePath, 'index.ts')
},
output: {
path: path.resolve(__dirname, 'lib'),
library: 'EVM_Utils'
library: 'EVM'
},
resolve: {
extensions: ['.ts', '.js']
Expand Down

0 comments on commit 38fbe27

Please sign in to comment.