TrueSift SDKs
TrueSift provides two official framework SDKs with the same verification protocol and widget appearance. Choose the package matching your framework. Framework-specific integration code is not interchangeable.
React / Next.js App Router
- Package:
@truesift/next(version0.4.0) - Framework: React and Next.js App Router
- Documentation: React / Next.js SDK
- npm: @truesift/next
pnpm add @truesift/nextSvelte 5 / SvelteKit
- Package:
@truesift/svelte(version0.2.0) - Framework: Svelte 5 and SvelteKit
- Documentation: Svelte / SvelteKit SDK
- npm: @truesift/svelte
pnpm add @truesift/svelteThe Svelte SDK also supports size="half" for banners up to 500 px wide. This option is not present in the current Next.js SDK.
Shared security model
Both SDKs provide TrueSiftCheck, use local challenge/verify routes, and require server-side verification of a short-lived, single-use verificationToken in the protected business route. A client-side allow result alone never authorizes an action.
The interactive preview renders the shared widget design using the React / Next.js implementation; the Svelte SDK follows the same design and TrueSift verification protocol.