release: WRNexusJS 0.8.0
This commit is contained in:
1 parent
87507edf59
commit
586a6db8ff
625 files changed
+243608
-11210
No files matched your search
@@ -360,3 +360,14 @@ const engine = createCaptchaEngine({ secret, generators: [wordChallenge] });
|
||||
```
|
||||
|
||||
Applications may also implement `CaptchaStore`, `CaptchaAudioRenderer`, or use `defineCaptchaProvider()` for a completely custom service.
|
||||
|
||||
## Helper and block kit
|
||||
|
||||
The package exports `captchaTokenFrom`, `captchaHeaders`, `captchaFields`, `verifyCaptcha`, `verifyCaptchaOrThrow`, `captchaResultResponse`, and `captchaContext` for consistent server and client integration.
|
||||
|
||||
Enable the CAPTCHA plugin to use the low-level `<Captcha />` challenge plus complete UI-composed blocks:
|
||||
|
||||
- `<CaptchaField />`
|
||||
- `<CaptchaStatus />`
|
||||
|
||||
`CaptchaField` composes `Card` from `@wrnexus/ui` and keeps the CAPTCHA-specific size separate from the surrounding UI size.
|
||||
Reference in new issue
Block a user