elections-types 1.1.4 → 1.1.5

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.
@@ -3,6 +3,7 @@ export declare class Tweet {
3
3
  readonly username: string;
4
4
  readonly url: string;
5
5
  readonly tweet_time: string;
6
+ readonly tweet_content: string;
6
7
  readonly html: string;
7
8
  constructor(tweet: Tweet);
8
9
  static is(tweet: any): tweet is Tweet;
@@ -3,7 +3,7 @@ export class Tweet {
3
3
  username;
4
4
  url;
5
5
  tweet_time;
6
- // readonly tweet_content : string
6
+ tweet_content;
7
7
  // readonly quote? : string
8
8
  html;
9
9
  // readonly text : string
@@ -15,7 +15,7 @@ export class Tweet {
15
15
  this.username = tweet.username;
16
16
  this.url = tweet.url;
17
17
  this.tweet_time = tweet.tweet_time;
18
- // this.tweet_content = tweet.tweet_content
18
+ this.tweet_content = tweet.tweet_content;
19
19
  // this.quote = tweet.quote
20
20
  this.html = tweet.html;
21
21
  // this.text = tweet.text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elections-types",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -3,7 +3,7 @@ export class Tweet {
3
3
  readonly username : string
4
4
  readonly url : string
5
5
  readonly tweet_time : string
6
- // readonly tweet_content : string
6
+ readonly tweet_content : string
7
7
  // readonly quote? : string
8
8
  readonly html : string
9
9
  // readonly text : string
@@ -16,7 +16,7 @@ export class Tweet {
16
16
  this.username = tweet.username
17
17
  this.url = tweet.url
18
18
  this.tweet_time = tweet.tweet_time
19
- // this.tweet_content = tweet.tweet_content
19
+ this.tweet_content = tweet.tweet_content
20
20
  // this.quote = tweet.quote
21
21
  this.html = tweet.html
22
22
  // this.text = tweet.text