@btravstack/core 0.13.0 → 0.14.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.cts CHANGED
@@ -31,7 +31,7 @@ declare const Instrumentations_base: import("@btravstack/di").ManyPortClass<"Ins
31
31
  * without it registers nothing and pays nothing — the Spring Boot starter
32
32
  * shape, in one port.
33
33
  */
34
- declare class Instrumentations extends Instrumentations_base<InstrumentationLoader> {}
34
+ export declare class Instrumentations extends Instrumentations_base<InstrumentationLoader> {}
35
35
  //#endregion
36
36
  //#region src/health.d.ts
37
37
  declare const HealthCheckFailed_base: import("unthrown").TaggedErrorConstructor<"HealthCheckFailed">;
@@ -40,7 +40,7 @@ declare const HealthCheckFailed_base: import("unthrown").TaggedErrorConstructor<
40
40
  * a health check that throws is a bug in the check; one that fails is the news
41
41
  * `/healthz` exists to carry.
42
42
  */
43
- declare class HealthCheckFailed extends HealthCheckFailed_base<{
43
+ export declare class HealthCheckFailed extends HealthCheckFailed_base<{
44
44
  readonly reason: string;
45
45
  }> {}
46
46
  /** One contribution: what to call the component, and how to ask it. */
@@ -57,7 +57,7 @@ declare const HealthChecks_base: import("@btravstack/di").ManyPortClass<"HealthC
57
57
  * application never composed contributes nothing — no registration call to
58
58
  * forget, and no order to get wrong.
59
59
  */
60
- declare class HealthChecks extends HealthChecks_base<HealthCheck> {}
60
+ export declare class HealthChecks extends HealthChecks_base<HealthCheck> {}
61
61
  type ComponentHealth = {
62
62
  readonly name: string;
63
63
  readonly status: "healthy" | "unhealthy";
@@ -81,7 +81,7 @@ type HealthReport = {
81
81
  * escaped, the first would reach the kernel's own `uncaughtException` handler
82
82
  * and the second would leave `/healthz` hanging with nothing written.
83
83
  */
84
- declare const runHealthChecks: (checks: readonly HealthCheck[]) => AsyncResult<HealthReport, never>;
84
+ export declare const runHealthChecks: (checks: readonly HealthCheck[]) => AsyncResult<HealthReport, never>;
85
85
  //#endregion
86
86
  //#region src/observability.d.ts
87
87
  /**
@@ -91,7 +91,7 @@ declare const runHealthChecks: (checks: readonly HealthCheck[]) => AsyncResult<H
91
91
  */
92
92
  type Level = "trace" | "debug" | "info" | "warn" | "error" | "fatal";
93
93
  /** The levels in order, least severe first — what `isEnabled` compares through. */
94
- declare const LEVELS: readonly Level[];
94
+ export declare const LEVELS: readonly Level[];
95
95
  /**
96
96
  * What a line, a span or a measurement carries besides itself: a flat record of
97
97
  * scalars.
@@ -137,9 +137,9 @@ declare const Logger_base: import("@btravstack/di").PortClass<"Logger">;
137
137
  * problem into an outage. Synchronous `void`, not an `AsyncResult` — thesis 6's
138
138
  * one deliberate exemption, since a lost line is not a modeled error.
139
139
  */
140
- declare class Logger extends Logger_base<LoggerService> {}
140
+ export declare class Logger extends Logger_base<LoggerService> {}
141
141
  /** A span's outcome: unset until something says otherwise, then `ok` or `error`. */
142
- declare const SPAN_STATUS: {
142
+ export declare const SPAN_STATUS: {
143
143
  readonly unset: 0;
144
144
  readonly ok: 1;
145
145
  readonly error: 2;
@@ -169,7 +169,7 @@ declare const Tracer_base: import("@btravstack/di").PortClass<"Tracer">;
169
169
  * because a port typed as a vendor's type points the dependency arrow outwards
170
170
  * and makes the whole family install that vendor.
171
171
  */
172
- declare class Tracer extends Tracer_base<TracerService> {}
172
+ export declare class Tracer extends Tracer_base<TracerService> {}
173
173
  /** A monotonic count. */
174
174
  type Counter = {
175
175
  readonly add: (value: number, attributes?: Attributes) => void;
@@ -196,7 +196,7 @@ type MeterService = {
196
196
  };
197
197
  declare const Meter_base: import("@btravstack/di").PortClass<"Meter">;
198
198
  /** The application's meter, as a port. See {@link Tracer} for why it does not name a vendor. */
199
- declare class Meter extends Meter_base<MeterService> {}
199
+ export declare class Meter extends Meter_base<MeterService> {}
200
200
  //#endregion
201
201
  //#region src/observation.d.ts
202
202
  /**
@@ -277,9 +277,9 @@ declare const Observers_base: import("@btravstack/di").ManyPortClass<"Observers"
277
277
  * NOTHING provides is an unmet dependency, at plan time and in `Needs` alike.
278
278
  * Several no-ops in one graph cost a call each and nothing else.
279
279
  */
280
- declare class Observers extends Observers_base<(operation: Operation) => Settle> {}
280
+ export declare class Observers extends Observers_base<(operation: Operation) => Settle> {}
281
281
  /** The no-op member every reader of {@link Observers} contributes, so the set is never empty. */
282
- declare const noObserver: () => Settle;
282
+ export declare const noObserver: () => Settle;
283
283
  /**
284
284
  * Run every observer around one operation, and hand back the one finisher that
285
285
  * settles them all.
@@ -291,14 +291,14 @@ declare const noObserver: () => Settle;
291
291
  * `tapFailure` on the same chain, or a retry, is exactly the shape that fires
292
292
  * twice and doubles a failure count.
293
293
  */
294
- declare const observe: (observers: readonly ((operation: Operation) => Settle)[], operation: Operation) => Settle;
294
+ export declare const observe: (observers: readonly ((operation: Operation) => Settle)[], operation: Operation) => Settle;
295
295
  //#endregion
296
296
  //#region src/clock.d.ts
297
297
  type Clock = {
298
298
  readonly now: () => number;
299
299
  readonly sleep: (ms: number, signal?: AbortSignal) => AsyncResult<void, never>;
300
300
  };
301
- declare const systemClock: Clock;
301
+ export declare const systemClock: Clock;
302
302
  //#endregion
303
303
  //#region src/units.d.ts
304
304
  /**
@@ -317,7 +317,7 @@ type UnitRecord = {
317
317
  readonly tenantId: string | undefined;
318
318
  readonly signal: AbortSignal;
319
319
  };
320
- declare const currentUnit: () => UnitRecord | undefined;
320
+ export declare const currentUnit: () => UnitRecord | undefined;
321
321
  /**
322
322
  * What a runtime says about one piece of work as it submits it. `kind` is the
323
323
  * category (`"http"`, `"tick"`, `"job"`); `id` identifies **this** unit.
@@ -350,7 +350,7 @@ type UnitRegistry = {
350
350
  //#endregion
351
351
  //#region src/runtime.d.ts
352
352
  declare const RuntimeStartFailed_base: import("unthrown").TaggedErrorConstructor<"RuntimeStartFailed">;
353
- declare class RuntimeStartFailed extends RuntimeStartFailed_base<{
353
+ export declare class RuntimeStartFailed extends RuntimeStartFailed_base<{
354
354
  readonly runtime: string;
355
355
  readonly cause: unknown;
356
356
  }> {
@@ -442,7 +442,7 @@ type Runtime<Resolves extends AnyPort = never, Info = never> = {
442
442
  * process boots exactly one, while each carries its own `Resolves`/`Info` in
443
443
  * the type.
444
444
  */
445
- declare const RuntimePort: PortClass<"Runtime">;
445
+ export declare const RuntimePort: PortClass<"Runtime">;
446
446
  /** The instance type every runtime port shares — `Extract` this from a module's exports to find its runtime. */
447
447
  type RuntimeInstance = InstanceType<PortClass<"Runtime">>;
448
448
  /** The `Runtime<Resolves, Info>` a module exports, or `never` when it exports none. */
@@ -480,7 +480,7 @@ type RuntimeInfoOf<X> = RuntimeOf<X> extends {
480
480
  * const traceId = typeof parent === "string" ? traceIdOfTraceparent(parent) : undefined;
481
481
  * ```
482
482
  */
483
- declare const traceIdOfTraceparent: (header: string) => string | undefined;
483
+ export declare const traceIdOfTraceparent: (header: string) => string | undefined;
484
484
  /**
485
485
  * `running`, but no later than the kernel's drain deadline — the primitive a
486
486
  * `Serving.drain` needs when the work it awaits settles on somebody else's
@@ -500,7 +500,7 @@ declare const traceIdOfTraceparent: (header: string) => string | undefined;
500
500
  * (`drain.ts` uses `clock.sleep` for exactly that, so a fake clock can control
501
501
  * it) — do not fold the two together.
502
502
  */
503
- declare const releasedBy: (signal: AbortSignal, running: AsyncResult<void, never>) => AsyncResult<void, never>;
503
+ export declare const releasedBy: (signal: AbortSignal, running: AsyncResult<void, never>) => AsyncResult<void, never>;
504
504
  //#endregion
505
505
  //#region src/drain.d.ts
506
506
  type DrainReport = {
@@ -560,7 +560,7 @@ type KernelEvent = {
560
560
  readonly cause: unknown;
561
561
  };
562
562
  type EventSink = (event: KernelEvent) => void;
563
- declare const stderrSink: EventSink;
563
+ export declare const stderrSink: EventSink;
564
564
  //#endregion
565
565
  //#region src/phase.d.ts
566
566
  type Phase = "building" | "starting" | "serving" | "draining" | "stopping" | "exited";
@@ -668,7 +668,7 @@ type PortIdOf<P> = P extends PortInstance<infer Id, infer _Service> ? Id : P;
668
668
  type StartGate<X, N = never> = [Exclude<N, Scope | Env>] extends [never] ? [Extract<X, RuntimeInstance>] extends [never] ? "NO RUNTIME — the module exports no port declared over RuntimePort" : [InstanceType<RuntimeResolvesOf<X>>] extends [X] ? unknown : "UNSATISFIED RUNTIME PORTS — the runtime resolves a port the module does not export" : {
669
669
  readonly "UNSATISFIED DEPENDENCIES — nothing provides": PortIdOf<Exclude<N, Scope | Env>>;
670
670
  };
671
- declare const start: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions) => RunningApp<E, RuntimeInfoOf<X>>;
671
+ export declare const start: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions) => RunningApp<E, RuntimeInfoOf<X>>;
672
672
  //#endregion
673
673
  //#region src/run-main.d.ts
674
674
  /**
@@ -703,6 +703,6 @@ declare const start: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, option
703
703
  * await runMain(OrderApi);
704
704
  * ```
705
705
  */
706
- declare const runMain: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions, exit?: (code: number) => void) => Promise<void>;
706
+ export declare const runMain: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions, exit?: (code: number) => void) => Promise<void>;
707
707
  //#endregion
708
- export { type Attributes, type Clock, type ComponentHealth, type Counter, type DrainReport, type EventSink, type ExitReport, type HealthCheck, HealthCheckFailed, HealthChecks, type HealthReport, type Histogram, type InstrumentationLoader, Instrumentations, type KernelEvent, LEVELS, type Level, Logger, type LoggerService, Meter, type MeterService, Observers, type Operation, type Phase, type RunUnit, type RunningApp, type Runtime, type RuntimeHost, type RuntimeInfoOf, RuntimePort, RuntimeStartFailed, SPAN_STATUS, type Serving, type Settle, type Settled, type Span, type SpanStatusCode, type StartGate, type StartOptions, type TeardownError, Tracer, type TracerService, type UnitHost, type UnitMeta, type UnitRecord, type UnitRegistry, type UnitWork, currentUnit, noObserver, observe, releasedBy, runHealthChecks, runMain, start, stderrSink, systemClock, traceIdOfTraceparent };
708
+ export type { Attributes, Clock, ComponentHealth, Counter, DrainReport, EventSink, ExitReport, HealthCheck, HealthReport, Histogram, InstrumentationLoader, KernelEvent, Level, LoggerService, MeterService, Operation, Phase, RunUnit, RunningApp, Runtime, RuntimeHost, RuntimeInfoOf, Serving, Settle, Settled, Span, SpanStatusCode, StartGate, StartOptions, TeardownError, TracerService, UnitHost, UnitMeta, UnitRecord, UnitRegistry, UnitWork };
package/dist/index.d.mts CHANGED
@@ -31,7 +31,7 @@ declare const Instrumentations_base: import("@btravstack/di").ManyPortClass<"Ins
31
31
  * without it registers nothing and pays nothing — the Spring Boot starter
32
32
  * shape, in one port.
33
33
  */
34
- declare class Instrumentations extends Instrumentations_base<InstrumentationLoader> {}
34
+ export declare class Instrumentations extends Instrumentations_base<InstrumentationLoader> {}
35
35
  //#endregion
36
36
  //#region src/health.d.ts
37
37
  declare const HealthCheckFailed_base: import("unthrown").TaggedErrorConstructor<"HealthCheckFailed">;
@@ -40,7 +40,7 @@ declare const HealthCheckFailed_base: import("unthrown").TaggedErrorConstructor<
40
40
  * a health check that throws is a bug in the check; one that fails is the news
41
41
  * `/healthz` exists to carry.
42
42
  */
43
- declare class HealthCheckFailed extends HealthCheckFailed_base<{
43
+ export declare class HealthCheckFailed extends HealthCheckFailed_base<{
44
44
  readonly reason: string;
45
45
  }> {}
46
46
  /** One contribution: what to call the component, and how to ask it. */
@@ -57,7 +57,7 @@ declare const HealthChecks_base: import("@btravstack/di").ManyPortClass<"HealthC
57
57
  * application never composed contributes nothing — no registration call to
58
58
  * forget, and no order to get wrong.
59
59
  */
60
- declare class HealthChecks extends HealthChecks_base<HealthCheck> {}
60
+ export declare class HealthChecks extends HealthChecks_base<HealthCheck> {}
61
61
  type ComponentHealth = {
62
62
  readonly name: string;
63
63
  readonly status: "healthy" | "unhealthy";
@@ -81,7 +81,7 @@ type HealthReport = {
81
81
  * escaped, the first would reach the kernel's own `uncaughtException` handler
82
82
  * and the second would leave `/healthz` hanging with nothing written.
83
83
  */
84
- declare const runHealthChecks: (checks: readonly HealthCheck[]) => AsyncResult<HealthReport, never>;
84
+ export declare const runHealthChecks: (checks: readonly HealthCheck[]) => AsyncResult<HealthReport, never>;
85
85
  //#endregion
86
86
  //#region src/observability.d.ts
87
87
  /**
@@ -91,7 +91,7 @@ declare const runHealthChecks: (checks: readonly HealthCheck[]) => AsyncResult<H
91
91
  */
92
92
  type Level = "trace" | "debug" | "info" | "warn" | "error" | "fatal";
93
93
  /** The levels in order, least severe first — what `isEnabled` compares through. */
94
- declare const LEVELS: readonly Level[];
94
+ export declare const LEVELS: readonly Level[];
95
95
  /**
96
96
  * What a line, a span or a measurement carries besides itself: a flat record of
97
97
  * scalars.
@@ -137,9 +137,9 @@ declare const Logger_base: import("@btravstack/di").PortClass<"Logger">;
137
137
  * problem into an outage. Synchronous `void`, not an `AsyncResult` — thesis 6's
138
138
  * one deliberate exemption, since a lost line is not a modeled error.
139
139
  */
140
- declare class Logger extends Logger_base<LoggerService> {}
140
+ export declare class Logger extends Logger_base<LoggerService> {}
141
141
  /** A span's outcome: unset until something says otherwise, then `ok` or `error`. */
142
- declare const SPAN_STATUS: {
142
+ export declare const SPAN_STATUS: {
143
143
  readonly unset: 0;
144
144
  readonly ok: 1;
145
145
  readonly error: 2;
@@ -169,7 +169,7 @@ declare const Tracer_base: import("@btravstack/di").PortClass<"Tracer">;
169
169
  * because a port typed as a vendor's type points the dependency arrow outwards
170
170
  * and makes the whole family install that vendor.
171
171
  */
172
- declare class Tracer extends Tracer_base<TracerService> {}
172
+ export declare class Tracer extends Tracer_base<TracerService> {}
173
173
  /** A monotonic count. */
174
174
  type Counter = {
175
175
  readonly add: (value: number, attributes?: Attributes) => void;
@@ -196,7 +196,7 @@ type MeterService = {
196
196
  };
197
197
  declare const Meter_base: import("@btravstack/di").PortClass<"Meter">;
198
198
  /** The application's meter, as a port. See {@link Tracer} for why it does not name a vendor. */
199
- declare class Meter extends Meter_base<MeterService> {}
199
+ export declare class Meter extends Meter_base<MeterService> {}
200
200
  //#endregion
201
201
  //#region src/observation.d.ts
202
202
  /**
@@ -277,9 +277,9 @@ declare const Observers_base: import("@btravstack/di").ManyPortClass<"Observers"
277
277
  * NOTHING provides is an unmet dependency, at plan time and in `Needs` alike.
278
278
  * Several no-ops in one graph cost a call each and nothing else.
279
279
  */
280
- declare class Observers extends Observers_base<(operation: Operation) => Settle> {}
280
+ export declare class Observers extends Observers_base<(operation: Operation) => Settle> {}
281
281
  /** The no-op member every reader of {@link Observers} contributes, so the set is never empty. */
282
- declare const noObserver: () => Settle;
282
+ export declare const noObserver: () => Settle;
283
283
  /**
284
284
  * Run every observer around one operation, and hand back the one finisher that
285
285
  * settles them all.
@@ -291,14 +291,14 @@ declare const noObserver: () => Settle;
291
291
  * `tapFailure` on the same chain, or a retry, is exactly the shape that fires
292
292
  * twice and doubles a failure count.
293
293
  */
294
- declare const observe: (observers: readonly ((operation: Operation) => Settle)[], operation: Operation) => Settle;
294
+ export declare const observe: (observers: readonly ((operation: Operation) => Settle)[], operation: Operation) => Settle;
295
295
  //#endregion
296
296
  //#region src/clock.d.ts
297
297
  type Clock = {
298
298
  readonly now: () => number;
299
299
  readonly sleep: (ms: number, signal?: AbortSignal) => AsyncResult<void, never>;
300
300
  };
301
- declare const systemClock: Clock;
301
+ export declare const systemClock: Clock;
302
302
  //#endregion
303
303
  //#region src/units.d.ts
304
304
  /**
@@ -317,7 +317,7 @@ type UnitRecord = {
317
317
  readonly tenantId: string | undefined;
318
318
  readonly signal: AbortSignal;
319
319
  };
320
- declare const currentUnit: () => UnitRecord | undefined;
320
+ export declare const currentUnit: () => UnitRecord | undefined;
321
321
  /**
322
322
  * What a runtime says about one piece of work as it submits it. `kind` is the
323
323
  * category (`"http"`, `"tick"`, `"job"`); `id` identifies **this** unit.
@@ -350,7 +350,7 @@ type UnitRegistry = {
350
350
  //#endregion
351
351
  //#region src/runtime.d.ts
352
352
  declare const RuntimeStartFailed_base: import("unthrown").TaggedErrorConstructor<"RuntimeStartFailed">;
353
- declare class RuntimeStartFailed extends RuntimeStartFailed_base<{
353
+ export declare class RuntimeStartFailed extends RuntimeStartFailed_base<{
354
354
  readonly runtime: string;
355
355
  readonly cause: unknown;
356
356
  }> {
@@ -442,7 +442,7 @@ type Runtime<Resolves extends AnyPort = never, Info = never> = {
442
442
  * process boots exactly one, while each carries its own `Resolves`/`Info` in
443
443
  * the type.
444
444
  */
445
- declare const RuntimePort: PortClass<"Runtime">;
445
+ export declare const RuntimePort: PortClass<"Runtime">;
446
446
  /** The instance type every runtime port shares — `Extract` this from a module's exports to find its runtime. */
447
447
  type RuntimeInstance = InstanceType<PortClass<"Runtime">>;
448
448
  /** The `Runtime<Resolves, Info>` a module exports, or `never` when it exports none. */
@@ -480,7 +480,7 @@ type RuntimeInfoOf<X> = RuntimeOf<X> extends {
480
480
  * const traceId = typeof parent === "string" ? traceIdOfTraceparent(parent) : undefined;
481
481
  * ```
482
482
  */
483
- declare const traceIdOfTraceparent: (header: string) => string | undefined;
483
+ export declare const traceIdOfTraceparent: (header: string) => string | undefined;
484
484
  /**
485
485
  * `running`, but no later than the kernel's drain deadline — the primitive a
486
486
  * `Serving.drain` needs when the work it awaits settles on somebody else's
@@ -500,7 +500,7 @@ declare const traceIdOfTraceparent: (header: string) => string | undefined;
500
500
  * (`drain.ts` uses `clock.sleep` for exactly that, so a fake clock can control
501
501
  * it) — do not fold the two together.
502
502
  */
503
- declare const releasedBy: (signal: AbortSignal, running: AsyncResult<void, never>) => AsyncResult<void, never>;
503
+ export declare const releasedBy: (signal: AbortSignal, running: AsyncResult<void, never>) => AsyncResult<void, never>;
504
504
  //#endregion
505
505
  //#region src/drain.d.ts
506
506
  type DrainReport = {
@@ -560,7 +560,7 @@ type KernelEvent = {
560
560
  readonly cause: unknown;
561
561
  };
562
562
  type EventSink = (event: KernelEvent) => void;
563
- declare const stderrSink: EventSink;
563
+ export declare const stderrSink: EventSink;
564
564
  //#endregion
565
565
  //#region src/phase.d.ts
566
566
  type Phase = "building" | "starting" | "serving" | "draining" | "stopping" | "exited";
@@ -668,7 +668,7 @@ type PortIdOf<P> = P extends PortInstance<infer Id, infer _Service> ? Id : P;
668
668
  type StartGate<X, N = never> = [Exclude<N, Scope | Env>] extends [never] ? [Extract<X, RuntimeInstance>] extends [never] ? "NO RUNTIME — the module exports no port declared over RuntimePort" : [InstanceType<RuntimeResolvesOf<X>>] extends [X] ? unknown : "UNSATISFIED RUNTIME PORTS — the runtime resolves a port the module does not export" : {
669
669
  readonly "UNSATISFIED DEPENDENCIES — nothing provides": PortIdOf<Exclude<N, Scope | Env>>;
670
670
  };
671
- declare const start: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions) => RunningApp<E, RuntimeInfoOf<X>>;
671
+ export declare const start: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions) => RunningApp<E, RuntimeInfoOf<X>>;
672
672
  //#endregion
673
673
  //#region src/run-main.d.ts
674
674
  /**
@@ -703,6 +703,6 @@ declare const start: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, option
703
703
  * await runMain(OrderApi);
704
704
  * ```
705
705
  */
706
- declare const runMain: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions, exit?: (code: number) => void) => Promise<void>;
706
+ export declare const runMain: <X, E, N>(module: Module<X, E, N> & StartGate<X, N>, options?: StartOptions, exit?: (code: number) => void) => Promise<void>;
707
707
  //#endregion
708
- export { type Attributes, type Clock, type ComponentHealth, type Counter, type DrainReport, type EventSink, type ExitReport, type HealthCheck, HealthCheckFailed, HealthChecks, type HealthReport, type Histogram, type InstrumentationLoader, Instrumentations, type KernelEvent, LEVELS, type Level, Logger, type LoggerService, Meter, type MeterService, Observers, type Operation, type Phase, type RunUnit, type RunningApp, type Runtime, type RuntimeHost, type RuntimeInfoOf, RuntimePort, RuntimeStartFailed, SPAN_STATUS, type Serving, type Settle, type Settled, type Span, type SpanStatusCode, type StartGate, type StartOptions, type TeardownError, Tracer, type TracerService, type UnitHost, type UnitMeta, type UnitRecord, type UnitRegistry, type UnitWork, currentUnit, noObserver, observe, releasedBy, runHealthChecks, runMain, start, stderrSink, systemClock, traceIdOfTraceparent };
708
+ export type { Attributes, Clock, ComponentHealth, Counter, DrainReport, EventSink, ExitReport, HealthCheck, HealthReport, Histogram, InstrumentationLoader, KernelEvent, Level, LoggerService, MeterService, Operation, Phase, RunUnit, RunningApp, Runtime, RuntimeHost, RuntimeInfoOf, Serving, Settle, Settled, Span, SpanStatusCode, StartGate, StartOptions, TeardownError, TracerService, UnitHost, UnitMeta, UnitRecord, UnitRegistry, UnitWork };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@btravstack/core",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "The application kernel: boot a di module into a running process, and stop it without losing work",
5
5
  "keywords": [
6
6
  "application",
@@ -46,20 +46,20 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@btravstack/tsconfig": "0.4.0",
49
- "@types/node": "26.4.0",
50
- "@unthrown/vitest": "5.7.0",
49
+ "@types/node": "26.4.1",
50
+ "@unthrown/vitest": "5.8.0",
51
51
  "@vitest/coverage-v8": "4.1.11",
52
- "tsdown": "0.22.14",
52
+ "tsdown": "0.23.0",
53
53
  "typescript": "7.0.2",
54
- "unthrown": "5.7.0",
54
+ "unthrown": "5.8.0",
55
55
  "vitest": "4.1.11",
56
- "@btravstack/config": "0.13.0",
57
- "@btravstack/di": "0.13.0"
56
+ "@btravstack/config": "0.14.0",
57
+ "@btravstack/di": "0.14.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "unthrown": "^5.0.0",
61
- "@btravstack/config": "^0.13.0",
62
- "@btravstack/di": "^0.13.0"
61
+ "@btravstack/config": "^0.14.0",
62
+ "@btravstack/di": "^0.14.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=22"