@vibemonitor/core
v0.1.0
Published
Vibemonitor SDK core — shared internals (wire format, scrubber, safety). Not for direct install.
Maintainers
Readme
@vibemonitor/core
Internal shared primitives for the Vibemonitor SDK family. Do not install this package directly — it is pulled in transitively by @vibemonitor/browser, @vibemonitor/node, @vibemonitor/nextjs, and @vibemonitor/reactjs.
What's inside
- Types (
Severity,LogEntry,LogAttributes,InitOptions) - Config resolution + defaults
- Scrubber (PII regex patterns — email, JWT, AWS key, OAuth code, etc.)
- Attribute stringifier (circular-safe, BigInt-safe, Error-aware)
- Wire-format serializer (builds
LogEntrywith conditional trace_id/span_id) - Safety primitives (
captureInternalExceptions,inSdkreentrancy guard,debugLog) originalConsolesnapshot
Why it's published separately
So runtime packages (browser, node) can share the same types and wire format without copy-paste. Customers install one runtime package, which pulls this in.
License
Proprietary. See LICENSE.
