@stream-io/feeds-client 0.2.3 → 0.2.4
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 +12 -0
- package/dist/index-react-bindings.browser.cjs +3 -1
- package/dist/index-react-bindings.browser.cjs.map +1 -1
- package/dist/index-react-bindings.browser.js +3 -1
- package/dist/index-react-bindings.browser.js.map +1 -1
- package/dist/index-react-bindings.node.cjs +3 -1
- package/dist/index-react-bindings.node.cjs.map +1 -1
- package/dist/index-react-bindings.node.js +3 -1
- package/dist/index-react-bindings.node.js.map +1 -1
- package/dist/index.browser.cjs +2 -2
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.js.map +1 -1
- package/dist/index.node.cjs +2 -2
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +2 -2
- package/dist/index.node.js.map +1 -1
- package/dist/src/common/search/FeedSearchSource.d.ts +2 -2
- package/dist/src/gen/models/index.d.ts +18 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/common/search/BaseSearchSource.ts +1 -1
- package/src/common/search/FeedSearchSource.ts +3 -2
- package/src/gen/models/index.ts +26 -8
package/dist/index.browser.js
CHANGED
|
@@ -6342,7 +6342,7 @@ class BaseSearchSourceBase {
|
|
|
6342
6342
|
updatePaginationStateFromQuery(result) {
|
|
6343
6343
|
const { items, next } = result;
|
|
6344
6344
|
const stateUpdate = {};
|
|
6345
|
-
if (
|
|
6345
|
+
if (Object.prototype.hasOwnProperty.call(result, 'next')) {
|
|
6346
6346
|
stateUpdate.next = next;
|
|
6347
6347
|
stateUpdate.hasNext = !!next;
|
|
6348
6348
|
}
|
|
@@ -6457,9 +6457,9 @@ class ActivitySearchSource extends BaseSearchSource {
|
|
|
6457
6457
|
class FeedSearchSource extends BaseSearchSource {
|
|
6458
6458
|
constructor(client, options) {
|
|
6459
6459
|
super(options);
|
|
6460
|
-
this.type = 'feed';
|
|
6461
6460
|
this.client = client;
|
|
6462
6461
|
this.feedGroupId = options?.groupId;
|
|
6462
|
+
this.type = `${this.feedGroupId}-feed`;
|
|
6463
6463
|
}
|
|
6464
6464
|
async query(searchQuery) {
|
|
6465
6465
|
const { connected_user: connectedUser } = this.client.state.getLatestValue();
|