Skip to content

Commit f41dc08

Browse files
wa0x6eChaituVR
andauthored
Fix make about field optional (#1025)
* fix: make about field optional * fix: remove minLength making the field mandatory * v0.11.36 --------- Co-authored-by: Chaitanya <[email protected]>
1 parent 1f6cfd2 commit f41dc08

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@snapshot-labs/snapshot.js",
3-
"version": "0.11.35",
3+
"version": "0.11.36",
44
"repository": "snapshot-labs/snapshot.js",
55
"license": "MIT",
66
"main": "dist/snapshot.cjs.js",

src/schemas/statement.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"type": "string",
1111
"format": "long",
1212
"title": "About",
13-
"minLength": 1,
1413
"maxLength": 140
1514
},
1615
"statement": {
@@ -23,8 +22,7 @@
2322
"type": "string",
2423
"title": "discourse",
2524
"pattern": "^[A-Za-z0-9-_.]*$",
26-
"maxLength": 30,
27-
"minLength": 3
25+
"maxLength": 30
2826
},
2927
"network": {
3028
"type": "string",

0 commit comments

Comments
 (0)