@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.
@@ -528,10 +528,6 @@ declare const _default: {
528
528
  title: string;
529
529
  maxLength: number;
530
530
  };
531
- privacy: {
532
- type: string;
533
- enum: string[];
534
- };
535
531
  };
536
532
  required: string[];
537
533
  additionalProperties: boolean;
@@ -593,10 +589,6 @@ declare const _default: {
593
589
  type: string;
594
590
  title: string;
595
591
  };
596
- privacy: {
597
- type: string;
598
- enum: string[];
599
- };
600
592
  };
601
593
  required: string[];
602
594
  additionalProperties: boolean;
@@ -524,10 +524,6 @@ declare const _default: {
524
524
  title: string;
525
525
  maxLength: number;
526
526
  };
527
- privacy: {
528
- type: string;
529
- enum: string[];
530
- };
531
527
  };
532
528
  required: string[];
533
529
  additionalProperties: boolean;
@@ -589,10 +585,6 @@ declare const _default: {
589
585
  type: string;
590
586
  title: string;
591
587
  };
592
- privacy: {
593
- type: string;
594
- enum: string[];
595
- };
596
588
  };
597
589
  required: string[];
598
590
  additionalProperties: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapshot-labs/snapshot.js",
3
- "version": "0.12.30",
3
+ "version": "0.12.32",
4
4
  "repository": "snapshot-labs/snapshot.js",
5
5
  "license": "MIT",
6
6
  "main": "dist/snapshot.cjs.js",
@@ -84,10 +84,6 @@
84
84
  "type": "string",
85
85
  "title": "app",
86
86
  "maxLength": 128
87
- },
88
- "privacy": {
89
- "type": "string",
90
- "enum": ["", "shutter"]
91
87
  }
92
88
  },
93
89
  "required": ["name", "body", "choices", "snapshot", "start", "end"],
@@ -335,7 +335,7 @@
335
335
  },
336
336
  "privacy": {
337
337
  "type": "string",
338
- "enum": ["", "shutter", "any"]
338
+ "enum": ["", "shutter"]
339
339
  }
340
340
  },
341
341
  "additionalProperties": false
@@ -66,10 +66,6 @@
66
66
  "metadata": {
67
67
  "type": "object",
68
68
  "title": "metadata"
69
- },
70
- "privacy": {
71
- "type": "string",
72
- "enum": ["", "shutter"]
73
69
  }
74
70
  },
75
71
  "required": ["proposal", "name", "body", "discussion", "choices", "type", "metadata"],
@@ -62,7 +62,5 @@
62
62
  "2ffbebcbd22ef48fd2f4a1182ff1feda7795b57689bd6f0dd73c89e925e7fefb": "profile",
63
63
  "4288d50b713081aae77d60d596d75864bff7acf7791a00183401e58658ee9da5": "statement",
64
64
  "d56782e3b50ac86c25ae292923da8c367e3c9e8e7ea9d8baa435051fe2f430fa": "proposal",
65
- "df10a7eeabe19301d6018be8b6c5d13231320d7ece64d021043fa172b64f3796": "update-proposal",
66
- "beda1f464a6112f9ed6335c4614e32a97f0e18ef4ac10b4b1c8239c475f2d8e8": "proposal",
67
- "ff74674f39ca59b60056ecddaada0cb513c4729e634e99cb778f53ee404ac806": "update-proposal"
65
+ "df10a7eeabe19301d6018be8b6c5d13231320d7ece64d021043fa172b64f3796": "update-proposal"
68
66
  }
package/src/sign/types.ts CHANGED
@@ -150,7 +150,6 @@ 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' },
154
153
  { name: 'app', type: 'string' }
155
154
  ]
156
155
  };
@@ -167,8 +166,7 @@ export const updateProposalTypes = {
167
166
  { name: 'discussion', type: 'string' },
168
167
  { name: 'choices', type: 'string[]' },
169
168
  { name: 'labels', type: 'string[]' },
170
- { name: 'plugins', type: 'string' },
171
- { name: 'privacy', type: 'string' }
169
+ { name: 'plugins', type: 'string' }
172
170
  ]
173
171
  };
174
172