Socket
Socket
Sign inDemoInstall

ethereum-input-data-decoder

Package Overview
Dependencies
115
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.4 to 0.3.5

20

dist/index.d.ts

@@ -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;
}

3

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc