vona-cli-set-api 1.0.213 → 1.0.216
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.
|
@@ -42,7 +42,7 @@ export class ControllerPassport extends BeanBase {
|
|
|
42
42
|
|
|
43
43
|
@Web.post('login')
|
|
44
44
|
@Passport.public()
|
|
45
|
-
@Captcha.verify({ scene: 'a-captchasimple:simple' })
|
|
45
|
+
// @Captcha.verify({ scene: 'a-captchasimple:simple' })
|
|
46
46
|
@Api.body(v.object(DtoPassportJwt))
|
|
47
47
|
async login(@Arg.body() data: DtoLogin): Promise<DtoPassportJwt> {
|
|
48
48
|
const jwt = await this.bean.authSimple.authenticate(data, 'login', 'default');
|
|
@@ -20,7 +20,7 @@ export function setLocaleAdapter(localeAdapterFn) {
|
|
|
20
20
|
}
|
|
21
21
|
export function finalizeIssue`)
|
|
22
22
|
.replace('const message = unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ??', `const msg = unwrapMessage(iss.inst?._zod.def?.error?.(iss));
|
|
23
|
-
const message = (__localeAdapterFn?__localeAdapterFn(msg):msg) ??`);
|
|
23
|
+
const message = (__localeAdapterFn?__localeAdapterFn(msg, iss):msg) ??`);
|
|
24
24
|
fse.writeFileSync(fileSrc, contentNew);
|
|
25
25
|
}
|
|
26
26
|
async function __generateZodCoreSchemas(configOptions) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona-cli-set-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.216",
|
|
5
5
|
"description": "vona cli-set-api",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"ts-node": "^10.9.2",
|
|
62
62
|
"urllib": "^4.6.11",
|
|
63
63
|
"uuid": "^11.1.0",
|
|
64
|
-
"vona-core": "^5.0.
|
|
64
|
+
"vona-core": "^5.0.60",
|
|
65
65
|
"why-is-node-running": "^3.2.2",
|
|
66
66
|
"yargs-parser": "^21.1.1"
|
|
67
67
|
},
|