@getlatedev/node 0.1.53 → 0.1.55

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/README.md CHANGED
@@ -12,10 +12,10 @@
12
12
  </p>
13
13
 
14
14
  <p align="center">
15
- <strong>One API to post everywhere. 13 platforms, zero headaches.</strong>
15
+ <strong>One API to post everywhere. 14 platforms, zero headaches.</strong>
16
16
  </p>
17
17
 
18
- The official Node.js SDK for the [Late API](https://getlate.dev) — schedule and publish social media posts across Instagram, TikTok, YouTube, LinkedIn, X/Twitter, Facebook, Pinterest, Threads, Bluesky, Reddit, Snapchat, Telegram, and Google Business Profile with a single integration.
18
+ The official Node.js SDK for the [Late API](https://getlate.dev) — schedule and publish social media posts across Instagram, TikTok, YouTube, LinkedIn, X/Twitter, Facebook, Pinterest, Threads, Bluesky, Reddit, Snapchat, Telegram, WhatsApp, and Google Business Profile with a single integration.
19
19
 
20
20
  ## Installation
21
21
 
package/dist/index.d.mts CHANGED
@@ -3157,6 +3157,9 @@ type CreatePostData = {
3157
3157
  }>;
3158
3158
  scheduledFor?: string;
3159
3159
  publishNow?: boolean;
3160
+ /**
3161
+ * When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
3162
+ */
3160
3163
  isDraft?: boolean;
3161
3164
  timezone?: string;
3162
3165
  /**
package/dist/index.d.ts CHANGED
@@ -3157,6 +3157,9 @@ type CreatePostData = {
3157
3157
  }>;
3158
3158
  scheduledFor?: string;
3159
3159
  publishNow?: boolean;
3160
+ /**
3161
+ * When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
3162
+ */
3160
3163
  isDraft?: boolean;
3161
3164
  timezone?: string;
3162
3165
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1617,7 +1617,7 @@ export const deleteInboxComment = <ThrowOnError extends boolean = false>(options
1617
1617
  * Hide comment
1618
1618
  * Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter.
1619
1619
  * Hidden comments are only visible to the commenter and page admin.
1620
- * For X/Twitter, the reply must belong to a conversation started by the authenticated user. Requires the tweet.moderate.write scope and X API Basic tier or higher.
1620
+ * For X/Twitter, the reply must belong to a conversation started by the authenticated user.
1621
1621
  *
1622
1622
  */
1623
1623
  export const hideInboxComment = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HideInboxCommentData, ThrowOnError>) => {
@@ -1678,7 +1678,7 @@ export const sendPrivateReplyToComment = <ThrowOnError extends boolean = false>(
1678
1678
 
1679
1679
  /**
1680
1680
  * Retweet a post
1681
- * Retweet (repost) a tweet by ID. Requires X API Basic tier ($200/mo) or higher.
1681
+ * Retweet (repost) a tweet by ID.
1682
1682
  * Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
1683
1683
  *
1684
1684
  */
@@ -1703,7 +1703,7 @@ export const undoRetweet = <ThrowOnError extends boolean = false>(options: Optio
1703
1703
 
1704
1704
  /**
1705
1705
  * Bookmark a tweet
1706
- * Bookmark a tweet by ID. Requires X API Basic tier ($200/mo) or higher.
1706
+ * Bookmark a tweet by ID.
1707
1707
  * Requires the bookmark.write OAuth scope.
1708
1708
  * Rate limit: 50 requests per 15-min window.
1709
1709
  *
@@ -1729,7 +1729,7 @@ export const removeBookmark = <ThrowOnError extends boolean = false>(options: Op
1729
1729
 
1730
1730
  /**
1731
1731
  * Follow a user
1732
- * Follow a user on X/Twitter. Requires X API Basic tier ($200/mo) or higher.
1732
+ * Follow a user on X/Twitter.
1733
1733
  * Requires the follows.write OAuth scope.
1734
1734
  * For protected accounts, a follow request is sent instead (pending_follow will be true).
1735
1735
  *
@@ -2902,6 +2902,9 @@ export type CreatePostData = {
2902
2902
  }>;
2903
2903
  scheduledFor?: string;
2904
2904
  publishNow?: boolean;
2905
+ /**
2906
+ * When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
2907
+ */
2905
2908
  isDraft?: boolean;
2906
2909
  timezone?: string;
2907
2910
  /**