@periskope/types 0.6.128 → 0.6.129

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/types.d.ts CHANGED
@@ -389,8 +389,6 @@ export type PollSendType = {
389
389
  };
390
390
  };
391
391
  export type PollResultType = {
392
- id: number;
393
- name: string;
394
- votes: Record<string, string>;
395
- }[];
392
+ [name: string]: Record<string, string>;
393
+ };
396
394
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.128",
3
+ "version": "0.6.129",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -537,10 +537,8 @@ export type PollSendType = {
537
537
  messageSecret?: number[] | null;
538
538
  pollId?: string;
539
539
  };
540
- }
540
+ };
541
541
 
542
542
  export type PollResultType = {
543
- id: number;
544
- name: string;
545
- votes: Record<string, string>;
546
- }[];
543
+ [name: string]: Record<string, string>;
544
+ };