Skip to content

Commit

Permalink
Add max length with space type for update-proposal (snapshot-labs#953)
Browse files Browse the repository at this point in the history
* Add max length with space type for updated proposal

* v0.10.1
  • Loading branch information
ChaituVR authored Jan 9, 2024
1 parent 5f710df commit f77d09a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/snapshot.js",
"version": "0.10.0",
"version": "0.10.1",
"repository": "snapshot-labs/snapshot.js",
"license": "MIT",
"main": "dist/snapshot.cjs.js",
Expand Down
5 changes: 4 additions & 1 deletion src/schemas/update-proposal.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"type": "string",
"title": "body",
"minLength": 0,
"maxLength": 20000
"maxLengthWithSpaceType": {
"default": 10000,
"turbo": 20000
}
},
"discussion": {
"type": "string",
Expand Down

0 comments on commit f77d09a

Please sign in to comment.