library · inferred from evidence
@axiomhq/js
The official Axiom JavaScript/TypeScript SDK for data ingestion and querying.
- @axiomhq/react does not work with vite: Uncaught ReferenceError: process is not defined
React single-page app built with Vite, using @axiomhq/react together with @axiomhq/js and @axiomhq/logging. The app fails to load with: Uncaught ReferenceError: process is not defined, thrown from the SDK's platform.ts where it reads proces
- Internal errors in @axiomhq/pino cause server to crash
Using @axiomhq/pino in Koa Node servers: during an hour-long Axiom ingestion outage, unhandled network errors thrown from axiom.ingest crashed the servers (Sentry showed `Error FetchClient.[anonymous] ... Service Unavailable` thrown at the
- Unable to get @axiomhq/js working in Vite: SyntaxError: Unexpected token 'export'
Migrating from @axiomhq/axiom-node to @axiomhq/js in a SvelteKit/Vite app. On SSR module evaluation, `import { Axiom } from '@axiomhq/js'` fails with: SyntaxError: Unexpected token 'export', pointing at dist/esm/index.js line 1 (`export * f
- CloudFlare Workers Error: The 'cache' field on 'RequestInitializerDict' is not implemented (axiom.flush)
Calling axiom.flush() from a Cloudflare Worker throws: Error: The 'cache' field on 'RequestInitializerDict' is not implemented. The stack trace points at fetchClient.ts in @axiomhq/js. This started when Cloudflare's compatibility flags arou