Comparing version 6.0.4 to 6.0.5
# typechain | ||
## 6.0.5 | ||
### Patch Changes | ||
- 135f6ce: Fix `structName` for nested array of struct | ||
## 6.0.4 | ||
@@ -4,0 +10,0 @@ |
@@ -83,4 +83,4 @@ "use strict"; | ||
let nameStr = internalType.slice(7); | ||
// get rid of the array sign at the end | ||
const arrayMarker = (_a = nameStr.match(/(\[\d*\])$/)) === null || _a === void 0 ? void 0 : _a[1]; | ||
// get rid of all array signs at the end | ||
const arrayMarker = (_a = nameStr.match(/((?:\[\d*\])+)$/)) === null || _a === void 0 ? void 0 : _a[1]; | ||
if (arrayMarker) { | ||
@@ -87,0 +87,0 @@ nameStr = nameStr.slice(0, nameStr.length - arrayMarker.length); |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": "https://github.com/ethereum-ts/Typechain", |
Sorry, the diff of this file is not supported yet
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
94546