@lunora/svelte 1.0.0-alpha.1 → 1.0.0-alpha.10
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/README.md +2 -0
- package/__assets__/package-og.svg +1 -1
- package/dist/index.d.mts +40 -1
- package/dist/index.d.ts +40 -1
- package/dist/index.mjs +10 -9
- package/dist/packem_shared/{auth-D8EV6u02.mjs → auth-DLPf_bK9.mjs} +1 -1
- package/dist/packem_shared/{connectionStatus-CROr6jbn.mjs → connectionStatus-CRsOMeYl.mjs} +1 -1
- package/dist/packem_shared/flag-19nEeKPT.mjs +56 -0
- package/dist/packem_shared/{hydratePreloaded-BUv3k4-s.mjs → hydratePreloaded-D5rUJdXy.mjs} +1 -1
- package/dist/packem_shared/{paginatedQuery-CfCSITZv.mjs → infiniteQuery-jPMQw8Vz.mjs} +1 -1
- package/dist/packem_shared/{mutation-CA3qEPCB.mjs → mutation-CnDkAaLH.mjs} +1 -1
- package/dist/packem_shared/{presence-Bf-y7QzR.mjs → presence-BQWixJ2T.mjs} +1 -1
- package/dist/packem_shared/{query-B14VE2Qg.mjs → query-D8Pct9Qe.mjs} +1 -1
- package/dist/packem_shared/{subscription-B3HDNcpq.mjs → subscription-twuBT_Wb.mjs} +1 -1
- package/package.json +5 -5
- /package/dist/packem_shared/{setLunoraClient--bwSz7F6.mjs → getLunoraClient--bwSz7F6.mjs} +0 -0
package/README.md
CHANGED
|
@@ -108,6 +108,8 @@ All functions that require a component lifecycle (presence, rate-limit) return a
|
|
|
108
108
|
| `infiniteQuery` | `useInfiniteQuery` | Infinite-scroll variant of `paginatedQuery`. |
|
|
109
109
|
| `auth` | `useAuth` | Reactive auth stores (`user`, `token`) plus `setToken`. |
|
|
110
110
|
| `presence` | `usePresence` | Collaborative-awareness — heartbeat + live present-members readable + `teardown`. |
|
|
111
|
+
| `flag` | `useFlag` | Live OpenFeature flag readable store — holds `default` until the server answers. |
|
|
112
|
+
| `flags` | `useFlags` | Batch variant — a readable store of one value per key in the defaults map. |
|
|
111
113
|
| `rateLimit` | `useRateLimit` | Client-side rate-limit mirror — `ok`, `disabled`, `retryAfter` readables + `teardown`. |
|
|
112
114
|
| `connectionStatus` | `useConnectionStatus` | Reactive connection state store. |
|
|
113
115
|
| `hydratePreloaded` | `usePreloadedQuery` | Seed a query store from an SSR `Preloaded` token, then go live. |
|