vona-module-a-user 5.0.42 → 5.0.44

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,8 +1,8 @@
1
1
  import type { IMetaRuntimeExecute } from 'vona-module-a-runtime';
2
2
  import { BeanBase } from 'vona';
3
- export type TypeMetaPrintTipResult = {
3
+ export type TypeMetaRuntimeResult = {
4
4
  accessToken?: string;
5
5
  } | undefined;
6
6
  export declare class MetaRuntime extends BeanBase implements IMetaRuntimeExecute {
7
- execute(): Promise<TypeMetaPrintTipResult>;
7
+ execute(): Promise<TypeMetaRuntimeResult>;
8
8
  }
package/dist/index.js CHANGED
@@ -571,7 +571,7 @@ let MetaRuntime = (_dec$1 = Meta(), _dec2$1 = BeanInfo({
571
571
  module: "a-user"
572
572
  }), _dec$1(_class$1 = _dec2$1(_class$1 = class MetaRuntime extends BeanBase {
573
573
  async execute() {
574
- if (!this.app.meta.isDev) return;
574
+ if (this.app.meta.isProd) return;
575
575
  // signin
576
576
  const jwt = await this.bean.passport.signinSystem('dev', '-1');
577
577
  const accessToken = jwt.accessToken;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-user",
3
3
  "type": "module",
4
- "version": "5.0.42",
4
+ "version": "5.0.44",
5
5
  "title": "a-user",
6
6
  "vonaModule": {
7
7
  "dependencies": {}