@snapshot-labs/snapshot.js 0.7.1 → 0.7.3
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/index.d.ts +12 -0
- package/dist/schemas/index.d.ts +12 -0
- package/dist/snapshot.cjs.js +27 -2
- package/dist/snapshot.esm.js +27 -2
- package/dist/snapshot.min.js +5 -5
- package/package.json +1 -1
- package/src/networks.json +2 -2
- package/src/schemas/alias.json +18 -0
- package/src/schemas/index.ts +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -574,6 +574,18 @@ declare const _default: {
|
|
|
574
574
|
additionalProperties: boolean;
|
|
575
575
|
};
|
|
576
576
|
};
|
|
577
|
+
alias: {
|
|
578
|
+
title: string;
|
|
579
|
+
type: string;
|
|
580
|
+
properties: {
|
|
581
|
+
alias: {
|
|
582
|
+
type: string;
|
|
583
|
+
format: string;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
required: string[];
|
|
587
|
+
additionalProperties: boolean;
|
|
588
|
+
};
|
|
577
589
|
};
|
|
578
590
|
utils: {
|
|
579
591
|
call: typeof import("./utils").call;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -570,5 +570,17 @@ declare const _default: {
|
|
|
570
570
|
additionalProperties: boolean;
|
|
571
571
|
};
|
|
572
572
|
};
|
|
573
|
+
alias: {
|
|
574
|
+
title: string;
|
|
575
|
+
type: string;
|
|
576
|
+
properties: {
|
|
577
|
+
alias: {
|
|
578
|
+
type: string;
|
|
579
|
+
format: string;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
required: string[];
|
|
583
|
+
additionalProperties: boolean;
|
|
584
|
+
};
|
|
573
585
|
};
|
|
574
586
|
export default _default;
|
package/dist/snapshot.cjs.js
CHANGED
|
@@ -1297,6 +1297,30 @@ var zodiac = {
|
|
|
1297
1297
|
definitions: definitions$6
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
+
var $schema$7 = "http://json-schema.org/draft-07/schema#";
|
|
1301
|
+
var $ref$7 = "#/definitions/Alias";
|
|
1302
|
+
var definitions$7 = {
|
|
1303
|
+
Alias: {
|
|
1304
|
+
title: "Alias",
|
|
1305
|
+
type: "object",
|
|
1306
|
+
properties: {
|
|
1307
|
+
alias: {
|
|
1308
|
+
type: "string",
|
|
1309
|
+
format: "address"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
required: [
|
|
1313
|
+
"alias"
|
|
1314
|
+
],
|
|
1315
|
+
additionalProperties: false
|
|
1316
|
+
}
|
|
1317
|
+
};
|
|
1318
|
+
var alias = {
|
|
1319
|
+
$schema: $schema$7,
|
|
1320
|
+
$ref: $ref$7,
|
|
1321
|
+
definitions: definitions$7
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1300
1324
|
var schemas = {
|
|
1301
1325
|
space: space.definitions.Space,
|
|
1302
1326
|
proposal: proposal.definitions.Proposal,
|
|
@@ -1304,7 +1328,8 @@ var schemas = {
|
|
|
1304
1328
|
vote: vote.definitions.Vote,
|
|
1305
1329
|
profile: profile.definitions.Profile,
|
|
1306
1330
|
statement: statement.definitions.Statement,
|
|
1307
|
-
zodiac: zodiac.definitions.Zodiac
|
|
1331
|
+
zodiac: zodiac.definitions.Zodiac,
|
|
1332
|
+
alias: alias.definitions.Alias
|
|
1308
1333
|
};
|
|
1309
1334
|
|
|
1310
1335
|
var Multicaller = /** @class */ (function () {
|
|
@@ -3779,7 +3804,7 @@ var networks = {
|
|
|
3779
3804
|
chainId: 80001,
|
|
3780
3805
|
network: "testnet",
|
|
3781
3806
|
testnet: true,
|
|
3782
|
-
multicall: "
|
|
3807
|
+
multicall: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3783
3808
|
rpc: [
|
|
3784
3809
|
"https://speedy-nodes-nyc.moralis.io/9e03baabdc27be2a35bdec4a/polygon/mumbai/archive",
|
|
3785
3810
|
"https://rpc-mumbai.matic.today"
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -1288,6 +1288,30 @@ var zodiac = {
|
|
|
1288
1288
|
definitions: definitions$6
|
|
1289
1289
|
};
|
|
1290
1290
|
|
|
1291
|
+
var $schema$7 = "http://json-schema.org/draft-07/schema#";
|
|
1292
|
+
var $ref$7 = "#/definitions/Alias";
|
|
1293
|
+
var definitions$7 = {
|
|
1294
|
+
Alias: {
|
|
1295
|
+
title: "Alias",
|
|
1296
|
+
type: "object",
|
|
1297
|
+
properties: {
|
|
1298
|
+
alias: {
|
|
1299
|
+
type: "string",
|
|
1300
|
+
format: "address"
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
required: [
|
|
1304
|
+
"alias"
|
|
1305
|
+
],
|
|
1306
|
+
additionalProperties: false
|
|
1307
|
+
}
|
|
1308
|
+
};
|
|
1309
|
+
var alias = {
|
|
1310
|
+
$schema: $schema$7,
|
|
1311
|
+
$ref: $ref$7,
|
|
1312
|
+
definitions: definitions$7
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1291
1315
|
var schemas = {
|
|
1292
1316
|
space: space.definitions.Space,
|
|
1293
1317
|
proposal: proposal.definitions.Proposal,
|
|
@@ -1295,7 +1319,8 @@ var schemas = {
|
|
|
1295
1319
|
vote: vote.definitions.Vote,
|
|
1296
1320
|
profile: profile.definitions.Profile,
|
|
1297
1321
|
statement: statement.definitions.Statement,
|
|
1298
|
-
zodiac: zodiac.definitions.Zodiac
|
|
1322
|
+
zodiac: zodiac.definitions.Zodiac,
|
|
1323
|
+
alias: alias.definitions.Alias
|
|
1299
1324
|
};
|
|
1300
1325
|
|
|
1301
1326
|
var Multicaller = /** @class */ (function () {
|
|
@@ -3770,7 +3795,7 @@ var networks = {
|
|
|
3770
3795
|
chainId: 80001,
|
|
3771
3796
|
network: "testnet",
|
|
3772
3797
|
testnet: true,
|
|
3773
|
-
multicall: "
|
|
3798
|
+
multicall: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3774
3799
|
rpc: [
|
|
3775
3800
|
"https://speedy-nodes-nyc.moralis.io/9e03baabdc27be2a35bdec4a/polygon/mumbai/archive",
|
|
3776
3801
|
"https://rpc-mumbai.matic.today"
|