Skip to content

Commit

Permalink
fix(cloudflare-turnstile): feedback-enabled should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
vnphanquang committed Jan 6, 2025
1 parent 26bd9a4 commit 38b8618
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-apples-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@svelte-put/cloudflare-turnstile': patch
---

set 'feedback-enabled' to optional
2 changes: 1 addition & 1 deletion packages/cloudflare-turnstile/src/types.public.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export type TurnstileDataConfig = {
'refresh-expired'?: 'auto' | 'manual' | 'never';
'refresh-timeout'?: 'auto' | 'manual' | 'never';
appearance?: 'always' | 'execute' | 'interaction-only';
'feedback-enabled': boolean;
'feedback-enabled'?: boolean;
};

/**
Expand Down

0 comments on commit 38b8618

Please sign in to comment.