@poolse/react 2.1.4 → 2.1.6
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/README.md +3 -1
- package/package.json +17 -5
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# `@poolse/react`
|
|
2
2
|
|
|
3
|
-
React hooks for
|
|
3
|
+
React hooks library for realtime chat. Wraps [`@poolse/sdk`](https://www.npmjs.com/package/@poolse/sdk) in `PoolseProvider` + a typed hook per resource — `useMessages`, `useThread`, `useReactions`, `useTyping`, `usePresence`, `useMembers`, `useAttachmentUpload`. Works in both web React and React Native — same hook surface, same behaviour, same types. No UI: for components see [`@poolse/react-ui`](https://www.npmjs.com/package/@poolse/react-ui) (web) or [`@poolse/react-native`](https://www.npmjs.com/package/@poolse/react-native) (mobile).
|
|
4
|
+
|
|
5
|
+
> **MIT-licensed alternative to `sendbird-chat-react`, `stream-chat-react`, and `talkjs-react`.** Hooks-only by design — bring your own UI, or drop into the components when you don't want to.
|
|
4
6
|
|
|
5
7
|
> **⚠️ Upgrading from 1.x?** See [MIGRATING.md](https://github.com/poolse-hq/js-sdk/blob/main/MIGRATING.md). `useUser`, `useTyping`, `usePresence`, and `useMembers().removeMember` all key by your `external_id` now instead of poolse uuids.
|
|
6
8
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolse/react",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.1.6",
|
|
4
|
+
"description": "React hooks for realtime chat — PoolseProvider plus useMessages, useTyping, usePresence, useReactions, useMembers, useAttachmentUpload. Works on web and React Native. No UI. MIT — alternative to sendbird-chat-react and stream-chat-react.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"poolse",
|
|
8
7
|
"chat",
|
|
8
|
+
"chat-sdk",
|
|
9
|
+
"chat-hooks",
|
|
10
|
+
"react-chat",
|
|
9
11
|
"react",
|
|
12
|
+
"react-hooks",
|
|
10
13
|
"hooks",
|
|
11
14
|
"realtime",
|
|
15
|
+
"realtime-chat",
|
|
16
|
+
"messaging",
|
|
12
17
|
"websocket",
|
|
13
|
-
"
|
|
18
|
+
"typescript",
|
|
19
|
+
"in-app-messaging",
|
|
20
|
+
"use-messages",
|
|
21
|
+
"use-typing",
|
|
22
|
+
"use-presence",
|
|
23
|
+
"sendbird-alternative",
|
|
24
|
+
"stream-chat-alternative",
|
|
25
|
+
"poolse"
|
|
14
26
|
],
|
|
15
27
|
"homepage": "https://poolse.dev",
|
|
16
28
|
"repository": {
|
|
@@ -43,7 +55,7 @@
|
|
|
43
55
|
"CHANGELOG.md"
|
|
44
56
|
],
|
|
45
57
|
"dependencies": {
|
|
46
|
-
"@poolse/sdk": "2.1.
|
|
58
|
+
"@poolse/sdk": "2.1.6"
|
|
47
59
|
},
|
|
48
60
|
"peerDependencies": {
|
|
49
61
|
"react": ">=18"
|