@periskope/types 0.6.126 → 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,8 +387,12 @@ export type UserPreferences = {
387
387
  sync_wa_unread_count: boolean;
388
388
  };
389
389
  export type PollVoteInfoType = {
390
- poll_id?: string;
391
- poll_options?: string[];
390
+ options?: {
391
+ allowMultipleAnswers?: boolean;
392
+ messageSecret?: number[] | null;
393
+ pollId?: string;
394
+ };
395
+ poll_options: string[];
392
396
  poll_results?: {
393
397
  id: number;
394
398
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.126",
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,8 +537,12 @@ export type UserPreferences = {
537
537
  /* ----------------------------- POLL VOTE INFO ----------------------------- */
538
538
 
539
539
  export type PollVoteInfoType = {
540
- poll_id?: string;
541
- poll_options?: string[];
540
+ options?: {
541
+ allowMultipleAnswers?: boolean;
542
+ messageSecret?: number[] | null;
543
+ pollId?: string;
544
+ };
545
+ poll_options: string[];
542
546
  poll_results?: {
543
547
  id: number;
544
548
  name: string;