Skip to content

Commit

Permalink
fix: allow starknet treasury address (#1066)
Browse files Browse the repository at this point in the history
* fix: allow starknet treasury address

* v0.12.21

---------

Co-authored-by: Chaitanya <[email protected]>
  • Loading branch information
wa0x6e and ChaituVR authored Oct 7, 2024
1 parent 4220cac commit de0e11d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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.12.20",
"version": "0.12.21",
"repository": "snapshot-labs/snapshot.js",
"license": "MIT",
"main": "dist/snapshot.cjs.js",
Expand Down
7 changes: 4 additions & 3 deletions src/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,10 @@
"type": "string",
"title": "Contract address",
"examples": ["e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"],
"pattern": "^0x[a-fA-F0-9]{40}$",
"minLength": 42,
"maxLength": 42
"anyOf": [
{ "format": "address" },
{ "format": "starknetAddress" }
]
},
"network": {
"type": "string",
Expand Down

0 comments on commit de0e11d

Please sign in to comment.