@singi-labs/sifa-sdk 0.9.15 → 0.9.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.
@@ -121,6 +121,16 @@ interface ProfilePublication {
121
121
  orcidCorroborated?: boolean;
122
122
  pendingVerification?: boolean;
123
123
  appId?: string;
124
+ /**
125
+ * AT-URI of the parent `site.standard.publication` for Standard.site
126
+ * articles — the subscribable unit. Used to group articles by publication
127
+ * on the profile. Undefined for Sifa/ORCID publications.
128
+ */
129
+ publicationUri?: string | null;
130
+ /** Canonical publication origin — the subscribe / link-out target. */
131
+ publicationUrl?: string | null;
132
+ /** Publication display name for the group header (falls back to host). */
133
+ publicationName?: string | null;
124
134
  }
125
135
  interface ProfileVolunteering {
126
136
  rkey: string;
@@ -121,6 +121,16 @@ interface ProfilePublication {
121
121
  orcidCorroborated?: boolean;
122
122
  pendingVerification?: boolean;
123
123
  appId?: string;
124
+ /**
125
+ * AT-URI of the parent `site.standard.publication` for Standard.site
126
+ * articles — the subscribable unit. Used to group articles by publication
127
+ * on the profile. Undefined for Sifa/ORCID publications.
128
+ */
129
+ publicationUri?: string | null;
130
+ /** Canonical publication origin — the subscribe / link-out target. */
131
+ publicationUrl?: string | null;
132
+ /** Publication display name for the group header (falls back to host). */
133
+ publicationName?: string | null;
124
134
  }
125
135
  interface ProfileVolunteering {
126
136
  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.15";
1870
+ var SIFA_SDK_VERSION = "0.9.17";
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-SmYL2LUp.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-SmYL2LUp.cjs';
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';
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-SmYL2LUp.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-SmYL2LUp.js';
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';
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.15";
1868
+ var SIFA_SDK_VERSION = "0.9.17";
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-SmYL2LUp.cjs';
1
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../../index-C-sTNvaH.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-SmYL2LUp.js';
1
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../../index-C-sTNvaH.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-SmYL2LUp.cjs';
7
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../index-C-sTNvaH.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-SmYL2LUp.js';
7
+ import { b as Profile, o as ProfilePosition, S as SkillRef, d as ExternalAccount, t as SkillSuggestion } from '../index-C-sTNvaH.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.15",
3
+ "version": "0.9.17",
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",
@@ -28,7 +28,8 @@
28
28
  "files": [
29
29
  "dist",
30
30
  "README.md",
31
- "LICENSE"
31
+ "LICENSE",
32
+ "NOTICE"
32
33
  ],
33
34
  "exports": {
34
35
  ".": {
@@ -91,6 +92,16 @@
91
92
  "default": "./dist/publishing/index.cjs"
92
93
  }
93
94
  },
95
+ "./flags": {
96
+ "import": {
97
+ "types": "./dist/flags/index.d.ts",
98
+ "default": "./dist/flags/index.js"
99
+ },
100
+ "require": {
101
+ "types": "./dist/flags/index.d.cts",
102
+ "default": "./dist/flags/index.cjs"
103
+ }
104
+ },
94
105
  "./package.json": "./package.json"
95
106
  },
96
107
  "main": "./dist/index.cjs",
@@ -112,7 +123,8 @@
112
123
  "changeset": "changeset",
113
124
  "version-packages": "changeset version",
114
125
  "release": "pnpm run build && changeset publish",
115
- "sync:activity-tiers": "node scripts/sync-activity-tiers.mjs"
126
+ "sync:activity-tiers": "node scripts/sync-activity-tiers.mjs",
127
+ "build:flags": "node scripts/build-flags.mjs"
116
128
  },
117
129
  "engines": {
118
130
  "node": ">=22"
@@ -152,6 +164,7 @@
152
164
  "prettier": "3.8.3",
153
165
  "react": "19.2.4",
154
166
  "react-dom": "19.2.4",
167
+ "svgo": "3.3.2",
155
168
  "tsup": "8.5.1",
156
169
  "typescript": "5.9.3",
157
170
  "typescript-eslint": "8.60.0",