@singi-labs/sifa-sdk 0.9.17 → 0.9.18

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.
@@ -131,6 +131,12 @@ interface ProfilePublication {
131
131
  publicationUrl?: string | null;
132
132
  /** Publication display name for the group header (falls back to host). */
133
133
  publicationName?: string | null;
134
+ /**
135
+ * Cover image URL for Standard.site articles — the document's `coverImage`
136
+ * blob (CDN-served), falling back to the article page's og:image. Undefined
137
+ * for Sifa/ORCID publications, null when none could be resolved.
138
+ */
139
+ image?: string | null;
134
140
  }
135
141
  interface ProfileVolunteering {
136
142
  rkey: string;
@@ -131,6 +131,12 @@ interface ProfilePublication {
131
131
  publicationUrl?: string | null;
132
132
  /** Publication display name for the group header (falls back to host). */
133
133
  publicationName?: string | null;
134
+ /**
135
+ * Cover image URL for Standard.site articles — the document's `coverImage`
136
+ * blob (CDN-served), falling back to the article page's og:image. Undefined
137
+ * for Sifa/ORCID publications, null when none could be resolved.
138
+ */
139
+ image?: string | null;
134
140
  }
135
141
  interface ProfileVolunteering {
136
142
  rkey: string;
package/dist/index.cjs CHANGED
@@ -1867,7 +1867,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
1867
1867
  });
1868
1868
 
1869
1869
  // src/index.ts
1870
- var SIFA_SDK_VERSION = "0.9.17";
1870
+ var SIFA_SDK_VERSION = "0.9.18";
1871
1871
 
1872
1872
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
1873
1873
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo, b as Profile } from './index-C-sTNvaH.cjs';
2
- export { A as ActiveApp, E as Endorsement, c as EndorsementData, d as ExternalAccount, e as ExternalAccountKeytraceClaim, F as FeedItem, f as LanguageProficiency, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-C-sTNvaH.cjs';
1
+ import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo, b as Profile } from './index-DCpMh2Ny.cjs';
2
+ export { A as ActiveApp, E as Endorsement, c as EndorsementData, d as ExternalAccount, e as ExternalAccountKeytraceClaim, F as FeedItem, f as LanguageProficiency, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-DCpMh2Ny.cjs';
3
3
  export { EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, languageTagSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
4
4
  import 'zod';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo, b as Profile } from './index-C-sTNvaH.js';
2
- export { A as ActiveApp, E as Endorsement, c as EndorsementData, d as ExternalAccount, e as ExternalAccountKeytraceClaim, F as FeedItem, f as LanguageProficiency, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-C-sTNvaH.js';
1
+ import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo, b as Profile } from './index-DCpMh2Ny.js';
2
+ export { A as ActiveApp, E as Endorsement, c as EndorsementData, d as ExternalAccount, e as ExternalAccountKeytraceClaim, F as FeedItem, f as LanguageProficiency, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-DCpMh2Ny.js';
3
3
  export { EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, languageTagSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
4
4
  import 'zod';
5
5
 
package/dist/index.js CHANGED
@@ -1865,7 +1865,7 @@ var ProfileVolunteeringRecordSchema = z.object({
1865
1865
  });
1866
1866
 
1867
1867
  // src/index.ts
1868
- var SIFA_SDK_VERSION = "0.9.17";
1868
+ var SIFA_SDK_VERSION = "0.9.18";
1869
1869
 
1870
1870
  export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, APP_URL_PATTERNS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, PLATFORM_LABELS, PLATFORM_OPTIONS, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, certDateExtractor, cidSchema, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, findIndustry, formatDistanceToNow, formatLocation, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppIdForCollection, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isKnownPlatform, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, maxGraphemes, meetsContrastAA, parseLocationString, pdsProviderFromApi, pickPrimaryPosition, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
1871
1871
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../../index-C-sTNvaH.cjs';
1
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../../index-DCpMh2Ny.cjs';
2
2
 
3
3
  /**
4
4
  * Foundation HTTP client for talking to the Sifa AppView.
@@ -1,4 +1,4 @@
1
- import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../../index-C-sTNvaH.js';
1
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../../index-DCpMh2Ny.js';
2
2
 
3
3
  /**
4
4
  * Foundation HTTP client for talking to the Sifa AppView.
@@ -4,7 +4,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { ReactNode } from 'react';
5
5
  import * as _tanstack_react_query from '@tanstack/react-query';
6
6
  import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
7
- import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../index-C-sTNvaH.cjs';
7
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../index-DCpMh2Ny.cjs';
8
8
 
9
9
  interface SifaProviderProps {
10
10
  config: SifaApiConfig;
@@ -4,7 +4,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { ReactNode } from 'react';
5
5
  import * as _tanstack_react_query from '@tanstack/react-query';
6
6
  import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
7
- import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../index-C-sTNvaH.js';
7
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../index-DCpMh2Ny.js';
8
8
 
9
9
  interface SifaProviderProps {
10
10
  config: SifaApiConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singi-labs/sifa-sdk",
3
- "version": "0.9.17",
3
+ "version": "0.9.18",
4
4
  "description": "Sifa SDK — public client library for the Sifa AppView on AT Protocol. Shared by sifa-web and sifa-app.",
5
5
  "license": "MIT",
6
6
  "type": "module",