@lunora/astro 1.0.0-alpha.49 → 1.0.0-alpha.50

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.mjs CHANGED
@@ -1,2 +1 @@
1
- export { lunora } from './packem_shared/lunora-BPXRQkP4.mjs';
2
- export { withFrameworkWorker as withLunora } from '@lunora/runtime';
1
+ import{lunora as a}from"./packem_shared/lunora-DR6Obxyg.mjs";import{withFrameworkWorker as t}from"@lunora/runtime";export{a as lunora,t as withLunora};
@@ -0,0 +1 @@
1
+ const t=(r={})=>{const o=(r.serverEntry??"src/worker.ts").trim();return{hooks:{"astro:config:done":()=>{if(o.length===0)throw new TypeError("@lunora/astro: `serverEntry` must be a non-empty path.")}},name:"@lunora/astro"}};export{t as lunora};
package/dist/server.mjs CHANGED
@@ -1 +1 @@
1
- export { createServerClient, deserializePreloaded, getServerSession, preloadQuery, preloadedQueryResult, serializePreloaded } from '@lunora/client/ssr';
1
+ import{createServerClient as d,deserializePreloaded as l,getServerSession as a,preloadQuery as o,preloadedQueryResult as i,serializePreloaded as s}from"@lunora/client/ssr";export{d as createServerClient,l as deserializePreloaded,a as getServerSession,o as preloadQuery,i as preloadedQueryResult,s as serializePreloaded};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/astro",
3
- "version": "1.0.0-alpha.49",
3
+ "version": "1.0.0-alpha.50",
4
4
  "description": "Astro integration for Lunora — single-worker composition plus reactive-loader server helpers",
5
5
  "keywords": [
6
6
  "astro",
@@ -50,8 +50,8 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@lunora/client": "1.0.0-alpha.28",
54
- "@lunora/runtime": "1.0.0-alpha.37"
53
+ "@lunora/client": "1.0.0-alpha.29",
54
+ "@lunora/runtime": "1.0.0-alpha.38"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "astro": ">=6.0.0"
@@ -1,15 +0,0 @@
1
- const lunora = (options = {}) => {
2
- const serverEntry = (options.serverEntry ?? "src/worker.ts").trim();
3
- return {
4
- hooks: {
5
- "astro:config:done": () => {
6
- if (serverEntry.length === 0) {
7
- throw new TypeError("@lunora/astro: `serverEntry` must be a non-empty path.");
8
- }
9
- }
10
- },
11
- name: "@lunora/astro"
12
- };
13
- };
14
-
15
- export { lunora };