@stream-io/feeds-client 0.3.39 → 0.3.41
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 +14 -0
- package/README.md +1 -1
- 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-DnryJ-rf.mjs → feeds-client-CCo39BpN.mjs} +5 -3
- package/dist/feeds-client-CCo39BpN.mjs.map +1 -0
- package/dist/{feeds-client-CT1eKizN.js → feeds-client-KQeNaHO_.js} +5 -3
- package/dist/feeds-client-KQeNaHO_.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 +2 -0
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +3 -1
- package/src/gen/models/index.ts +4 -0
- package/dist/feeds-client-CT1eKizN.js.map +0 -1
- package/dist/feeds-client-DnryJ-rf.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-CCo39BpN.mjs";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const useCreateFeedsClient = ({
|
|
7
7
|
apiKey,
|
|
@@ -1976,6 +1976,7 @@ class FeedsApi {
|
|
|
1976
1976
|
};
|
|
1977
1977
|
const body = {
|
|
1978
1978
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
1979
|
+
run_activity_processors: request?.run_activity_processors,
|
|
1979
1980
|
unset: request?.unset,
|
|
1980
1981
|
set: request?.set
|
|
1981
1982
|
};
|
|
@@ -1999,6 +2000,7 @@ class FeedsApi {
|
|
|
1999
2000
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
2000
2001
|
poll_id: request?.poll_id,
|
|
2001
2002
|
restrict_replies: request?.restrict_replies,
|
|
2003
|
+
run_activity_processors: request?.run_activity_processors,
|
|
2002
2004
|
skip_enrich_url: request?.skip_enrich_url,
|
|
2003
2005
|
text: request?.text,
|
|
2004
2006
|
visibility: request?.visibility,
|
|
@@ -2029,7 +2031,7 @@ class FeedsApi {
|
|
|
2029
2031
|
};
|
|
2030
2032
|
const body = {};
|
|
2031
2033
|
const response = await this.apiClient.sendRequest(
|
|
2032
|
-
"
|
|
2034
|
+
"POST",
|
|
2033
2035
|
"/api/v2/feeds/activities/{id}/restore",
|
|
2034
2036
|
pathParams,
|
|
2035
2037
|
void 0,
|
|
@@ -3997,7 +3999,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
|
|
|
3997
3999
|
};
|
|
3998
4000
|
return result;
|
|
3999
4001
|
};
|
|
4000
|
-
const version = "0.3.
|
|
4002
|
+
const version = "0.3.41";
|
|
4001
4003
|
const axios = axiosImport.default ?? axiosImport;
|
|
4002
4004
|
class ApiClient {
|
|
4003
4005
|
constructor(apiKey, tokenManager, connectionIdManager, options) {
|
|
@@ -8023,4 +8025,4 @@ export {
|
|
|
8023
8025
|
shouldUpdateState as s,
|
|
8024
8026
|
uniqueArrayMerge as u
|
|
8025
8027
|
};
|
|
8026
|
-
//# sourceMappingURL=feeds-client-
|
|
8028
|
+
//# sourceMappingURL=feeds-client-CCo39BpN.mjs.map
|