Skip to content

DegradeReason

DegradeReason = typeof DEGRADE_REASONS[number]

Defined in: wire.ts:50

@sparkletree/core — the framework-agnostic half of the SparkleTree SDK.

Everything that touches the wire lives here, and ONLY here. Components distributed by sparkletree add are copied into a customer’s repo and are therefore un-patchable by us; they must stay wire-ignorant, rendering state this package hands them. That split is what lets a protocol change ship as a version bump instead of a migration guide.

Wire types are re-exported so consumers never import the generated contract directly — that path is an implementation detail and would make the generated artifacts part of the public API.