ugcinc 4.16.1 → 4.16.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/dist/stats.d.ts CHANGED
@@ -242,6 +242,7 @@ export declare class StatsClient extends BaseClient {
242
242
  *
243
243
  * Returns one record per day with total changes across all filtered accounts.
244
244
  * Perfect for rendering time-series charts showing growth over time.
245
+ * Changes are measured against each account's previous reading, however old.
245
246
  *
246
247
  * @param params - Date range and filter parameters (startDate and endDate required)
247
248
  * @returns Array of daily aggregated statistics
@@ -266,6 +267,7 @@ export declare class StatsClient extends BaseClient {
266
267
  *
267
268
  * Returns per-account daily changes (deltas) for followers, following, views, likes.
268
269
  * Perfect for granular local filtering in dashboard charts.
270
+ * Changes are measured against each account's previous reading, however old.
269
271
  *
270
272
  * @param params - Date range and filter parameters (startDate and endDate required)
271
273
  * @returns Array of daily account statistics
@@ -277,8 +279,8 @@ export declare class StatsClient extends BaseClient {
277
279
  * Returns per-video daily stats with both cumulative values and daily changes.
278
280
  * Perfect for showing per-video performance in chart tooltips.
279
281
  *
280
- * Each `*_change` is measured against the post's previous stats row, which may be
281
- * earlier than `startDate`, so a one-day range returns that day's real changes.
282
+ * Gains between readings are spread evenly across the days between them, so each
283
+ * `*_change` is the post's share of that day. Requests over 100,000 rows return a 400.
282
284
  *
283
285
  * @param params - Date range and filter parameters (startDate and endDate required)
284
286
  * @returns Array of daily post statistics with changes
@@ -304,6 +306,7 @@ export declare class StatsClient extends BaseClient {
304
306
  * Designed for high-performance dashboard rendering — returns ~30-90 rows instead of thousands.
305
307
  *
306
308
  * Followers/following come from account stats, views/likes/comments/shares from post stats.
309
+ * Gains between readings are spread evenly across the days between them.
307
310
  *
308
311
  * @param params - Date range and filter parameters (startDate and endDate required)
309
312
  * @returns Array of pre-aggregated daily statistics
package/dist/stats.js CHANGED
@@ -61,6 +61,7 @@ class StatsClient extends base_1.BaseClient {
61
61
  *
62
62
  * Returns one record per day with total changes across all filtered accounts.
63
63
  * Perfect for rendering time-series charts showing growth over time.
64
+ * Changes are measured against each account's previous reading, however old.
64
65
  *
65
66
  * @param params - Date range and filter parameters (startDate and endDate required)
66
67
  * @returns Array of daily aggregated statistics
@@ -87,6 +88,7 @@ class StatsClient extends base_1.BaseClient {
87
88
  *
88
89
  * Returns per-account daily changes (deltas) for followers, following, views, likes.
89
90
  * Perfect for granular local filtering in dashboard charts.
91
+ * Changes are measured against each account's previous reading, however old.
90
92
  *
91
93
  * @param params - Date range and filter parameters (startDate and endDate required)
92
94
  * @returns Array of daily account statistics
@@ -100,8 +102,8 @@ class StatsClient extends base_1.BaseClient {
100
102
  * Returns per-video daily stats with both cumulative values and daily changes.
101
103
  * Perfect for showing per-video performance in chart tooltips.
102
104
  *
103
- * Each `*_change` is measured against the post's previous stats row, which may be
104
- * earlier than `startDate`, so a one-day range returns that day's real changes.
105
+ * Gains between readings are spread evenly across the days between them, so each
106
+ * `*_change` is the post's share of that day. Requests over 100,000 rows return a 400.
105
107
  *
106
108
  * @param params - Date range and filter parameters (startDate and endDate required)
107
109
  * @returns Array of daily post statistics with changes
@@ -129,6 +131,7 @@ class StatsClient extends base_1.BaseClient {
129
131
  * Designed for high-performance dashboard rendering — returns ~30-90 rows instead of thousands.
130
132
  *
131
133
  * Followers/following come from account stats, views/likes/comments/shares from post stats.
134
+ * Gains between readings are spread evenly across the days between them.
132
135
  *
133
136
  * @param params - Date range and filter parameters (startDate and endDate required)
134
137
  * @returns Array of pre-aggregated daily statistics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "4.16.1",
3
+ "version": "4.16.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",