@zernio/node 0.2.49 → 0.2.51

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/index.d.mts CHANGED
@@ -2490,7 +2490,7 @@ type WebhookLog = {
2490
2490
  */
2491
2491
  errorMessage?: string;
2492
2492
  /**
2493
- * Delivery attempt number (max 3 retries)
2493
+ * Delivery attempt number (max 7 attempts)
2494
2494
  */
2495
2495
  attemptNumber?: number;
2496
2496
  /**
package/dist/index.d.ts CHANGED
@@ -2490,7 +2490,7 @@ type WebhookLog = {
2490
2490
  */
2491
2491
  errorMessage?: string;
2492
2492
  /**
2493
- * Delivery attempt number (max 3 retries)
2493
+ * Delivery attempt number (max 7 attempts)
2494
2494
  */
2495
2495
  attemptNumber?: number;
2496
2496
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.49",
3
+ "version": "0.2.51",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -73,6 +73,8 @@ export const validateSubreddit = <ThrowOnError extends boolean = false>(options:
73
73
  * Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days.
74
74
  * Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
75
75
  *
76
+ * **LinkedIn personal accounts:** Analytics are only available for posts published through Zernio. LinkedIn's API only returns metrics for posts authored by the authenticated user. Organization/company page analytics work for all posts.
77
+ *
76
78
  */
77
79
  export const getAnalytics = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAnalyticsData, ThrowOnError>) => {
78
80
  return (options?.client ?? client).get<GetAnalyticsResponse, GetAnalyticsError, ThrowOnError>({
@@ -1119,7 +1121,7 @@ export const getLinkedInOrganizations = <ThrowOnError extends boolean = false>(o
1119
1121
 
1120
1122
  /**
1121
1123
  * Get LinkedIn aggregate stats
1122
- * Returns aggregate analytics across all posts for a LinkedIn personal account. Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
1124
+ * Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
1123
1125
  */
1124
1126
  export const getLinkedInAggregateAnalytics = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetLinkedInAggregateAnalyticsData, ThrowOnError>) => {
1125
1127
  return (options?.client ?? client).get<GetLinkedInAggregateAnalyticsResponse, GetLinkedInAggregateAnalyticsError, ThrowOnError>({
@@ -2012,7 +2012,7 @@ export type WebhookLog = {
2012
2012
  */
2013
2013
  errorMessage?: string;
2014
2014
  /**
2015
- * Delivery attempt number (max 3 retries)
2015
+ * Delivery attempt number (max 7 attempts)
2016
2016
  */
2017
2017
  attemptNumber?: number;
2018
2018
  /**