@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
package/dist/query/index.cjs
CHANGED
|
@@ -1242,6 +1242,7 @@ var FOLLOWING_FEED_LXM = "id.sifa.feed.getFollowingFeed";
|
|
|
1242
1242
|
async function fetchFollowingFeed(config, opts = {}) {
|
|
1243
1243
|
const params = new URLSearchParams();
|
|
1244
1244
|
if (opts.limit) params.set("limit", String(opts.limit));
|
|
1245
|
+
if (opts.includeBluesky) params.set("includeBluesky", "true");
|
|
1245
1246
|
const qs = params.toString();
|
|
1246
1247
|
const headers = { ...opts.headers ?? {} };
|
|
1247
1248
|
if (opts.cookieHeader) headers.cookie = opts.cookieHeader;
|
|
@@ -3159,7 +3160,10 @@ function useFollowingList(handle, opts = {}, options) {
|
|
|
3159
3160
|
function useFollowingFeed(opts = {}, options) {
|
|
3160
3161
|
const config = useSifaConfig();
|
|
3161
3162
|
return reactQuery.useQuery({
|
|
3162
|
-
queryKey: sifaQueryKeys.follow.feed({
|
|
3163
|
+
queryKey: sifaQueryKeys.follow.feed({
|
|
3164
|
+
limit: opts.limit,
|
|
3165
|
+
includeBluesky: opts.includeBluesky
|
|
3166
|
+
}),
|
|
3163
3167
|
queryFn: () => fetchFollowingFeed(config, opts),
|
|
3164
3168
|
...options
|
|
3165
3169
|
});
|