@singi-labs/sifa-sdk 0.19.1 → 0.19.3
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/{index-66ul8ibE.d.cts → index-DDlGa7CO.d.cts} +15 -0
- package/dist/{index-C13I8diU.d.ts → index-HgcjpMWO.d.ts} +15 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/{network-map-C8-QWKFg.d.ts → network-map-BVp_zXuZ.d.ts} +4 -4
- package/dist/{network-map-BjHSH04a.d.cts → network-map-DWqGxbMG.d.cts} +4 -4
- package/dist/{org-DsqCQ1bV.d.ts → org-CMI-IeVu.d.ts} +10 -4
- package/dist/{org-DWQqPz9B.d.cts → org-iif0c047.d.cts} +10 -4
- package/dist/{profile-summary-DMaGicYm.d.cts → profile-summary-Cv8TmIe0.d.cts} +1 -1
- package/dist/{profile-summary-CjhrwYBp.d.ts → profile-summary-FpWgNDBB.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +1 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/index.js +1 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +5 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +5 -5
- package/dist/query/hooks/index.d.ts +5 -5
- package/dist/query/hooks/index.js +5 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +5 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +8 -8
- package/dist/query/index.d.ts +8 -8
- package/dist/query/index.js +5 -1
- package/dist/query/index.js.map +1 -1
- package/dist/resume/index.d.cts +1 -1
- package/dist/resume/index.d.ts +1 -1
- package/dist/{types-YpOch4Ho.d.ts → types-CX9OttHr.d.ts} +1 -1
- package/dist/{types-CDrbMqyV.d.cts → types-D1Nt3rqN.d.cts} +1 -1
- package/dist/{use-org-notification-emails-CjllYpUI.d.cts → use-org-notification-emails-BV-jpNVt.d.cts} +3 -3
- package/dist/{use-org-notification-emails-DqwmoDre.d.ts → use-org-notification-emails-BmJCQzBV.d.ts} +3 -3
- package/package.json +1 -1
package/dist/jsonld/index.d.cts
CHANGED
package/dist/jsonld/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
3
|
-
import { n as ProfileView } from './types-
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
1
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-HgcjpMWO.js';
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CMI-IeVu.js';
|
|
3
|
+
import { n as ProfileView } from './types-CX9OttHr.js';
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-FpWgNDBB.js';
|
|
5
5
|
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
3
|
-
import { n as ProfileView } from './types-
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
1
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-DDlGa7CO.cjs';
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-iif0c047.cjs';
|
|
3
|
+
import { n as ProfileView } from './types-D1Nt3rqN.cjs';
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-Cv8TmIe0.cjs';
|
|
5
5
|
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as ExternalAccount, Q as SkillSuggestion } from './index-
|
|
2
|
-
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
1
|
+
import { p as ExternalAccount, Q as SkillSuggestion } from './index-HgcjpMWO.js';
|
|
2
|
+
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-CX9OttHr.js';
|
|
3
3
|
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-D1l6pulB.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-BndD0dMQ.js';
|
|
@@ -1293,13 +1293,19 @@ declare function getFollowing(config: SifaApiConfig, handle: string, opts?: Fetc
|
|
|
1293
1293
|
/** Options for {@link fetchFollowingFeed}. */
|
|
1294
1294
|
interface FetchFollowingFeedOptions extends ApiFetchOptions {
|
|
1295
1295
|
limit?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* Opt in to the viewer's Bluesky activity too. Off by default: the point of
|
|
1298
|
+
* the feed is what connections do on OTHER apps.
|
|
1299
|
+
*/
|
|
1300
|
+
includeBluesky?: boolean;
|
|
1296
1301
|
/** Forward a `Cookie` header on Next.js RSC server-side calls (web). */
|
|
1297
1302
|
cookieHeader?: string;
|
|
1298
1303
|
}
|
|
1299
1304
|
/**
|
|
1300
1305
|
* The viewer's cross-app following feed: what OTHER apps their connections use
|
|
1301
|
-
* (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side
|
|
1302
|
-
* it is the least interesting part and other apps already surface
|
|
1306
|
+
* (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side by
|
|
1307
|
+
* default, as it is the least interesting part and other apps already surface
|
|
1308
|
+
* it. Pass `includeBluesky: true` to bring it back in.
|
|
1303
1309
|
*
|
|
1304
1310
|
* Auth is identity-only server-side, so the NATIVE app supplies
|
|
1305
1311
|
* `config.getAuthToken` to mint a service-auth Bearer, while WEB relies on its
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as ExternalAccount, Q as SkillSuggestion } from './index-
|
|
2
|
-
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
1
|
+
import { p as ExternalAccount, Q as SkillSuggestion } from './index-DDlGa7CO.cjs';
|
|
2
|
+
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-D1Nt3rqN.cjs';
|
|
3
3
|
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-D1l6pulB.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-BndD0dMQ.cjs';
|
|
@@ -1293,13 +1293,19 @@ declare function getFollowing(config: SifaApiConfig, handle: string, opts?: Fetc
|
|
|
1293
1293
|
/** Options for {@link fetchFollowingFeed}. */
|
|
1294
1294
|
interface FetchFollowingFeedOptions extends ApiFetchOptions {
|
|
1295
1295
|
limit?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* Opt in to the viewer's Bluesky activity too. Off by default: the point of
|
|
1298
|
+
* the feed is what connections do on OTHER apps.
|
|
1299
|
+
*/
|
|
1300
|
+
includeBluesky?: boolean;
|
|
1296
1301
|
/** Forward a `Cookie` header on Next.js RSC server-side calls (web). */
|
|
1297
1302
|
cookieHeader?: string;
|
|
1298
1303
|
}
|
|
1299
1304
|
/**
|
|
1300
1305
|
* The viewer's cross-app following feed: what OTHER apps their connections use
|
|
1301
|
-
* (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side
|
|
1302
|
-
* it is the least interesting part and other apps already surface
|
|
1306
|
+
* (Tangled, WhiteWind, Smoke Signal, ...) — Bluesky is excluded server-side by
|
|
1307
|
+
* default, as it is the least interesting part and other apps already surface
|
|
1308
|
+
* it. Pass `includeBluesky: true` to bring it back in.
|
|
1303
1309
|
*
|
|
1304
1310
|
* Auth is identity-only server-side, so the NATIVE app supplies
|
|
1305
1311
|
* `config.getAuthToken` to mint a service-auth Bearer, while WEB relies on its
|
|
@@ -1061,6 +1061,7 @@ var FOLLOWING_FEED_LXM = "id.sifa.feed.getFollowingFeed";
|
|
|
1061
1061
|
async function fetchFollowingFeed(config, opts = {}) {
|
|
1062
1062
|
const params = new URLSearchParams();
|
|
1063
1063
|
if (opts.limit) params.set("limit", String(opts.limit));
|
|
1064
|
+
if (opts.includeBluesky) params.set("includeBluesky", "true");
|
|
1064
1065
|
const qs = params.toString();
|
|
1065
1066
|
const headers = { ...opts.headers ?? {} };
|
|
1066
1067
|
if (opts.cookieHeader) headers.cookie = opts.cookieHeader;
|