@getlatedev/node 0.2.8 → 0.2.9

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
@@ -3437,6 +3437,9 @@ type CreatePostData = {
3437
3437
  type?: 'image' | 'video' | 'gif' | 'document';
3438
3438
  url?: string;
3439
3439
  }>;
3440
+ /**
3441
+ * Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms.
3442
+ */
3440
3443
  platforms?: Array<{
3441
3444
  platform?: string;
3442
3445
  accountId?: string;
package/dist/index.d.ts CHANGED
@@ -3437,6 +3437,9 @@ type CreatePostData = {
3437
3437
  type?: 'image' | 'video' | 'gif' | 'document';
3438
3438
  url?: string;
3439
3439
  }>;
3440
+ /**
3441
+ * Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms.
3442
+ */
3440
3443
  platforms?: Array<{
3441
3444
  platform?: string;
3442
3445
  accountId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3126,6 +3126,9 @@ export type CreatePostData = {
3126
3126
  type?: 'image' | 'video' | 'gif' | 'document';
3127
3127
  url?: string;
3128
3128
  }>;
3129
+ /**
3130
+ * Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms.
3131
+ */
3129
3132
  platforms?: Array<{
3130
3133
  platform?: string;
3131
3134
  accountId?: string;