@lunora/vue 1.0.0-alpha.185 → 1.0.0-alpha.187

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 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 every other adapter's return, so guard for that window.
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 every other adapter's return, so guard for that window.
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/vue",
3
- "version": "1.0.0-alpha.185",
3
+ "version": "1.0.0-alpha.187",
4
4
  "description": "Vue adapter for Lunora — live composables, optimistic mutations, and reactive loaders",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -54,7 +54,7 @@
54
54
  "access": "public"
55
55
  },
56
56
  "dependencies": {
57
- "@lunora/client": "1.0.0-alpha.150",
57
+ "@lunora/client": "1.0.0-alpha.151",
58
58
  "@lunora/errors": "1.0.0-alpha.45",
59
59
  "@lunora/ratelimit": "1.0.0-alpha.87",
60
60
  "@visulima/storage-client": "1.0.3"