upload-post 2.8.0 → 2.8.1
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 +0 -3
- package/index.d.ts +0 -4
- package/index.js +0 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -316,9 +316,6 @@ These options work across all upload methods:
|
|
|
316
316
|
| `addToQueue` | Add to posting queue |
|
|
317
317
|
| `maxPostsPerSlot` | Max posts per queue slot (overrides profile setting) |
|
|
318
318
|
| `asyncUpload` | Process asynchronously (default: true) |
|
|
319
|
-
| `autogenerate` | If true, AI generates native per-platform title/description from the media and fills any field left empty |
|
|
320
|
-
| `autogenerateTitle` / `autogenerateDescription` | Generate only the title or only the description with AI |
|
|
321
|
-
| `autogenerateLanguage` | Force the AI output language (ISO code); omit to auto-detect from the media |
|
|
322
319
|
| `idempotencyKey` | Collapses duplicate uploads within 24h. Reuse the same value when retrying. Alias: `requestId` |
|
|
323
320
|
|
|
324
321
|
## Google Business Profile
|
package/index.d.ts
CHANGED
|
@@ -69,13 +69,9 @@ declare module 'upload-post' {
|
|
|
69
69
|
/** Process upload asynchronously (default: true) */
|
|
70
70
|
asyncUpload?: boolean;
|
|
71
71
|
/** If true, AI generates native per-platform title/description from the media and fills any field left empty */
|
|
72
|
-
autogenerate?: boolean;
|
|
73
72
|
/** Generate only the title with AI */
|
|
74
|
-
autogenerateTitle?: boolean;
|
|
75
73
|
/** Generate only the description with AI */
|
|
76
|
-
autogenerateDescription?: boolean;
|
|
77
74
|
/** Force the AI output language (ISO code); omit to auto-detect from the media */
|
|
78
|
-
autogenerateLanguage?: string;
|
|
79
75
|
|
|
80
76
|
// Platform-specific title overrides
|
|
81
77
|
blueskyTitle?: string;
|
package/index.js
CHANGED
|
@@ -89,10 +89,6 @@ export class UploadPost {
|
|
|
89
89
|
if (options.maxPostsPerSlot !== undefined) form.append('max_posts_per_slot', String(options.maxPostsPerSlot));
|
|
90
90
|
if (options.asyncUpload !== undefined) form.append('async_upload', String(options.asyncUpload));
|
|
91
91
|
// AI auto-generation of native per-platform copy from the media (fills blank fields)
|
|
92
|
-
if (options.autogenerate !== undefined) form.append('autogenerate', String(options.autogenerate));
|
|
93
|
-
if (options.autogenerateTitle !== undefined) form.append('autogenerate_title', String(options.autogenerateTitle));
|
|
94
|
-
if (options.autogenerateDescription !== undefined) form.append('autogenerate_description', String(options.autogenerateDescription));
|
|
95
|
-
if (options.autogenerateLanguage) form.append('autogenerate_language', String(options.autogenerateLanguage));
|
|
96
92
|
|
|
97
93
|
// Platform-specific title overrides
|
|
98
94
|
if (options.blueskyTitle) form.append('bluesky_title', options.blueskyTitle);
|
|
@@ -699,10 +695,6 @@ export class UploadPost {
|
|
|
699
695
|
if (options.maxPostsPerSlot !== undefined) form.append('max_posts_per_slot', String(options.maxPostsPerSlot));
|
|
700
696
|
if (options.asyncUpload !== undefined) form.append('async_upload', String(options.asyncUpload));
|
|
701
697
|
// AI auto-generation of native per-platform copy from the media (fills blank fields)
|
|
702
|
-
if (options.autogenerate !== undefined) form.append('autogenerate', String(options.autogenerate));
|
|
703
|
-
if (options.autogenerateTitle !== undefined) form.append('autogenerate_title', String(options.autogenerateTitle));
|
|
704
|
-
if (options.autogenerateDescription !== undefined) form.append('autogenerate_description', String(options.autogenerateDescription));
|
|
705
|
-
if (options.autogenerateLanguage) form.append('autogenerate_language', String(options.autogenerateLanguage));
|
|
706
698
|
|
|
707
699
|
this._addLinkedinParams(form, options);
|
|
708
700
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upload-post",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "Official client library for Upload-Post API - Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, and X (Twitter)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|