@accidentally-awesome-labs/spatula-shared
v0.1.1
Published
Internal Spatula utilities — logging, auth, metrics, tracing, errors. NO TS-API compat guarantee. Public SDK is @accidentally-awesome-labs/spatula-client. See docs/compat-policy.md.
Readme
@accidentally-awesome-labs/spatula-shared
NO COMPAT GUARANTEE AT TS-API LEVEL. This is an internal Spatula implementation package. Breaking changes to its TypeScript surface may land in any MINOR release. External consumers should not import it directly. The public packages with semver-stable TypeScript surfaces are:
@accidentally-awesome-labs/spatula-client,@accidentally-awesome-labs/spatula-core-types, and@accidentally-awesome-labs/spatula. Seedocs/compat-policy.mdfor the full matrix.
Purpose
Cross-cutting utilities for Spatula: structured logging (pino), OpenTelemetry instrumentation, Sentry adapter, typed error subclasses, auth scope definitions, quota enforcement helpers. Imported by every other internal package.
Stability
No stable TS-API. ErrorCode is canonical in @accidentally-awesome-labs/spatula-core-types; this package re-exports it via a back-compat shim. New consumers should import ErrorCode from @accidentally-awesome-labs/spatula-core-types directly.
Compatibility
The TypeScript API is internal and may change between minor versions. Public compatibility guarantees live in docs/compat-policy.md.
