Skip to content

Commit

Permalink
Fix Unstorage adapter (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper authored Sep 14, 2023
1 parent ce71685 commit 22dd7d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/adapter-session-unstorage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 4 additions & 0 deletions packages/adapter-session-unstorage/src/lucia.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ declare namespace Lucia {
type DatabaseUserAttributes = {};
type DatabaseSessionAttributes = {};
}

// fix weird unstorage type errors
type R2Bucket = any;
type KVNamespace = any;

1 comment on commit 22dd7d0

@vercel
Copy link

@vercel vercel bot commented on 22dd7d0 Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.