@snapshot-labs/snapshot.js 0.4.89 → 0.4.91
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 +0 -3
- package/dist/schemas/index.d.ts +0 -3
- package/dist/snapshot.cjs.js +10 -13
- package/dist/snapshot.esm.js +10 -13
- package/dist/snapshot.min.js +2 -2
- package/package.json +1 -1
- package/src/delegationSubgraphs.json +8 -8
- package/src/schemas/proposal.json +2 -5
package/dist/index.d.ts
CHANGED
package/dist/schemas/index.d.ts
CHANGED
package/dist/snapshot.cjs.js
CHANGED
|
@@ -879,7 +879,7 @@ var definitions$1 = {
|
|
|
879
879
|
body: {
|
|
880
880
|
type: "string",
|
|
881
881
|
title: "body",
|
|
882
|
-
minLength:
|
|
882
|
+
minLength: 100,
|
|
883
883
|
maxLength: 14400
|
|
884
884
|
},
|
|
885
885
|
discussion: {
|
|
@@ -920,10 +920,7 @@ var definitions$1 = {
|
|
|
920
920
|
type: "number",
|
|
921
921
|
title: "end",
|
|
922
922
|
minimum: 1000000000,
|
|
923
|
-
maximum: 2000000000
|
|
924
|
-
exclusiveMinimum: {
|
|
925
|
-
$data: "1/start"
|
|
926
|
-
}
|
|
923
|
+
maximum: 2000000000
|
|
927
924
|
},
|
|
928
925
|
metadata: {
|
|
929
926
|
type: "object",
|
|
@@ -3510,14 +3507,14 @@ var networks = {
|
|
|
3510
3507
|
};
|
|
3511
3508
|
|
|
3512
3509
|
var delegationSubgraphs = {
|
|
3513
|
-
"1": "https://gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH",
|
|
3514
|
-
"5": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-goerli",
|
|
3515
|
-
"10": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-optimism",
|
|
3516
|
-
"56": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain",
|
|
3517
|
-
"100": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain",
|
|
3518
|
-
"137": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon",
|
|
3519
|
-
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom",
|
|
3520
|
-
"42161": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum"
|
|
3510
|
+
"1": "https://subgrapher.snapshot.org/gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH",
|
|
3511
|
+
"5": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-goerli",
|
|
3512
|
+
"10": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-optimism",
|
|
3513
|
+
"56": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain",
|
|
3514
|
+
"100": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain",
|
|
3515
|
+
"137": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon",
|
|
3516
|
+
"250": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom",
|
|
3517
|
+
"42161": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum"
|
|
3521
3518
|
};
|
|
3522
3519
|
|
|
3523
3520
|
var SingleChoiceVoting = /** @class */ (function () {
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -870,7 +870,7 @@ var definitions$1 = {
|
|
|
870
870
|
body: {
|
|
871
871
|
type: "string",
|
|
872
872
|
title: "body",
|
|
873
|
-
minLength:
|
|
873
|
+
minLength: 100,
|
|
874
874
|
maxLength: 14400
|
|
875
875
|
},
|
|
876
876
|
discussion: {
|
|
@@ -911,10 +911,7 @@ var definitions$1 = {
|
|
|
911
911
|
type: "number",
|
|
912
912
|
title: "end",
|
|
913
913
|
minimum: 1000000000,
|
|
914
|
-
maximum: 2000000000
|
|
915
|
-
exclusiveMinimum: {
|
|
916
|
-
$data: "1/start"
|
|
917
|
-
}
|
|
914
|
+
maximum: 2000000000
|
|
918
915
|
},
|
|
919
916
|
metadata: {
|
|
920
917
|
type: "object",
|
|
@@ -3501,14 +3498,14 @@ var networks = {
|
|
|
3501
3498
|
};
|
|
3502
3499
|
|
|
3503
3500
|
var delegationSubgraphs = {
|
|
3504
|
-
"1": "https://gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH",
|
|
3505
|
-
"5": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-goerli",
|
|
3506
|
-
"10": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-optimism",
|
|
3507
|
-
"56": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain",
|
|
3508
|
-
"100": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain",
|
|
3509
|
-
"137": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon",
|
|
3510
|
-
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom",
|
|
3511
|
-
"42161": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum"
|
|
3501
|
+
"1": "https://subgrapher.snapshot.org/gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH",
|
|
3502
|
+
"5": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-goerli",
|
|
3503
|
+
"10": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-optimism",
|
|
3504
|
+
"56": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain",
|
|
3505
|
+
"100": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain",
|
|
3506
|
+
"137": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon",
|
|
3507
|
+
"250": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom",
|
|
3508
|
+
"42161": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum"
|
|
3512
3509
|
};
|
|
3513
3510
|
|
|
3514
3511
|
var SingleChoiceVoting = /** @class */ (function () {
|