@argusdev/sdk-core
v0.4.0
Published
Shared internals for Argus SDKs — DSN parsing, envelope building, transport. Not installed directly.
Downloads
523
Maintainers
Readme
@argusdev/sdk-core
Shared internals for the Argus SDKs — DSN parsing, envelope building, and transport.
You don't install this directly. It's a dependency of
@argusdev/sdk-browser,@argusdev/sdk-node, and@argusdev/sdk-react. Install one of those instead.
What's inside
parseDsn(dsn)/getIngestUrl(parsed)— parse a DSN, build the ingest URLbuildEnvelope(type, value, frames, options)— construct a validated event envelope (timestamps in ms)sendEnvelope(url, publicKey, envelope)—fetchtransport with retry; never throws into the host app, drops silently on 429
MIT © Treasure Odetokun
