@gnosticdev/hono-actions 2.0.11 → 2.1.0
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 +3 -1
- package/dist/actions.d.ts +1237 -26
- package/dist/index.d.ts +1 -24
- package/dist/index.js +73 -9
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ bun add @gnosticdev/hono-actions
|
|
|
16
16
|
|
|
17
17
|
This package requires:
|
|
18
18
|
|
|
19
|
-
- `astro`: ^5.13.0
|
|
19
|
+
- `astro`: ^5.13.0 or ^6.0.0
|
|
20
20
|
|
|
21
21
|
> [!IMPORTANT]
|
|
22
22
|
> For typescript, make sure you set `strictNullChecks` to `true`, or extend `astro/tsconfigs/strict(est)` in your `tsconfig.json`
|
|
@@ -209,6 +209,8 @@ When using this library, you may need to augment the type interfaces to add cust
|
|
|
209
209
|
|
|
210
210
|
When using the `@astrojs/cloudflare` adapter, the library automatically exports Cloudflare runtime types. However, it assumes that Cloudflare types have been generated by Wrangler via the `wrangler types` command, which creates an `Env` interface that is automatically added to `HonoEnv['Bindings']`.
|
|
211
211
|
|
|
212
|
+
For Astro 6 and newer, use the matching Astro 6 adapter majors (`@astrojs/cloudflare` v13+, `@astrojs/node` v10+, `@astrojs/vercel` v10+, `@astrojs/netlify` v7+).
|
|
213
|
+
|
|
212
214
|
To generate Cloudflare types:
|
|
213
215
|
|
|
214
216
|
```bash
|