@theholocron/logger 3.56.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.
- package/dist/index.d.mts +6 -4
- 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
|
|
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`)
|
|
117
|
-
*
|
|
118
|
-
*
|
|
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