@singi-labs/sifa-sdk 0.9.18 → 0.9.19

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
@@ -1454,6 +1454,15 @@ var APP_URL_PATTERNS = Object.freeze({
1454
1454
  // Per-record URLs don't exist on passports.social — its SvelteKit routes
1455
1455
  // stop at /profile/{handle}/{passport_slug}. Profile-level fallback only.
1456
1456
  profileUrlPattern: "https://passports.social/profile/{handle}"
1457
+ },
1458
+ leaflet: {
1459
+ // Per-document URLs are short and rkey-only: https://leaflet.pub/{rkey}.
1460
+ // Each publication has its own base_path subdomain (e.g. zzstoatzz.leaflet.pub)
1461
+ // but the canonical short URL renders the same document. There is no
1462
+ // per-user profile route on leaflet.pub, so the profile fallback points
1463
+ // at the marketing site.
1464
+ urlPattern: "https://leaflet.pub/{rkey}",
1465
+ profileUrlPattern: "https://leaflet.pub"
1457
1466
  }
1458
1467
  });
1459
1468
  var COLLECTION_TO_APP = [
@@ -1489,7 +1498,8 @@ var COLLECTION_TO_APP = [
1489
1498
  ["buzz.bookhive.", "bookhive"],
1490
1499
  ["social.colibri.", "colibri"],
1491
1500
  ["social.passports.", "passports"],
1492
- ["fyi.asq.", "asq"]
1501
+ ["fyi.asq.", "asq"],
1502
+ ["pub.leaflet.", "leaflet"]
1493
1503
  ];
1494
1504
 
1495
1505
  // src/cards/resolve-card-url.ts
@@ -1867,7 +1877,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
1867
1877
  });
1868
1878
 
1869
1879
  // src/index.ts
1870
- var SIFA_SDK_VERSION = "0.9.18";
1880
+ var SIFA_SDK_VERSION = "0.9.19";
1871
1881
 
1872
1882
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
1873
1883
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;