File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1919 "import" : " ./dist/storage/redis.mjs"
2020 },
2121 "./drizzle" : {
22- "types" : " ./dist/drizzle/schema .d.ts" ,
23- "import" : " ./dist/drizzle/schema .mjs"
22+ "types" : " ./dist/storage/drizzle .d.ts" ,
23+ "import" : " ./dist/storage/drizzle .mjs"
2424 },
2525 "./prisma" : {
2626 "types" : " ./dist/storage/prisma.d.ts" ,
2929 "./kysely" : {
3030 "types" : " ./dist/storage/kysely.d.ts" ,
3131 "import" : " ./dist/storage/kysely.mjs"
32+ },
33+ "./drizzle/schema" : {
34+ "types" : " ./dist/drizzle/schema.d.ts" ,
35+ "import" : " ./dist/drizzle/schema.mjs"
3236 }
3337 },
3438 "repository" : {
Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ export class ApiKeyManager {
167167 } else if ( config . cache && typeof config . cache === "object" ) {
168168 this . cache = config . cache ;
169169 }
170- // else: cache is false/undefined by default, no caching
171170 }
172171
173172 generateKey ( ) : string {
@@ -357,7 +356,6 @@ export class ApiKeyManager {
357356 return createErrorResult ( ApiKeyErrorCode . INVALID_KEY ) ;
358357 }
359358
360- // Check expiration first
361359 if ( isExpired ( record . metadata . expiresAt ) ) {
362360 if ( this . cache ) {
363361 await this . cache . del ( `apikey:${ keyHash } ` ) ;
You can’t perform that action at this time.
0 commit comments