@singi-labs/sifa-sdk 0.12.70 → 0.12.71

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
@@ -427,6 +427,7 @@ declare const APP_CATEGORY_MAP: {
427
427
  readonly recipe: "Recipes";
428
428
  readonly guestbook: "Social";
429
429
  readonly atmobb: "Social";
430
+ readonly chive: "Research";
430
431
  readonly linkat: "Links";
431
432
  readonly kipclip: "Links";
432
433
  readonly statusphere: "Social";
@@ -2175,6 +2176,11 @@ declare const ALL_SECTIONS: readonly [{
2175
2176
  readonly labelKey: "involvement";
2176
2177
  readonly ns: "sections";
2177
2178
  readonly group: "more";
2179
+ }, {
2180
+ readonly id: "investments";
2181
+ readonly labelKey: "investments";
2182
+ readonly ns: "sections";
2183
+ readonly group: "more";
2178
2184
  }, {
2179
2185
  readonly id: "languages";
2180
2186
  readonly labelKey: "languages";
package/dist/index.d.ts CHANGED
@@ -427,6 +427,7 @@ declare const APP_CATEGORY_MAP: {
427
427
  readonly recipe: "Recipes";
428
428
  readonly guestbook: "Social";
429
429
  readonly atmobb: "Social";
430
+ readonly chive: "Research";
430
431
  readonly linkat: "Links";
431
432
  readonly kipclip: "Links";
432
433
  readonly statusphere: "Social";
@@ -2175,6 +2176,11 @@ declare const ALL_SECTIONS: readonly [{
2175
2176
  readonly labelKey: "involvement";
2176
2177
  readonly ns: "sections";
2177
2178
  readonly group: "more";
2179
+ }, {
2180
+ readonly id: "investments";
2181
+ readonly labelKey: "investments";
2182
+ readonly ns: "sections";
2183
+ readonly group: "more";
2178
2184
  }, {
2179
2185
  readonly id: "languages";
2180
2186
  readonly labelKey: "languages";
package/dist/index.js CHANGED
@@ -1101,6 +1101,9 @@ var APP_CATEGORY_MAP = {
1101
1101
  // Onboard from trezy.codes profile audit.
1102
1102
  atmobb: "Social",
1103
1103
  // app.atmobb.discussion.{thread,reply} — federated forum threads + replies
1104
+ // Onboard from aaronstevenwhite.io profile audit.
1105
+ chive: "Research",
1106
+ // pub.chive.eprint.submission — preprints on chive.pub
1104
1107
  // Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
1105
1108
  // no backend scan collection yet)
1106
1109
  linkat: "Links",
@@ -2719,6 +2722,9 @@ var ALL_SECTIONS = [
2719
2722
  { id: "courses", labelKey: "courses", ns: "sections", group: "qualifications" },
2720
2723
  { id: "awards", labelKey: "awards", ns: "sections", group: "more" },
2721
2724
  { id: "involvement", labelKey: "involvement", ns: "sections", group: "more" },
2725
+ // Its own section rather than a group under involvement: that record is about
2726
+ // work contributed, this one about capital deployed.
2727
+ { id: "investments", labelKey: "investments", ns: "sections", group: "more" },
2722
2728
  { id: "languages", labelKey: "languages", ns: "sections", group: "more" },
2723
2729
  {
2724
2730
  id: "other-profiles",
@@ -2749,6 +2755,8 @@ function isSectionPopulated(profile, id) {
2749
2755
  return Boolean(profile.presentations?.length) || Boolean(profile.presentationDeliveries?.length);
2750
2756
  case "involvement":
2751
2757
  return Boolean(profile.involvement?.length);
2758
+ case "investments":
2759
+ return Boolean(profile.investments?.length);
2752
2760
  case "awards":
2753
2761
  return Boolean(profile.honors?.length);
2754
2762
  case "languages":
@@ -2782,6 +2790,7 @@ var SECTION_LABELS = {
2782
2790
  courses: "Courses",
2783
2791
  awards: "Awards",
2784
2792
  involvement: "Involvement",
2793
+ investments: "Investments",
2785
2794
  languages: "Languages",
2786
2795
  "other-profiles": "Links"
2787
2796
  };
@@ -3172,6 +3181,14 @@ var APP_URL_PATTERNS = Object.freeze({
3172
3181
  // public per-record viewer. The card embeds the deck from the record; the
3173
3182
  // outbound link points at the author's Aether OS space (mirrors aetheros).
3174
3183
  profileUrlPattern: "https://aetheros.computer/{handle}"
3184
+ },
3185
+ chive: {
3186
+ // Chive's eprint route is a catch-all that decodes a single URI-encoded
3187
+ // at-uri segment: /eprints/<encodeURIComponent(at://did/nsid/rkey)>.
3188
+ // {did} and {rkey} are URI-encoded on interpolation, so the separators
3189
+ // are pre-encoded as literals here rather than resolved bespoke.
3190
+ urlPattern: "https://chive.pub/eprints/at%3A%2F%2F{did}%2Fpub.chive.eprint.submission%2F{rkey}",
3191
+ profileUrlPattern: "https://chive.pub/authors/{did}"
3175
3192
  }
3176
3193
  });
3177
3194
  var COLLECTION_TO_APP = [
@@ -3243,7 +3260,9 @@ var COLLECTION_TO_APP = [
3243
3260
  // Onboard from willow.sh profile audit.
3244
3261
  ["dev.baileytownsend.guestbook.", "guestbook"],
3245
3262
  // Onboard from trezy.codes profile audit.
3246
- ["app.atmobb.", "atmobb"]
3263
+ ["app.atmobb.", "atmobb"],
3264
+ // Onboard from aaronstevenwhite.io profile audit.
3265
+ ["pub.chive.", "chive"]
3247
3266
  ];
3248
3267
 
3249
3268
  // src/cards/resolve-card-url.ts
@@ -5753,7 +5772,7 @@ function describeSifaRecord(collection, value) {
5753
5772
  }
5754
5773
 
5755
5774
  // src/index.ts
5756
- var SIFA_SDK_VERSION = "0.12.70";
5775
+ var SIFA_SDK_VERSION = "0.12.71";
5757
5776
 
5758
5777
  export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
5759
5778
  //# sourceMappingURL=index.js.map