@singi-labs/sifa-sdk 0.19.20 → 0.19.21

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
@@ -4564,8 +4564,7 @@ function recordHasSubjectRef(record) {
4564
4564
  return false;
4565
4565
  }
4566
4566
  function resolveSourceUrl(item, record) {
4567
- const authorDid = didFromUri(item.uri);
4568
- if (!authorDid) return void 0;
4567
+ const authorDid = didFromUri(item.uri) ?? "";
4569
4568
  const authorHandle = asNonEmptyString(item.authorHandle) ?? asNonEmptyString(record.handle);
4570
4569
  const url = resolveCardUrl({
4571
4570
  collection: item.collection,
@@ -6610,7 +6609,7 @@ function describeSifaRecord(collection, value) {
6610
6609
  }
6611
6610
 
6612
6611
  // src/index.ts
6613
- var SIFA_SDK_VERSION = "0.19.20";
6612
+ var SIFA_SDK_VERSION = "0.19.21";
6614
6613
 
6615
6614
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6616
6615
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;