vona-module-a-captcha 5.0.15 → 5.0.17
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/index.js +2 -9
- package/dist/lib/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/lib/captcha.d.ts +0 -6
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BeanInfo, BeanBase, uuidv4, beanFullNameFromOnionName, deepExtend, BeanScopeBase, createBeanDecorator } from 'vona';
|
|
2
2
|
import { zodCustomError, getRandomInt } from '@cabloy/utils';
|
|
3
|
-
import { Interceptor
|
|
3
|
+
import { Interceptor } from 'vona-module-a-aspect';
|
|
4
4
|
import { Bean, Scope } from 'vona-module-a-bean';
|
|
5
5
|
import { CacheRedis, BeanCacheRedisBase } from 'vona-module-a-cache';
|
|
6
6
|
import { Api, v } from 'vona-module-a-openapi';
|
|
@@ -377,13 +377,6 @@ function $locale(key) {
|
|
|
377
377
|
}
|
|
378
378
|
/** scope: end */
|
|
379
379
|
|
|
380
|
-
function Verify(options) {
|
|
381
|
-
return Aspect.interceptor('a-captcha:captchaVerify', options);
|
|
382
|
-
}
|
|
383
|
-
const Captcha = {
|
|
384
|
-
verify: Verify
|
|
385
|
-
};
|
|
386
|
-
|
|
387
380
|
function CaptchaProvider(options) {
|
|
388
381
|
return createBeanDecorator('captchaProvider', options);
|
|
389
382
|
}
|
|
@@ -392,4 +385,4 @@ function CaptchaScene(options) {
|
|
|
392
385
|
return createBeanDecorator('captchaScene', options);
|
|
393
386
|
}
|
|
394
387
|
|
|
395
|
-
export { $locale, BeanCaptcha, CacheRedisCaptcha,
|
|
388
|
+
export { $locale, BeanCaptcha, CacheRedisCaptcha, CaptchaProvider, CaptchaScene, ControllerCaptcha, DtoCaptchaData, DtoCaptchaVerify, InterceptorCaptchaVerify, ScopeModuleACaptcha, config, locales };
|
package/dist/lib/index.d.ts
CHANGED
package/package.json
CHANGED
package/dist/lib/captcha.d.ts
DELETED