@usedetach/api-client
v0.2.1
Published
Typed client for the Detach Management API.
Downloads
421
Readme
@usedetach/api-client
Typed client for the Detach Management API — the authenticated, write-capable surface behind the admin UI and the CLI.
npm install @usedetach/api-clientThis is not the storefront path. Production rendering reads content through
@usedetach/core with a delivery key; this package authors it, and its credentials
(Clerk session cookies, or an API key with the right capabilities) must never reach a browser
bundle you ship to shoppers.
Used by @usedetach/cli and the Detach admin editor. The wire types for cross-cutting
payloads — SubmissionDiff, CompatReport — are declared here so client and server cannot drift.
