ghostdevv / svelte-turnstile

A lightweight Svelte component for Cloudflare Turnstile
https://svelte-turnstile.pages.dev/
MIT License
163 stars 10 forks source link

Add missing props/events, improve documentation, and clean up #20

Closed braebo closed 2 months ago

braebo commented 11 months ago

The types are internal now, but we can switch back to turnstile-types if this is merged https://github.com/Le0Developer/turnstile-types/pull/2

I opted to respecting the original naming to mitigate additional api discovery overhead, but I added backwards compatibility with and marked the relevant fields with @deprecated.

I removed the ❌ emojis from the README as they were distracting.

I edited the package.json out of habit but feel free to ignore that one.