diff --git a/package.json b/package.json index bb847c04a..0b59a09c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@snapshot-labs/snapshot.js", - "version": "0.12.8", + "version": "0.12.13", "repository": "snapshot-labs/snapshot.js", "license": "MIT", "main": "dist/snapshot.cjs.js", diff --git a/src/delegationSubgraphs.json b/src/delegationSubgraphs.json index f8b60ae68..7801d38cf 100644 --- a/src/delegationSubgraphs.json +++ b/src/delegationSubgraphs.json @@ -7,5 +7,6 @@ "250": "https://subgrapher.snapshot.org/delegation/250", "8453": "https://subgrapher.snapshot.org/delegation/8453", "42161": "https://subgrapher.snapshot.org/delegation/42161", + "59144": "https://subgrapher.snapshot.org/delegation/59144", "11155111": "https://subgrapher.snapshot.org/delegation/11155111" } diff --git a/src/networks.json b/src/networks.json index 20a6f00d7..557881fea 100644 --- a/src/networks.json +++ b/src/networks.json @@ -904,6 +904,20 @@ "start": 4219343, "logo": "ipfs://QmXkneyRB6HbHTHRLCZpZqSsawiyJY7b2kZ2V8ydvKYAgv" }, + "2192": { + "key": "2192", + "name": "SnaxChain", + "shortName": "mainnet", + "chainId": 2192, + "network": "mainnet", + "multicall": "0xcA11bde05977b3631167028862bE2a173976CA11", + "rpc": [], + "explorer": { + "url": "https://explorer.snaxchain.io" + }, + "start": 1554893, + "logo": "ipfs://bafkreibzz757piho2llzkbiszpvalf5k5hpmxcwhvrmgp7vpz2vp4vj7ly" + }, "2221": { "key": "2221", "name": "Kava Testnet", @@ -1439,6 +1453,21 @@ "start": 12011090, "logo": "ipfs://bafkreihgr7zy7vi5kqddybfaezwuhvssg57qluwmyan4qq7l57nr7w7wey" }, + "80002": { + "key": "80002", + "name": "Polygon Amoy Testnet", + "shortName": "testnet", + "chainId": 80002, + "network": "testnet", + "multicall": "0xcA11bde05977b3631167028862bE2a173976CA11", + "rpc": [], + "explorer": { + "url": "https://amoy.polygonscan.com/" + }, + "start": 3127388, + "logo": "ipfs://bafkreibfiyvhqnme2vbxxfcku7qkxgjpkg6ywdkplxh4oxlkqsbznyorfm", + "testnet": true + }, "81457": { "key": "81457", "name": "Blast", @@ -1542,7 +1571,7 @@ "0x8FADE66B79cC9f707aB26799354482EB93a5B7dD" ], "ensNameWrapper": "0x0635513f179D50A207757E05759CbD106d7dFcE8", - "ensSubgraph": "https://api.studio.thegraph.com/proxy/49574/enssepolia/version/latest", + "ensSubgraph": "https://subgrapher.snapshot.org/subgraph/arbitrum/DmMXLtMZnGbQXASJ7p1jfzLUbBYnYUD9zNBTxpkjHYXV", "explorer": { "url": "https://sepolia.etherscan.io", "apiUrl": "https://api-sepolia.etherscan.io" diff --git a/src/schemas/space.json b/src/schemas/space.json index c1cfaaaa3..542f0c339 100644 --- a/src/schemas/space.json +++ b/src/schemas/space.json @@ -40,7 +40,13 @@ "avatar": { "type": "string", "title": "avatar", - "format": "uri", + "format": "customUrl", + "maxLength": 256 + }, + "cover": { + "type": "string", + "title": "avatar", + "format": "customUrl", "maxLength": 256 }, "location": { @@ -345,6 +351,7 @@ "treasuries": { "type": "array", "maxItems": 10, + "uniqueItems": true, "items": { "type": "object", "properties": {