fix: complied better auth typing export

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2024-12-03 22:27:16 +08:00
parent 3db591f1ae
commit 49cc5b628f
4 changed files with 825 additions and 717 deletions

View File

@@ -86,7 +86,6 @@
"axios": "^1.7.8",
"axios-retry": "4.5.0",
"bcryptjs": "^2.4.3",
"better-auth": "1.0.7",
"blurhash": "2.0.5",
"cache-manager": "5.7.6",
"cache-manager-ioredis-yet": "2.1.2",
@@ -171,4 +170,4 @@
"vitest": "1.5.2",
"zx": "7.2.3"
}
}
}

View File

@@ -1,6 +1,9 @@
import { IncomingMessage } from 'node:http'
import { MongoClient } from 'mongodb'
import type { BetterAuthOptions, BetterAuthPlugin } from 'better-auth'
import type {
BetterAuthOptions,
BetterAuthPlugin,
} from '@mx-space/complied/auth'
import type { ServerResponse } from 'node:http'
import {

View File

@@ -4,3 +4,5 @@ export { APIError } from 'better-auth/api'
export { mongodbAdapter } from 'better-auth/adapters/mongodb'
export { fromNodeHeaders, toNodeHandler } from 'better-auth/node'
export { bearer, jwt } from 'better-auth/plugins'
export type * from 'better-auth'

1532
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff