@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.
Files changed (41) hide show
  1. package/dist/{index-66ul8ibE.d.cts → index-DDlGa7CO.d.cts} +15 -0
  2. package/dist/{index-C13I8diU.d.ts → index-HgcjpMWO.d.ts} +15 -0
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +4 -4
  6. package/dist/index.d.ts +4 -4
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/{network-map-C8-QWKFg.d.ts → network-map-BVp_zXuZ.d.ts} +4 -4
  12. package/dist/{network-map-BjHSH04a.d.cts → network-map-DWqGxbMG.d.cts} +4 -4
  13. package/dist/{org-DsqCQ1bV.d.ts → org-CMI-IeVu.d.ts} +10 -4
  14. package/dist/{org-DWQqPz9B.d.cts → org-iif0c047.d.cts} +10 -4
  15. package/dist/{profile-summary-DMaGicYm.d.cts → profile-summary-Cv8TmIe0.d.cts} +1 -1
  16. package/dist/{profile-summary-CjhrwYBp.d.ts → profile-summary-FpWgNDBB.d.ts} +1 -1
  17. package/dist/query/fetchers/index.cjs +1 -0
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +6 -6
  20. package/dist/query/fetchers/index.d.ts +6 -6
  21. package/dist/query/fetchers/index.js +1 -0
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +5 -1
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +5 -5
  26. package/dist/query/hooks/index.d.ts +5 -5
  27. package/dist/query/hooks/index.js +5 -1
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +5 -1
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +8 -8
  32. package/dist/query/index.d.ts +8 -8
  33. package/dist/query/index.js +5 -1
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/resume/index.d.cts +1 -1
  36. package/dist/resume/index.d.ts +1 -1
  37. package/dist/{types-YpOch4Ho.d.ts → types-CX9OttHr.d.ts} +1 -1
  38. package/dist/{types-CDrbMqyV.d.cts → types-D1Nt3rqN.d.cts} +1 -1
  39. package/dist/{use-org-notification-emails-CjllYpUI.d.cts → use-org-notification-emails-BV-jpNVt.d.cts} +3 -3
  40. package/dist/{use-org-notification-emails-DqwmoDre.d.ts → use-org-notification-emails-BmJCQzBV.d.ts} +3 -3
  41. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-66ul8ibE.cjs';
1
+ import { L as LocationValue } from '../index-DDlGa7CO.cjs';
2
2
  import '../shared-v0vl5hov.cjs';
3
3
  import 'zod';
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-C13I8diU.js';
1
+ import { L as LocationValue } from '../index-HgcjpMWO.js';
2
2
  import '../shared-v0vl5hov.js';
3
3
  import 'zod';
4
4
 
@@ -1,7 +1,7 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-C13I8diU.js';
2
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DsqCQ1bV.js';
3
- import { n as ProfileView } from './types-YpOch4Ho.js';
4
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CjhrwYBp.js';
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-66ul8ibE.cjs';
2
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DWQqPz9B.cjs';
3
- import { n as ProfileView } from './types-CDrbMqyV.cjs';
4
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DMaGicYm.cjs';
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-C13I8diU.js';
2
- import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-YpOch4Ho.js';
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, as
1302
- * it is the least interesting part and other apps already surface it.
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-66ul8ibE.cjs';
2
- import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-CDrbMqyV.cjs';
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, as
1302
- * it is the least interesting part and other apps already surface it.
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,4 +1,4 @@
1
- import { n as ProfileView } from './types-CDrbMqyV.cjs';
1
+ import { n as ProfileView } from './types-D1Nt3rqN.cjs';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-YpOch4Ho.js';
1
+ import { n as ProfileView } from './types-CX9OttHr.js';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -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;