ugcinc 2.8.1 → 2.8.2

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/README.md CHANGED
@@ -454,7 +454,7 @@ const dailyStats = await client.stats.getDailyAggregated({
454
454
 
455
455
  if (dailyStats.ok) {
456
456
  dailyStats.data.forEach(day => {
457
- console.log(`${day.date}: +${day.followers} followers, +${day.views} views`);
457
+ console.log(`${day.date}: +${day.followers} followers, +${day.views} views, ${day.posts} posts`);
458
458
  });
459
459
  }
460
460
 
package/dist/types.d.ts CHANGED
@@ -225,6 +225,7 @@ export interface DailyAggregatedStat {
225
225
  following: number;
226
226
  views: number;
227
227
  likes: number;
228
+ posts: number;
228
229
  }
229
230
  export interface GetDailyAggregatedStatsParams {
230
231
  startDate: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",