v1.0.7
π Release Notes β v1.0.7
β¨ New Features
-
TypeScript Ref Export
-
Added
SliderCaptchaReftype export from the package entry point. -
TypeScript users can now import it directly:
import SliderCaptcha, { type SliderCaptchaRef } from "slider-captcha-js";
-
π Documentation Updates
-
React Usage Examples
- Added JavaScript (
.jsx) example usinguseRef(null). - Added TypeScript (
.tsx) example usinguseRef<SliderCaptchaRef>(null).
- Added JavaScript (
-
Synced README with latest API changes and usage patterns.
π Build
- Rebuilt distribution bundles (
dist/slider-captcha.esm.js,dist/react-slider-captcha.esm.js, etc.) to include updated exports.