@singi-labs/sifa-sdk 0.19.22 → 0.19.23

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
@@ -1632,7 +1632,7 @@ interface ActivityItem {
1632
1632
  * standard-site; "posted" spans Bluesky and Picosky) so a day-grouped feed
1633
1633
  * reads like sentences.
1634
1634
  */
1635
- declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith"];
1635
+ declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith", "supported", "verified"];
1636
1636
  type StreamVerb = (typeof STREAM_VERBS)[number];
1637
1637
  /** Zod enum for a {@link StreamVerb}, shared with the view-model schema. */
1638
1638
  declare const streamVerbSchema: z.ZodEnum<{
@@ -1652,6 +1652,8 @@ declare const streamVerbSchema: z.ZodEnum<{
1652
1652
  published: "published";
1653
1653
  rsvped: "rsvped";
1654
1654
  commented: "commented";
1655
+ verified: "verified";
1656
+ supported: "supported";
1655
1657
  endorsed: "endorsed";
1656
1658
  presented: "presented";
1657
1659
  streamed: "streamed";
package/dist/index.d.ts CHANGED
@@ -1632,7 +1632,7 @@ interface ActivityItem {
1632
1632
  * standard-site; "posted" spans Bluesky and Picosky) so a day-grouped feed
1633
1633
  * reads like sentences.
1634
1634
  */
1635
- declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith"];
1635
+ declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith", "supported", "verified"];
1636
1636
  type StreamVerb = (typeof STREAM_VERBS)[number];
1637
1637
  /** Zod enum for a {@link StreamVerb}, shared with the view-model schema. */
1638
1638
  declare const streamVerbSchema: z.ZodEnum<{
@@ -1652,6 +1652,8 @@ declare const streamVerbSchema: z.ZodEnum<{
1652
1652
  published: "published";
1653
1653
  rsvped: "rsvped";
1654
1654
  commented: "commented";
1655
+ verified: "verified";
1656
+ supported: "supported";
1655
1657
  endorsed: "endorsed";
1656
1658
  presented: "presented";
1657
1659
  streamed: "streamed";
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.5.0",
4015
+ version: "1.6.0",
4016
4016
  updated: "2026-09-20",
4017
4017
  defaultVerb: "created",
4018
4018
  verbs: {
@@ -4038,9 +4038,11 @@ var verbs_default = {
4038
4038
  "community.nooki.membership": "joined",
4039
4039
  "community.opensocial.membership": "joined",
4040
4040
  "computer.aetheros.page": "published",
4041
+ "dev.keytrace.claim": "verified",
4041
4042
  "eu.atcommons.member": "joined",
4042
4043
  "fm.plyr.comment": "commented",
4043
4044
  "forum.barazo.post": "posted",
4045
+ "fund.at.graph.endorse": "supported",
4044
4046
  "fyi.atstore.listing.review": "reviewed",
4045
4047
  "fyi.unravel.frontpage.post": "posted",
4046
4048
  "id.sifa.endorsement": "endorsed",
@@ -4090,7 +4092,9 @@ var STREAM_VERBS = [
4090
4092
  "streamed",
4091
4093
  "wrote",
4092
4094
  "wasAt",
4093
- "metWith"
4095
+ "metWith",
4096
+ "supported",
4097
+ "verified"
4094
4098
  ];
4095
4099
  var streamVerbSchema = z.enum(STREAM_VERBS);
4096
4100
  var verbMapSchema = z.object({
@@ -4551,8 +4555,10 @@ var TITLE_BY_VERB = {
4551
4555
  annotated: () => "Annotated",
4552
4556
  streamed: () => "Streamed",
4553
4557
  wrote: () => "Wrote",
4554
- wasAt: (_label, hasSubject) => hasSubject ? "Was at" : "Was at",
4555
- metWith: (_label, hasSubject) => hasSubject ? "Met with" : "Met with"
4558
+ wasAt: () => "Was at",
4559
+ metWith: () => "Met with",
4560
+ supported: () => "Supported",
4561
+ verified: () => "Verified"
4556
4562
  };
4557
4563
  function buildTitle(verb, label, hasSubject) {
4558
4564
  return TITLE_BY_VERB[verb](label, hasSubject);
@@ -4808,6 +4814,15 @@ function applyKeytraceVerification(vm, record) {
4808
4814
  const profileUrl = asNonEmptyString(identity.profileUrl);
4809
4815
  if (profileUrl) body.profileUrl = profileUrl;
4810
4816
  vm.body = body;
4817
+ const accountLabel = subjectLabel ?? asNonEmptyString(record.type);
4818
+ if (accountLabel) {
4819
+ vm.subject = {
4820
+ kind: "record",
4821
+ uri: "",
4822
+ title: accountLabel,
4823
+ ...profileUrl ? { url: profileUrl } : {}
4824
+ };
4825
+ }
4811
4826
  return vm;
4812
4827
  }
4813
4828
  function applyBskyVerification(vm, record) {
@@ -6620,7 +6635,7 @@ function describeSifaRecord(collection, value) {
6620
6635
  }
6621
6636
 
6622
6637
  // src/index.ts
6623
- var SIFA_SDK_VERSION = "0.19.22";
6638
+ var SIFA_SDK_VERSION = "0.19.23";
6624
6639
 
6625
6640
  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 };
6626
6641
  //# sourceMappingURL=index.js.map