From f77d09ab8ddaede558dd8fe693d194598a7da7a3 Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Tue, 9 Jan 2024 15:48:32 +0530 Subject: [PATCH] Add max length with space type for update-proposal (#953) * Add max length with space type for updated proposal * v0.10.1 --- package.json | 2 +- src/schemas/update-proposal.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b075541a9..1e7257fcc 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/schemas/update-proposal.json b/src/schemas/update-proposal.json index 5915354b3..72432b2e2 100644 --- a/src/schemas/update-proposal.json +++ b/src/schemas/update-proposal.json @@ -20,7 +20,10 @@ "type": "string", "title": "body", "minLength": 0, - "maxLength": 20000 + "maxLengthWithSpaceType": { + "default": 10000, + "turbo": 20000 + } }, "discussion": { "type": "string",