@tachybase/plugin-auth-wechat 1.6.1 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.6.1",
3
+ "@tachybase/client": "1.6.3",
4
4
  "@ant-design/icons": "6.1.0",
5
5
  "antd": "5.22.5",
6
- "@tachybase/module-auth": "1.6.1",
7
- "@tachybase/schema": "1.6.0-alpha.9",
6
+ "@tachybase/module-auth": "1.6.3",
7
+ "@tachybase/schema": "1.6.1",
8
8
  "react-router-dom": "6.28.1",
9
9
  "react-i18next": "16.2.1",
10
- "@tego/server": "1.6.0-alpha.9",
10
+ "@tego/server": "1.6.1",
11
11
  "dayjs": "1.11.13"
12
12
  };
@@ -40,7 +40,8 @@ class WeChatAuth extends import_server.BaseAuth {
40
40
  const { ctx } = config;
41
41
  super({
42
42
  ...config,
43
- userCollection: ctx.db.getCollection("users")
43
+ userCollection: ctx.db.getCollection("users"),
44
+ userStatusCollection: ctx.db.getCollection("userStatuses")
44
45
  });
45
46
  }
46
47
  async validate() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-auth-wechat",
3
3
  "displayName": "Auth: WeChat",
4
- "version": "1.6.1",
4
+ "version": "1.6.3",
5
5
  "description": "WeChat authentication.",
6
6
  "keywords": [
7
7
  "Authentication"
@@ -11,15 +11,15 @@
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
13
  "@ant-design/icons": "^6.1.0",
14
- "@tachybase/schema": "1.6.0-alpha.9",
15
- "@tego/client": "1.6.0-alpha.9",
16
- "@tego/server": "1.6.0-alpha.9",
14
+ "@tachybase/schema": "1.6.1",
15
+ "@tego/client": "1.6.1",
16
+ "@tego/server": "1.6.1",
17
17
  "antd": "5.22.5",
18
18
  "dayjs": "1.11.13",
19
19
  "react-i18next": "16.2.1",
20
20
  "react-router-dom": "6.28.1",
21
- "@tachybase/client": "1.6.1",
22
- "@tachybase/module-auth": "1.6.1"
21
+ "@tachybase/client": "1.6.3",
22
+ "@tachybase/module-auth": "1.6.3"
23
23
  },
24
24
  "description.zh-CN": "通过微信扫码认证身份。",
25
25
  "displayName.zh-CN": "认证:微信",