@theholocron/logger 3.57.0 → 3.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.mts +6 -4
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -35,7 +35,8 @@ declare const LOG_LEVELS: readonly LogLevel[];
35
35
  type LogEnv = "ci" | "local";
36
36
  //#endregion
37
37
  //#region src/transports.d.ts
38
- /** Axiom credentials never read from `holocron.config`, only from env vars. */
38
+ /** Axiom credentials. The token comes from env vars or the OS keyring — never
39
+ * a committed config file; the dataset name may come from config. */
39
40
  interface AxiomTransportConfig {
40
41
  dataset: string;
41
42
  token: string;
@@ -113,9 +114,10 @@ interface LoggerConfig {
113
114
  /**
114
115
  * Axiom credentials. Resolved from env vars by default
115
116
  * (`HOLOCRON_AXIOM_TOKEN` / `AXIOM_TOKEN` + `HOLOCRON_AXIOM_DATASET` /
116
- * `AXIOM_DATASET`) pass this only to override, and only from env vars,
117
- * never from a config file. The transport is also skipped entirely when
118
- * `HOLOCRON_TELEMETRY=false`.
117
+ * `AXIOM_DATASET`). Pass this only to override e.g. `@theholocron/cli`
118
+ * pairs an OS-keyring token with a `holocron.config` dataset. The
119
+ * **token** must never come from a committed config file. The transport
120
+ * is also skipped entirely when `HOLOCRON_TELEMETRY=false`.
119
121
  */
120
122
  axiom?: AxiomTransportConfig;
121
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/logger",
3
- "version": "3.57.0",
3
+ "version": "3.58.0",
4
4
  "description": "Structured logging for Holocron — a Pino-backed Logger adapter interface with pino-pretty, CI JSON, and Axiom transports.",
5
5
  "keywords": [
6
6
  "axiom",