@dotwire/react 0.3.0 → 0.4.1
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/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +8 -8
package/dist/index.d.cts
CHANGED
|
@@ -143,4 +143,5 @@ interface UsePresenceResult {
|
|
|
143
143
|
*/
|
|
144
144
|
declare function usePresence(roomId: string): UsePresenceResult;
|
|
145
145
|
|
|
146
|
-
export { DotwireContext, DotwireProvider,
|
|
146
|
+
export { DotwireContext, DotwireProvider, initialPresenceState, initialRoomMessagesState, initialTypingState, presenceReducer, roomMessagesReducer, typingReducer, typingUsersOf, useConnectionState, useDotwireClient, usePresence, useRoom, useTyping };
|
|
147
|
+
export type { DotwireProviderProps, PresenceAction, PresenceState, RoomMessagesAction, RoomMessagesState, RoomStatus, TypingAction, TypingEntry, TypingState, UsePresenceResult, UseRoomOptions, UseRoomResult, UseTypingResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -143,4 +143,5 @@ interface UsePresenceResult {
|
|
|
143
143
|
*/
|
|
144
144
|
declare function usePresence(roomId: string): UsePresenceResult;
|
|
145
145
|
|
|
146
|
-
export { DotwireContext, DotwireProvider,
|
|
146
|
+
export { DotwireContext, DotwireProvider, initialPresenceState, initialRoomMessagesState, initialTypingState, presenceReducer, roomMessagesReducer, typingReducer, typingUsersOf, useConnectionState, useDotwireClient, usePresence, useRoom, useTyping };
|
|
147
|
+
export type { DotwireProviderProps, PresenceAction, PresenceState, RoomMessagesAction, RoomMessagesState, RoomStatus, TypingAction, TypingEntry, TypingState, UsePresenceResult, UseRoomOptions, UseRoomResult, UseTypingResult };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotwire/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "React hooks and provider for @dotwire/client: DotwireProvider, useRoom, useTyping, usePresence, useConnectionState.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"type": "module",
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=18",
|
|
45
|
-
"@dotwire/client": "^0.
|
|
45
|
+
"@dotwire/client": "^0.4.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@dotwire/client": "*",
|
|
49
|
-
"@types/node": "^
|
|
50
|
-
"@types/react": "^
|
|
51
|
-
"@types/react-dom": "^
|
|
52
|
-
"react": "^
|
|
53
|
-
"react-dom": "^
|
|
54
|
-
"tsup": "^
|
|
49
|
+
"@types/node": "^26.6.6",
|
|
50
|
+
"@types/react": "^19.3.0",
|
|
51
|
+
"@types/react-dom": "^19.3.0",
|
|
52
|
+
"react": "^19.3.1",
|
|
53
|
+
"react-dom": "^19.3.1",
|
|
54
|
+
"tsup": "^9.0.0",
|
|
55
55
|
"typescript": "^5.8.0"
|
|
56
56
|
}
|
|
57
57
|
}
|