@snapshot-labs/snapshot.js 0.7.2 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapshot-labs/snapshot.js",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "repository": "snapshot-labs/snapshot.js",
5
5
  "license": "MIT",
6
6
  "main": "dist/snapshot.cjs.js",
package/src/networks.json CHANGED
@@ -1242,6 +1242,20 @@
1242
1242
  "start": 451,
1243
1243
  "logo": "ipfs://QmYeskHqrEvWHqeAuqett64LxfH52HUXZi2T9BAMmgKvBF"
1244
1244
  },
1245
+ "1101": {
1246
+ "key": "1101",
1247
+ "name": "Polygon zkEVM",
1248
+ "shortName": "mainnet",
1249
+ "chainId": 1101,
1250
+ "network": "mainnet",
1251
+ "multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
1252
+ "rpc": [],
1253
+ "explorer": {
1254
+ "url": "https://zkevm.polygonscan.com"
1255
+ },
1256
+ "start": 57746,
1257
+ "logo": "ipfs://QmaGokGqgjknfa4xnXKnnwC5ZyXzUjQ7p6KEe4D8G5uFFE"
1258
+ },
1245
1259
  "1116": {
1246
1260
  "key": "1116",
1247
1261
  "name": "Core Chain Mainnet ",
@@ -2468,4 +2482,4 @@
2468
2482
  "start": 7282345,
2469
2483
  "logo": "ipfs://QmRHB9TqMdVHY392vYiv8sTJ7VHShkq5FT6nS9fPuUNBf1"
2470
2484
  }
2471
- }
2485
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/Alias",
4
+ "definitions": {
5
+ "Alias": {
6
+ "title": "Alias",
7
+ "type": "object",
8
+ "properties": {
9
+ "alias": {
10
+ "type": "string",
11
+ "format": "address"
12
+ }
13
+ },
14
+ "required": ["alias"],
15
+ "additionalProperties": false
16
+ }
17
+ }
18
+ }
@@ -5,6 +5,7 @@ import vote from './vote.json';
5
5
  import profile from './profile.json';
6
6
  import statement from './statement.json';
7
7
  import zodiac from './zodiac.json';
8
+ import alias from './alias.json';
8
9
 
9
10
  export default {
10
11
  space: space.definitions.Space,
@@ -13,5 +14,6 @@ export default {
13
14
  vote: vote.definitions.Vote,
14
15
  profile: profile.definitions.Profile,
15
16
  statement: statement.definitions.Statement,
16
- zodiac: zodiac.definitions.Zodiac
17
+ zodiac: zodiac.definitions.Zodiac,
18
+ alias: alias.definitions.Alias
17
19
  };