@snapshot-labs/snapshot.js 0.12.28 → 0.12.30
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 +21 -2
- package/dist/snapshot.esm.js +21 -2
- package/dist/snapshot.min.js +2 -2
- package/dist/src/index.d.ts +9 -0
- package/dist/src/schemas/index.d.ts +8 -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/gateways.json +1 -0
- package/src/schemas/proposal.json +4 -0
- package/src/schemas/space.json +1 -1
- package/src/schemas/update-proposal.json +4 -0
- package/src/sign/hashedTypes.json +3 -1
- package/src/sign/types.ts +3 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -528,6 +528,10 @@ declare const _default: {
|
|
|
528
528
|
title: string;
|
|
529
529
|
maxLength: number;
|
|
530
530
|
};
|
|
531
|
+
privacy: {
|
|
532
|
+
type: string;
|
|
533
|
+
enum: string[];
|
|
534
|
+
};
|
|
531
535
|
};
|
|
532
536
|
required: string[];
|
|
533
537
|
additionalProperties: boolean;
|
|
@@ -589,6 +593,10 @@ declare const _default: {
|
|
|
589
593
|
type: string;
|
|
590
594
|
title: string;
|
|
591
595
|
};
|
|
596
|
+
privacy: {
|
|
597
|
+
type: string;
|
|
598
|
+
enum: string[];
|
|
599
|
+
};
|
|
592
600
|
};
|
|
593
601
|
required: string[];
|
|
594
602
|
additionalProperties: boolean;
|
|
@@ -810,6 +818,7 @@ declare const _default: {
|
|
|
810
818
|
"42161": string;
|
|
811
819
|
"59144": string;
|
|
812
820
|
"81457": string;
|
|
821
|
+
"84532": string;
|
|
813
822
|
"11155111": string;
|
|
814
823
|
};
|
|
815
824
|
};
|
|
@@ -524,6 +524,10 @@ declare const _default: {
|
|
|
524
524
|
title: string;
|
|
525
525
|
maxLength: number;
|
|
526
526
|
};
|
|
527
|
+
privacy: {
|
|
528
|
+
type: string;
|
|
529
|
+
enum: string[];
|
|
530
|
+
};
|
|
527
531
|
};
|
|
528
532
|
required: string[];
|
|
529
533
|
additionalProperties: boolean;
|
|
@@ -585,6 +589,10 @@ declare const _default: {
|
|
|
585
589
|
type: string;
|
|
586
590
|
title: string;
|
|
587
591
|
};
|
|
592
|
+
privacy: {
|
|
593
|
+
type: string;
|
|
594
|
+
enum: string[];
|
|
595
|
+
};
|
|
588
596
|
};
|
|
589
597
|
required: string[];
|
|
590
598
|
additionalProperties: boolean;
|
package/dist/src/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
"42161": "https://subgrapher.snapshot.org/delegation/42161",
|
|
10
10
|
"59144": "https://subgrapher.snapshot.org/delegation/59144",
|
|
11
11
|
"81457": "https://subgrapher.snapshot.org/delegation/81457",
|
|
12
|
+
"84532": "https://subgrapher.snapshot.org/delegation/84532",
|
|
12
13
|
"11155111": "https://subgrapher.snapshot.org/delegation/11155111"
|
|
13
14
|
}
|
package/src/gateways.json
CHANGED
package/src/schemas/space.json
CHANGED
|
@@ -62,5 +62,7 @@
|
|
|
62
62
|
"2ffbebcbd22ef48fd2f4a1182ff1feda7795b57689bd6f0dd73c89e925e7fefb": "profile",
|
|
63
63
|
"4288d50b713081aae77d60d596d75864bff7acf7791a00183401e58658ee9da5": "statement",
|
|
64
64
|
"d56782e3b50ac86c25ae292923da8c367e3c9e8e7ea9d8baa435051fe2f430fa": "proposal",
|
|
65
|
-
"df10a7eeabe19301d6018be8b6c5d13231320d7ece64d021043fa172b64f3796": "update-proposal"
|
|
65
|
+
"df10a7eeabe19301d6018be8b6c5d13231320d7ece64d021043fa172b64f3796": "update-proposal",
|
|
66
|
+
"beda1f464a6112f9ed6335c4614e32a97f0e18ef4ac10b4b1c8239c475f2d8e8": "proposal",
|
|
67
|
+
"ff74674f39ca59b60056ecddaada0cb513c4729e634e99cb778f53ee404ac806": "update-proposal"
|
|
66
68
|
}
|
package/src/sign/types.ts
CHANGED
|
@@ -150,6 +150,7 @@ export const proposalTypes = {
|
|
|
150
150
|
{ name: 'end', type: 'uint64' },
|
|
151
151
|
{ name: 'snapshot', type: 'uint64' },
|
|
152
152
|
{ name: 'plugins', type: 'string' },
|
|
153
|
+
{ name: 'privacy', type: 'string' },
|
|
153
154
|
{ name: 'app', type: 'string' }
|
|
154
155
|
]
|
|
155
156
|
};
|
|
@@ -166,7 +167,8 @@ export const updateProposalTypes = {
|
|
|
166
167
|
{ name: 'discussion', type: 'string' },
|
|
167
168
|
{ name: 'choices', type: 'string[]' },
|
|
168
169
|
{ name: 'labels', type: 'string[]' },
|
|
169
|
-
{ name: 'plugins', type: 'string' }
|
|
170
|
+
{ name: 'plugins', type: 'string' },
|
|
171
|
+
{ name: 'privacy', type: 'string' }
|
|
170
172
|
]
|
|
171
173
|
};
|
|
172
174
|
|