aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 21:11:08 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 21:11:08 +0800
commitf1ed572819475fca49b6a1ca939d2ec953aaa868 (patch)
tree2bed6acba32b4a705642b39728d0c499b1888788
parent9ae56485a9695c487313665f5dd920616884502e (diff)
downloaddexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.tar
dexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.tar.gz
dexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.tar.bz2
dexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.tar.lz
dexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.tar.xz
dexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.tar.zst
dexon-sol-tools-f1ed572819475fca49b6a1ca939d2ec953aaa868.zip
Remove redundant js prefix
-rw-r--r--src/globals.d.ts2
-rw-r--r--src/utils/abi_decoder.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index f8d3b20c2..467a756a4 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -90,6 +90,6 @@ declare module 'abi-decoder' {
const decodeLogs: (logs: Web3.LogEntry[]) => DecodedLog[];
}
-declare module 'web3/lib/solidity/coder.js' {
+declare module 'web3/lib/solidity/coder' {
const decodeParams: (types: string[], data: string) => any[];
}
diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts
index 0600f86f2..a68a673b4 100644
--- a/src/utils/abi_decoder.ts
+++ b/src/utils/abi_decoder.ts
@@ -1,7 +1,7 @@
import * as Web3 from 'web3';
import * as _ from 'lodash';
import {AbiType, DecodedLogArgs, DecodedArgs} from '../types';
-import * as SolidityCoder from 'web3/lib/solidity/coder.js';
+import * as SolidityCoder from 'web3/lib/solidity/coder';
export class AbiDecoder {
private savedABIs: Web3.AbiDefinition[] = [];