@posty5/social-publisher-post 5.2.0 → 5.3.0

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.mjs CHANGED
@@ -19503,7 +19503,9 @@ var SocialPublisherPostClient = class {
19503
19503
  source: "video-file",
19504
19504
  tag: options.tag,
19505
19505
  refId: options.refId,
19506
- comment: options.comment
19506
+ comment: options.comment,
19507
+ comments: options.comments,
19508
+ allowPostDefaultComments: options.allowPostDefaultComments
19507
19509
  };
19508
19510
  const source = this.detectVideoSource(options.video);
19509
19511
  switch (source) {
@@ -19548,7 +19550,9 @@ var SocialPublisherPostClient = class {
19548
19550
  source: "video-file",
19549
19551
  tag: options.tag,
19550
19552
  refId: options.refId,
19551
- comment: options.comment
19553
+ comment: options.comment,
19554
+ comments: options.comments,
19555
+ allowPostDefaultComments: options.allowPostDefaultComments
19552
19556
  };
19553
19557
  switch (source) {
19554
19558
  case "file": {
@@ -19661,7 +19665,9 @@ var SocialPublisherPostClient = class {
19661
19665
  thumbURL: thumb?.thumbFileURL,
19662
19666
  tag: options.tag,
19663
19667
  refId: options.refId,
19664
- comment: options.comment
19668
+ comment: options.comment,
19669
+ comments: options.comments,
19670
+ allowPostDefaultComments: options.allowPostDefaultComments
19665
19671
  };
19666
19672
  const target = isFile2 ? "by-file" : "by-url";
19667
19673
  const id = postId ?? thumb?.postId;
@@ -19713,7 +19719,9 @@ var SocialPublisherPostClient = class {
19713
19719
  thumbURL: thumb?.thumbFileURL,
19714
19720
  tag: options.tag,
19715
19721
  refId: options.refId,
19716
- comment: options.comment
19722
+ comment: options.comment,
19723
+ comments: options.comments,
19724
+ allowPostDefaultComments: options.allowPostDefaultComments
19717
19725
  };
19718
19726
  const target = isFile2 ? "by-file" : "by-url";
19719
19727
  const id = postId ?? thumb?.postId;
@@ -19853,7 +19861,9 @@ var SocialPublisherPostClient = class {
19853
19861
  };
19854
19862
 
19855
19863
  // src/interfaces/requests/index.ts
19856
- var MAX_POST_COMMENTS = 5;
19864
+ var MAX_POST_COMMENTS_PER_PLATFORM = 10;
19865
+ var MAX_POST_COMMENTS_TOTAL = 30;
19866
+ var MAX_POST_COMMENTS = MAX_POST_COMMENTS_PER_PLATFORM;
19857
19867
  var MAX_COMMENT_LENGTH = 2200;
19858
19868
  var MAX_COMMENT_DELAY_MINUTES = 24 * 60;
19859
19869
  var LONG_VIDEO_MAX_DURATION_SECONDS = 3600;
@@ -19877,6 +19887,6 @@ mime-types/index.js:
19877
19887
  *)
19878
19888
  */
19879
19889
 
19880
- export { DEFAULT_CHUNK_SIZE2 as DEFAULT_CHUNK_SIZE, HttpClient, LONG_VIDEO_CREDIT_UNIT_SECONDS, LONG_VIDEO_MAX_DURATION_SECONDS, MAX_COMMENT_DELAY_MINUTES, MAX_COMMENT_LENGTH, MAX_POST_COMMENTS, SocialPublisherPostClient, supportsResumableUpload, terminateUpload, uploadResumable, uploadToR2 };
19890
+ export { DEFAULT_CHUNK_SIZE2 as DEFAULT_CHUNK_SIZE, HttpClient, LONG_VIDEO_CREDIT_UNIT_SECONDS, LONG_VIDEO_MAX_DURATION_SECONDS, MAX_COMMENT_DELAY_MINUTES, MAX_COMMENT_LENGTH, MAX_POST_COMMENTS, MAX_POST_COMMENTS_PER_PLATFORM, MAX_POST_COMMENTS_TOTAL, SocialPublisherPostClient, supportsResumableUpload, terminateUpload, uploadResumable, uploadToR2 };
19881
19891
  //# sourceMappingURL=index.mjs.map
19882
19892
  //# sourceMappingURL=index.mjs.map