diff --git a/bun.lockb b/bun.lockb index d126347..6c07805 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/lib/middleware/with-db.ts b/lib/middleware/with-db.ts index 5ae5826..5c22ae3 100644 --- a/lib/middleware/with-db.ts +++ b/lib/middleware/with-db.ts @@ -1,6 +1,6 @@ import type { DbClient } from "lib/db/db-client" import { createDatabase } from "lib/db/db-client" -import type { Middleware } from "winterspec" +import type { Middleware } from "winterspec/middleware" export const withDb: Middleware< {}, diff --git a/package.json b/package.json index 2e78f2e..cfa678b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "winterspec": "^0.0.86", + "winterspec": "^0.0.107", "zod": "^3.23.8", "zustand": "^4.5.5", "zustand-hoist": "^2.0.1" diff --git a/tests/fixtures/start-server.ts b/tests/fixtures/start-server.ts index a3788f6..e9e522a 100644 --- a/tests/fixtures/start-server.ts +++ b/tests/fixtures/start-server.ts @@ -5,7 +5,7 @@ import { import { Request as EdgeRuntimeRequest } from "@edge-runtime/primitives" import { join } from "node:path" import os from "node:os" -import type { Middleware } from "winterspec" +import type { Middleware } from "winterspec/middleware" import { createDatabase } from "lib/db/db-client" export const startServer = async ({