convex-helpers
Advanced tools
Comparing version 0.1.29-alpha.2 to 0.1.29
@@ -38,2 +38,7 @@ /** | ||
* @param idGenerator - Function to return a new, unique session ID string. Defaults to crypto.randomUUID | ||
* @param ssrFriendly - Returns SSR_DEFAULT on the first pass, so hydration | ||
* doesn't mismatch and an ID isn't generated server-side. | ||
* useSessionQuery will skip queries until there is a real value. | ||
* However, if you're using useSessionId, consider checking for SSR_DEFAULT. | ||
* Defaults to false, where it will always return a valid id. | ||
* @returns A provider to wrap your React nodes which provides the session ID. | ||
@@ -40,0 +45,0 @@ * To be used with useSessionQuery and useSessionMutation. |
@@ -32,2 +32,7 @@ "use client"; | ||
* @param idGenerator - Function to return a new, unique session ID string. Defaults to crypto.randomUUID | ||
* @param ssrFriendly - Returns SSR_DEFAULT on the first pass, so hydration | ||
* doesn't mismatch and an ID isn't generated server-side. | ||
* useSessionQuery will skip queries until there is a real value. | ||
* However, if you're using useSessionId, consider checking for SSR_DEFAULT. | ||
* Defaults to false, where it will always return a valid id. | ||
* @returns A provider to wrap your React nodes which provides the session ID. | ||
@@ -34,0 +39,0 @@ * To be used with useSessionQuery and useSessionMutation. |
{ | ||
"name": "convex-helpers", | ||
"version": "0.1.29-alpha.2", | ||
"version": "0.1.29", | ||
"description": "A collection of useful code to complement the official convex package.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -77,2 +77,7 @@ "use client"; | ||
* @param idGenerator - Function to return a new, unique session ID string. Defaults to crypto.randomUUID | ||
* @param ssrFriendly - Returns SSR_DEFAULT on the first pass, so hydration | ||
* doesn't mismatch and an ID isn't generated server-side. | ||
* useSessionQuery will skip queries until there is a real value. | ||
* However, if you're using useSessionId, consider checking for SSR_DEFAULT. | ||
* Defaults to false, where it will always return a valid id. | ||
* @returns A provider to wrap your React nodes which provides the session ID. | ||
@@ -79,0 +84,0 @@ * To be used with useSessionQuery and useSessionMutation. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
435238
7711