@flue/react
2.3.1 · 18 Nov 2026Apache-2.0187.9k / weekRepositoryHomepagenpmAtom feed
Your version
2.3.1 is the newest release of 2.x.
In short
1 new1 internal
Release note
Minor Changes
sendMessagenow passes through every send controlclient.send()accepts (idempotencyKey,initialData,uid,signal, …) and resolves with the admission receipt (AgentSendResult) instead ofvoid.Retry a send safely by keeping the key and reusing it when the request's outcome is uncertain:
const agent = useFlueAgent({ url }); const key = `prompt-${crypto.randomUUID()}`; // persist before sending try { const receipt = await agent.sendMessage('hello', { idempotencyKey: key }); // receipt.submissionId correlates with settlements; receipt.deduplicated // is true when this retry converged on an already-admitted send. } catch { // A network failure does not prove the server rejected the prompt — // retry later with the same key to converge on the original submission. }
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.