Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typechain

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typechain - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

dist/abiParser.d.ts
export declare enum AbiType {
BOOL = "bool",
UINT8 = "uint8",
UINT8_ARR = "uint8[]",
UINT256 = "uint256",
INT256 = "int256",
UINT256_ARR = "uint256[]",
BYTES = "bytes",
VOID = "void",
ADDRESS = "address",
ADDRESS_ARR = "address[]",
STRING = "string",

@@ -9,0 +13,0 @@ }

@@ -8,6 +8,10 @@ "use strict";

AbiType["UINT8"] = "uint8";
AbiType["UINT8_ARR"] = "uint8[]";
AbiType["UINT256"] = "uint256";
AbiType["INT256"] = "int256";
AbiType["UINT256_ARR"] = "uint256[]";
AbiType["BYTES"] = "bytes";
AbiType["VOID"] = "void";
AbiType["ADDRESS"] = "address";
AbiType["ADDRESS_ARR"] = "address[]";
AbiType["STRING"] = "string";

@@ -14,0 +18,0 @@ })(AbiType = exports.AbiType || (exports.AbiType = {}));

@@ -56,3 +56,7 @@ "use strict";

case abiParser_1.AbiType.UINT256:
case abiParser_1.AbiType.INT256:
return "BigNumber";
case abiParser_1.AbiType.UINT8_ARR:
case abiParser_1.AbiType.UINT256_ARR:
return "BigNumber[]";
case abiParser_1.AbiType.VOID:

@@ -63,2 +67,4 @@ return "void";

return isInput ? "BigNumber | string" : "BigNumber";
case abiParser_1.AbiType.ADDRESS_ARR:
return isInput ? "BigNumber[] | string[]" : "BigNumber[]";
case abiParser_1.AbiType.STRING:

@@ -65,0 +71,0 @@ return "string";

3

package.json
{
"name": "typechain",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",
"repository": "https://github.com/krzkaczor/typechain",
"devDependencies": {

@@ -6,0 +7,0 @@ "@types/chalk": "^0.4.31",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc