@singi-labs/sifa-sdk 0.12.4 → 0.12.6
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-COjgkXRe.d.cts → index-CUUZmpCG.d.cts} +13 -4
- package/dist/{index-tkWmoZAu.d.ts → index-DS4b3pZJ.d.ts} +13 -4
- package/dist/{index-BLv2bK_K.d.ts → index-Dxwi4T3Z.d.ts} +16 -3
- package/dist/{index-HTTNUcN4.d.cts → index-Dz00ddQP.d.cts} +16 -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-0DdoEMXx.d.cts} +32 -3
- package/dist/{org-BZcAnLab.d.ts → org-DxfxHBN8.d.ts} +32 -3
- package/dist/query/fetchers/index.cjs +24 -4
- 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 +24 -5
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +35 -4
- 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 +35 -5
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +34 -4
- 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 +33 -5
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { d as Profile, e as ProfilePosition,
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-DxfxHBN8.js';
|
|
2
|
+
import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-BOY_T6j3.js';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -18,6 +18,19 @@ declare function fetchProfile(config: SifaApiConfig, handleOrDid: string, option
|
|
|
18
18
|
*/
|
|
19
19
|
declare function fetchAtFundLink(config: SifaApiConfig, did: string, options?: ApiFetchOptions): Promise<string | null>;
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Read the aggregated public profile view via the `id.sifa.getProfileView`
|
|
23
|
+
* XRPC query. This is the AppView-only join (positions, education, skills,
|
|
24
|
+
* endorsements, and more) exposed as a standard lexicon method, distinct from
|
|
25
|
+
* the internal `/api/profile/*` REST surface.
|
|
26
|
+
*
|
|
27
|
+
* Returns `null` when the AppView has no profile for the actor
|
|
28
|
+
* (`ProfileNotFound`). Throws {@link ApiError} on other non-2xx responses.
|
|
29
|
+
*
|
|
30
|
+
* Server-callable (Next.js RSC) and client-callable (Expo, browser).
|
|
31
|
+
*/
|
|
32
|
+
declare function fetchGetProfileView(config: SifaApiConfig, actor: string, options?: ApiFetchOptions): Promise<ProfileView | null>;
|
|
33
|
+
|
|
21
34
|
/**
|
|
22
35
|
* Create a new `id.sifa.profile.position` record on the authenticated
|
|
23
36
|
* user's PDS. The AppView signs and writes via the user's OAuth session.
|
|
@@ -258,4 +271,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
|
|
|
258
271
|
*/
|
|
259
272
|
declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
|
|
260
273
|
|
|
261
|
-
export {
|
|
274
|
+
export { mintEntityDomain as A, resolveEntityDomain as B, revealMarqueDomain as C, selectEntity as D, setPositionPrimary as E, type FetchNetworkStreamCountOptions as F, unhideKeytraceClaim as G, unlinkSkillFromPosition as H, unrevealMarqueDomain as I, unsetPositionPrimary as J, updateEducation as K, updatePosition as L, updateRecord as M, type NetworkMapEdge as N, updateSkill as O, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, createSkill as j, deleteEducation as k, deletePosition as l, deleteRecord as m, deleteSkill as n, fetchAtFundLink as o, fetchEndorsementCount as p, fetchEntitySearch as q, fetchGetProfileView as r, fetchNetworkMap as s, fetchNetworkStreamCount as t, fetchProfile as u, hideKeytraceClaim as v, importSearchEntities as w, initiateNetworkMapGeneration as x, isNetworkMapResponse as y, linkSkillToPosition as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { d as Profile, e as ProfilePosition,
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-0DdoEMXx.cjs';
|
|
2
|
+
import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-BOY_T6j3.cjs';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -18,6 +18,19 @@ declare function fetchProfile(config: SifaApiConfig, handleOrDid: string, option
|
|
|
18
18
|
*/
|
|
19
19
|
declare function fetchAtFundLink(config: SifaApiConfig, did: string, options?: ApiFetchOptions): Promise<string | null>;
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Read the aggregated public profile view via the `id.sifa.getProfileView`
|
|
23
|
+
* XRPC query. This is the AppView-only join (positions, education, skills,
|
|
24
|
+
* endorsements, and more) exposed as a standard lexicon method, distinct from
|
|
25
|
+
* the internal `/api/profile/*` REST surface.
|
|
26
|
+
*
|
|
27
|
+
* Returns `null` when the AppView has no profile for the actor
|
|
28
|
+
* (`ProfileNotFound`). Throws {@link ApiError} on other non-2xx responses.
|
|
29
|
+
*
|
|
30
|
+
* Server-callable (Next.js RSC) and client-callable (Expo, browser).
|
|
31
|
+
*/
|
|
32
|
+
declare function fetchGetProfileView(config: SifaApiConfig, actor: string, options?: ApiFetchOptions): Promise<ProfileView | null>;
|
|
33
|
+
|
|
21
34
|
/**
|
|
22
35
|
* Create a new `id.sifa.profile.position` record on the authenticated
|
|
23
36
|
* user's PDS. The AppView signs and writes via the user's OAuth session.
|
|
@@ -258,4 +271,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
|
|
|
258
271
|
*/
|
|
259
272
|
declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
|
|
260
273
|
|
|
261
|
-
export {
|
|
274
|
+
export { mintEntityDomain as A, resolveEntityDomain as B, revealMarqueDomain as C, selectEntity as D, setPositionPrimary as E, type FetchNetworkStreamCountOptions as F, unhideKeytraceClaim as G, unlinkSkillFromPosition as H, unrevealMarqueDomain as I, unsetPositionPrimary as J, updateEducation as K, updatePosition as L, updateRecord as M, type NetworkMapEdge as N, updateSkill as O, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, createSkill as j, deleteEducation as k, deletePosition as l, deleteRecord as m, deleteSkill as n, fetchAtFundLink as o, fetchEndorsementCount as p, fetchEntitySearch as q, fetchGetProfileView as r, fetchNetworkMap as s, fetchNetworkStreamCount as t, fetchProfile as u, hideKeytraceClaim as v, importSearchEntities as w, initiateNetworkMapGeneration as x, isNetworkMapResponse as y, linkSkillToPosition 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.6";
|
|
3436
3436
|
|
|
3437
3437
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
3438
3438
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|