@singi-labs/sifa-sdk 0.12.4 → 0.12.5
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-n2uy3rT3.d.cts → adult-content-BOY_T6j3.d.cts} +265 -1
- package/dist/{adult-content-n2uy3rT3.d.ts → adult-content-BOY_T6j3.d.ts} +265 -1
- package/dist/{index-HTTNUcN4.d.cts → index-BJV2XHOP.d.cts} +16 -3
- package/dist/{index-BLv2bK_K.d.ts → index-C1SIpwOj.d.ts} +16 -3
- package/dist/{index-tkWmoZAu.d.ts → index-m5MELVUQ.d.ts} +12 -3
- package/dist/{index-COjgkXRe.d.cts → index-xcu81B4E.d.cts} +12 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{org-lIB6pSYc.d.cts → org-92bvwL8H.d.cts} +2 -1
- package/dist/{org-BZcAnLab.d.ts → org-Bxz__jbx.d.ts} +2 -1
- package/dist/query/fetchers/index.cjs +15 -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 +15 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +26 -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 +26 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +25 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +24 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ad as RefreshPdsResult, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, j as CreateResult, a1 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, au as VerifyExternalAccountResult, E as EndorsementInput, ac as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, ao as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, aj as SearchFilters, ak as SearchResponse, an as SkillSearchResult, l as FeaturedProfile, am as SimilarProfile, v as FetchSuggestionsOptions, aq as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ab as ReactionStatus, aa as ReactionResult, a9 as ReactionError, ai as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ad as RefreshPdsResult, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, j as CreateResult, a1 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, au as VerifyExternalAccountResult, E as EndorsementInput, ac as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, ao as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, aj as SearchFilters, ak as SearchResponse, an as SkillSearchResult, l as FeaturedProfile, am as SimilarProfile, v as FetchSuggestionsOptions, aq as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ab as ReactionStatus, aa as ReactionResult, a9 as ReactionError, ai as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-92bvwL8H.cjs';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
|
-
import { d as Profile, e as ProfilePosition,
|
|
6
|
+
import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-BOY_T6j3.cjs';
|
|
7
7
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-D2ZV8Eaj.cjs';
|
|
8
8
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.cjs';
|
|
9
9
|
|
|
@@ -45,6 +45,15 @@ declare function useProfile(handleOrDid: string | undefined | null, options?: Om
|
|
|
45
45
|
*/
|
|
46
46
|
declare function useAtFundLink(did: string | undefined | null, options?: Omit<UseQueryOptions<string | null, Error, string | null, ReturnType<typeof sifaQueryKeys.profile.atFundLink>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<string | null, Error>;
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* React hook that reads the aggregated public profile view via the
|
|
50
|
+
* `id.sifa.getProfileView` XRPC query. Returns `null` data when the profile
|
|
51
|
+
* does not exist.
|
|
52
|
+
*
|
|
53
|
+
* Pass `{ enabled: false }` (or an empty `actor`) to defer the fetch.
|
|
54
|
+
*/
|
|
55
|
+
declare function useGetProfileView(actor: string | undefined | null, options?: Omit<UseQueryOptions<ProfileView | null, Error, ProfileView | null, ReturnType<typeof sifaQueryKeys.profile.view>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ProfileView | null>, Error>;
|
|
56
|
+
|
|
48
57
|
/**
|
|
49
58
|
* React hook for updating the authenticated user's profile self record.
|
|
50
59
|
* On success, invalidates the owner's profile cache.
|
|
@@ -691,4 +700,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
691
700
|
email: string;
|
|
692
701
|
}, unknown>;
|
|
693
702
|
|
|
694
|
-
export { useFeatureAllowlist as $, type AddFeatureAllowlistVariables as A, useCreateExternalAccount as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreatePosition as E, type FollowVariables as F, useCreateProfileLocation as G, useCreateReaction as H, useCreateRecord as I, useCreateSkill as J, useDebouncedValue as K, useDeleteAccount as L, useDeleteAvatarOverride as M, useDeleteEducation as N, useDeleteExternalAccount as O, type PositionSkillLinkVariables as P, useDeletePosition as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteProfileLocation as T, type UnfollowVariables as U, useDeleteReaction as V, useDeleteRecord as W, useDeleteSkill as X, useEndorsementCount as Y, useEntitySearch as Z, useExternalAccounts as _, type CreateRecordVariables as a,
|
|
703
|
+
export { useFeatureAllowlist as $, type AddFeatureAllowlistVariables as A, useCreateExternalAccount as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreatePosition as E, type FollowVariables as F, useCreateProfileLocation as G, useCreateReaction as H, useCreateRecord as I, useCreateSkill as J, useDebouncedValue as K, useDeleteAccount as L, useDeleteAvatarOverride as M, useDeleteEducation as N, useDeleteExternalAccount as O, type PositionSkillLinkVariables as P, useDeletePosition as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteProfileLocation as T, type UnfollowVariables as U, useDeleteReaction as V, useDeleteRecord as W, useDeleteSkill as X, useEndorsementCount as Y, useEntitySearch as Z, useExternalAccounts as _, type CreateRecordVariables as a, useUpdateRecord as a$, useFeaturedProfile as a0, useFollow as a1, useFollowers as a2, useFollowing as a3, useFollowingFeed as a4, useFollowingList as a5, useGetProfileView as a6, useHeatmapData as a7, useHiddenApps as a8, useHideKeytraceClaim as a9, useSearchProfiles as aA, useSelectEntity as aB, useSetExternalAccountPrimary as aC, useSetPositionPrimary as aD, useSifaConfig as aE, useSimilarProfiles as aF, useSkillSuggestions as aG, useStats as aH, useSuggestionCount as aI, useSuggestions as aJ, useUnfollow as aK, useUnhideKeytraceClaim as aL, useUnhideOrcidPublication as aM, useUnhideProfileItem as aN, useUnhideSifaPublication as aO, useUnhideStandardPublication as aP, useUnlinkSkillFromPosition as aQ, useUnrevealMarqueDomain as aR, useUnsetExternalAccountPrimary as aS, useUnsetPositionPrimary as aT, useUpdateEducation as aU, useUpdateExternalAccount as aV, useUpdateOrgProfile as aW, useUpdatePosition as aX, useUpdateProfileLocation as aY, useUpdateProfileOverride as aZ, useUpdateProfileSelf as a_, useHideOrcidPublication as aa, useHideProfileItem as ab, useHideSifaPublication as ac, useHideStandardPublication as ad, useImportSearchEntities as ae, useLinkSkillToPosition as af, useMintEntityDomain as ag, useMutuals as ah, useMyRoadmapVotes as ai, useNetworkStreamCount as aj, useOrgClaim as ak, useOrgDomainChallenge as al, useOrgDomainVerify as am, useOrgProfile as an, useProfile as ao, useReactionStatus as ap, useRefreshOrcidPublications as aq, useRefreshPds as ar, useRemoveFeatureAllowlist as as, useRemoveOrgNotificationEmail as at, useResetProfile as au, useResolveEntityDomain as av, useRetractRoadmapVote as aw, useRevealMarqueDomain as ax, useRoadmapVotes as ay, useSearchFilters as az, type DeleteRecordVariables as b, useUpdateSkill as b0, useUploadAvatar as b1, useVerifyExternalAccount as b2, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillVariables as i, type UseEntitySearchOptions as j, useActivityTeaser as k, useAddFeatureAllowlist as l, useAddOrgNotificationEmail as m, useAppAccountCheck as n, useAppsRegistry as o, useAtFundLink as p, useBlueskySuggestions as q, useBulkHideProfileItems as r, useBulkHideStandardPublications as s, useBulkUnhideProfileItems as t, useActivityFeed as u, useBulkUnhideStandardPublications as v, useCanonicalSkillSearch as w, useCastRoadmapVote as x, useCreateEducation as y, useCreateEndorsement as z };
|
package/dist/index.cjs
CHANGED
|
@@ -3432,7 +3432,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
3432
3432
|
});
|
|
3433
3433
|
|
|
3434
3434
|
// src/index.ts
|
|
3435
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
3435
|
+
var SIFA_SDK_VERSION = "0.12.5";
|
|
3436
3436
|
|
|
3437
3437
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
3438
3438
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|