Skip to content

Commit 0f952f5

Browse files
wa0x6eChaituVR
andauthored
feat: add support for cover image in space (#1055)
* feat: add support for cover image in space * v0.12.10 --------- Co-authored-by: Chaitanya <[email protected]>
1 parent 40ea2a3 commit 0f952f5

File tree

2 files changed

+8
-2
lines changed

2 files changed

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

src/schemas/space.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@
4040
"avatar": {
4141
"type": "string",
4242
"title": "avatar",
43-
"format": "uri",
43+
"format": "customUrl",
44+
"maxLength": 256
45+
},
46+
"cover": {
47+
"type": "string",
48+
"title": "avatar",
49+
"format": "customUrl",
4450
"maxLength": 256
4551
},
4652
"location": {

0 commit comments

Comments
 (0)