@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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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 (
|
|
4656
|
-
else if (vm.
|
|
4657
|
-
else if (
|
|
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.
|
|
6604
|
+
var SIFA_SDK_VERSION = "0.19.19";
|
|
6605
6605
|
|
|
6606
6606
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6607
6607
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|