@tachybase/plugin-auth-sms 1.3.21 → 1.3.23
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.
- package/dist/externalVersion.js +5 -7
- package/dist/server/migrations/20230607180000-sms-authenticator.d.ts +1 -1
- package/dist/server/migrations/20230607180000-sms-authenticator.js +1 -1
- package/dist/server/plugin.d.ts +1 -1
- package/dist/server/plugin.js +1 -1
- package/dist/server/sms-auth.d.ts +1 -2
- package/dist/server/sms-auth.js +2 -2
- package/package.json +11 -17
package/dist/externalVersion.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"react": "18.3.1",
|
|
3
|
-
"@tachybase/client": "1.3.
|
|
4
|
-
"@tachybase/module-auth": "1.3.
|
|
5
|
-
"@tachybase/schema": "1.3.
|
|
3
|
+
"@tachybase/client": "1.3.23",
|
|
4
|
+
"@tachybase/module-auth": "1.3.23",
|
|
5
|
+
"@tachybase/schema": "1.3.43",
|
|
6
6
|
"antd": "5.22.5",
|
|
7
|
-
"@tachybase/plugin-otp": "1.3.
|
|
8
|
-
"@
|
|
9
|
-
"@tachybase/auth": "1.3.21",
|
|
10
|
-
"@tachybase/database": "1.3.21",
|
|
7
|
+
"@tachybase/plugin-otp": "1.3.23",
|
|
8
|
+
"@tego/server": "1.3.43",
|
|
11
9
|
"react-i18next": "15.2.0"
|
|
12
10
|
};
|
|
@@ -20,7 +20,7 @@ __export(sms_authenticator_exports, {
|
|
|
20
20
|
default: () => AddBasicAuthMigration
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(sms_authenticator_exports);
|
|
23
|
-
var import_server = require("@
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
24
|
var import_constants = require("../../constants");
|
|
25
25
|
class AddBasicAuthMigration extends import_server.Migration {
|
|
26
26
|
constructor() {
|
package/dist/server/plugin.d.ts
CHANGED
package/dist/server/plugin.js
CHANGED
|
@@ -22,7 +22,7 @@ __export(plugin_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(plugin_exports);
|
|
24
24
|
var import_node_path = require("node:path");
|
|
25
|
-
var import_server = require("@
|
|
25
|
+
var import_server = require("@tego/server");
|
|
26
26
|
var import_constants = require("../constants");
|
|
27
27
|
var import_sms_auth = require("./sms-auth");
|
|
28
28
|
class SmsAuthPlugin extends import_server.Plugin {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AuthConfig, BaseAuth } from '@
|
|
2
|
-
import { Model } from '@tachybase/database';
|
|
1
|
+
import { AuthConfig, BaseAuth, Model } from '@tego/server';
|
|
3
2
|
export declare class SMSAuth extends BaseAuth {
|
|
4
3
|
constructor(config: AuthConfig);
|
|
5
4
|
validate(): Promise<Model<any, any>>;
|
package/dist/server/sms-auth.js
CHANGED
|
@@ -20,9 +20,9 @@ __export(sms_auth_exports, {
|
|
|
20
20
|
SMSAuth: () => SMSAuth
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(sms_auth_exports);
|
|
23
|
-
var
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
24
|
var import_constants = require("../constants");
|
|
25
|
-
class SMSAuth extends
|
|
25
|
+
class SMSAuth extends import_server.BaseAuth {
|
|
26
26
|
constructor(config) {
|
|
27
27
|
const { ctx } = config;
|
|
28
28
|
super({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-auth-sms",
|
|
3
3
|
"displayName": "Auth: SMS",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.23",
|
|
5
5
|
"description": "SMS authentication.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Authentication"
|
|
@@ -10,24 +10,18 @@
|
|
|
10
10
|
"main": "./dist/server/index.js",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@tachybase/schema": "^1.3.43",
|
|
14
|
+
"@tachybase/test": "^1.3.43",
|
|
15
|
+
"@tego/client": "^1.3.43",
|
|
16
|
+
"@tego/server": "^1.3.43",
|
|
13
17
|
"antd": "5.22.5",
|
|
14
|
-
"react": "
|
|
15
|
-
"react-i18next": "
|
|
16
|
-
"@tachybase/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"@tachybase/actions": "1.3.21",
|
|
20
|
-
"@tachybase/auth": "1.3.21",
|
|
21
|
-
"@tachybase/database": "1.3.21",
|
|
22
|
-
"@tachybase/module-auth": "1.3.21",
|
|
23
|
-
"@tachybase/plugin-otp": "1.3.21",
|
|
24
|
-
"@tachybase/test": "1.3.21",
|
|
25
|
-
"@tachybase/client": "1.3.21",
|
|
26
|
-
"@tachybase/server": "1.3.21"
|
|
18
|
+
"react": "18.3.1",
|
|
19
|
+
"react-i18next": "15.2.0",
|
|
20
|
+
"@tachybase/plugin-otp": "1.3.23",
|
|
21
|
+
"@tachybase/client": "1.3.23",
|
|
22
|
+
"@tachybase/module-auth": "1.3.23"
|
|
27
23
|
},
|
|
28
24
|
"description.zh-CN": "通过短信验证码认证身份。",
|
|
29
25
|
"displayName.zh-CN": "认证:短信",
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tachybase-build --no-dts @tachybase/plugin-auth-sms"
|
|
32
|
-
}
|
|
26
|
+
"scripts": {}
|
|
33
27
|
}
|