@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 +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1452,6 +1452,15 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1452
1452
|
// Per-record URLs don't exist on passports.social — its SvelteKit routes
|
|
1453
1453
|
// stop at /profile/{handle}/{passport_slug}. Profile-level fallback only.
|
|
1454
1454
|
profileUrlPattern: "https://passports.social/profile/{handle}"
|
|
1455
|
+
},
|
|
1456
|
+
leaflet: {
|
|
1457
|
+
// Per-document URLs are short and rkey-only: https://leaflet.pub/{rkey}.
|
|
1458
|
+
// Each publication has its own base_path subdomain (e.g. zzstoatzz.leaflet.pub)
|
|
1459
|
+
// but the canonical short URL renders the same document. There is no
|
|
1460
|
+
// per-user profile route on leaflet.pub, so the profile fallback points
|
|
1461
|
+
// at the marketing site.
|
|
1462
|
+
urlPattern: "https://leaflet.pub/{rkey}",
|
|
1463
|
+
profileUrlPattern: "https://leaflet.pub"
|
|
1455
1464
|
}
|
|
1456
1465
|
});
|
|
1457
1466
|
var COLLECTION_TO_APP = [
|
|
@@ -1487,7 +1496,8 @@ var COLLECTION_TO_APP = [
|
|
|
1487
1496
|
["buzz.bookhive.", "bookhive"],
|
|
1488
1497
|
["social.colibri.", "colibri"],
|
|
1489
1498
|
["social.passports.", "passports"],
|
|
1490
|
-
["fyi.asq.", "asq"]
|
|
1499
|
+
["fyi.asq.", "asq"],
|
|
1500
|
+
["pub.leaflet.", "leaflet"]
|
|
1491
1501
|
];
|
|
1492
1502
|
|
|
1493
1503
|
// src/cards/resolve-card-url.ts
|
|
@@ -1865,7 +1875,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
1865
1875
|
});
|
|
1866
1876
|
|
|
1867
1877
|
// src/index.ts
|
|
1868
|
-
var SIFA_SDK_VERSION = "0.9.
|
|
1878
|
+
var SIFA_SDK_VERSION = "0.9.19";
|
|
1869
1879
|
|
|
1870
1880
|
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, 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, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, maxGraphemes, meetsContrastAA, parseLocationString, pdsProviderFromApi, pickPrimaryPosition, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
|
|
1871
1881
|
//# sourceMappingURL=index.js.map
|