ugcinc 4.16.0 → 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,6 +279,9 @@ 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
  *
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.
284
+ *
280
285
  * @param params - Date range and filter parameters (startDate and endDate required)
281
286
  * @returns Array of daily post statistics with changes
282
287
  *
@@ -301,6 +306,7 @@ export declare class StatsClient extends BaseClient {
301
306
  * Designed for high-performance dashboard rendering — returns ~30-90 rows instead of thousands.
302
307
  *
303
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.
304
310
  *
305
311
  * @param params - Date range and filter parameters (startDate and endDate required)
306
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,6 +102,9 @@ 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
  *
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.
107
+ *
103
108
  * @param params - Date range and filter parameters (startDate and endDate required)
104
109
  * @returns Array of daily post statistics with changes
105
110
  *
@@ -126,6 +131,7 @@ class StatsClient extends base_1.BaseClient {
126
131
  * Designed for high-performance dashboard rendering — returns ~30-90 rows instead of thousands.
127
132
  *
128
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.
129
135
  *
130
136
  * @param params - Date range and filter parameters (startDate and endDate required)
131
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.0",
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",