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 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, Aspect } from 'vona-module-a-aspect';
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, Captcha, CaptchaProvider, CaptchaScene, ControllerCaptcha, DtoCaptchaData, DtoCaptchaVerify, InterceptorCaptchaVerify, ScopeModuleACaptcha, config, locales };
388
+ export { $locale, BeanCaptcha, CacheRedisCaptcha, CaptchaProvider, CaptchaScene, ControllerCaptcha, DtoCaptchaData, DtoCaptchaVerify, InterceptorCaptchaVerify, ScopeModuleACaptcha, config, locales };
@@ -1,3 +1,2 @@
1
- export * from './captcha.ts';
2
1
  export * from './captchaProvider.ts';
3
2
  export * from './captchaScene.ts';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-captcha",
3
3
  "type": "module",
4
- "version": "5.0.15",
4
+ "version": "5.0.17",
5
5
  "title": "a-captcha",
6
6
  "vonaModule": {
7
7
  "dependencies": {},
@@ -1,6 +0,0 @@
1
- import type { IInterceptorOptionsCaptchaVerify } from '../bean/interceptor.captchaVerify.ts';
2
- declare function Verify(options?: Partial<IInterceptorOptionsCaptchaVerify>): MethodDecorator;
3
- export declare const Captcha: {
4
- verify: typeof Verify;
5
- };
6
- export {};