@snapshot-labs/snapshot.js 0.12.30 → 0.12.32
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 +2 -19
- package/dist/snapshot.esm.js +2 -19
- package/dist/snapshot.min.js +1 -1
- package/dist/src/index.d.ts +0 -8
- package/dist/src/schemas/index.d.ts +0 -8
- package/package.json +1 -1
- package/src/schemas/proposal.json +0 -4
- package/src/schemas/space.json +1 -1
- package/src/schemas/update-proposal.json +0 -4
- package/src/sign/hashedTypes.json +1 -3
- package/src/sign/types.ts +1 -3
package/dist/snapshot.cjs.js
CHANGED
|
@@ -85,7 +85,6 @@ const proposalTypes = {
|
|
|
85
85
|
{ name: 'end', type: 'uint64' },
|
|
86
86
|
{ name: 'snapshot', type: 'uint64' },
|
|
87
87
|
{ name: 'plugins', type: 'string' },
|
|
88
|
-
{ name: 'privacy', type: 'string' },
|
|
89
88
|
{ name: 'app', type: 'string' }
|
|
90
89
|
]
|
|
91
90
|
};
|
|
@@ -101,8 +100,7 @@ const updateProposalTypes = {
|
|
|
101
100
|
{ name: 'discussion', type: 'string' },
|
|
102
101
|
{ name: 'choices', type: 'string[]' },
|
|
103
102
|
{ name: 'labels', type: 'string[]' },
|
|
104
|
-
{ name: 'plugins', type: 'string' }
|
|
105
|
-
{ name: 'privacy', type: 'string' }
|
|
103
|
+
{ name: 'plugins', type: 'string' }
|
|
106
104
|
]
|
|
107
105
|
};
|
|
108
106
|
const flagProposalTypes = {
|
|
@@ -809,8 +807,7 @@ var definitions = {
|
|
|
809
807
|
type: "string",
|
|
810
808
|
"enum": [
|
|
811
809
|
"",
|
|
812
|
-
"shutter"
|
|
813
|
-
"any"
|
|
810
|
+
"shutter"
|
|
814
811
|
]
|
|
815
812
|
}
|
|
816
813
|
},
|
|
@@ -1055,13 +1052,6 @@ var definitions$1 = {
|
|
|
1055
1052
|
type: "string",
|
|
1056
1053
|
title: "app",
|
|
1057
1054
|
maxLength: 128
|
|
1058
|
-
},
|
|
1059
|
-
privacy: {
|
|
1060
|
-
type: "string",
|
|
1061
|
-
"enum": [
|
|
1062
|
-
"",
|
|
1063
|
-
"shutter"
|
|
1064
|
-
]
|
|
1065
1055
|
}
|
|
1066
1056
|
},
|
|
1067
1057
|
required: [
|
|
@@ -1148,13 +1138,6 @@ var definitions$2 = {
|
|
|
1148
1138
|
metadata: {
|
|
1149
1139
|
type: "object",
|
|
1150
1140
|
title: "metadata"
|
|
1151
|
-
},
|
|
1152
|
-
privacy: {
|
|
1153
|
-
type: "string",
|
|
1154
|
-
"enum": [
|
|
1155
|
-
"",
|
|
1156
|
-
"shutter"
|
|
1157
|
-
]
|
|
1158
1141
|
}
|
|
1159
1142
|
},
|
|
1160
1143
|
required: [
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -75,7 +75,6 @@ const proposalTypes = {
|
|
|
75
75
|
{ name: 'end', type: 'uint64' },
|
|
76
76
|
{ name: 'snapshot', type: 'uint64' },
|
|
77
77
|
{ name: 'plugins', type: 'string' },
|
|
78
|
-
{ name: 'privacy', type: 'string' },
|
|
79
78
|
{ name: 'app', type: 'string' }
|
|
80
79
|
]
|
|
81
80
|
};
|
|
@@ -91,8 +90,7 @@ const updateProposalTypes = {
|
|
|
91
90
|
{ name: 'discussion', type: 'string' },
|
|
92
91
|
{ name: 'choices', type: 'string[]' },
|
|
93
92
|
{ name: 'labels', type: 'string[]' },
|
|
94
|
-
{ name: 'plugins', type: 'string' }
|
|
95
|
-
{ name: 'privacy', type: 'string' }
|
|
93
|
+
{ name: 'plugins', type: 'string' }
|
|
96
94
|
]
|
|
97
95
|
};
|
|
98
96
|
const flagProposalTypes = {
|
|
@@ -799,8 +797,7 @@ var definitions = {
|
|
|
799
797
|
type: "string",
|
|
800
798
|
"enum": [
|
|
801
799
|
"",
|
|
802
|
-
"shutter"
|
|
803
|
-
"any"
|
|
800
|
+
"shutter"
|
|
804
801
|
]
|
|
805
802
|
}
|
|
806
803
|
},
|
|
@@ -1045,13 +1042,6 @@ var definitions$1 = {
|
|
|
1045
1042
|
type: "string",
|
|
1046
1043
|
title: "app",
|
|
1047
1044
|
maxLength: 128
|
|
1048
|
-
},
|
|
1049
|
-
privacy: {
|
|
1050
|
-
type: "string",
|
|
1051
|
-
"enum": [
|
|
1052
|
-
"",
|
|
1053
|
-
"shutter"
|
|
1054
|
-
]
|
|
1055
1045
|
}
|
|
1056
1046
|
},
|
|
1057
1047
|
required: [
|
|
@@ -1138,13 +1128,6 @@ var definitions$2 = {
|
|
|
1138
1128
|
metadata: {
|
|
1139
1129
|
type: "object",
|
|
1140
1130
|
title: "metadata"
|
|
1141
|
-
},
|
|
1142
|
-
privacy: {
|
|
1143
|
-
type: "string",
|
|
1144
|
-
"enum": [
|
|
1145
|
-
"",
|
|
1146
|
-
"shutter"
|
|
1147
|
-
]
|
|
1148
1131
|
}
|
|
1149
1132
|
},
|
|
1150
1133
|
required: [
|