@lunora/vue 1.0.0-alpha.185 → 1.0.0-alpha.186
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.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -49,11 +49,11 @@ declare const AuthLoading: Component;
|
|
|
49
49
|
* (`client.identityEpoch() > 0`), every `hydratePreloaded` on the client (mounted
|
|
50
50
|
* then or later) stops using it and holds `undefined` until the live value
|
|
51
51
|
* arrives — matching `@lunora/react`'s `usePreloadedQuery`. The ref is typed
|
|
52
|
-
* `Ref<T>` like
|
|
52
|
+
* `Ref<T | undefined>` like `useQuery`, so guard for that window.
|
|
53
53
|
*/
|
|
54
54
|
declare const hydratePreloaded: <T>(preloaded: Preloaded<T>, options?: {
|
|
55
55
|
onError?: SubscriptionErrorCallback;
|
|
56
|
-
}) => Ref<T>;
|
|
56
|
+
}) => Ref<T | undefined>;
|
|
57
57
|
/**
|
|
58
58
|
* Injection key carrying the {@link LunoraClient} down the component tree.
|
|
59
59
|
* Exported so advanced consumers can inject it by hand; most apps use
|
package/dist/index.d.ts
CHANGED
|
@@ -49,11 +49,11 @@ declare const AuthLoading: Component;
|
|
|
49
49
|
* (`client.identityEpoch() > 0`), every `hydratePreloaded` on the client (mounted
|
|
50
50
|
* then or later) stops using it and holds `undefined` until the live value
|
|
51
51
|
* arrives — matching `@lunora/react`'s `usePreloadedQuery`. The ref is typed
|
|
52
|
-
* `Ref<T>` like
|
|
52
|
+
* `Ref<T | undefined>` like `useQuery`, so guard for that window.
|
|
53
53
|
*/
|
|
54
54
|
declare const hydratePreloaded: <T>(preloaded: Preloaded<T>, options?: {
|
|
55
55
|
onError?: SubscriptionErrorCallback;
|
|
56
|
-
}) => Ref<T>;
|
|
56
|
+
}) => Ref<T | undefined>;
|
|
57
57
|
/**
|
|
58
58
|
* Injection key carrying the {@link LunoraClient} down the component tree.
|
|
59
59
|
* Exported so advanced consumers can inject it by hand; most apps use
|