@singi-labs/sifa-sdk 0.9.6 → 0.9.9
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 +17 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1442,7 +1442,19 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1442
1442
|
bookhive: { profileUrlPattern: "https://bookhive.buzz/profile/{handle}" },
|
|
1443
1443
|
colibri: { profileUrlPattern: "https://colibri.social" },
|
|
1444
1444
|
collectivesocial: { profileUrlPattern: "https://app.collectivesocial.app" },
|
|
1445
|
-
github: {}
|
|
1445
|
+
github: {},
|
|
1446
|
+
asq: {
|
|
1447
|
+
// Questions live at /q/{did}/{rkey}. Answer cards build their own URL
|
|
1448
|
+
// from the parsed subject.uri (which points to the question), so the
|
|
1449
|
+
// pattern below is invoked only for question records.
|
|
1450
|
+
urlPattern: "https://asq.fyi/q/{did}/{rkey}",
|
|
1451
|
+
profileUrlPattern: "https://asq.fyi"
|
|
1452
|
+
},
|
|
1453
|
+
passports: {
|
|
1454
|
+
// Per-record URLs don't exist on passports.social — its SvelteKit routes
|
|
1455
|
+
// stop at /profile/{handle}/{passport_slug}. Profile-level fallback only.
|
|
1456
|
+
profileUrlPattern: "https://passports.social/profile/{handle}"
|
|
1457
|
+
}
|
|
1446
1458
|
});
|
|
1447
1459
|
var COLLECTION_TO_APP = [
|
|
1448
1460
|
["app.bsky.", "bluesky"],
|
|
@@ -1475,7 +1487,9 @@ var COLLECTION_TO_APP = [
|
|
|
1475
1487
|
["at.margin.", "margin"],
|
|
1476
1488
|
["app.beaconbits.", "beaconbits"],
|
|
1477
1489
|
["buzz.bookhive.", "bookhive"],
|
|
1478
|
-
["social.colibri.", "colibri"]
|
|
1490
|
+
["social.colibri.", "colibri"],
|
|
1491
|
+
["social.passports.", "passports"],
|
|
1492
|
+
["fyi.asq.", "asq"]
|
|
1479
1493
|
];
|
|
1480
1494
|
|
|
1481
1495
|
// src/cards/resolve-card-url.ts
|
|
@@ -1806,7 +1820,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
1806
1820
|
});
|
|
1807
1821
|
|
|
1808
1822
|
// src/index.ts
|
|
1809
|
-
var SIFA_SDK_VERSION = "0.9.
|
|
1823
|
+
var SIFA_SDK_VERSION = "0.9.9";
|
|
1810
1824
|
|
|
1811
1825
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
1812
1826
|
exports.APP_URL_PATTERNS = APP_URL_PATTERNS;
|