diff --git a/packages/adapter-session-unstorage/package.json b/packages/adapter-session-unstorage/package.json index 634c9c2a8..3d3ba4370 100644 --- a/packages/adapter-session-unstorage/package.json +++ b/packages/adapter-session-unstorage/package.json @@ -38,8 +38,12 @@ "unstorage": "^1.9.0" }, "devDependencies": { + "@azure/keyvault-secrets": "^4.7.0", "@lucia-auth/adapter-test": "latest", - "tsx": "^3.12.6", - "lucia": "latest" + "lucia": "latest", + "tsx": "^3.12.6" + }, + "dependencies": { + "unstorage": "^1.9.0" } } diff --git a/packages/adapter-session-unstorage/src/lucia.d.ts b/packages/adapter-session-unstorage/src/lucia.d.ts index 97a71b7b4..1762fe7db 100644 --- a/packages/adapter-session-unstorage/src/lucia.d.ts +++ b/packages/adapter-session-unstorage/src/lucia.d.ts @@ -4,3 +4,7 @@ declare namespace Lucia { type DatabaseUserAttributes = {}; type DatabaseSessionAttributes = {}; } + +// fix weird unstorage type errors +type R2Bucket = any; +type KVNamespace = any;