SDK changelog
Release history for @relai-team/access-sdk. The current version is 0.18.1.
npm install @relai-team/access-sdk
Versions below 1.0 can change shape between minor releases. Anything that needs a code change on upgrade is marked Breaking; everything else is additive and safe to take.
0.18.1August 12, 20261 change
- Fixed
Skip 0.18.0: it shipped a stale build
0.18.0 on npm was published from an out-of-date dist/, so the tarball carries the 0.17.0 build: no analytics option and no reason or attempt on TelemetryEvent, despite this changelog saying otherwise. Install 0.18.1, which is the same source built clean. Nothing else differs between them.
- Fixed
0.18.0August 11, 20262 changes
- Added
Telemetry says WHY an open failed
Telemetry events carry an optional reason and attempt. reason is the Parent's reject reason (TAG, NONCE, NOTREADY, ...), an API error code, or a transport reason like timeout; attempt is 1 on the first try. Until now a failed open was a number and nothing else: we could say how often opens fail and never why, and a retry that recovered looked identical to an open that worked first time. unlock() fills reason in for you on a rejection. Keep it a bounded vocabulary, never a raw error message: it is grouped and counted, not read.
- Added
analytics: false
new RelaiClient({ analytics: false }) opts your app out of Relai's product analytics. Operational telemetry is unaffected and is not optional, because Relai needs it to reconcile orders and bill correctly: an open that is never reported is an order that never completes. What this turns off is the forwarding of a curated subset to our analytics tooling.
- Added