@zernio/node 0.2.25 → 0.2.26

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
@@ -1189,9 +1189,17 @@ type InstagramPlatformData = {
1189
1189
  */
1190
1190
  audioName?: string;
1191
1191
  /**
1192
- * Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
1192
+ * Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
1193
1193
  */
1194
1194
  thumbOffset?: number;
1195
+ /**
1196
+ * Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
1197
+ */
1198
+ instagramThumbnail?: string;
1199
+ /**
1200
+ * Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
1201
+ */
1202
+ reelCover?: string;
1195
1203
  };
1196
1204
  /**
1197
1205
  * Set to 'story' to publish as a Story. Default posts become Reels or feed depending on media.
@@ -1331,7 +1339,7 @@ type MediaItem = {
1331
1339
  */
1332
1340
  thumbnail?: string;
1333
1341
  /**
1334
- * Optional custom cover image URL for Instagram Reels
1342
+ * Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy).
1335
1343
  */
1336
1344
  instagramThumbnail?: string;
1337
1345
  /**
package/dist/index.d.ts CHANGED
@@ -1189,9 +1189,17 @@ type InstagramPlatformData = {
1189
1189
  */
1190
1190
  audioName?: string;
1191
1191
  /**
1192
- * Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
1192
+ * Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
1193
1193
  */
1194
1194
  thumbOffset?: number;
1195
+ /**
1196
+ * Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
1197
+ */
1198
+ instagramThumbnail?: string;
1199
+ /**
1200
+ * Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
1201
+ */
1202
+ reelCover?: string;
1195
1203
  };
1196
1204
  /**
1197
1205
  * Set to 'story' to publish as a Story. Default posts become Reels or feed depending on media.
@@ -1331,7 +1339,7 @@ type MediaItem = {
1331
1339
  */
1332
1340
  thumbnail?: string;
1333
1341
  /**
1334
- * Optional custom cover image URL for Instagram Reels
1342
+ * Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy).
1335
1343
  */
1336
1344
  instagramThumbnail?: string;
1337
1345
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -673,9 +673,17 @@ export type InstagramPlatformData = {
673
673
  */
674
674
  audioName?: string;
675
675
  /**
676
- * Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
676
+ * Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
677
677
  */
678
678
  thumbOffset?: number;
679
+ /**
680
+ * Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
681
+ */
682
+ instagramThumbnail?: string;
683
+ /**
684
+ * Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
685
+ */
686
+ reelCover?: string;
679
687
  };
680
688
 
681
689
  /**
@@ -823,7 +831,7 @@ export type MediaItem = {
823
831
  */
824
832
  thumbnail?: string;
825
833
  /**
826
- * Optional custom cover image URL for Instagram Reels
834
+ * Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy).
827
835
  */
828
836
  instagramThumbnail?: string;
829
837
  /**