@singi-labs/sifa-sdk 0.12.22 → 0.12.23
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 +9 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2242,9 +2242,13 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
2242
2242
|
tangled: {
|
|
2243
2243
|
profileUrlPattern: "https://tangled.sh/{handle}"
|
|
2244
2244
|
},
|
|
2245
|
+
// Community-calendar events (community.lexicon.calendar.*, incl. records
|
|
2246
|
+
// originally authored in the decommissioned Smoke Signal). atmo.rsvp resolves
|
|
2247
|
+
// any such event by did+rkey, so links point there. Internal id kept as
|
|
2248
|
+
// `smokesignal` for continuity with existing token/color keys.
|
|
2245
2249
|
smokesignal: {
|
|
2246
|
-
urlPattern: "https://
|
|
2247
|
-
profileUrlPattern: "https://
|
|
2250
|
+
urlPattern: "https://atmo.rsvp/p/{did}/e/{rkey}",
|
|
2251
|
+
profileUrlPattern: "https://atmo.rsvp/p/{did}"
|
|
2248
2252
|
},
|
|
2249
2253
|
whitewind: {
|
|
2250
2254
|
urlPattern: "https://whtwnd.com/{handle}/{rkey}",
|
|
@@ -2555,7 +2559,7 @@ function resolveCardHealth(item) {
|
|
|
2555
2559
|
if (subjectUri) {
|
|
2556
2560
|
const parsed3 = parseAtUri(subjectUri);
|
|
2557
2561
|
if (parsed3) {
|
|
2558
|
-
return urlHealth(`https://
|
|
2562
|
+
return urlHealth(`https://atmo.rsvp/p/${parsed3.did}/e/${parsed3.rkey}`);
|
|
2559
2563
|
}
|
|
2560
2564
|
}
|
|
2561
2565
|
}
|
|
@@ -2564,7 +2568,7 @@ function resolveCardHealth(item) {
|
|
|
2564
2568
|
if (collection === "community.lexicon.calendar.event") {
|
|
2565
2569
|
const parsed3 = parseAtUri(uri);
|
|
2566
2570
|
if (parsed3) {
|
|
2567
|
-
return recordHealth(`https://
|
|
2571
|
+
return recordHealth(`https://atmo.rsvp/p/${parsed3.did}/e/${parsed3.rkey}`);
|
|
2568
2572
|
}
|
|
2569
2573
|
return { url: null, strategy: "none" };
|
|
2570
2574
|
}
|
|
@@ -4639,7 +4643,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
4639
4643
|
});
|
|
4640
4644
|
|
|
4641
4645
|
// src/index.ts
|
|
4642
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
4646
|
+
var SIFA_SDK_VERSION = "0.12.23";
|
|
4643
4647
|
|
|
4644
4648
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
4645
4649
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|