diff --git a/src/client.ts b/src/client.ts index 4578a8df..b8f8c88e 100644 --- a/src/client.ts +++ b/src/client.ts @@ -803,6 +803,7 @@ export class StreamClient; + user_id?: string; }) { const extraParams: { foreign_ids?: string; ids?: string; timestamps?: string } = {}; diff --git a/src/feed.ts b/src/feed.ts index d86a66ca..04d4d351 100644 --- a/src/feed.ts +++ b/src/feed.ts @@ -22,6 +22,10 @@ export type EnrichOptions = { withOwnReactions?: boolean; withReactionCounts?: boolean; withRecentReactions?: boolean; + + /** + * @deprecated Use `user_id` instead. + */ withUserId?: string; };