@snapshot-labs/snapshot.js 0.12.25 → 0.12.27
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 +4 -3
- package/dist/snapshot.esm.js +4 -3
- package/dist/snapshot.min.js +2 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/utils/delegation.d.ts +1 -0
- package/dist/src/utils.d.ts +1 -0
- package/package.json +1 -1
- package/src/delegationSubgraphs.json +1 -0
- package/src/schemas/proposal.json +1 -1
- package/src/schemas/vote.json +1 -1
- package/src/utils.ts +3 -1
package/dist/snapshot.cjs.js
CHANGED
|
@@ -1051,7 +1051,7 @@ var definitions$1 = {
|
|
|
1051
1051
|
app: {
|
|
1052
1052
|
type: "string",
|
|
1053
1053
|
title: "app",
|
|
1054
|
-
maxLength:
|
|
1054
|
+
maxLength: 128
|
|
1055
1055
|
}
|
|
1056
1056
|
},
|
|
1057
1057
|
required: [
|
|
@@ -1191,7 +1191,7 @@ var definitions$3 = {
|
|
|
1191
1191
|
app: {
|
|
1192
1192
|
type: "string",
|
|
1193
1193
|
title: "app",
|
|
1194
|
-
maxLength:
|
|
1194
|
+
maxLength: 128
|
|
1195
1195
|
}
|
|
1196
1196
|
},
|
|
1197
1197
|
required: [
|
|
@@ -3784,6 +3784,7 @@ var delegationSubgraphs = {
|
|
|
3784
3784
|
"8453": "https://subgrapher.snapshot.org/delegation/8453",
|
|
3785
3785
|
"42161": "https://subgrapher.snapshot.org/delegation/42161",
|
|
3786
3786
|
"59144": "https://subgrapher.snapshot.org/delegation/59144",
|
|
3787
|
+
"81457": "https://subgrapher.snapshot.org/delegation/81457",
|
|
3787
3788
|
"11155111": "https://subgrapher.snapshot.org/delegation/11155111"
|
|
3788
3789
|
};
|
|
3789
3790
|
|
|
@@ -4077,7 +4078,7 @@ ajv.addFormat('domain', {
|
|
|
4077
4078
|
validate: (value) => {
|
|
4078
4079
|
if (!value)
|
|
4079
4080
|
return false;
|
|
4080
|
-
return !!value.match(/^(https:\/\/)?([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}
|
|
4081
|
+
return !!value.match(/^(https:\/\/)?([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}(\/)?$/);
|
|
4081
4082
|
}
|
|
4082
4083
|
});
|
|
4083
4084
|
function call(provider, abi, call, options) {
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -1041,7 +1041,7 @@ var definitions$1 = {
|
|
|
1041
1041
|
app: {
|
|
1042
1042
|
type: "string",
|
|
1043
1043
|
title: "app",
|
|
1044
|
-
maxLength:
|
|
1044
|
+
maxLength: 128
|
|
1045
1045
|
}
|
|
1046
1046
|
},
|
|
1047
1047
|
required: [
|
|
@@ -1181,7 +1181,7 @@ var definitions$3 = {
|
|
|
1181
1181
|
app: {
|
|
1182
1182
|
type: "string",
|
|
1183
1183
|
title: "app",
|
|
1184
|
-
maxLength:
|
|
1184
|
+
maxLength: 128
|
|
1185
1185
|
}
|
|
1186
1186
|
},
|
|
1187
1187
|
required: [
|
|
@@ -3774,6 +3774,7 @@ var delegationSubgraphs = {
|
|
|
3774
3774
|
"8453": "https://subgrapher.snapshot.org/delegation/8453",
|
|
3775
3775
|
"42161": "https://subgrapher.snapshot.org/delegation/42161",
|
|
3776
3776
|
"59144": "https://subgrapher.snapshot.org/delegation/59144",
|
|
3777
|
+
"81457": "https://subgrapher.snapshot.org/delegation/81457",
|
|
3777
3778
|
"11155111": "https://subgrapher.snapshot.org/delegation/11155111"
|
|
3778
3779
|
};
|
|
3779
3780
|
|
|
@@ -4067,7 +4068,7 @@ ajv.addFormat('domain', {
|
|
|
4067
4068
|
validate: (value) => {
|
|
4068
4069
|
if (!value)
|
|
4069
4070
|
return false;
|
|
4070
|
-
return !!value.match(/^(https:\/\/)?([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}
|
|
4071
|
+
return !!value.match(/^(https:\/\/)?([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}(\/)?$/);
|
|
4071
4072
|
}
|
|
4072
4073
|
});
|
|
4073
4074
|
function call(provider, abi, call, options) {
|