@getlatedev/node 0.2.1771 → 0.2.1772

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
@@ -54937,17 +54937,20 @@ type ReplyToInboxPostData = {
54937
54937
  */
54938
54938
  message: string;
54939
54939
  /**
54940
- * (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54940
+ * (Facebook, Bluesky, LinkedIn, Threads and X) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54941
54941
  */
54942
54942
  attachmentUrl?: string;
54943
54943
  /**
54944
- * (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
54944
+ * (Facebook, Threads and X, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
54945
54945
  *
54946
- * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
54946
+ * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads and X), `.gif` paths, and an `image/gif` response on Threads and X.
54947
54947
  * - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
54948
54948
  * - `gif`: forces an animated GIF.
54949
54949
  * - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
54950
- * - Facebook gets a GIPHY link as its direct GIF.
54950
+ * - Facebook and X get a GIPHY link as their direct GIF.
54951
+ * - X takes one image or GIF from any host, and returns 400 for video or HTML URLs.
54952
+ * - On X, images over 5 MB are compressed and a GIF over 15 MB posts as a still image.
54953
+ * - On X, a GIF always posts animated, even with `attachmentType: image`.
54951
54954
  *
54952
54955
  */
54953
54956
  attachmentType?: 'image' | 'gif';
package/dist/index.d.ts CHANGED
@@ -54937,17 +54937,20 @@ type ReplyToInboxPostData = {
54937
54937
  */
54938
54938
  message: string;
54939
54939
  /**
54940
- * (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54940
+ * (Facebook, Bluesky, LinkedIn, Threads and X) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54941
54941
  */
54942
54942
  attachmentUrl?: string;
54943
54943
  /**
54944
- * (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
54944
+ * (Facebook, Threads and X, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
54945
54945
  *
54946
- * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
54946
+ * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads and X), `.gif` paths, and an `image/gif` response on Threads and X.
54947
54947
  * - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
54948
54948
  * - `gif`: forces an animated GIF.
54949
54949
  * - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
54950
- * - Facebook gets a GIPHY link as its direct GIF.
54950
+ * - Facebook and X get a GIPHY link as their direct GIF.
54951
+ * - X takes one image or GIF from any host, and returns 400 for video or HTML URLs.
54952
+ * - On X, images over 5 MB are compressed and a GIF over 15 MB posts as a still image.
54953
+ * - On X, a GIF always posts animated, even with `attachmentType: image`.
54951
54954
  *
54952
54955
  */
54953
54956
  attachmentType?: 'image' | 'gif';
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1771",
39
+ version: "0.2.1772",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1771",
8
+ version: "0.2.1772",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1771",
3
+ "version": "0.2.1772",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -55153,17 +55153,20 @@ export type ReplyToInboxPostData = {
55153
55153
  */
55154
55154
  message: string;
55155
55155
  /**
55156
- * (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
55156
+ * (Facebook, Bluesky, LinkedIn, Threads and X) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
55157
55157
  */
55158
55158
  attachmentUrl?: string;
55159
55159
  /**
55160
- * (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
55160
+ * (Facebook, Threads and X, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
55161
55161
  *
55162
- * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
55162
+ * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads and X), `.gif` paths, and an `image/gif` response on Threads and X.
55163
55163
  * - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
55164
55164
  * - `gif`: forces an animated GIF.
55165
55165
  * - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
55166
- * - Facebook gets a GIPHY link as its direct GIF.
55166
+ * - Facebook and X get a GIPHY link as their direct GIF.
55167
+ * - X takes one image or GIF from any host, and returns 400 for video or HTML URLs.
55168
+ * - On X, images over 5 MB are compressed and a GIF over 15 MB posts as a still image.
55169
+ * - On X, a GIF always posts animated, even with `attachmentType: image`.
55167
55170
  *
55168
55171
  */
55169
55172
  attachmentType?: 'image' | 'gif';