@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.
@@ -1,12 +1,10 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.3.21",
4
- "@tachybase/module-auth": "1.3.21",
5
- "@tachybase/schema": "1.3.21",
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.21",
8
- "@tachybase/server": "1.3.21",
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
  };
@@ -1,4 +1,4 @@
1
- import { Migration } from '@tachybase/server';
1
+ import { Migration } from '@tego/server';
2
2
  export default class AddBasicAuthMigration extends Migration {
3
3
  appVersion: string;
4
4
  up(): Promise<void>;
@@ -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("@tachybase/server");
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() {
@@ -1,4 +1,4 @@
1
- import { InstallOptions, Plugin } from '@tachybase/server';
1
+ import { InstallOptions, Plugin } from '@tego/server';
2
2
  export declare class SmsAuthPlugin extends Plugin {
3
3
  afterAdd(): void;
4
4
  load(): Promise<void>;
@@ -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("@tachybase/server");
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 '@tachybase/auth';
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>>;
@@ -20,9 +20,9 @@ __export(sms_auth_exports, {
20
20
  SMSAuth: () => SMSAuth
21
21
  });
22
22
  module.exports = __toCommonJS(sms_auth_exports);
23
- var import_auth = require("@tachybase/auth");
23
+ var import_server = require("@tego/server");
24
24
  var import_constants = require("../constants");
25
- class SMSAuth extends import_auth.BaseAuth {
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.21",
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": "~18.3.1",
15
- "react-i18next": "^15.2.0",
16
- "@tachybase/schema": "1.3.21"
17
- },
18
- "peerDependencies": {
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
  }