Skip to content

Commit 73b411e

Browse files
committed
Version 6.0.8
1 parent 338435b commit 73b411e

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ function generateCodeFrom(types, entryTypes) {
7777
};
7878
});
7979
Object.keys(types.types).forEach(function (typeName) {
80+
// Skip it if it starts with "Signed":
81+
if (typeName.startsWith("Signed")) {
82+
return;
83+
}
8084
orderedTypes.push({
8185
name: typeName,
8286
fields: types.types[typeName]

index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ function generateCodeFrom(types, entryTypes: string[]) {
174174
});
175175

176176
Object.keys(types.types).forEach((typeName) => {
177+
// Skip it if it starts with "Signed":
178+
if (typeName.startsWith("Signed")) {
179+
return;
180+
}
181+
177182
orderedTypes.push({
178183
name: typeName,
179184
fields: types.types[typeName],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eip712-codegen",
3-
"version": "6.0.7",
3+
"version": "6.0.8",
44
"description": "A utility for generating Solidity code for recovering signatures using the EIP-712 signTypedData schema.",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)