@poolse/react 2.29.0 → 3.0.0
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/LICENSE +206 -21
- package/README.md +2 -2
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to `@poolse/react` are documented here. Format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
|
|
5
5
|
[semver](https://semver.org).
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
## [3.0.0] — 2026-10-26
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **License.** From 3.0.0 this package is under the poolse SDK License
|
|
13
|
+
(see `LICENSE`): free to use, including commercially, in apps built on
|
|
14
|
+
poolse; not for use with other backends or to build a competing
|
|
15
|
+
service. Versions before 3.0.0 remain MIT.
|
|
16
|
+
- First stable release; all `@poolse/*` packages move to 3.0.0 together.
|
|
17
|
+
Earlier versions are deprecated. See `MIGRATING.md`.
|
|
18
|
+
|
|
7
19
|
## [2.29.0] — 2026-10-22
|
|
8
20
|
|
|
9
21
|
### Removed
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,206 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
poolse SDK License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Torsten Labs DOO. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Version 1.0. Applies to poolse SDK releases from version 3.0.0 onwards.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
SUMMARY (NOT PART OF THE LICENSE TERMS)
|
|
9
|
+
|
|
10
|
+
This summary is for convenience only. It is not part of the license and
|
|
11
|
+
has no legal effect. If it differs from the terms below, the terms below
|
|
12
|
+
apply.
|
|
13
|
+
|
|
14
|
+
- You can use, copy and modify the SDK for free, including in
|
|
15
|
+
commercial apps, as long as your app talks to the poolse Services.
|
|
16
|
+
- You can ship the SDK inside your app, compiled or bundled, including
|
|
17
|
+
the native iOS and Android source code needed to build it.
|
|
18
|
+
- You cannot use the SDK with any other backend, use it to build a
|
|
19
|
+
competing chat, realtime, calling or push service, or redistribute
|
|
20
|
+
or sell it as a standalone library or SDK.
|
|
21
|
+
- Keep this license notice in copies of the SDK source.
|
|
22
|
+
- The SDK comes with no warranty.
|
|
23
|
+
- Versions published before 3.0.0 remain under the MIT License.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
TERMS AND CONDITIONS
|
|
27
|
+
|
|
28
|
+
1. Definitions
|
|
29
|
+
|
|
30
|
+
"Licensor" means Torsten Labs DOO, Ilindenska 335, 1200 Tetovo, North
|
|
31
|
+
Macedonia.
|
|
32
|
+
|
|
33
|
+
"You" means the individual or legal entity exercising rights under this
|
|
34
|
+
license. If you accept this license on behalf of an organisation, "you"
|
|
35
|
+
includes that organisation.
|
|
36
|
+
|
|
37
|
+
"SDK" means the software in this package or repository published by the
|
|
38
|
+
Licensor under this license, including source code, compiled code, native
|
|
39
|
+
iOS and Android code, type definitions, configuration plugins, examples
|
|
40
|
+
and documentation, together with any updates the Licensor provides under
|
|
41
|
+
this license.
|
|
42
|
+
|
|
43
|
+
"poolse Services" means the hosted services operated by the Licensor under
|
|
44
|
+
the name "poolse", currently offered at https://poolse.dev, including their
|
|
45
|
+
APIs, realtime, calling and push notification infrastructure. It also
|
|
46
|
+
includes any self-hosted or on-premise deployment of poolse that you have
|
|
47
|
+
licensed directly from the Licensor, for as long as that license is in
|
|
48
|
+
effect.
|
|
49
|
+
|
|
50
|
+
"Application" means a website, mobile app, desktop app, server or other
|
|
51
|
+
software product that you develop and that provides material functionality
|
|
52
|
+
of its own beyond the SDK.
|
|
53
|
+
|
|
54
|
+
"Derivative Work" means any modification of the SDK, and any work that
|
|
55
|
+
contains the SDK or a substantial portion of it.
|
|
56
|
+
|
|
57
|
+
2. License Grant
|
|
58
|
+
|
|
59
|
+
Subject to the terms of this license, the Licensor grants you a worldwide,
|
|
60
|
+
non-exclusive, non-transferable, royalty-free license to:
|
|
61
|
+
|
|
62
|
+
(a) install, use, copy and modify the SDK, and create Derivative Works,
|
|
63
|
+
solely to develop, test and operate Applications that use the poolse
|
|
64
|
+
Services; and
|
|
65
|
+
|
|
66
|
+
(b) distribute the SDK and your Derivative Works, in source or compiled
|
|
67
|
+
form, only as an integrated part of your Applications. This includes
|
|
68
|
+
bundled or minified JavaScript and the native iOS and Android source
|
|
69
|
+
code that must be included for your Application to be compiled.
|
|
70
|
+
|
|
71
|
+
Your Applications may be commercial, and you may charge for them.
|
|
72
|
+
|
|
73
|
+
3. Restrictions
|
|
74
|
+
|
|
75
|
+
You may not, and may not allow anyone else to:
|
|
76
|
+
|
|
77
|
+
(a) use the SDK or any Derivative Work with, or adapt it to connect to,
|
|
78
|
+
any backend, API or service other than the poolse Services;
|
|
79
|
+
|
|
80
|
+
(b) use the SDK or any Derivative Work to build, offer or operate a
|
|
81
|
+
product or service that competes with the poolse Services, including
|
|
82
|
+
any chat, messaging, realtime, voice or video calling, or push
|
|
83
|
+
notification service or infrastructure offered to third parties;
|
|
84
|
+
|
|
85
|
+
(c) sell, sublicense, rent, lease or distribute the SDK or any Derivative
|
|
86
|
+
Work on its own, or as a library, SDK, framework, component kit or
|
|
87
|
+
developer tool, rather than as an integrated part of an Application;
|
|
88
|
+
|
|
89
|
+
(d) remove, alter or obscure this license, any copyright notice, or any
|
|
90
|
+
other proprietary notice in the SDK; or
|
|
91
|
+
|
|
92
|
+
(e) use the SDK in violation of applicable law or of the terms of service
|
|
93
|
+
that govern your use of the poolse Services.
|
|
94
|
+
|
|
95
|
+
Nothing in this license grants you any right to use the poolse Services
|
|
96
|
+
themselves. Your use of the poolse Services is governed by your separate
|
|
97
|
+
agreement with the Licensor, including its terms of service.
|
|
98
|
+
|
|
99
|
+
4. Notices
|
|
100
|
+
|
|
101
|
+
Any copy of the SDK or a Derivative Work in source form, including native
|
|
102
|
+
source code distributed with an Application, must keep this license file
|
|
103
|
+
or a clear reference to it. You do not need to display this license to the
|
|
104
|
+
end users of your Application.
|
|
105
|
+
|
|
106
|
+
5. Contributions
|
|
107
|
+
|
|
108
|
+
If you submit code, documentation or other material to the Licensor for
|
|
109
|
+
inclusion in the SDK (for example, as a pull request), you grant the
|
|
110
|
+
Licensor a perpetual, worldwide, irrevocable, royalty-free license to use,
|
|
111
|
+
modify, sublicense and distribute that material as part of the SDK or any
|
|
112
|
+
other Licensor product, and you confirm that you have the right to grant
|
|
113
|
+
that license.
|
|
114
|
+
|
|
115
|
+
6. Ownership
|
|
116
|
+
|
|
117
|
+
The SDK is licensed, not sold. The Licensor and its licensors keep all
|
|
118
|
+
rights, title and interest in the SDK, including all intellectual property
|
|
119
|
+
rights. All rights not expressly granted in this license are reserved. The
|
|
120
|
+
names "poolse" and "Torsten Labs" and their logos are not licensed to you
|
|
121
|
+
except as needed to truthfully describe that your Application uses the
|
|
122
|
+
poolse Services.
|
|
123
|
+
|
|
124
|
+
You own your modifications to the SDK, subject to the Licensor's rights in
|
|
125
|
+
the SDK and to the terms of this license.
|
|
126
|
+
|
|
127
|
+
7. Feedback
|
|
128
|
+
|
|
129
|
+
If you give the Licensor suggestions or feedback about the SDK, the
|
|
130
|
+
Licensor may use them without any obligation to you.
|
|
131
|
+
|
|
132
|
+
8. Termination
|
|
133
|
+
|
|
134
|
+
This license ends automatically, without notice, if you breach any of its
|
|
135
|
+
terms. If you cure the breach within 30 days after you become aware of it,
|
|
136
|
+
your license is reinstated, unless the Licensor has notified you in writing
|
|
137
|
+
that it is terminating your license, or you have breached this license
|
|
138
|
+
before.
|
|
139
|
+
|
|
140
|
+
When this license ends, you must stop using and distributing the SDK and
|
|
141
|
+
your Derivative Works, and delete all copies in your possession. Copies of
|
|
142
|
+
Applications already delivered to end users before termination may continue
|
|
143
|
+
to be used by those end users. Sections 3, 5, 6, 7, 9, 10, 11 and 12
|
|
144
|
+
survive termination.
|
|
145
|
+
|
|
146
|
+
9. Disclaimer of Warranty
|
|
147
|
+
|
|
148
|
+
THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY OF ANY
|
|
149
|
+
KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE
|
|
150
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
|
151
|
+
NON-INFRINGEMENT. THE LICENSOR DOES NOT WARRANT THAT THE SDK WILL BE
|
|
152
|
+
ERROR-FREE, SECURE OR UNINTERRUPTED. YOU USE THE SDK AT YOUR OWN RISK.
|
|
153
|
+
|
|
154
|
+
10. Limitation of Liability
|
|
155
|
+
|
|
156
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL THE
|
|
157
|
+
LICENSOR, ITS AFFILIATES OR ITS CONTRIBUTORS BE LIABLE FOR ANY INDIRECT,
|
|
158
|
+
INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY OR PUNITIVE DAMAGES, OR FOR
|
|
159
|
+
ANY LOSS OF PROFITS, REVENUE, DATA, GOODWILL OR BUSINESS OPPORTUNITY,
|
|
160
|
+
ARISING OUT OF OR IN CONNECTION WITH THIS LICENSE OR THE SDK, WHETHER IN
|
|
161
|
+
CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE, EVEN IF ADVISED OF THE
|
|
162
|
+
POSSIBILITY OF SUCH DAMAGES. BECAUSE THE SDK IS PROVIDED FREE OF CHARGE,
|
|
163
|
+
THE LICENSOR'S TOTAL LIABILITY ARISING OUT OF OR IN CONNECTION WITH THIS
|
|
164
|
+
LICENSE OR THE SDK WILL NOT EXCEED ONE HUNDRED EUROS (EUR 100).
|
|
165
|
+
|
|
166
|
+
NOTHING IN THIS LICENSE EXCLUDES OR LIMITS ANY LIABILITY THAT CANNOT BE
|
|
167
|
+
EXCLUDED OR LIMITED UNDER APPLICABLE LAW, INCLUDING LIABILITY FOR WILFUL
|
|
168
|
+
MISCONDUCT OR GROSS NEGLIGENCE.
|
|
169
|
+
|
|
170
|
+
11. Governing Law and Disputes
|
|
171
|
+
|
|
172
|
+
This license is governed by the laws of the Republic of North Macedonia,
|
|
173
|
+
without regard to its conflict of laws rules. The courts of the Republic of
|
|
174
|
+
North Macedonia have exclusive jurisdiction over any dispute arising out of
|
|
175
|
+
or in connection with this license, except that the Licensor may seek
|
|
176
|
+
injunctive relief to protect its intellectual property in any court of
|
|
177
|
+
competent jurisdiction.
|
|
178
|
+
|
|
179
|
+
12. General
|
|
180
|
+
|
|
181
|
+
This license is the entire agreement between you and the Licensor about the
|
|
182
|
+
SDK. If any provision is found unenforceable, it will be enforced to the
|
|
183
|
+
maximum extent possible and the remaining provisions stay in effect. A
|
|
184
|
+
failure to enforce a provision is not a waiver. You may not assign this
|
|
185
|
+
license without the Licensor's prior written consent. The Licensor may
|
|
186
|
+
publish new versions of this license; each release of the SDK is governed
|
|
187
|
+
by the version of this license included with it.
|
|
188
|
+
|
|
189
|
+
13. Earlier Versions
|
|
190
|
+
|
|
191
|
+
Versions of the poolse SDK packages published before version 3.0.0
|
|
192
|
+
(including @poolse/sdk, @poolse/react, @poolse/react-ui and
|
|
193
|
+
@poolse/react-native) were released under the MIT License and remain
|
|
194
|
+
available under the MIT License. This license applies only to versions
|
|
195
|
+
3.0.0 and later, and to any package first published by the Licensor under
|
|
196
|
+
this license.
|
|
197
|
+
|
|
198
|
+
14. Contact
|
|
199
|
+
|
|
200
|
+
Questions about this license, or requests for permission beyond it, can be
|
|
201
|
+
sent to legal@poolse.dev.
|
|
202
|
+
|
|
203
|
+
Torsten Labs DOO
|
|
204
|
+
Ilindenska 335
|
|
205
|
+
1200 Tetovo
|
|
206
|
+
North Macedonia
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
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
4
|
|
|
5
|
-
> **
|
|
5
|
+
> **Source-available 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.
|
|
6
6
|
|
|
7
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.
|
|
8
8
|
|
|
@@ -332,4 +332,4 @@ export { ApiError, AuthError, PoolseError, NetworkError, RateLimitedError };
|
|
|
332
332
|
|
|
333
333
|
## License
|
|
334
334
|
|
|
335
|
-
MIT
|
|
335
|
+
Licensed under the [poolse SDK License](./LICENSE) from 3.0.0 (source-available, for use with the poolse Services only); versions before 3.0.0 remain MIT.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolse/react",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "React hooks for realtime chat
|
|
5
|
-
"license": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "React hooks for realtime chat \u2014 PoolseProvider plus useMessages, useTyping, usePresence, useReactions, useMembers, useAttachmentUpload. Works on web and React Native. No UI. MIT \u2014 alternative to sendbird-chat-react and stream-chat-react.",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"chat",
|
|
8
8
|
"chat-sdk",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"files": [
|
|
53
53
|
"dist",
|
|
54
54
|
"README.md",
|
|
55
|
+
"LICENSE",
|
|
55
56
|
"CHANGELOG.md"
|
|
56
57
|
],
|
|
57
58
|
"scripts": {
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
"lint": "eslint src test"
|
|
63
64
|
},
|
|
64
65
|
"dependencies": {
|
|
65
|
-
"@poolse/sdk": "^
|
|
66
|
+
"@poolse/sdk": "^3.0.0"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
68
69
|
"react": ">=18"
|