@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/dist/index.d.ts +12 -0
- package/dist/schemas/index.d.ts +12 -0
- package/dist/snapshot.cjs.js +41 -1
- package/dist/snapshot.esm.js +41 -1
- package/dist/snapshot.min.js +5 -5
- package/package.json +1 -1
- package/src/networks.json +15 -1
- 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 () {
|
|
@@ -2796,6 +2821,21 @@ var networks = {
|
|
|
2796
2821
|
},
|
|
2797
2822
|
start: 451,
|
|
2798
2823
|
logo: "ipfs://QmYeskHqrEvWHqeAuqett64LxfH52HUXZi2T9BAMmgKvBF"
|
|
2824
|
+
},
|
|
2825
|
+
"1101": {
|
|
2826
|
+
key: "1101",
|
|
2827
|
+
name: "Polygon zkEVM",
|
|
2828
|
+
shortName: "mainnet",
|
|
2829
|
+
chainId: 1101,
|
|
2830
|
+
network: "mainnet",
|
|
2831
|
+
multicall: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2832
|
+
rpc: [
|
|
2833
|
+
],
|
|
2834
|
+
explorer: {
|
|
2835
|
+
url: "https://zkevm.polygonscan.com"
|
|
2836
|
+
},
|
|
2837
|
+
start: 57746,
|
|
2838
|
+
logo: "ipfs://QmaGokGqgjknfa4xnXKnnwC5ZyXzUjQ7p6KEe4D8G5uFFE"
|
|
2799
2839
|
},
|
|
2800
2840
|
"1116": {
|
|
2801
2841
|
key: "1116",
|
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 () {
|
|
@@ -2787,6 +2812,21 @@ var networks = {
|
|
|
2787
2812
|
},
|
|
2788
2813
|
start: 451,
|
|
2789
2814
|
logo: "ipfs://QmYeskHqrEvWHqeAuqett64LxfH52HUXZi2T9BAMmgKvBF"
|
|
2815
|
+
},
|
|
2816
|
+
"1101": {
|
|
2817
|
+
key: "1101",
|
|
2818
|
+
name: "Polygon zkEVM",
|
|
2819
|
+
shortName: "mainnet",
|
|
2820
|
+
chainId: 1101,
|
|
2821
|
+
network: "mainnet",
|
|
2822
|
+
multicall: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2823
|
+
rpc: [
|
|
2824
|
+
],
|
|
2825
|
+
explorer: {
|
|
2826
|
+
url: "https://zkevm.polygonscan.com"
|
|
2827
|
+
},
|
|
2828
|
+
start: 57746,
|
|
2829
|
+
logo: "ipfs://QmaGokGqgjknfa4xnXKnnwC5ZyXzUjQ7p6KEe4D8G5uFFE"
|
|
2790
2830
|
},
|
|
2791
2831
|
"1116": {
|
|
2792
2832
|
key: "1116",
|