@singi-labs/sifa-sdk 0.9.20 → 0.9.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 +30 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +30 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1436,7 +1436,7 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1436
1436
|
profileUrlPattern: "https://grain.social/profile/{did}"
|
|
1437
1437
|
},
|
|
1438
1438
|
youandme: { profileUrlPattern: "https://youandme.at" },
|
|
1439
|
-
anisota:
|
|
1439
|
+
// anisota: upgraded with per-record URL pattern below.
|
|
1440
1440
|
margin: { profileUrlPattern: "https://margin.at" },
|
|
1441
1441
|
beaconbits: { profileUrlPattern: "https://beaconbits.app" },
|
|
1442
1442
|
bookhive: { profileUrlPattern: "https://bookhive.buzz/profile/{handle}" },
|
|
@@ -1463,6 +1463,29 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1463
1463
|
// at the marketing site.
|
|
1464
1464
|
urlPattern: "https://leaflet.pub/{rkey}",
|
|
1465
1465
|
profileUrlPattern: "https://leaflet.pub"
|
|
1466
|
+
},
|
|
1467
|
+
spark: {
|
|
1468
|
+
// Verified live: GET /post/{did}/{rkey} returns 200.
|
|
1469
|
+
urlPattern: "https://sprk.so/post/{did}/{rkey}",
|
|
1470
|
+
profileUrlPattern: "https://sprk.so/profile/{handle}"
|
|
1471
|
+
},
|
|
1472
|
+
anisota: {
|
|
1473
|
+
urlPattern: "https://anisota.net/post/{did}/{rkey}",
|
|
1474
|
+
profileUrlPattern: "https://anisota.net/profile/{handle}"
|
|
1475
|
+
},
|
|
1476
|
+
nooki: {
|
|
1477
|
+
// Per-post URLs use slug-based routing (e.g. /post/{slug}), not rkey —
|
|
1478
|
+
// can't be constructed from a record. Profile fallback only.
|
|
1479
|
+
profileUrlPattern: "https://nooki.me/user/{handle}"
|
|
1480
|
+
},
|
|
1481
|
+
atstore: {
|
|
1482
|
+
// SPA — per-record URLs require JS routing. Profile fallback only.
|
|
1483
|
+
profileUrlPattern: "https://atstore.fyi/@{handle}"
|
|
1484
|
+
},
|
|
1485
|
+
plyr: {
|
|
1486
|
+
// SPA — per-record URLs require JS routing. plyr.fm doesn't expose a
|
|
1487
|
+
// public per-handle profile page server-side either; falls back to root.
|
|
1488
|
+
profileUrlPattern: "https://plyr.fm"
|
|
1466
1489
|
}
|
|
1467
1490
|
});
|
|
1468
1491
|
var COLLECTION_TO_APP = [
|
|
@@ -1499,7 +1522,11 @@ var COLLECTION_TO_APP = [
|
|
|
1499
1522
|
["social.colibri.", "colibri"],
|
|
1500
1523
|
["social.passports.", "passports"],
|
|
1501
1524
|
["fyi.asq.", "asq"],
|
|
1502
|
-
["pub.leaflet.", "leaflet"]
|
|
1525
|
+
["pub.leaflet.", "leaflet"],
|
|
1526
|
+
["so.sprk.", "spark"],
|
|
1527
|
+
["community.nooki.", "nooki"],
|
|
1528
|
+
["fyi.atstore.", "atstore"],
|
|
1529
|
+
["fm.plyr.", "plyr"]
|
|
1503
1530
|
];
|
|
1504
1531
|
|
|
1505
1532
|
// src/cards/resolve-card-url.ts
|
|
@@ -1966,7 +1993,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
1966
1993
|
});
|
|
1967
1994
|
|
|
1968
1995
|
// src/index.ts
|
|
1969
|
-
var SIFA_SDK_VERSION = "0.9.
|
|
1996
|
+
var SIFA_SDK_VERSION = "0.9.21";
|
|
1970
1997
|
|
|
1971
1998
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
1972
1999
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|