Skip to content

Pre-GA Design Partner and Early Access only. Request access

Helix Docs
v0.107.0 SDK

KV store TTL option refined

The ttl option on ctx.kv().setItem now supports three distinct states, giving you finer control over expiration behavior.

npm install @trayai/helix-sdk@0.107.0
View as Markdown

What matters in this release

Changed

ctx.kv().setItem's ttl option is now three-state

The ttl option on ctx.kv().setItem now accepts three states instead of two. You can set a positive duration to expire the key after that time, pass null to explicitly remove any previously set TTL (making the key persistent), or omit the option entirely to leave the existing TTL unchanged. This lets you update a value without accidentally clearing or overwriting its expiration.

Read the docs →

All releases

Loading search…

Jump to a section

tab to move · esc to close