Skip to content

Commit df9ec5f

Browse files
authored
fix: Increase sub-spaces limit to 16 (#994)
* fix: Increase sub-spaces limit to 16 * allow only unique subspaces * v0.11.20
1 parent 4daa631 commit df9ec5f

File tree

2 files changed

+4
-3
lines changed

2 files changed

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

src/schemas/space.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,12 @@
379379
},
380380
"children": {
381381
"type": "array",
382-
"maxItems": 8,
382+
"maxItems": 16,
383383
"title": "children",
384384
"items": {
385385
"type": "string"
386-
}
386+
},
387+
"uniqueItems": true
387388
},
388389
"boost": {
389390
"type": "object",

0 commit comments

Comments
 (0)