@umituz/web-hono 1.8.4 → 1.8.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/docstore.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/web-hono",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "API backend platform for Cloudflare Workers + Neon Postgres: createApi skeleton + error envelope layer, full-CRUD resource factory (opt-in create/remove, list params), schema→client type bridge (ClientRow), apiFetch/apiWrite client, reactive fetch-backed store (+React hooks), and db lifecycle scripts (reset / snapshot / seed)",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/docstore.ts CHANGED
@@ -163,7 +163,7 @@ export function docStore(spec: DocStoreSpec) {
163
163
  return count;
164
164
  }
165
165
 
166
- async function patchDoc(db: CrudDb, key: string, id: string, patch: Doc): Promise<Doc | undefined> {
166
+ async function patchDoc(db: CrudDb, key: string, id: string, patch: Record<string, unknown>): Promise<Doc | undefined> {
167
167
  requireSpec(key);
168
168
  const col = byKey.get(key)!;
169
169
  const [row] = await db