@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.js
CHANGED
|
@@ -1440,7 +1440,19 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1440
1440
|
bookhive: { profileUrlPattern: "https://bookhive.buzz/profile/{handle}" },
|
|
1441
1441
|
colibri: { profileUrlPattern: "https://colibri.social" },
|
|
1442
1442
|
collectivesocial: { profileUrlPattern: "https://app.collectivesocial.app" },
|
|
1443
|
-
github: {}
|
|
1443
|
+
github: {},
|
|
1444
|
+
asq: {
|
|
1445
|
+
// Questions live at /q/{did}/{rkey}. Answer cards build their own URL
|
|
1446
|
+
// from the parsed subject.uri (which points to the question), so the
|
|
1447
|
+
// pattern below is invoked only for question records.
|
|
1448
|
+
urlPattern: "https://asq.fyi/q/{did}/{rkey}",
|
|
1449
|
+
profileUrlPattern: "https://asq.fyi"
|
|
1450
|
+
},
|
|
1451
|
+
passports: {
|
|
1452
|
+
// Per-record URLs don't exist on passports.social — its SvelteKit routes
|
|
1453
|
+
// stop at /profile/{handle}/{passport_slug}. Profile-level fallback only.
|
|
1454
|
+
profileUrlPattern: "https://passports.social/profile/{handle}"
|
|
1455
|
+
}
|
|
1444
1456
|
});
|
|
1445
1457
|
var COLLECTION_TO_APP = [
|
|
1446
1458
|
["app.bsky.", "bluesky"],
|
|
@@ -1473,7 +1485,9 @@ var COLLECTION_TO_APP = [
|
|
|
1473
1485
|
["at.margin.", "margin"],
|
|
1474
1486
|
["app.beaconbits.", "beaconbits"],
|
|
1475
1487
|
["buzz.bookhive.", "bookhive"],
|
|
1476
|
-
["social.colibri.", "colibri"]
|
|
1488
|
+
["social.colibri.", "colibri"],
|
|
1489
|
+
["social.passports.", "passports"],
|
|
1490
|
+
["fyi.asq.", "asq"]
|
|
1477
1491
|
];
|
|
1478
1492
|
|
|
1479
1493
|
// src/cards/resolve-card-url.ts
|
|
@@ -1804,7 +1818,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
1804
1818
|
});
|
|
1805
1819
|
|
|
1806
1820
|
// src/index.ts
|
|
1807
|
-
var SIFA_SDK_VERSION = "0.9.
|
|
1821
|
+
var SIFA_SDK_VERSION = "0.9.9";
|
|
1808
1822
|
|
|
1809
1823
|
export { ACTIVITY_TIERS, APP_URL_PATTERNS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, PLATFORM_LABELS, PLATFORM_OPTIONS, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, certDateExtractor, cidSchema, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, findIndustry, formatDistanceToNow, formatLocation, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppIdForCollection, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isKnownPlatform, isValidRgbColor, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, maxGraphemes, meetsContrastAA, parseLocationString, pdsProviderFromApi, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
|
|
1810
1824
|
//# sourceMappingURL=index.js.map
|