@singi-labs/sifa-sdk 0.11.9 → 0.11.10

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.d.cts CHANGED
@@ -379,6 +379,7 @@ declare const APP_CATEGORY_MAP: {
379
379
  readonly aetherdocs: "Slides";
380
380
  readonly kich: "Recipes";
381
381
  readonly margin: "Research";
382
+ readonly recipe: "Recipes";
382
383
  readonly linkat: "Links";
383
384
  readonly kipclip: "Links";
384
385
  readonly statusphere: "Social";
package/dist/index.d.ts CHANGED
@@ -379,6 +379,7 @@ declare const APP_CATEGORY_MAP: {
379
379
  readonly aetherdocs: "Slides";
380
380
  readonly kich: "Recipes";
381
381
  readonly margin: "Research";
382
+ readonly recipe: "Recipes";
382
383
  readonly linkat: "Links";
383
384
  readonly kipclip: "Links";
384
385
  readonly statusphere: "Social";
package/dist/index.js CHANGED
@@ -1011,6 +1011,9 @@ var APP_CATEGORY_MAP = {
1011
1011
  // io.kich.recipe.recipe — authored recipes
1012
1012
  margin: "Research",
1013
1013
  // at.margin.{note,annotation} — web-annotation notes with a body
1014
+ // Onboard from moll.dev profile audit.
1015
+ recipe: "Recipes",
1016
+ // exchange.recipe.recipe — authored recipes on recipe.exchange
1014
1017
  // Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
1015
1018
  // no backend scan collection yet)
1016
1019
  linkat: "Links",
@@ -1961,6 +1964,13 @@ var APP_URL_PATTERNS = Object.freeze({
1961
1964
  urlPattern: "https://kich.io/recipes/{rkey}",
1962
1965
  profileUrlPattern: "https://kich.io"
1963
1966
  },
1967
+ recipe: {
1968
+ // recipe.exchange viewer. Verified: GET /recipes/{rkey} returns 200 (rkey
1969
+ // alone; no did needed) and /profiles/{handle} returns 200 for the author
1970
+ // page. /recipe/{rkey} 404s.
1971
+ urlPattern: "https://recipe.exchange/recipes/{rkey}",
1972
+ profileUrlPattern: "https://recipe.exchange/profiles/{handle}"
1973
+ },
1964
1974
  aetherdocs: {
1965
1975
  // Aether OS is a browser OS — presentations open inside it and there's no
1966
1976
  // public per-record viewer. The card embeds the deck from the record; the
@@ -2031,7 +2041,9 @@ var COLLECTION_TO_APP = [
2031
2041
  ["wiki.lichen.", "lichen"],
2032
2042
  // Onboard from aramzs.xyz profile audit.
2033
2043
  ["os.aether.", "aetherdocs"],
2034
- ["io.kich.recipe.recipe", "kich"]
2044
+ ["io.kich.recipe.recipe", "kich"],
2045
+ // Onboard from moll.dev profile audit.
2046
+ ["exchange.recipe.recipe", "recipe"]
2035
2047
  ];
2036
2048
 
2037
2049
  // src/cards/resolve-card-url.ts
@@ -2171,6 +2183,9 @@ function resolveCardUrl(item) {
2171
2183
  if (collection === "io.kich.recipe.recipe") {
2172
2184
  return patternUrl("kich", { handle: authorHandle, did: authorDid, rkey }, collection);
2173
2185
  }
2186
+ if (collection === "exchange.recipe.recipe") {
2187
+ return patternUrl("recipe", { handle: authorHandle, did: authorDid, rkey }, collection);
2188
+ }
2174
2189
  const recordUrl = stringOrNull(record.url);
2175
2190
  if (recordUrl) return recordUrl;
2176
2191
  return patternUrl(appId, { handle: authorHandle, did: authorDid, rkey }, collection);
@@ -2669,7 +2684,7 @@ var ProfileVolunteeringRecordSchema = z.object({
2669
2684
  });
2670
2685
 
2671
2686
  // src/index.ts
2672
- var SIFA_SDK_VERSION = "0.11.9";
2687
+ var SIFA_SDK_VERSION = "0.11.10";
2673
2688
 
2674
2689
  export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, AtmosphereFeedItemSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, externalRecordRefSchema, findIndustry, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, hasAdultContent, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, truncateGraphemes, uriSchema };
2675
2690
  //# sourceMappingURL=index.js.map