@singi-labs/sifa-sdk 0.11.0 → 0.11.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/dist/index.cjs CHANGED
@@ -1808,7 +1808,7 @@ function resolveCardUrl(item) {
1808
1808
  const { collection, record, uri, rkey, authorDid, authorHandle } = item;
1809
1809
  const appId = getAppIdForCollection(collection);
1810
1810
  if (collection.startsWith("sh.tangled.")) {
1811
- const repoName = stringOrNull(record.name);
1811
+ const repoName = stringOrNull(record.name) ?? (collection === "sh.tangled.repo" ? rkey : null);
1812
1812
  if (repoName && authorHandle && TANGLED_REPO_SLUG.test(repoName)) {
1813
1813
  return `https://tangled.sh/${authorHandle}/${repoName}`;
1814
1814
  }
@@ -2340,7 +2340,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
2340
2340
  });
2341
2341
 
2342
2342
  // src/index.ts
2343
- var SIFA_SDK_VERSION = "0.11.0";
2343
+ var SIFA_SDK_VERSION = "0.11.1";
2344
2344
 
2345
2345
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
2346
2346
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;