@singi-labs/sifa-sdk 0.14.7 → 0.15.0
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 +41 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +41 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -979,12 +979,14 @@ function groupSkillsForDisplay(skills, options = {}) {
|
|
|
979
979
|
|
|
980
980
|
// src/taxonomy/app-categories.ts
|
|
981
981
|
var APP_CATEGORIES = {
|
|
982
|
+
Art: { phosphorIcon: "PaintBrush" },
|
|
982
983
|
Articles: { phosphorIcon: "Article" },
|
|
983
984
|
Chat: { phosphorIcon: "ChatsCircle" },
|
|
984
985
|
Code: { phosphorIcon: "Code" },
|
|
985
986
|
Domains: { phosphorIcon: "Globe" },
|
|
986
987
|
Endorsements: { phosphorIcon: "HandHeart" },
|
|
987
988
|
Events: { phosphorIcon: "CalendarBlank" },
|
|
989
|
+
Impact: { phosphorIcon: "Certificate" },
|
|
988
990
|
Links: { phosphorIcon: "LinkSimple" },
|
|
989
991
|
Lists: { phosphorIcon: "ListBullets" },
|
|
990
992
|
Music: { phosphorIcon: "MusicNote" },
|
|
@@ -1127,6 +1129,15 @@ var APP_CATEGORY_MAP = {
|
|
|
1127
1129
|
// at.locale.{project,translation} — localization projects and authored translation strings on locale.at
|
|
1128
1130
|
pckt: "Posts",
|
|
1129
1131
|
// blog.pckt.mini.post — microblog posts with no site.standard.document twin
|
|
1132
|
+
// Onboard from the holke.xyz profile audit (impact-funding ecosystem).
|
|
1133
|
+
hypercerts: "Impact",
|
|
1134
|
+
// org.hypercerts.{claim.activity,collection} — authored claims of work done, and the project collections that group them
|
|
1135
|
+
certified: "Endorsements",
|
|
1136
|
+
// app.certified.{badge.award,actor.membership} — endorsements issued to another DID, and group memberships
|
|
1137
|
+
impactindexer: "Reviews",
|
|
1138
|
+
// org.impactindexer.review.comment — written reviews of a hypercert claim
|
|
1139
|
+
pinksea: "Art",
|
|
1140
|
+
// com.shinolabs.pinksea.oekaki — hand-drawn artwork posted to the PinkSea oekaki BBS
|
|
1130
1141
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
1131
1142
|
// no backend scan collection yet)
|
|
1132
1143
|
linkat: "Links",
|
|
@@ -3325,6 +3336,29 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
3325
3336
|
urlPattern: "https://kich.io/recipes/{rkey}",
|
|
3326
3337
|
profileUrlPattern: "https://kich.io"
|
|
3327
3338
|
},
|
|
3339
|
+
pinksea: {
|
|
3340
|
+
// PinkSea oekaki viewer. Verified live: GET /{did}/oekaki/{rkey} returns
|
|
3341
|
+
// 200 AND its og:image resolves to harbor.pinksea.art/{did}/{blobCid}
|
|
3342
|
+
// carrying the same CID as the record, so the route really is per-record
|
|
3343
|
+
// and not just an SPA catch-all.
|
|
3344
|
+
urlPattern: "https://pinksea.art/{did}/oekaki/{rkey}",
|
|
3345
|
+
profileUrlPattern: "https://pinksea.art/{did}"
|
|
3346
|
+
},
|
|
3347
|
+
hypercerts: {
|
|
3348
|
+
// No confirmed public per-record viewer. hyperscan.dev is a network-wide
|
|
3349
|
+
// search explorer (its input takes "DID, handle, AT-URI, or PDS host"),
|
|
3350
|
+
// and hypercerts.org 404s on every claim route tried. Recognized so the
|
|
3351
|
+
// pill renders, but cards stay non-clickable.
|
|
3352
|
+
},
|
|
3353
|
+
certified: {
|
|
3354
|
+
// certified.app is fully client-rendered and returns an identical
|
|
3355
|
+
// "Loading" shell for a real DID and a nonsense one, so no per-record
|
|
3356
|
+
// route could be verified. Non-clickable until one is confirmed.
|
|
3357
|
+
},
|
|
3358
|
+
impactindexer: {
|
|
3359
|
+
// Reviews are surfaced through hyperscan.dev/review, which has no
|
|
3360
|
+
// per-record route. Non-clickable.
|
|
3361
|
+
},
|
|
3328
3362
|
recipe: {
|
|
3329
3363
|
// recipe.exchange viewer. Verified: GET /recipes/{rkey} returns 200 (rkey
|
|
3330
3364
|
// alone; no did needed) and /profiles/{handle} returns 200 for the author
|
|
@@ -3427,7 +3461,12 @@ var COLLECTION_TO_APP = [
|
|
|
3427
3461
|
// Onboard from aaronstevenwhite.io profile audit.
|
|
3428
3462
|
["pub.chive.", "chive"],
|
|
3429
3463
|
// Onboard from helene-cook.eu profile audit. Zeens kept its old NSID.
|
|
3430
|
-
["app.photosky.", "zeens"]
|
|
3464
|
+
["app.photosky.", "zeens"],
|
|
3465
|
+
// Onboard from the holke.xyz profile audit.
|
|
3466
|
+
["org.hypercerts.", "hypercerts"],
|
|
3467
|
+
["app.certified.", "certified"],
|
|
3468
|
+
["org.impactindexer.", "impactindexer"],
|
|
3469
|
+
["com.shinolabs.pinksea.", "pinksea"]
|
|
3431
3470
|
];
|
|
3432
3471
|
|
|
3433
3472
|
// src/cards/resolve-card-url.ts
|
|
@@ -5945,7 +5984,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5945
5984
|
}
|
|
5946
5985
|
|
|
5947
5986
|
// src/index.ts
|
|
5948
|
-
var SIFA_SDK_VERSION = "0.
|
|
5987
|
+
var SIFA_SDK_VERSION = "0.15.0";
|
|
5949
5988
|
|
|
5950
5989
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5951
5990
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|