elysia-auth-drizzle
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -35,5 +35,5 @@ import * as Elysia from 'elysia'; | ||
}>; | ||
declare const refreshUserToken: ({ db, tokensSchema }: { | ||
declare const refreshUserToken: ({ db, tokensSchema, }: { | ||
db: any; | ||
tokensSchema: any; | ||
tokensSchema?: any; | ||
}) => (refreshToken: string, { secret, refreshSecret, accessTokenTime, }: { | ||
@@ -40,0 +40,0 @@ secret: string; |
@@ -825,3 +825,6 @@ 'use strict'; | ||
//@ts-ignore | ||
({ db, tokensSchema }) => async (refreshToken, { | ||
({ | ||
db, | ||
tokensSchema | ||
}) => async (refreshToken, { | ||
secret, | ||
@@ -828,0 +831,0 @@ refreshSecret, |
{ | ||
"name": "elysia-auth-drizzle", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
@@ -100,3 +100,11 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ | ||
({ db, tokensSchema }) => | ||
({ | ||
db, | ||
tokensSchema, | ||
}: { | ||
//@ts-ignore | ||
db; | ||
//@ts-ignore | ||
tokensSchema?; | ||
}) => | ||
async ( | ||
@@ -103,0 +111,0 @@ refreshToken: string, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
72479
2312