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 @@ -7,9 +7,11 @@ import { Gitee } from '@next-auth-oauth/gitee'
7
7
import Github from 'next-auth/providers/github'
8
8
import Wehcatmp from '@next-auth-oauth/wechatmp'
9
9
import { AuthConfig } from './auth.config'
10
-
10
+ import { captchaManager } from '@/service/captcha.service'
11
11
export const authAdapter = PrismaAdapter ( prisma )
12
- export const wechatMpProvder = Wehcatmp ( { } )
12
+ export const wechatMpProvder = Wehcatmp ( {
13
+ captchaManager,
14
+ } )
13
15
14
16
export const authService = new AuthService ( )
15
17
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @next-auth-oauth/wechatmp" ,
3
- "version" : " 0.2.2 " ,
3
+ "version" : " 0.2.4 " ,
4
4
"description" : " 基于Auth.js的微信公众号验证码登录、二维码扫描登录插件" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
36
36
"next" : " ^15"
37
37
},
38
38
"dependencies" : {
39
- "wechatmp-kit" : " workspace:* "
39
+ "wechatmp-kit" : " ^0.1 "
40
40
},
41
41
"devDependencies" : {},
42
42
"publishConfig" : {
You can’t perform that action at this time.
0 commit comments