diff --git a/examples/typescript/src/App.tsx b/examples/typescript/src/App.tsx index 36a957d6e..ee16cb311 100644 --- a/examples/typescript/src/App.tsx +++ b/examples/typescript/src/App.tsx @@ -27,6 +27,7 @@ type LocalAttachmentType = Record; type LocalChannelType = Record; type LocalCommandType = string; type LocalEventType = Record; +type LocalMemberType = Record; type LocalMessageType = Record; type LocalPollOptionType = Record; type LocalPollType = Record; @@ -38,6 +39,7 @@ type StreamChatGenerics = { channelType: LocalChannelType; commandType: LocalCommandType; eventType: LocalEventType; + memberType: LocalMemberType; messageType: LocalMessageType; pollOptionType: LocalPollOptionType; pollType: LocalPollType; diff --git a/examples/vite/src/App.tsx b/examples/vite/src/App.tsx index 3fbcdb6b7..748052c2c 100644 --- a/examples/vite/src/App.tsx +++ b/examples/vite/src/App.tsx @@ -41,6 +41,7 @@ type LocalAttachmentType = Record; type LocalChannelType = Record; type LocalCommandType = string; type LocalEventType = Record; +type LocalMemberType = Record; type LocalMessageType = Record; type LocalPollOptionType = Record; type LocalPollType = Record; @@ -52,6 +53,7 @@ type StreamChatGenerics = { channelType: LocalChannelType; commandType: LocalCommandType; eventType: LocalEventType; + memberType: LocalMemberType; messageType: LocalMessageType; pollOptionType: LocalPollOptionType; pollType: LocalPollType; diff --git a/package.json b/package.json index ad76321b4..171abe2ce 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "emoji-mart": "^5.4.0", "react": "^18.0.0 || ^17.0.0 || ^16.8.0", "react-dom": "^18.0.0 || ^17.0.0 || ^16.8.0", - "stream-chat": "^8.42.0" + "stream-chat": "^8.44.0" }, "peerDependenciesMeta": { "@breezystack/lamejs": { @@ -255,7 +255,7 @@ "react-dom": "^18.1.0", "react-test-renderer": "^18.1.0", "semantic-release": "^19.0.5", - "stream-chat": "^8.42.0", + "stream-chat": "^8.44.0", "ts-jest": "^29.1.4", "typescript": "^5.4.5" }, diff --git a/src/types/types.ts b/src/types/types.ts index d83cf4ad1..1b4beaf00 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -68,6 +68,7 @@ export type DefaultStreamChatGenerics = ExtendableGenerics & { channelType: DefaultChannelType; commandType: LiteralStringForUnion; eventType: UnknownType; + memberType: UnknownType; messageType: DefaultMessageType; pollOptionType: UnknownType; pollType: UnknownType; diff --git a/yarn.lock b/yarn.lock index e69774044..e48a75e86 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12200,10 +12200,10 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== -stream-chat@^8.42.0: - version "8.42.0" - resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.42.0.tgz#124ea2c10c6e8f7990304e1101c66751daf63e6c" - integrity sha512-8xZz+fmdHSOa3L1rHUOC4Wah+ipvLvdiOmeOfGK6uXnLOKlSHMOblwmQErrOoFM4SKfX9Bea3V8viaKUu6bPng== +stream-chat@^8.44.0: + version "8.44.0" + resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.44.0.tgz#e48446cf91db786e80a2e7358ac4f1601e5e97f0" + integrity sha512-7HNtimD8sT/51rsFibGcD6uBgKj+vlKyYCZMDzjYQEaEsrLqyAg48dOyNM4L2FTF5aXgo9SlxZr21SPleeA2BA== dependencies: "@babel/runtime" "^7.16.3" "@types/jsonwebtoken" "~9.0.0"