@stream-io/feeds-client 0.3.43 → 0.3.44
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/CHANGELOG.md +7 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-O3lXU8Bl.mjs → feeds-client-B7anS3xV.mjs} +11 -2
- package/dist/feeds-client-B7anS3xV.mjs.map +1 -0
- package/dist/{feeds-client-B1mzWjrM.js → feeds-client-DK7vuKlg.js} +11 -2
- package/dist/feeds-client-DK7vuKlg.js.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +10 -0
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +9 -0
- package/src/gen/models/index.ts +20 -0
- package/dist/feeds-client-B1mzWjrM.js.map +0 -1
- package/dist/feeds-client-O3lXU8Bl.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useStateStore } from "@stream-io/state-store/react-bindings";
|
|
2
2
|
export * from "@stream-io/state-store/react-bindings";
|
|
3
3
|
import { useState, useEffect, createContext, useContext, useRef, useCallback, useMemo } from "react";
|
|
4
|
-
import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-
|
|
4
|
+
import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-B7anS3xV.mjs";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const useCreateFeedsClient = ({
|
|
7
7
|
apiKey,
|
|
@@ -1693,6 +1693,7 @@ class FeedsApi {
|
|
|
1693
1693
|
const body = {
|
|
1694
1694
|
type: request?.type,
|
|
1695
1695
|
feeds: request?.feeds,
|
|
1696
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1696
1697
|
create_notification_activity: request?.create_notification_activity,
|
|
1697
1698
|
expires_at: request?.expires_at,
|
|
1698
1699
|
id: request?.id,
|
|
@@ -1895,6 +1896,7 @@ class FeedsApi {
|
|
|
1895
1896
|
};
|
|
1896
1897
|
const body = {
|
|
1897
1898
|
type: request?.type,
|
|
1899
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1898
1900
|
create_notification_activity: request?.create_notification_activity,
|
|
1899
1901
|
enforce_unique: request?.enforce_unique,
|
|
1900
1902
|
skip_push: request?.skip_push,
|
|
@@ -1975,6 +1977,7 @@ class FeedsApi {
|
|
|
1975
1977
|
id: request?.id
|
|
1976
1978
|
};
|
|
1977
1979
|
const body = {
|
|
1980
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1978
1981
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
1979
1982
|
run_activity_processors: request?.run_activity_processors,
|
|
1980
1983
|
unset: request?.unset,
|
|
@@ -1996,6 +1999,7 @@ class FeedsApi {
|
|
|
1996
1999
|
id: request?.id
|
|
1997
2000
|
};
|
|
1998
2001
|
const body = {
|
|
2002
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1999
2003
|
expires_at: request?.expires_at,
|
|
2000
2004
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
2001
2005
|
poll_id: request?.poll_id,
|
|
@@ -2175,6 +2179,7 @@ class FeedsApi {
|
|
|
2175
2179
|
async addComment(request) {
|
|
2176
2180
|
const body = {
|
|
2177
2181
|
comment: request?.comment,
|
|
2182
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2178
2183
|
create_notification_activity: request?.create_notification_activity,
|
|
2179
2184
|
id: request?.id,
|
|
2180
2185
|
object_id: request?.object_id,
|
|
@@ -2257,6 +2262,7 @@ class FeedsApi {
|
|
|
2257
2262
|
};
|
|
2258
2263
|
const body = {
|
|
2259
2264
|
comment: request?.comment,
|
|
2265
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2260
2266
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
2261
2267
|
skip_enrich_url: request?.skip_enrich_url,
|
|
2262
2268
|
skip_push: request?.skip_push,
|
|
@@ -2281,6 +2287,7 @@ class FeedsApi {
|
|
|
2281
2287
|
};
|
|
2282
2288
|
const body = {
|
|
2283
2289
|
type: request?.type,
|
|
2290
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2284
2291
|
create_notification_activity: request?.create_notification_activity,
|
|
2285
2292
|
enforce_unique: request?.enforce_unique,
|
|
2286
2293
|
skip_push: request?.skip_push,
|
|
@@ -2656,6 +2663,7 @@ class FeedsApi {
|
|
|
2656
2663
|
const body = {
|
|
2657
2664
|
source: request?.source,
|
|
2658
2665
|
target: request?.target,
|
|
2666
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2659
2667
|
create_notification_activity: request?.create_notification_activity,
|
|
2660
2668
|
follower_role: request?.follower_role,
|
|
2661
2669
|
push_preference: request?.push_preference,
|
|
@@ -2677,6 +2685,7 @@ class FeedsApi {
|
|
|
2677
2685
|
const body = {
|
|
2678
2686
|
source: request?.source,
|
|
2679
2687
|
target: request?.target,
|
|
2688
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2680
2689
|
create_notification_activity: request?.create_notification_activity,
|
|
2681
2690
|
push_preference: request?.push_preference,
|
|
2682
2691
|
skip_push: request?.skip_push,
|
|
@@ -3999,7 +4008,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
|
|
|
3999
4008
|
};
|
|
4000
4009
|
return result;
|
|
4001
4010
|
};
|
|
4002
|
-
const version = "0.3.
|
|
4011
|
+
const version = "0.3.44";
|
|
4003
4012
|
const axios = axiosImport.default ?? axiosImport;
|
|
4004
4013
|
class ApiClient {
|
|
4005
4014
|
constructor(apiKey, tokenManager, connectionIdManager, options) {
|
|
@@ -8060,4 +8069,4 @@ export {
|
|
|
8060
8069
|
shouldUpdateState as s,
|
|
8061
8070
|
uniqueArrayMerge as u
|
|
8062
8071
|
};
|
|
8063
|
-
//# sourceMappingURL=feeds-client-
|
|
8072
|
+
//# sourceMappingURL=feeds-client-B7anS3xV.mjs.map
|