@dotwire/react 0.3.0 → 0.4.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/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, type DotwireProviderProps, type PresenceAction, type PresenceState, type RoomMessagesAction, type RoomMessagesState, type RoomStatus, type TypingAction, type TypingEntry, type TypingState, type UsePresenceResult, type UseRoomOptions, type UseRoomResult, type UseTypingResult, initialPresenceState, initialRoomMessagesState, initialTypingState, presenceReducer, roomMessagesReducer, typingReducer, typingUsersOf, useConnectionState, useDotwireClient, usePresence, useRoom, useTyping };
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, type DotwireProviderProps, type PresenceAction, type PresenceState, type RoomMessagesAction, type RoomMessagesState, type RoomStatus, type TypingAction, type TypingEntry, type TypingState, type UsePresenceResult, type UseRoomOptions, type UseRoomResult, type UseTypingResult, initialPresenceState, initialRoomMessagesState, initialTypingState, presenceReducer, roomMessagesReducer, typingReducer, typingUsersOf, useConnectionState, useDotwireClient, usePresence, useRoom, useTyping };
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.0",
3
+ "version": "0.4.0",
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.3.0"
45
+ "@dotwire/client": "^0.4.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@dotwire/client": "*",
49
- "@types/node": "^22.0.0",
50
- "@types/react": "^18.3.0",
51
- "@types/react-dom": "^18.3.0",
52
- "react": "^18.3.0",
53
- "react-dom": "^18.3.0",
54
- "tsup": "^8.5.1",
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
  }