adminforth 2.4.0-next.183 → 2.4.0-next.184

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.
@@ -27,8 +27,13 @@ export interface CaptchaAdapter {
27
27
  * Returns the script HTML for the captcha widget.
28
28
  */
29
29
  getRenderWidgetCode(): string;
30
+
31
+ /**
32
+ * Returns the function name to render the captcha widget.
33
+ */
34
+ getRenderWidgetFunctionName(): string;
30
35
  /**
31
36
  * Validates the captcha token.
32
37
  */
33
38
  validate(token: string, ip: string): Promise<Record<string, any>>;
34
- }
39
+ }
@@ -22,6 +22,10 @@ export interface CaptchaAdapter {
22
22
  * Returns the script HTML for the captcha widget.
23
23
  */
24
24
  getRenderWidgetCode(): string;
25
+ /**
26
+ * Returns the function name to render the captcha widget.
27
+ */
28
+ getRenderWidgetFunctionName(): string;
25
29
  /**
26
30
  * Validates the captcha token.
27
31
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CaptchaAdapter.d.ts","sourceRoot":"","sources":["../../../types/adapters/CaptchaAdapter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,YAAY,IAAI,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,IAAI,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAErC;;OAEG;IACH,mBAAmB,IAAI,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;CACrE"}
1
+ {"version":3,"file":"CaptchaAdapter.d.ts","sourceRoot":"","sources":["../../../types/adapters/CaptchaAdapter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,YAAY,IAAI,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,IAAI,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAErC;;OAEG;IACH,mBAAmB,IAAI,MAAM,CAAC;IAE9B;;OAEG;IACH,2BAA2B,IAAI,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;CACrE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.183",
3
+ "version": "2.4.0-next.184",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",