@singi-labs/sifa-sdk 0.19.0 → 0.19.2
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.cjs +15 -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 +15 -1
- package/dist/index.js.map +1 -1
- package/dist/{network-map-C8VCE7HI.d.cts → network-map--UEgNKwG.d.cts} +1 -1
- package/dist/{network-map-DNE9jp_r.d.ts → network-map-02mWqhn7.d.ts} +1 -1
- package/dist/{org-8RWC0qSH.d.cts → org-DLs-A3x8.d.cts} +9 -3
- package/dist/{org-BwK-97S0.d.ts → org-DfW-NrU1.d.ts} +9 -3
- package/dist/{org-settings-CZ_tmAYl.d.cts → org-settings-BndD0dMQ.d.cts} +19 -0
- package/dist/{org-settings-CZ_tmAYl.d.ts → org-settings-BndD0dMQ.d.ts} +19 -0
- package/dist/{profile-investment-D-nKT3ZK.d.cts → profile-investment-DSTOEvG-.d.cts} +6 -0
- package/dist/{profile-investment-D-nKT3ZK.d.ts → profile-investment-DSTOEvG-.d.ts} +6 -0
- package/dist/query/fetchers/index.cjs +1 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +4 -4
- package/dist/query/fetchers/index.d.ts +4 -4
- 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 +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- 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 +6 -6
- package/dist/query/index.d.ts +6 -6
- package/dist/query/index.js +5 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +14 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +14 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +77 -9
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +7 -1
- package/dist/schemas/write/index.d.ts +7 -1
- package/dist/schemas/write/index.js +77 -9
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{use-org-notification-emails-CeDxRlis.d.cts → use-org-notification-emails-DooABlcj.d.cts} +21 -2
- package/dist/{use-org-notification-emails-LIoQtBgD.d.ts → use-org-notification-emails-TwvSWfD-.d.ts} +21 -2
- package/package.json +1 -1
|
@@ -2254,6 +2254,7 @@ var FOLLOWING_FEED_LXM = "id.sifa.feed.getFollowingFeed";
|
|
|
2254
2254
|
async function fetchFollowingFeed(config, opts = {}) {
|
|
2255
2255
|
const params = new URLSearchParams();
|
|
2256
2256
|
if (opts.limit) params.set("limit", String(opts.limit));
|
|
2257
|
+
if (opts.includeBluesky) params.set("includeBluesky", "true");
|
|
2257
2258
|
const qs = params.toString();
|
|
2258
2259
|
const headers = { ...opts.headers ?? {} };
|
|
2259
2260
|
if (opts.cookieHeader) headers.cookie = opts.cookieHeader;
|
|
@@ -2346,7 +2347,10 @@ function useFollowingList(handle, opts = {}, options) {
|
|
|
2346
2347
|
function useFollowingFeed(opts = {}, options) {
|
|
2347
2348
|
const config = useSifaConfig();
|
|
2348
2349
|
return reactQuery.useQuery({
|
|
2349
|
-
queryKey: sifaQueryKeys.follow.feed({
|
|
2350
|
+
queryKey: sifaQueryKeys.follow.feed({
|
|
2351
|
+
limit: opts.limit,
|
|
2352
|
+
includeBluesky: opts.includeBluesky
|
|
2353
|
+
}),
|
|
2350
2354
|
queryFn: () => fetchFollowingFeed(config, opts),
|
|
2351
2355
|
...options
|
|
2352
2356
|
});
|