Description
Hey, awesome library! At Axiom, we recently added edge deployments and subsequently added support for them in the SDKs, such as axiom-js. Would love to get support for the adapter in here too, happy to open up a PR with a proposal 😄
Proposed Solution
I imagine the surface would look really similar to axiom-js, meaning something like
export interface BaseAxiomConfig {
dataset: string
token: string
orgId?: string
timeout?: number
}
interface EdgeAxiomConfig extends BaseAxiomConfig {
edgeUrl?: string
}
interface EndpointAxiomConfig extends BaseAxiomConfig {
url?: string
}
const url = edgeUrl ?? url ?? "https://api.axiom.co"
Description
Hey, awesome library! At Axiom, we recently added edge deployments and subsequently added support for them in the SDKs, such as axiom-js. Would love to get support for the adapter in here too, happy to open up a PR with a proposal 😄
Proposed Solution
I imagine the surface would look really similar to axiom-js, meaning something like