@snapshot-labs/snapshot.js 0.12.30 → 0.12.33
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/dist/snapshot.cjs.js +19 -0
- package/dist/snapshot.esm.js +19 -0
- package/dist/snapshot.min.js +2 -2
- package/dist/src/sign/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/networks.json +14 -0
- package/src/sign/index.ts +2 -0
- package/src/sign/types.ts +2 -0
package/dist/snapshot.cjs.js
CHANGED
|
@@ -355,11 +355,15 @@ class Client {
|
|
|
355
355
|
message.discussion = '';
|
|
356
356
|
if (!message.app)
|
|
357
357
|
message.app = '';
|
|
358
|
+
if (!message.privacy)
|
|
359
|
+
message.privacy = '';
|
|
358
360
|
return yield this.sign(web3, address, message, proposalTypes);
|
|
359
361
|
});
|
|
360
362
|
}
|
|
361
363
|
updateProposal(web3, address, message) {
|
|
362
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
if (!message.privacy)
|
|
366
|
+
message.privacy = '';
|
|
363
367
|
return yield this.sign(web3, address, message, updateProposalTypes);
|
|
364
368
|
});
|
|
365
369
|
}
|
|
@@ -2535,6 +2539,21 @@ var networks = {
|
|
|
2535
2539
|
},
|
|
2536
2540
|
start: 79164574,
|
|
2537
2541
|
logo: "ipfs://bafkreiammyt7uztbztqbcqv4bydnczsh2fqmnjf6jxj4xnskzzl6sjrigq"
|
|
2542
|
+
},
|
|
2543
|
+
"1480": {
|
|
2544
|
+
key: "1480",
|
|
2545
|
+
name: "Islander",
|
|
2546
|
+
shortName: "mainnet",
|
|
2547
|
+
chainId: 1480,
|
|
2548
|
+
network: "mainnet",
|
|
2549
|
+
multicall: "0xD8d2dFca27E8797fd779F8547166A2d3B29d360E",
|
|
2550
|
+
rpc: [
|
|
2551
|
+
],
|
|
2552
|
+
explorer: {
|
|
2553
|
+
url: "https://islander.vanascan.io/"
|
|
2554
|
+
},
|
|
2555
|
+
start: 716763,
|
|
2556
|
+
logo: "ipfs://bafkreibotel3dmc5og5rf3tpt7l74awkene7x6q3oxtwhptt4y4rpa7vsa"
|
|
2538
2557
|
},
|
|
2539
2558
|
"1559": {
|
|
2540
2559
|
key: "1559",
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -345,11 +345,15 @@ class Client {
|
|
|
345
345
|
message.discussion = '';
|
|
346
346
|
if (!message.app)
|
|
347
347
|
message.app = '';
|
|
348
|
+
if (!message.privacy)
|
|
349
|
+
message.privacy = '';
|
|
348
350
|
return yield this.sign(web3, address, message, proposalTypes);
|
|
349
351
|
});
|
|
350
352
|
}
|
|
351
353
|
updateProposal(web3, address, message) {
|
|
352
354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
+
if (!message.privacy)
|
|
356
|
+
message.privacy = '';
|
|
353
357
|
return yield this.sign(web3, address, message, updateProposalTypes);
|
|
354
358
|
});
|
|
355
359
|
}
|
|
@@ -2525,6 +2529,21 @@ var networks = {
|
|
|
2525
2529
|
},
|
|
2526
2530
|
start: 79164574,
|
|
2527
2531
|
logo: "ipfs://bafkreiammyt7uztbztqbcqv4bydnczsh2fqmnjf6jxj4xnskzzl6sjrigq"
|
|
2532
|
+
},
|
|
2533
|
+
"1480": {
|
|
2534
|
+
key: "1480",
|
|
2535
|
+
name: "Islander",
|
|
2536
|
+
shortName: "mainnet",
|
|
2537
|
+
chainId: 1480,
|
|
2538
|
+
network: "mainnet",
|
|
2539
|
+
multicall: "0xD8d2dFca27E8797fd779F8547166A2d3B29d360E",
|
|
2540
|
+
rpc: [
|
|
2541
|
+
],
|
|
2542
|
+
explorer: {
|
|
2543
|
+
url: "https://islander.vanascan.io/"
|
|
2544
|
+
},
|
|
2545
|
+
start: 716763,
|
|
2546
|
+
logo: "ipfs://bafkreibotel3dmc5og5rf3tpt7l74awkene7x6q3oxtwhptt4y4rpa7vsa"
|
|
2528
2547
|
},
|
|
2529
2548
|
"1559": {
|
|
2530
2549
|
key: "1559",
|