@singi-labs/sifa-sdk 0.19.18 → 0.19.19

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.cjs CHANGED
@@ -4652,9 +4652,9 @@ function applyBskyPost(vm, item, record) {
4652
4652
  if (media) vm.media = media;
4653
4653
  if (externalLink) vm.externalLink = externalLink;
4654
4654
  let body;
4655
- if (text) body = { kind: "text", text };
4656
- else if (vm.media) body = { kind: "media" };
4657
- else if (vm.externalLink) body = { kind: "link" };
4655
+ if (vm.media) body = text ? { kind: "media", text } : { kind: "media" };
4656
+ else if (vm.externalLink) body = text ? { kind: "link", text } : { kind: "link" };
4657
+ else if (text) body = { kind: "text", text };
4658
4658
  else body = { kind: "generic" };
4659
4659
  vm.body = body;
4660
4660
  return vm;
@@ -6601,7 +6601,7 @@ function describeSifaRecord(collection, value) {
6601
6601
  }
6602
6602
 
6603
6603
  // src/index.ts
6604
- var SIFA_SDK_VERSION = "0.19.18";
6604
+ var SIFA_SDK_VERSION = "0.19.19";
6605
6605
 
6606
6606
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6607
6607
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;