@gnosticdev/hono-actions 1.2.0 → 1.2.1
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.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2317,6 +2317,7 @@ var getAstroHandler = (adapter) => {
|
|
|
2317
2317
|
switch (adapter) {
|
|
2318
2318
|
case "@astrojs/cloudflare":
|
|
2319
2319
|
return `
|
|
2320
|
+
/// <reference types="./types.d.ts" />
|
|
2320
2321
|
// Generated by Hono Actions Integration
|
|
2321
2322
|
import router from './router.js'
|
|
2322
2323
|
import type { APIContext, APIRoute } from 'astro'
|
|
@@ -2354,7 +2355,7 @@ function getBaseUrl() {
|
|
|
2354
2355
|
// server side (production) needs full url
|
|
2355
2356
|
return import.meta.env.SITE ?? ''
|
|
2356
2357
|
}
|
|
2357
|
-
export { parseResponse }
|
|
2358
|
+
export { parseResponse, hc }
|
|
2358
2359
|
export const honoClient = hc<HonoRouter>(getBaseUrl())
|
|
2359
2360
|
`;
|
|
2360
2361
|
|
package/package.json
CHANGED