We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4220cac commit de0e11dCopy full SHA for de0e11d
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@snapshot-labs/snapshot.js",
3
- "version": "0.12.20",
+ "version": "0.12.21",
4
"repository": "snapshot-labs/snapshot.js",
5
"license": "MIT",
6
"main": "dist/snapshot.cjs.js",
src/schemas/space.json
@@ -378,9 +378,10 @@
378
"type": "string",
379
"title": "Contract address",
380
"examples": ["e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"],
381
- "pattern": "^0x[a-fA-F0-9]{40}$",
382
- "minLength": 42,
383
- "maxLength": 42
+ "anyOf": [
+ { "format": "address" },
+ { "format": "starknetAddress" }
384
+ ]
385
},
386
"network": {
387
0 commit comments