@singi-labs/sifa-sdk 0.19.1 → 0.19.2

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 CHANGED
@@ -6431,7 +6431,7 @@ function describeSifaRecord(collection, value) {
6431
6431
  }
6432
6432
 
6433
6433
  // src/index.ts
6434
- var SIFA_SDK_VERSION = "0.19.1";
6434
+ var SIFA_SDK_VERSION = "0.19.2";
6435
6435
 
6436
6436
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6437
6437
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
package/dist/index.js CHANGED
@@ -6429,7 +6429,7 @@ function describeSifaRecord(collection, value) {
6429
6429
  }
6430
6430
 
6431
6431
  // src/index.ts
6432
- var SIFA_SDK_VERSION = "0.19.1";
6432
+ var SIFA_SDK_VERSION = "0.19.2";
6433
6433
 
6434
6434
  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, 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, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, 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 };
6435
6435
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-66ul8ibE.cjs';
2
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DWQqPz9B.cjs';
2
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DLs-A3x8.cjs';
3
3
  import { n as ProfileView } from './types-CDrbMqyV.cjs';
4
4
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DMaGicYm.cjs';
5
5
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.cjs';
@@ -1,5 +1,5 @@
1
1
  import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-C13I8diU.js';
2
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DsqCQ1bV.js';
2
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DfW-NrU1.js';
3
3
  import { n as ProfileView } from './types-YpOch4Ho.js';
4
4
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CjhrwYBp.js';
5
5
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.js';
@@ -1293,13 +1293,19 @@ declare function getFollowing(config: SifaApiConfig, handle: string, opts?: Fetc
1293
1293
  /** Options for {@link fetchFollowingFeed}. */
1294
1294
  interface FetchFollowingFeedOptions extends ApiFetchOptions {
1295
1295
  limit?: number;
1296
+ /**
1297
+ * Opt in to the viewer's Bluesky activity too. Off by default: the point of
1298
+ * the feed is what connections do on OTHER apps.
1299
+ */
1300
+ includeBluesky?: boolean;
1296
1301
  /** Forward a `Cookie` header on Next.js RSC server-side calls (web). */
1297
1302
  cookieHeader?: string;
1298
1303
  }
1299
1304
  /**
1300
1305
  * The viewer's cross-app following feed: what OTHER apps their connections use
1301
- * (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side, as
1302
- * it is the least interesting part and other apps already surface it.
1306
+ * (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side by
1307
+ * default, as it is the least interesting part and other apps already surface
1308
+ * it. Pass `includeBluesky: true` to bring it back in.
1303
1309
  *
1304
1310
  * Auth is identity-only server-side, so the NATIVE app supplies
1305
1311
  * `config.getAuthToken` to mint a service-auth Bearer, while WEB relies on its
@@ -1293,13 +1293,19 @@ declare function getFollowing(config: SifaApiConfig, handle: string, opts?: Fetc
1293
1293
  /** Options for {@link fetchFollowingFeed}. */
1294
1294
  interface FetchFollowingFeedOptions extends ApiFetchOptions {
1295
1295
  limit?: number;
1296
+ /**
1297
+ * Opt in to the viewer's Bluesky activity too. Off by default: the point of
1298
+ * the feed is what connections do on OTHER apps.
1299
+ */
1300
+ includeBluesky?: boolean;
1296
1301
  /** Forward a `Cookie` header on Next.js RSC server-side calls (web). */
1297
1302
  cookieHeader?: string;
1298
1303
  }
1299
1304
  /**
1300
1305
  * The viewer's cross-app following feed: what OTHER apps their connections use
1301
- * (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side, as
1302
- * it is the least interesting part and other apps already surface it.
1306
+ * (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side by
1307
+ * default, as it is the least interesting part and other apps already surface
1308
+ * it. Pass `includeBluesky: true` to bring it back in.
1303
1309
  *
1304
1310
  * Auth is identity-only server-side, so the NATIVE app supplies
1305
1311
  * `config.getAuthToken` to mint a service-auth Bearer, while WEB relies on its
@@ -1061,6 +1061,7 @@ var FOLLOWING_FEED_LXM = "id.sifa.feed.getFollowingFeed";
1061
1061
  async function fetchFollowingFeed(config, opts = {}) {
1062
1062
  const params = new URLSearchParams();
1063
1063
  if (opts.limit) params.set("limit", String(opts.limit));
1064
+ if (opts.includeBluesky) params.set("includeBluesky", "true");
1064
1065
  const qs = params.toString();
1065
1066
  const headers = { ...opts.headers ?? {} };
1066
1067
  if (opts.cookieHeader) headers.cookie = opts.cookieHeader;