Skip to content

Commit f77d09a

Browse files
authored
Add max length with space type for update-proposal (#953)
* Add max length with space type for updated proposal * v0.10.1
1 parent 5f710df commit f77d09a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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.10.0",
3+
"version": "0.10.1",
44
"repository": "snapshot-labs/snapshot.js",
55
"license": "MIT",
66
"main": "dist/snapshot.cjs.js",

src/schemas/update-proposal.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"type": "string",
2121
"title": "body",
2222
"minLength": 0,
23-
"maxLength": 20000
23+
"maxLengthWithSpaceType": {
24+
"default": 10000,
25+
"turbo": 20000
26+
}
2427
},
2528
"discussion": {
2629
"type": "string",

0 commit comments

Comments
 (0)