@periskope/types 0.6.125 → 0.6.127

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
@@ -387,9 +387,13 @@ export type UserPreferences = {
387
387
  sync_wa_unread_count: boolean;
388
388
  };
389
389
  export type PollVoteInfoType = {
390
- poll_id?: string;
390
+ options?: {
391
+ allowMultipleAnswers?: boolean;
392
+ messageSecret?: number[] | null;
393
+ pollId?: string;
394
+ };
391
395
  poll_options: string[];
392
- poll_results: {
396
+ poll_results?: {
393
397
  id: number;
394
398
  name: string;
395
399
  votes: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.125",
3
+ "version": "0.6.127",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -537,9 +537,13 @@ export type UserPreferences = {
537
537
  /* ----------------------------- POLL VOTE INFO ----------------------------- */
538
538
 
539
539
  export type PollVoteInfoType = {
540
- poll_id?: string;
540
+ options?: {
541
+ allowMultipleAnswers?: boolean;
542
+ messageSecret?: number[] | null;
543
+ pollId?: string;
544
+ };
541
545
  poll_options: string[];
542
- poll_results: {
546
+ poll_results?: {
543
547
  id: number;
544
548
  name: string;
545
549
  votes: Record<string, string>;