ethereum-input-data-decoder
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -1,1 +0,19 @@ | ||
declare module "ethereum-input-data-decoder" | ||
import Buffer from 'buffer'; | ||
import { Interface } from "ethers/utils"; | ||
type NestedArray<T> = T | NestedArray<T>[]; | ||
export interface InputData { | ||
method: string | null; | ||
types: string[]; | ||
inputs: any[]; | ||
names: NestedArray<string>[]; | ||
} | ||
export default class InputDataDecoder { | ||
constructor(abi: string | Interface['abi']); | ||
decodeConstructor(data: Buffer | string): InputData; | ||
decodeData(data: Buffer | string): InputData; | ||
} |
@@ -1,1 +0,19 @@ | ||
declare module "ethereum-input-data-decoder" | ||
import Buffer from 'buffer'; | ||
import { Interface } from "ethers/utils"; | ||
type NestedArray<T> = T | NestedArray<T>[]; | ||
export interface InputData { | ||
method: string | null; | ||
types: string[]; | ||
inputs: any[]; | ||
names: NestedArray<string>[]; | ||
} | ||
export default class InputDataDecoder { | ||
constructor(abi: string | Interface['abi']); | ||
decodeConstructor(data: Buffer | string): InputData; | ||
decodeData(data: Buffer | string): InputData; | ||
} |
{ | ||
"name": "ethereum-input-data-decoder", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Ethereum smart contract transaction input data decoder", | ||
@@ -36,2 +36,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@types/node": "^16.7.13", | ||
"bn.js": "^4.11.8", | ||
@@ -38,0 +39,0 @@ "buffer": "^5.2.1", |
1267273
28227
7
+ Added@types/node@^16.7.13
+ Added@types/node@16.18.97(transitive)
- Removed@types/node@20.12.12(transitive)
- Removedundici-types@5.26.5(transitive)