@snapshot-labs/snapshot.js 0.12.48 → 0.12.50

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.12.48",
3
+ "version": "0.12.50",
4
4
  "repository": "snapshot-labs/snapshot.js",
5
5
  "license": "MIT",
6
6
  "main": "dist/snapshot.cjs.js",
package/src/networks.json CHANGED
@@ -1549,6 +1549,20 @@
1549
1549
  "logo": "ipfs://bafkreic5fffatwy2gzf6y5iymje6ijii43tz4wlxl35da36guurhibjx44",
1550
1550
  "testnet": true
1551
1551
  },
1552
+ "57073": {
1553
+ "key": "57073",
1554
+ "name": "Ink",
1555
+ "shortName": "mainnet",
1556
+ "chainId": 57073,
1557
+ "network": "mainnet",
1558
+ "multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
1559
+ "rpc": [],
1560
+ "explorer": {
1561
+ "url": "https://explorer.inkonchain.com"
1562
+ },
1563
+ "start": 6659154,
1564
+ "logo": "ipfs://bafkreics2duafru4mw36wftcmklgrsgq6fz4lgcjctzmov34bxjzuuypju"
1565
+ },
1552
1566
  "59141": {
1553
1567
  "key": "59141",
1554
1568
  "name": "Linea Sepolia",
@@ -1673,6 +1687,21 @@
1673
1687
  "logo": "ipfs://bafkreiammyt7uztbztqbcqv4bydnczsh2fqmnjf6jxj4xnskzzl6sjrigq",
1674
1688
  "testnet": true
1675
1689
  },
1690
+ "763373": {
1691
+ "key": "763373",
1692
+ "name": "Ink Sepolia",
1693
+ "shortName": "testnet",
1694
+ "chainId": 763373,
1695
+ "network": "testnet",
1696
+ "multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
1697
+ "rpc": [],
1698
+ "explorer": {
1699
+ "url": "https://explorer-sepolia.inkonchain.com"
1700
+ },
1701
+ "start": 9701940,
1702
+ "logo": "ipfs://bafkreics2duafru4mw36wftcmklgrsgq6fz4lgcjctzmov34bxjzuuypju",
1703
+ "testnet": true
1704
+ },
1676
1705
  "810180": {
1677
1706
  "key": "810180",
1678
1707
  "name": "zkLink Nova",
@@ -1840,4 +1869,4 @@
1840
1869
  "start": 7521509,
1841
1870
  "logo": "ipfs://QmNnGPr1CNvj12SSGzKARtUHv9FyEfE5nES73U4vBWQSJL"
1842
1871
  }
1843
- }
1872
+ }
package/src/sign/index.ts CHANGED
@@ -124,6 +124,7 @@ export default class Client {
124
124
  address: string,
125
125
  message: Proposal
126
126
  ) {
127
+ if (!message.labels) message.labels = [];
127
128
  if (!message.discussion) message.discussion = '';
128
129
  if (!message.app) message.app = '';
129
130
  if (!message.privacy) message.privacy = '';