@shardlens/core
@shardlens/core: the library-agnostic heart of the Shardlens SDK. Zero runtime dependencies and Web-standard APIs
only (fetch, Web Crypto, CompressionStream), so it runs on Node 22.12+, Bun, Deno and Cloudflare Workers.
Classes
Section titled “Classes”Interfaces
Section titled “Interfaces”- ClientOptions
- ClientStats
- CustomEvents
- EventSpool
- ExporterMetric
- FlushOptions
- Logger
- MetricSink
- QueuedItem
- ShardlensExporter
- SourceInfo
- WireEvent
Type Aliases
Section titled “Type Aliases”- CustomEventName
- CustomEventProps
- CustomProps
- CustomPropValue
- DataMode
- ExporterMetricName
- Histogram
- MetricLabels
- Priority
- SaltPeriod
Variables
Section titled “Variables”- BACKOFF_MAX_MS
- BACKOFF_MIN_MS
- BUCKETS
- CUSTOM_EVENT_NAME
- DEFAULT_DURATION_BUCKETS
- EXPORTER_METRICS
- HASH_BYTES
- HASH_VERSION
- MAX_CUSTOM_ID_LENGTH
- MAX_CUSTOM_PROPS_BYTES
- MAX_MS
- PRIORITIES