elections-types 1.1.16 → 1.1.17

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.
@@ -6,6 +6,7 @@ export declare class TwitterUser {
6
6
  readonly description: string;
7
7
  readonly location: string;
8
8
  readonly create_time: string;
9
+ readonly is_protected: boolean;
9
10
  readonly subscription_type_id: string;
10
11
  readonly verification_type_id: string;
11
12
  readonly entities: string;
@@ -6,6 +6,7 @@ export class TwitterUser {
6
6
  description;
7
7
  location;
8
8
  create_time;
9
+ is_protected;
9
10
  subscription_type_id;
10
11
  verification_type_id;
11
12
  entities;
@@ -20,6 +21,7 @@ export class TwitterUser {
20
21
  this.description = twitter_user.description;
21
22
  this.location = twitter_user.location;
22
23
  this.create_time = twitter_user.create_time;
24
+ this.is_protected = twitter_user.is_protected;
23
25
  this.subscription_type_id = twitter_user.subscription_type_id;
24
26
  this.verification_type_id = twitter_user.verification_type_id;
25
27
  this.entities = twitter_user.entities;
@@ -33,6 +35,7 @@ export class TwitterUser {
33
35
  typeof twitter_user.description === "string" &&
34
36
  typeof twitter_user.location === "string" &&
35
37
  typeof twitter_user.create_time === "string" &&
38
+ typeof twitter_user.is_protected === "boolean" &&
36
39
  typeof twitter_user.subscription_type_id === "string" &&
37
40
  typeof twitter_user.verification_type_id === "string" &&
38
41
  typeof twitter_user.entities === "string");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elections-types",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -6,6 +6,7 @@ export class TwitterUser {
6
6
  readonly description : string
7
7
  readonly location : string
8
8
  readonly create_time : string
9
+ readonly is_protected : boolean
9
10
  readonly subscription_type_id : string
10
11
  readonly verification_type_id : string
11
12
  readonly entities : string
@@ -21,6 +22,7 @@ export class TwitterUser {
21
22
  this.description = twitter_user.description
22
23
  this.location = twitter_user.location
23
24
  this.create_time = twitter_user.create_time
25
+ this.is_protected = twitter_user.is_protected
24
26
  this.subscription_type_id = twitter_user.subscription_type_id
25
27
  this.verification_type_id = twitter_user.verification_type_id
26
28
  this.entities = twitter_user.entities
@@ -36,6 +38,7 @@ export class TwitterUser {
36
38
  typeof twitter_user.description === "string" &&
37
39
  typeof twitter_user.location === "string" &&
38
40
  typeof twitter_user.create_time === "string" &&
41
+ typeof twitter_user.is_protected === "boolean" &&
39
42
  typeof twitter_user.subscription_type_id === "string" &&
40
43
  typeof twitter_user.verification_type_id === "string" &&
41
44
  typeof twitter_user.entities === "string"