Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "abitty", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Abitty cherry-picks specific functions from your Solidity ABIs and saves them for individual importing. Stop using thicc JSON files, start shaking that tree.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -34,2 +34,7 @@ #!/usr/bin/env node | ||
const solidityTypeToTsType = (solidityType: string): string => { | ||
const arrayMatch = solidityType.match(/(.+)\[\]$/); | ||
if (arrayMatch) { | ||
return `${solidityTypeToTsType(arrayMatch[1])}[]`; | ||
} | ||
switch (solidityType) { | ||
@@ -36,0 +41,0 @@ case 'uint256': |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16082
279