@hipnation-truth/sdk 0.26.2 → 0.26.4

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/react.d.ts CHANGED
@@ -2775,6 +2775,20 @@ interface TruthSdkContextValue {
2775
2775
  offlineStore: OfflineStore;
2776
2776
  /** Whether the offline-reads layer is active for this provider. */
2777
2777
  offlineEnabled: boolean;
2778
+ /**
2779
+ * True when a Clerk token fetcher (`getAuthToken`) is wired. In that
2780
+ * mode Convex rejects unauthenticated reads, so reactive query hooks
2781
+ * must hold (pass "skip") until the user is authenticated — otherwise a
2782
+ * signed-out render throws UNAUTHENTICATED and blanks the app. When no
2783
+ * fetcher is configured this stays false and queries run unconditionally
2784
+ * (legacy behavior).
2785
+ */
2786
+ authGated: boolean;
2787
+ /**
2788
+ * Whether Convex currently considers the caller authenticated (driven
2789
+ * by `setAuth`'s onChange). Only meaningful when `authGated` is true.
2790
+ */
2791
+ authReady: boolean;
2778
2792
  }
2779
2793
  /**
2780
2794
  * Read the Truth REST API base URL + API key + shared client from