@singi-labs/sifa-sdk 0.19.15 → 0.19.17

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
@@ -1621,7 +1621,7 @@ interface ActivityItem {
1621
1621
  * standard-site; "posted" spans Bluesky and Picosky) so a day-grouped feed
1622
1622
  * reads like sentences.
1623
1623
  */
1624
- declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked"];
1624
+ declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered"];
1625
1625
  type StreamVerb = (typeof STREAM_VERBS)[number];
1626
1626
  /** Zod enum for a {@link StreamVerb}, shared with the view-model schema. */
1627
1627
  declare const streamVerbSchema: z.ZodEnum<{
@@ -1632,6 +1632,7 @@ declare const streamVerbSchema: z.ZodEnum<{
1632
1632
  reposted: "reposted";
1633
1633
  shipped: "shipped";
1634
1634
  bookmarked: "bookmarked";
1635
+ registered: "registered";
1635
1636
  followed: "followed";
1636
1637
  reviewed: "reviewed";
1637
1638
  published: "published";
package/dist/index.d.ts CHANGED
@@ -1621,7 +1621,7 @@ interface ActivityItem {
1621
1621
  * standard-site; "posted" spans Bluesky and Picosky) so a day-grouped feed
1622
1622
  * reads like sentences.
1623
1623
  */
1624
- declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked"];
1624
+ declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered"];
1625
1625
  type StreamVerb = (typeof STREAM_VERBS)[number];
1626
1626
  /** Zod enum for a {@link StreamVerb}, shared with the view-model schema. */
1627
1627
  declare const streamVerbSchema: z.ZodEnum<{
@@ -1632,6 +1632,7 @@ declare const streamVerbSchema: z.ZodEnum<{
1632
1632
  reposted: "reposted";
1633
1633
  shipped: "shipped";
1634
1634
  bookmarked: "bookmarked";
1635
+ registered: "registered";
1635
1636
  followed: "followed";
1636
1637
  reviewed: "reviewed";
1637
1638
  published: "published";
package/dist/index.js CHANGED
@@ -4012,7 +4012,7 @@ function getPublisherFromSiteUrl(siteUrl) {
4012
4012
  // src/stream/verbs.json
4013
4013
  var verbs_default = {
4014
4014
  $schema: "https://sifa.id/schemas/activity-verbs/v1.json",
4015
- version: "1.2.0",
4015
+ version: "1.3.0",
4016
4016
  updated: "2026-09-18",
4017
4017
  defaultVerb: "created",
4018
4018
  verbs: {
@@ -4024,6 +4024,7 @@ var verbs_default = {
4024
4024
  "app.sidetrail.walk": "shipped",
4025
4025
  "app.userinput.reply": "replied",
4026
4026
  "at.margin.bookmark": "bookmarked",
4027
+ "at.marque.domain": "registered",
4027
4028
  "at.youandme.connection": "followed",
4028
4029
  "blue.flashes.feed.post": "posted",
4029
4030
  "buzz.bookhive.book": "reviewed",
@@ -4076,7 +4077,8 @@ var STREAM_VERBS = [
4076
4077
  "rsvped",
4077
4078
  "liked",
4078
4079
  "followed",
4079
- "bookmarked"
4080
+ "bookmarked",
4081
+ "registered"
4080
4082
  ];
4081
4083
  var streamVerbSchema = z.enum(STREAM_VERBS);
4082
4084
  var verbMapSchema = z.object({
@@ -4520,19 +4522,20 @@ function buildAuthor(item) {
4520
4522
  var TITLE_BY_VERB = {
4521
4523
  posted: () => "Posted",
4522
4524
  reposted: () => "Reposted",
4523
- published: (label) => `Published on ${label}`,
4525
+ published: () => "Published",
4524
4526
  presented: () => "Gave a presentation",
4525
4527
  endorsed: () => "Wrote an endorsement",
4526
- joined: (label) => `Joined ${label}`,
4527
- shipped: (label) => `Shipped on ${label}`,
4528
- reviewed: (label) => `Reviewed on ${label}`,
4529
- created: (label) => `Shared on ${label}`,
4528
+ joined: () => "Joined",
4529
+ shipped: () => "Shipped",
4530
+ reviewed: () => "Reviewed",
4531
+ created: () => "Shared",
4530
4532
  commented: (_label, hasSubject) => hasSubject ? "Commented on" : "Commented",
4531
4533
  replied: (_label, hasSubject) => hasSubject ? "Replied to" : "Replied",
4532
4534
  rsvped: (_label, hasSubject) => hasSubject ? "RSVP'd to" : "RSVP'd",
4533
4535
  liked: () => "Liked",
4534
4536
  followed: () => "Followed",
4535
- bookmarked: () => "Bookmarked"
4537
+ bookmarked: () => "Bookmarked",
4538
+ registered: () => "Registered"
4536
4539
  };
4537
4540
  function buildTitle(verb, label, hasSubject) {
4538
4541
  return TITLE_BY_VERB[verb](label, hasSubject);
@@ -4916,6 +4919,7 @@ var GENERIC_TEXT_ORDER = [
4916
4919
  "note",
4917
4920
  "caption",
4918
4921
  "summary",
4922
+ "domain",
4919
4923
  "status"
4920
4924
  ];
4921
4925
  function genericText(collection, record) {
@@ -6583,7 +6587,7 @@ function describeSifaRecord(collection, value) {
6583
6587
  }
6584
6588
 
6585
6589
  // src/index.ts
6586
- var SIFA_SDK_VERSION = "0.19.15";
6590
+ var SIFA_SDK_VERSION = "0.19.17";
6587
6591
 
6588
6592
  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, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, 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, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatLocation, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, 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, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, shouldRenderHighlights, 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 };
6589
6593
  //# sourceMappingURL=index.js.map