@singi-labs/sifa-sdk 0.10.5 → 0.10.7
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/{adult-content-BjbP46ad.d.cts → adult-content-DxasJdot.d.cts} +1 -1
- package/dist/{adult-content-BjbP46ad.d.ts → adult-content-DxasJdot.d.ts} +1 -1
- package/dist/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/{keys-DPeDdYki.d.cts → keys-GSG0egRE.d.cts} +7 -3
- package/dist/{keys-Ba4_wCnj.d.ts → keys-G_SErFOu.d.ts} +7 -3
- package/dist/query/fetchers/index.cjs +4 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/fetchers/index.js +4 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +4 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/index.js +4 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +87 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +101 -3
- package/dist/query/index.d.ts +101 -3
- package/dist/query/index.js +82 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, L as LocationValue,
|
|
2
|
-
export {
|
|
1
|
+
import { P as ProfileSkill, L as LocationValue, b as PdsProviderInfo, c as Profile } from './adult-content-DxasJdot.cjs';
|
|
2
|
+
export { d as ADULT_CONTENT_LABELS, e as ActiveApp, a as ActivityLabel, A as AdultContentLabel, f as Endorsement, g as EndorsementData, E as ExternalAccount, h as ExternalAccountKeytraceClaim, F as FeedItem, i as LanguageProficiency, j as ProfileCertification, k as ProfileCourse, l as ProfileEducation, m as ProfileHonor, n as ProfileIndustry, o as ProfileLanguage, p as ProfileLocation, q as ProfileOverrideSource, r as ProfilePosition, s as ProfileProject, t as ProfilePublication, u as ProfileVolunteering, v as PublicationContributor, w as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, x as hasAdultContent } from './adult-content-DxasJdot.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, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
|
|
4
4
|
export { A as AtmosphereFeedItem, d as AtmosphereFeedItemSchema, e as FEATURE_FLAGS, b as FeatureAllowlistEntry, f as FeatureAllowlistEntrySchema, c as FeatureFlag, g as FeedActor, h as FeedActorSchema, i as FeedCursor, j as FollowFeedItem, k as FollowFeedItemSchema, F as FollowFeedPage, l as FollowFeedPageSchema, a as FollowProfileItem, m as FollowProfilePage, n as FollowProfilePageSchema, o as FollowProfileSchema, S as SifaFeedItem, p as SifaFeedItemSchema, q as decodeFeedCursor, r as encodeFeedCursor } from './feed-DHTy7fUN.cjs';
|
|
5
5
|
import 'zod';
|
|
@@ -197,6 +197,9 @@ declare const APP_CATEGORIES: {
|
|
|
197
197
|
readonly Code: {
|
|
198
198
|
readonly phosphorIcon: "Code";
|
|
199
199
|
};
|
|
200
|
+
readonly Endorsements: {
|
|
201
|
+
readonly phosphorIcon: "HandHeart";
|
|
202
|
+
};
|
|
200
203
|
readonly Events: {
|
|
201
204
|
readonly phosphorIcon: "CalendarBlank";
|
|
202
205
|
};
|
|
@@ -288,6 +291,7 @@ declare const APP_CATEGORY_MAP: {
|
|
|
288
291
|
readonly atstore: "Reviews";
|
|
289
292
|
readonly plyr: "Music";
|
|
290
293
|
readonly anisota: "Posts";
|
|
294
|
+
readonly atfund: "Endorsements";
|
|
291
295
|
readonly linkat: "Links";
|
|
292
296
|
readonly kipclip: "Links";
|
|
293
297
|
readonly statusphere: "Social";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, L as LocationValue,
|
|
2
|
-
export {
|
|
1
|
+
import { P as ProfileSkill, L as LocationValue, b as PdsProviderInfo, c as Profile } from './adult-content-DxasJdot.js';
|
|
2
|
+
export { d as ADULT_CONTENT_LABELS, e as ActiveApp, a as ActivityLabel, A as AdultContentLabel, f as Endorsement, g as EndorsementData, E as ExternalAccount, h as ExternalAccountKeytraceClaim, F as FeedItem, i as LanguageProficiency, j as ProfileCertification, k as ProfileCourse, l as ProfileEducation, m as ProfileHonor, n as ProfileIndustry, o as ProfileLanguage, p as ProfileLocation, q as ProfileOverrideSource, r as ProfilePosition, s as ProfileProject, t as ProfilePublication, u as ProfileVolunteering, v as PublicationContributor, w as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, x as hasAdultContent } from './adult-content-DxasJdot.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, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
|
|
4
4
|
export { A as AtmosphereFeedItem, d as AtmosphereFeedItemSchema, e as FEATURE_FLAGS, b as FeatureAllowlistEntry, f as FeatureAllowlistEntrySchema, c as FeatureFlag, g as FeedActor, h as FeedActorSchema, i as FeedCursor, j as FollowFeedItem, k as FollowFeedItemSchema, F as FollowFeedPage, l as FollowFeedPageSchema, a as FollowProfileItem, m as FollowProfilePage, n as FollowProfilePageSchema, o as FollowProfileSchema, S as SifaFeedItem, p as SifaFeedItemSchema, q as decodeFeedCursor, r as encodeFeedCursor } from './feed-DHTy7fUN.js';
|
|
5
5
|
import 'zod';
|
|
@@ -197,6 +197,9 @@ declare const APP_CATEGORIES: {
|
|
|
197
197
|
readonly Code: {
|
|
198
198
|
readonly phosphorIcon: "Code";
|
|
199
199
|
};
|
|
200
|
+
readonly Endorsements: {
|
|
201
|
+
readonly phosphorIcon: "HandHeart";
|
|
202
|
+
};
|
|
200
203
|
readonly Events: {
|
|
201
204
|
readonly phosphorIcon: "CalendarBlank";
|
|
202
205
|
};
|
|
@@ -288,6 +291,7 @@ declare const APP_CATEGORY_MAP: {
|
|
|
288
291
|
readonly atstore: "Reviews";
|
|
289
292
|
readonly plyr: "Music";
|
|
290
293
|
readonly anisota: "Posts";
|
|
294
|
+
readonly atfund: "Endorsements";
|
|
291
295
|
readonly linkat: "Links";
|
|
292
296
|
readonly kipclip: "Links";
|
|
293
297
|
readonly statusphere: "Social";
|
package/dist/index.js
CHANGED
|
@@ -799,6 +799,7 @@ var APP_CATEGORIES = {
|
|
|
799
799
|
Articles: { phosphorIcon: "Article" },
|
|
800
800
|
Chat: { phosphorIcon: "ChatsCircle" },
|
|
801
801
|
Code: { phosphorIcon: "Code" },
|
|
802
|
+
Endorsements: { phosphorIcon: "HandHeart" },
|
|
802
803
|
Events: { phosphorIcon: "CalendarBlank" },
|
|
803
804
|
Links: { phosphorIcon: "LinkSimple" },
|
|
804
805
|
Lists: { phosphorIcon: "ListBullets" },
|
|
@@ -855,6 +856,7 @@ var APP_CATEGORY_MAP = {
|
|
|
855
856
|
atstore: "Reviews",
|
|
856
857
|
plyr: "Music",
|
|
857
858
|
anisota: "Posts",
|
|
859
|
+
atfund: "Endorsements",
|
|
858
860
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
859
861
|
// no backend scan collection yet)
|
|
860
862
|
linkat: "Links",
|
|
@@ -1564,6 +1566,12 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1564
1566
|
// SPA — per-record URLs require JS routing. plyr.fm doesn't expose a
|
|
1565
1567
|
// public per-handle profile page server-side either; falls back to root.
|
|
1566
1568
|
profileUrlPattern: "https://plyr.fm"
|
|
1569
|
+
},
|
|
1570
|
+
atfund: {
|
|
1571
|
+
// at.fund is auth-gated — `/give/{did}` 307s to `/` when not signed in,
|
|
1572
|
+
// and there's no public per-endorsement permalink. Profile fallback only,
|
|
1573
|
+
// pointing at the main /give listing.
|
|
1574
|
+
profileUrlPattern: "https://www.at.fund/give"
|
|
1567
1575
|
}
|
|
1568
1576
|
});
|
|
1569
1577
|
var COLLECTION_TO_APP = [
|
|
@@ -1604,7 +1612,8 @@ var COLLECTION_TO_APP = [
|
|
|
1604
1612
|
["so.sprk.", "spark"],
|
|
1605
1613
|
["community.nooki.", "nooki"],
|
|
1606
1614
|
["fyi.atstore.", "atstore"],
|
|
1607
|
-
["fm.plyr.", "plyr"]
|
|
1615
|
+
["fm.plyr.", "plyr"],
|
|
1616
|
+
["fund.at.", "atfund"]
|
|
1608
1617
|
];
|
|
1609
1618
|
|
|
1610
1619
|
// src/cards/resolve-card-url.ts
|
|
@@ -2169,7 +2178,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
2169
2178
|
});
|
|
2170
2179
|
|
|
2171
2180
|
// src/index.ts
|
|
2172
|
-
var SIFA_SDK_VERSION = "0.10.
|
|
2181
|
+
var SIFA_SDK_VERSION = "0.10.7";
|
|
2173
2182
|
|
|
2174
2183
|
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, AtmosphereFeedItemSchema, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, PLATFORM_LABELS, PLATFORM_OPTIONS, PUBLISHERS, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, encodeFeedCursor, findIndustry, formatDistanceToNow, formatLocation, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, hasAdultContent, isAppCategory, isKnownAppId, isKnownPlatform, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, parseLocationString, pdsProviderFromApi, pickPrimaryPosition, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
|
|
2175
2184
|
//# sourceMappingURL=index.js.map
|