@zudojs/core 1.2.4 → 1.3.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 (282) hide show
  1. package/README.md +13 -2
  2. package/dist/application/application.d.ts +29 -1
  3. package/dist/application/application.js +70 -1
  4. package/dist/application/applicationContext.context.d.ts +0 -1
  5. package/dist/application/applicationContext.context.js +0 -1
  6. package/dist/application/applicationState.state.d.ts +0 -1
  7. package/dist/application/applicationState.state.js +0 -1
  8. package/dist/application/createApplication.d.ts +0 -1
  9. package/dist/application/createApplication.js +0 -1
  10. package/dist/application/index.d.ts +0 -1
  11. package/dist/application/index.js +0 -1
  12. package/dist/configuration/configurationManager.manager.d.ts +0 -1
  13. package/dist/configuration/configurationManager.manager.js +0 -1
  14. package/dist/configuration/core/configuration.d.ts +0 -1
  15. package/dist/configuration/core/configuration.js +0 -1
  16. package/dist/configuration/core/configurationKey.key.d.ts +0 -1
  17. package/dist/configuration/core/configurationKey.key.js +0 -1
  18. package/dist/configuration/core/configurationPath.path.d.ts +0 -1
  19. package/dist/configuration/core/configurationPath.path.js +0 -1
  20. package/dist/configuration/core/configurationSource.source.d.ts +0 -1
  21. package/dist/configuration/core/configurationSource.source.js +0 -1
  22. package/dist/configuration/core/index.d.ts +0 -1
  23. package/dist/configuration/core/index.js +0 -1
  24. package/dist/configuration/error/configurationError.error.d.ts +0 -1
  25. package/dist/configuration/error/configurationError.error.js +0 -1
  26. package/dist/configuration/error/configurationRedactor.redactor.d.ts +0 -1
  27. package/dist/configuration/error/configurationRedactor.redactor.js +0 -1
  28. package/dist/configuration/error/index.d.ts +0 -1
  29. package/dist/configuration/error/index.js +0 -1
  30. package/dist/configuration/events/configurationEvents.events.d.ts +0 -1
  31. package/dist/configuration/events/configurationEvents.events.js +0 -1
  32. package/dist/configuration/events/index.d.ts +0 -1
  33. package/dist/configuration/events/index.js +0 -1
  34. package/dist/configuration/index.d.ts +0 -1
  35. package/dist/configuration/index.js +0 -1
  36. package/dist/configuration/loader/configurationLoader.loader.d.ts +0 -1
  37. package/dist/configuration/loader/configurationLoader.loader.js +0 -1
  38. package/dist/configuration/loader/index.d.ts +0 -1
  39. package/dist/configuration/loader/index.js +0 -1
  40. package/dist/configuration/registry/configurationProvider.provider.d.ts +0 -1
  41. package/dist/configuration/registry/configurationProvider.provider.js +0 -1
  42. package/dist/configuration/registry/configurationRegistry.registry.d.ts +0 -1
  43. package/dist/configuration/registry/configurationRegistry.registry.js +0 -1
  44. package/dist/configuration/registry/index.d.ts +0 -1
  45. package/dist/configuration/registry/index.js +0 -1
  46. package/dist/configuration/schema/configurationSchema.schema.d.ts +0 -1
  47. package/dist/configuration/schema/configurationSchema.schema.js +0 -1
  48. package/dist/configuration/schema/configurationValidation.validator.d.ts +0 -1
  49. package/dist/configuration/schema/configurationValidation.validator.js +0 -1
  50. package/dist/configuration/schema/index.d.ts +0 -1
  51. package/dist/configuration/schema/index.js +0 -1
  52. package/dist/container/container.d.ts +0 -1
  53. package/dist/container/container.js +0 -1
  54. package/dist/container/container.lifetime.d.ts +0 -1
  55. package/dist/container/container.lifetime.js +0 -1
  56. package/dist/container/index.d.ts +0 -1
  57. package/dist/container/index.js +0 -1
  58. package/dist/container/provider.d.ts +0 -1
  59. package/dist/container/provider.js +0 -1
  60. package/dist/container/scope.d.ts +0 -1
  61. package/dist/container/scope.js +0 -1
  62. package/dist/container/token.d.ts +0 -1
  63. package/dist/container/token.js +0 -1
  64. package/dist/context/core/contextAliases.deprecated.d.ts +0 -1
  65. package/dist/context/core/contextAliases.deprecated.js +0 -1
  66. package/dist/context/core/contextKey.key.d.ts +0 -1
  67. package/dist/context/core/contextKey.key.js +4 -3
  68. package/dist/context/core/executionContext.context.d.ts +0 -1
  69. package/dist/context/core/executionContext.context.js +0 -1
  70. package/dist/context/core/index.d.ts +0 -1
  71. package/dist/context/core/index.js +0 -1
  72. package/dist/context/index.d.ts +0 -1
  73. package/dist/context/index.js +0 -1
  74. package/dist/context/provider/contextProvider.provider.d.ts +0 -1
  75. package/dist/context/provider/contextProvider.provider.js +0 -1
  76. package/dist/context/provider/contextStorage.storage.d.ts +0 -1
  77. package/dist/context/provider/contextStorage.storage.js +0 -1
  78. package/dist/context/provider/defaultContextStorage.storage.d.ts +0 -1
  79. package/dist/context/provider/defaultContextStorage.storage.js +0 -1
  80. package/dist/context/provider/index.d.ts +0 -1
  81. package/dist/context/provider/index.js +0 -1
  82. package/dist/context/snapshot/contextSnapshot.snapshot.d.ts +0 -1
  83. package/dist/context/snapshot/contextSnapshot.snapshot.js +0 -1
  84. package/dist/context/snapshot/index.d.ts +0 -1
  85. package/dist/context/snapshot/index.js +0 -1
  86. package/dist/context/values/contextValues.values.d.ts +0 -1
  87. package/dist/context/values/contextValues.values.js +0 -1
  88. package/dist/context/values/index.d.ts +0 -1
  89. package/dist/context/values/index.js +0 -1
  90. package/dist/contracts/adapter.d.ts +0 -1
  91. package/dist/contracts/adapter.js +0 -1
  92. package/dist/contracts/disposable.d.ts +0 -1
  93. package/dist/contracts/disposable.js +0 -1
  94. package/dist/contracts/handler.d.ts +0 -1
  95. package/dist/contracts/handler.js +0 -1
  96. package/dist/contracts/index.d.ts +0 -1
  97. package/dist/contracts/index.js +0 -1
  98. package/dist/errors/contextValueNotFound.error.d.ts +15 -0
  99. package/dist/errors/contextValueNotFound.error.js +23 -0
  100. package/dist/errors/errorCode.code.d.ts +1 -1
  101. package/dist/errors/errorCode.code.js +1 -1
  102. package/dist/errors/exceptions.d.ts +0 -1
  103. package/dist/errors/exceptions.js +0 -1
  104. package/dist/errors/frameworkError.error.d.ts +0 -1
  105. package/dist/errors/frameworkError.error.js +0 -1
  106. package/dist/errors/index.d.ts +1 -1
  107. package/dist/errors/index.js +1 -1
  108. package/dist/index.d.ts +4 -1
  109. package/dist/index.js +16 -1
  110. package/dist/lifecycle/core/index.d.ts +0 -1
  111. package/dist/lifecycle/core/index.js +0 -1
  112. package/dist/lifecycle/core/lifecycle.d.ts +12 -2
  113. package/dist/lifecycle/core/lifecycle.js +12 -2
  114. package/dist/lifecycle/core/lifecycle.rollback.d.ts +0 -1
  115. package/dist/lifecycle/core/lifecycle.rollback.js +0 -1
  116. package/dist/lifecycle/core/lifecycleHook.hook.d.ts +0 -1
  117. package/dist/lifecycle/core/lifecycleHook.hook.js +0 -1
  118. package/dist/lifecycle/core/lifecycleRegistry.registry.d.ts +0 -1
  119. package/dist/lifecycle/core/lifecycleRegistry.registry.js +0 -1
  120. package/dist/lifecycle/index.d.ts +0 -1
  121. package/dist/lifecycle/index.js +0 -1
  122. package/dist/lifecycle/manager/index.d.ts +0 -1
  123. package/dist/lifecycle/manager/index.js +0 -1
  124. package/dist/lifecycle/manager/lifecycleManager.manager.d.ts +0 -1
  125. package/dist/lifecycle/manager/lifecycleManager.manager.js +0 -1
  126. package/dist/lifecycle/scope/index.d.ts +0 -1
  127. package/dist/lifecycle/scope/index.js +0 -1
  128. package/dist/lifecycle/scope/lifecycleScope.scope.d.ts +0 -1
  129. package/dist/lifecycle/scope/lifecycleScope.scope.js +0 -1
  130. package/dist/logging/console/consoleLogger.logger.d.ts +0 -1
  131. package/dist/logging/console/consoleLogger.logger.js +6 -2
  132. package/dist/logging/console/index.d.ts +0 -1
  133. package/dist/logging/console/index.js +0 -1
  134. package/dist/logging/console/loggerFactory.factory.d.ts +0 -1
  135. package/dist/logging/console/loggerFactory.factory.js +0 -1
  136. package/dist/logging/core/index.d.ts +0 -1
  137. package/dist/logging/core/index.js +0 -1
  138. package/dist/logging/core/logEntry.entry.d.ts +0 -1
  139. package/dist/logging/core/logEntry.entry.js +0 -1
  140. package/dist/logging/core/logLevel.level.d.ts +0 -1
  141. package/dist/logging/core/logLevel.level.js +0 -1
  142. package/dist/logging/core/logRedaction.redaction.d.ts +0 -1
  143. package/dist/logging/core/logRedaction.redaction.js +0 -1
  144. package/dist/logging/core/logger.d.ts +7 -2
  145. package/dist/logging/core/logger.js +22 -3
  146. package/dist/logging/core/loggerContext.context.d.ts +0 -1
  147. package/dist/logging/core/loggerContext.context.js +0 -1
  148. package/dist/logging/core/loggerOptions.options.d.ts +6 -3
  149. package/dist/logging/core/loggerOptions.options.js +0 -1
  150. package/dist/logging/index.d.ts +0 -1
  151. package/dist/logging/index.js +0 -1
  152. package/dist/modules/index.d.ts +0 -1
  153. package/dist/modules/index.js +0 -1
  154. package/dist/modules/module.d.ts +0 -1
  155. package/dist/modules/module.js +0 -1
  156. package/dist/modules/moduleContext.context.d.ts +0 -1
  157. package/dist/modules/moduleContext.context.js +0 -1
  158. package/dist/modules/moduleDefinition.definition.d.ts +0 -1
  159. package/dist/modules/moduleDefinition.definition.js +0 -1
  160. package/dist/modules/moduleDependency/index.d.ts +0 -1
  161. package/dist/modules/moduleDependency/index.js +0 -1
  162. package/dist/modules/moduleDependency/moduleDependency.graph.d.ts +0 -1
  163. package/dist/modules/moduleDependency/moduleDependency.graph.js +0 -1
  164. package/dist/modules/moduleDependency/moduleDependency.ordering.d.ts +0 -1
  165. package/dist/modules/moduleDependency/moduleDependency.ordering.js +0 -1
  166. package/dist/modules/moduleDependency/moduleDependency.type.d.ts +0 -1
  167. package/dist/modules/moduleDependency/moduleDependency.type.js +0 -1
  168. package/dist/modules/moduleError/index.d.ts +0 -1
  169. package/dist/modules/moduleError/index.js +0 -1
  170. package/dist/modules/moduleError/moduleError.base.d.ts +0 -1
  171. package/dist/modules/moduleError/moduleError.base.js +0 -1
  172. package/dist/modules/moduleError/moduleError.dependency.d.ts +19 -3
  173. package/dist/modules/moduleError/moduleError.dependency.js +16 -4
  174. package/dist/modules/moduleError/moduleError.helpers.d.ts +0 -1
  175. package/dist/modules/moduleError/moduleError.helpers.js +0 -1
  176. package/dist/modules/moduleError/moduleError.lifecycle.d.ts +0 -1
  177. package/dist/modules/moduleError/moduleError.lifecycle.js +0 -1
  178. package/dist/modules/moduleError/moduleError.registration.d.ts +0 -1
  179. package/dist/modules/moduleError/moduleError.registration.js +0 -1
  180. package/dist/modules/moduleLifecycle/index.d.ts +0 -1
  181. package/dist/modules/moduleLifecycle/index.js +0 -1
  182. package/dist/modules/moduleLifecycle/moduleLifecycle.exclusive.d.ts +25 -0
  183. package/dist/modules/moduleLifecycle/moduleLifecycle.exclusive.js +63 -0
  184. package/dist/modules/moduleLifecycle/moduleLifecycle.lifecycle.d.ts +20 -2
  185. package/dist/modules/moduleLifecycle/moduleLifecycle.lifecycle.js +52 -20
  186. package/dist/modules/moduleLifecycle/moduleLifecycle.stateMachine.d.ts +0 -1
  187. package/dist/modules/moduleLifecycle/moduleLifecycle.stateMachine.js +4 -3
  188. package/dist/modules/moduleLifecycle/moduleLifecycle.type.d.ts +0 -1
  189. package/dist/modules/moduleLifecycle/moduleLifecycle.type.js +0 -1
  190. package/dist/modules/moduleLoader/index.d.ts +0 -1
  191. package/dist/modules/moduleLoader/index.js +0 -1
  192. package/dist/modules/moduleLoader/moduleLoader.loader.d.ts +0 -1
  193. package/dist/modules/moduleLoader/moduleLoader.loader.js +0 -1
  194. package/dist/modules/moduleLoader/moduleLoader.type.d.ts +0 -1
  195. package/dist/modules/moduleLoader/moduleLoader.type.js +0 -1
  196. package/dist/modules/moduleMetadata.metadata.d.ts +0 -1
  197. package/dist/modules/moduleMetadata.metadata.js +0 -1
  198. package/dist/modules/moduleRegistry/index.d.ts +0 -1
  199. package/dist/modules/moduleRegistry/index.js +0 -1
  200. package/dist/modules/moduleRegistry/moduleRegistry.registry.d.ts +0 -1
  201. package/dist/modules/moduleRegistry/moduleRegistry.registry.js +0 -1
  202. package/dist/modules/moduleRegistry/moduleRegistry.type.d.ts +0 -1
  203. package/dist/modules/moduleRegistry/moduleRegistry.type.js +0 -1
  204. package/dist/runtime/index.d.ts +1 -2
  205. package/dist/runtime/index.js +0 -1
  206. package/dist/runtime/runtime.d.ts +18 -2
  207. package/dist/runtime/runtime.js +23 -1
  208. package/dist/runtime/runtimeBootstrap/index.d.ts +0 -1
  209. package/dist/runtime/runtimeBootstrap/index.js +0 -1
  210. package/dist/runtime/runtimeBootstrap/pipeline/index.d.ts +0 -1
  211. package/dist/runtime/runtimeBootstrap/pipeline/index.js +0 -1
  212. package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.pipeline.d.ts +0 -1
  213. package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.pipeline.js +0 -1
  214. package/dist/runtime/runtimeBootstrap/runtimeBootstrap.core.d.ts +0 -1
  215. package/dist/runtime/runtimeBootstrap/runtimeBootstrap.core.js +8 -2
  216. package/dist/runtime/runtimeBootstrap/runtimeBootstrap.type.d.ts +0 -1
  217. package/dist/runtime/runtimeBootstrap/runtimeBootstrap.type.js +0 -1
  218. package/dist/runtime/runtimeContext/index.d.ts +0 -1
  219. package/dist/runtime/runtimeContext/index.js +0 -1
  220. package/dist/runtime/runtimeContext/runtimeContext.factory.d.ts +0 -1
  221. package/dist/runtime/runtimeContext/runtimeContext.factory.js +0 -1
  222. package/dist/runtime/runtimeContext/runtimeContext.type.d.ts +0 -1
  223. package/dist/runtime/runtimeContext/runtimeContext.type.js +0 -1
  224. package/dist/runtime/runtimeEnvironment/detection/index.d.ts +0 -1
  225. package/dist/runtime/runtimeEnvironment/detection/index.js +0 -1
  226. package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.detection.d.ts +0 -1
  227. package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.detection.js +0 -1
  228. package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.env.d.ts +0 -1
  229. package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.env.js +0 -1
  230. package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.os.d.ts +0 -1
  231. package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.os.js +0 -1
  232. package/dist/runtime/runtimeEnvironment/index.d.ts +0 -1
  233. package/dist/runtime/runtimeEnvironment/index.js +0 -1
  234. package/dist/runtime/runtimeEnvironment/runtimeEnvironment.core.d.ts +0 -1
  235. package/dist/runtime/runtimeEnvironment/runtimeEnvironment.core.js +0 -1
  236. package/dist/runtime/runtimeEnvironment/runtimeEnvironment.type.d.ts +0 -1
  237. package/dist/runtime/runtimeEnvironment/runtimeEnvironment.type.js +0 -1
  238. package/dist/runtime/runtimeError/index.d.ts +0 -1
  239. package/dist/runtime/runtimeError/index.js +0 -1
  240. package/dist/runtime/runtimeError/runtimeError.base.d.ts +0 -1
  241. package/dist/runtime/runtimeError/runtimeError.base.js +0 -1
  242. package/dist/runtime/runtimeError/runtimeError.lifecycle.d.ts +0 -1
  243. package/dist/runtime/runtimeError/runtimeError.lifecycle.js +0 -1
  244. package/dist/runtime/runtimeError/runtimeError.specialized.d.ts +0 -1
  245. package/dist/runtime/runtimeError/runtimeError.specialized.js +0 -1
  246. package/dist/runtime/runtimeError/runtimeError.type.d.ts +0 -1
  247. package/dist/runtime/runtimeError/runtimeError.type.js +0 -1
  248. package/dist/runtime/runtimeLogger.d.ts +0 -1
  249. package/dist/runtime/runtimeLogger.js +5 -2
  250. package/dist/runtime/runtimeOptions/index.d.ts +0 -1
  251. package/dist/runtime/runtimeOptions/index.js +0 -1
  252. package/dist/runtime/runtimeOptions/runtimeOptions.defaults.d.ts +0 -1
  253. package/dist/runtime/runtimeOptions/runtimeOptions.defaults.js +0 -1
  254. package/dist/runtime/runtimeOptions/runtimeOptions.mode.d.ts +0 -1
  255. package/dist/runtime/runtimeOptions/runtimeOptions.mode.js +0 -1
  256. package/dist/runtime/runtimeOptions/runtimeOptions.resolver.d.ts +0 -1
  257. package/dist/runtime/runtimeOptions/runtimeOptions.resolver.js +0 -1
  258. package/dist/runtime/runtimeOptions/runtimeOptions.type.d.ts +0 -1
  259. package/dist/runtime/runtimeOptions/runtimeOptions.type.js +0 -1
  260. package/dist/runtime/runtimeOptions/runtimeOptions.validation.d.ts +0 -1
  261. package/dist/runtime/runtimeOptions/runtimeOptions.validation.js +0 -1
  262. package/dist/runtime/runtimeShutdown/index.d.ts +0 -1
  263. package/dist/runtime/runtimeShutdown/index.js +0 -1
  264. package/dist/runtime/runtimeShutdown/pipeline/index.d.ts +0 -1
  265. package/dist/runtime/runtimeShutdown/pipeline/index.js +0 -1
  266. package/dist/runtime/runtimeShutdown/pipeline/runtimeShutdown.pipeline.d.ts +0 -1
  267. package/dist/runtime/runtimeShutdown/pipeline/runtimeShutdown.pipeline.js +0 -1
  268. package/dist/runtime/runtimeShutdown/runtimeShutdown.core.d.ts +0 -1
  269. package/dist/runtime/runtimeShutdown/runtimeShutdown.core.js +4 -2
  270. package/dist/runtime/runtimeShutdown/runtimeShutdown.type.d.ts +0 -1
  271. package/dist/runtime/runtimeShutdown/runtimeShutdown.type.js +0 -1
  272. package/dist/runtime/runtimeSignals/index.d.ts +0 -1
  273. package/dist/runtime/runtimeSignals/index.js +0 -1
  274. package/dist/runtime/runtimeSignals/runtimeSignals.d.ts +7 -3
  275. package/dist/runtime/runtimeSignals/runtimeSignals.fatal.d.ts +0 -1
  276. package/dist/runtime/runtimeSignals/runtimeSignals.fatal.js +0 -1
  277. package/dist/runtime/runtimeSignals/runtimeSignals.js +4 -5
  278. package/dist/runtime/runtimeState.state.d.ts +0 -1
  279. package/dist/runtime/runtimeState.state.js +0 -1
  280. package/dist/runtime/runtimeTimeout.d.ts +0 -1
  281. package/dist/runtime/runtimeTimeout.js +0 -1
  282. package/package.json +3 -3
@@ -1,3 +1,5 @@
1
+ import { ContextValueNotFoundError } from "../../errors/contextValueNotFound.error.js";
2
+ import { InvalidArgumentError } from "../../errors/exceptions.js";
1
3
  /**
2
4
  * Creates a strongly typed ContextKey.
3
5
  *
@@ -9,7 +11,7 @@
9
11
  */
10
12
  export function createContextKey(name) {
11
13
  if (!name.trim()) {
12
- throw new Error("Context key name cannot be empty.");
14
+ throw new InvalidArgumentError("Context key name cannot be empty.");
13
15
  }
14
16
  return Object.freeze({
15
17
  id: Symbol(name),
@@ -39,7 +41,7 @@ export function getContextValue(store, key) {
39
41
  export function requireContextValue(store, key) {
40
42
  const value = getContextValue(store, key);
41
43
  if (value === undefined) {
42
- throw new Error(`Required context value "${key.name}" is not available.`);
44
+ throw new ContextValueNotFoundError(key.name);
43
45
  }
44
46
  return value;
45
47
  }
@@ -55,4 +57,3 @@ export function hasContextValue(store, key) {
55
57
  export function deleteContextValue(store, key) {
56
58
  return store.delete(key.id);
57
59
  }
58
- //# sourceMappingURL=contextKey.key.js.map
@@ -136,4 +136,3 @@ export declare function getExecutionDuration(context: ExecutionContext, endTime?
136
136
  * so no weaker fallback exists.
137
137
  */
138
138
  export declare function createExecutionId(): string;
139
- //# sourceMappingURL=executionContext.context.d.ts.map
@@ -101,4 +101,3 @@ export function getExecutionDuration(context, endTime = new Date()) {
101
101
  export function createExecutionId() {
102
102
  return globalThis.crypto.randomUUID();
103
103
  }
104
- //# sourceMappingURL=executionContext.context.js.map
@@ -6,4 +6,3 @@
6
6
  export { createExecutionContext, deriveExecutionContext, withExecutionMetadata, getExecutionDuration, createExecutionId, type ExecutionContext, type CreateExecutionContextInput, } from "./executionContext.context.js";
7
7
  export { createContextKey, setContextValue, getContextValue, requireContextValue, hasContextValue, deleteContextValue, type ContextKey, type ContextValueStore, } from "./contextKey.key.js";
8
8
  export { createContext, type Context, type ContextType, type CreateContextOptions, } from "./contextAliases.deprecated.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@
6
6
  export { createExecutionContext, deriveExecutionContext, withExecutionMetadata, getExecutionDuration, createExecutionId, } from "./executionContext.context.js";
7
7
  export { createContextKey, setContextValue, getContextValue, requireContextValue, hasContextValue, deleteContextValue, } from "./contextKey.key.js";
8
8
  export { createContext, } from "./contextAliases.deprecated.js";
9
- //# sourceMappingURL=index.js.map
@@ -25,4 +25,3 @@ export * from "./core/index.js";
25
25
  export * from "./provider/index.js";
26
26
  export * from "./values/index.js";
27
27
  export * from "./snapshot/index.js";
28
- //# sourceMappingURL=index.d.ts.map
@@ -25,4 +25,3 @@ export * from "./core/index.js";
25
25
  export * from "./provider/index.js";
26
26
  export * from "./values/index.js";
27
27
  export * from "./snapshot/index.js";
28
- //# sourceMappingURL=index.js.map
@@ -61,4 +61,3 @@ export declare class DefaultContextProvider implements ContextProvider {
61
61
  * to a specific ContextStorage.
62
62
  */
63
63
  export declare function createContextProvider(storage?: ContextStorage): ContextProvider;
64
- //# sourceMappingURL=contextProvider.provider.d.ts.map
@@ -44,4 +44,3 @@ export class DefaultContextProvider {
44
44
  export function createContextProvider(storage) {
45
45
  return new DefaultContextProvider(storage);
46
46
  }
47
- //# sourceMappingURL=contextProvider.provider.js.map
@@ -99,4 +99,3 @@ export declare class ContextStorage {
99
99
  * Creates a ContextStorage instance.
100
100
  */
101
101
  export declare function createContextStorage(): ContextStorage;
102
- //# sourceMappingURL=contextStorage.storage.d.ts.map
@@ -124,4 +124,3 @@ export class ContextStorage {
124
124
  export function createContextStorage() {
125
125
  return new ContextStorage();
126
126
  }
127
- //# sourceMappingURL=contextStorage.storage.js.map
@@ -15,4 +15,3 @@ export declare const defaultContextStorage: ContextStorage;
15
15
  * Returns the process-wide default ContextStorage.
16
16
  */
17
17
  export declare function getDefaultContextStorage(): ContextStorage;
18
- //# sourceMappingURL=defaultContextStorage.storage.d.ts.map
@@ -17,4 +17,3 @@ export const defaultContextStorage = new ContextStorage();
17
17
  export function getDefaultContextStorage() {
18
18
  return defaultContextStorage;
19
19
  }
20
- //# sourceMappingURL=defaultContextStorage.storage.js.map
@@ -6,4 +6,3 @@
6
6
  export { ContextStorage, createContextStorage, type ExecutionContextOverrides, } from "./contextStorage.storage.js";
7
7
  export { defaultContextStorage, getDefaultContextStorage, } from "./defaultContextStorage.storage.js";
8
8
  export { DefaultContextProvider, createContextProvider, type ContextProvider, } from "./contextProvider.provider.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@
6
6
  export { ContextStorage, createContextStorage, } from "./contextStorage.storage.js";
7
7
  export { defaultContextStorage, getDefaultContextStorage, } from "./defaultContextStorage.storage.js";
8
8
  export { DefaultContextProvider, createContextProvider, } from "./contextProvider.provider.js";
9
- //# sourceMappingURL=index.js.map
@@ -45,4 +45,3 @@ export declare function restoreContextSnapshot(snapshot: ContextSnapshot): {
45
45
  * The original snapshot remains unchanged.
46
46
  */
47
47
  export declare function deriveContextSnapshot(snapshot: ContextSnapshot, context: ExecutionContext, values?: ContextValues): ContextSnapshot;
48
- //# sourceMappingURL=contextSnapshot.snapshot.d.ts.map
@@ -30,4 +30,3 @@ export function restoreContextSnapshot(snapshot) {
30
30
  export function deriveContextSnapshot(snapshot, context, values) {
31
31
  return createContextSnapshot(context, values ?? new ContextValues(snapshot.values.toStore()));
32
32
  }
33
- //# sourceMappingURL=contextSnapshot.snapshot.js.map
@@ -5,4 +5,3 @@
5
5
  * asynchronous and distributed boundaries.
6
6
  */
7
7
  export { createContextSnapshot, restoreContextSnapshot, deriveContextSnapshot, type ContextSnapshot, } from "./contextSnapshot.snapshot.js";
8
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@
5
5
  * asynchronous and distributed boundaries.
6
6
  */
7
7
  export { createContextSnapshot, restoreContextSnapshot, deriveContextSnapshot, } from "./contextSnapshot.snapshot.js";
8
- //# sourceMappingURL=index.js.map
@@ -81,4 +81,3 @@ export declare class ContextValues {
81
81
  * Creates an empty ContextValues collection.
82
82
  */
83
83
  export declare function createContextValues(): ContextValues;
84
- //# sourceMappingURL=contextValues.values.d.ts.map
@@ -117,4 +117,3 @@ export class ContextValues {
117
117
  export function createContextValues() {
118
118
  return new ContextValues();
119
119
  }
120
- //# sourceMappingURL=contextValues.values.js.map
@@ -4,4 +4,3 @@
4
4
  * Immutable typed context value collection.
5
5
  */
6
6
  export { ContextValues, createContextValues } from "./contextValues.values.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Immutable typed context value collection.
5
5
  */
6
6
  export { ContextValues, createContextValues } from "./contextValues.values.js";
7
- //# sourceMappingURL=index.js.map
@@ -41,4 +41,3 @@ export interface Adapter<TOptions = unknown> extends Disposable {
41
41
  */
42
42
  stop(): Promise<void> | void;
43
43
  }
44
- //# sourceMappingURL=adapter.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=adapter.js.map
@@ -20,4 +20,3 @@ export interface Disposable {
20
20
  */
21
21
  dispose(): Promise<void> | void;
22
22
  }
23
- //# sourceMappingURL=disposable.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=disposable.js.map
@@ -29,4 +29,3 @@ export type HandlerFunction<TInput = unknown, TOutput = unknown> = (input: TInpu
29
29
  * Converts a handler function into a Handler object.
30
30
  */
31
31
  export declare function createHandler<TInput, TOutput>(handler: HandlerFunction<TInput, TOutput>): Handler<TInput, TOutput>;
32
- //# sourceMappingURL=handler.d.ts.map
@@ -6,4 +6,3 @@ export function createHandler(handler) {
6
6
  handle: handler,
7
7
  };
8
8
  }
9
- //# sourceMappingURL=handler.js.map
@@ -4,4 +4,3 @@
4
4
  export { type Adapter } from "./adapter.js";
5
5
  export { type Handler, type HandlerFunction, createHandler, } from "./handler.js";
6
6
  export { type Disposable } from "./disposable.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  export {} from "./adapter.js";
5
5
  export { createHandler, } from "./handler.js";
6
6
  export {} from "./disposable.js";
7
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,15 @@
1
+ import { FrameworkError } from "./frameworkError.error.js";
2
+ /**
3
+ * Thrown by `ContextValues.require()` when no value is stored under
4
+ * the requested context key.
5
+ *
6
+ * A plain `Error` used to be thrown here, so callers could neither
7
+ * catch it by type nor read a code from it.
8
+ */
9
+ export declare class ContextValueNotFoundError extends FrameworkError {
10
+ /**
11
+ * Human-readable name of the missing key.
12
+ */
13
+ readonly key: string;
14
+ constructor(keyName: string);
15
+ }
@@ -0,0 +1,23 @@
1
+ import { FrameworkError } from "./frameworkError.error.js";
2
+ import { ErrorCode } from "./errorCode.code.js";
3
+ /**
4
+ * Thrown by `ContextValues.require()` when no value is stored under
5
+ * the requested context key.
6
+ *
7
+ * A plain `Error` used to be thrown here, so callers could neither
8
+ * catch it by type nor read a code from it.
9
+ */
10
+ export class ContextValueNotFoundError extends FrameworkError {
11
+ /**
12
+ * Human-readable name of the missing key.
13
+ */
14
+ key;
15
+ constructor(keyName) {
16
+ super(`Required context value "${keyName}" is not available.`, {
17
+ code: ErrorCode.CONTEXT_VALUE_NOT_FOUND,
18
+ details: { key: keyName },
19
+ });
20
+ this.name = "ContextValueNotFoundError";
21
+ this.key = keyName;
22
+ }
23
+ }
@@ -30,6 +30,7 @@ export declare const ErrorCode: {
30
30
  readonly CONFIGURATION_CONFLICT: "CORE_CONFIGURATION_CONFLICT";
31
31
  readonly EXECUTION_CONTEXT_NOT_FOUND: "CORE_EXECUTION_CONTEXT_NOT_FOUND";
32
32
  readonly INVALID_EXECUTION_CONTEXT: "CORE_INVALID_EXECUTION_CONTEXT";
33
+ readonly CONTEXT_VALUE_NOT_FOUND: "CORE_CONTEXT_VALUE_NOT_FOUND";
33
34
  readonly MODULE_NOT_FOUND: "CORE_MODULE_NOT_FOUND";
34
35
  readonly MODULE_ALREADY_REGISTERED: "CORE_MODULE_ALREADY_REGISTERED";
35
36
  readonly MODULE_INITIALIZATION_FAILED: "CORE_MODULE_INITIALIZATION_FAILED";
@@ -75,4 +76,3 @@ export declare const ErrorCode: {
75
76
  * Union of all core Zudojs error codes.
76
77
  */
77
78
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
78
- //# sourceMappingURL=errorCode.code.d.ts.map
@@ -35,6 +35,7 @@ export const ErrorCode = {
35
35
  // Context
36
36
  EXECUTION_CONTEXT_NOT_FOUND: "CORE_EXECUTION_CONTEXT_NOT_FOUND",
37
37
  INVALID_EXECUTION_CONTEXT: "CORE_INVALID_EXECUTION_CONTEXT",
38
+ CONTEXT_VALUE_NOT_FOUND: "CORE_CONTEXT_VALUE_NOT_FOUND",
38
39
  // Modules
39
40
  MODULE_NOT_FOUND: "CORE_MODULE_NOT_FOUND",
40
41
  MODULE_ALREADY_REGISTERED: "CORE_MODULE_ALREADY_REGISTERED",
@@ -81,4 +82,3 @@ export const ErrorCode = {
81
82
  // Configuration validation
82
83
  CONFIGURATION_VALIDATION_FAILED: "CORE_CONFIGURATION_VALIDATION_FAILED",
83
84
  };
84
- //# sourceMappingURL=errorCode.code.js.map
@@ -71,4 +71,3 @@ export declare class AdapterNotFoundError extends FrameworkError {
71
71
  * Creates a readable representation of a dependency token.
72
72
  */
73
73
  export declare function describeToken(token: unknown): string;
74
- //# sourceMappingURL=exceptions.d.ts.map
@@ -159,4 +159,3 @@ export function describeToken(token) {
159
159
  }
160
160
  return String(token);
161
161
  }
162
- //# sourceMappingURL=exceptions.js.map
@@ -45,4 +45,3 @@ export declare class FrameworkError extends ApplicationError {
45
45
  */
46
46
  toJSON(): FrameworkErrorJSON;
47
47
  }
48
- //# sourceMappingURL=frameworkError.error.d.ts.map
@@ -51,4 +51,3 @@ export class FrameworkError extends ApplicationError {
51
51
  };
52
52
  }
53
53
  }
54
- //# sourceMappingURL=frameworkError.error.js.map
@@ -6,5 +6,5 @@
6
6
  export { ErrorCode } from "./errorCode.code.js";
7
7
  export type { ErrorCode as ErrorCodeType } from "./errorCode.code.js";
8
8
  export { FrameworkError, type FrameworkErrorJSON, } from "./frameworkError.error.js";
9
+ export { ContextValueNotFoundError } from "./contextValueNotFound.error.js";
9
10
  export { InvalidArgumentError, InvalidStateError, ProviderNotFoundError, ProviderAlreadyRegisteredError, InvalidProviderError, DependencyResolutionError, ConfigurationNotFoundError, ExecutionContextNotFoundError, ModuleNotFoundError, AdapterNotFoundError, describeToken, } from "./exceptions.js";
10
- //# sourceMappingURL=index.d.ts.map
@@ -5,5 +5,5 @@
5
5
  */
6
6
  export { ErrorCode } from "./errorCode.code.js";
7
7
  export { FrameworkError, } from "./frameworkError.error.js";
8
+ export { ContextValueNotFoundError } from "./contextValueNotFound.error.js";
8
9
  export { InvalidArgumentError, InvalidStateError, ProviderNotFoundError, ProviderAlreadyRegisteredError, InvalidProviderError, DependencyResolutionError, ConfigurationNotFoundError, ExecutionContextNotFoundError, ModuleNotFoundError, AdapterNotFoundError, describeToken, } from "./exceptions.js";
9
- //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -31,4 +31,7 @@ export * from "./modules/index.js";
31
31
  export { ModuleNotFoundError } from "./modules/index.js";
32
32
  export * from "./runtime/index.js";
33
33
  export * from "./application/index.js";
34
- //# sourceMappingURL=index.d.ts.map
34
+ export { Lifecycle as CoreLifecycle, LifecycleManager as CoreLifecycleManager, LifecycleState as CoreLifecycleState, } from "./lifecycle/index.js";
35
+ export { Container as CoreContainer } from "./container/index.js";
36
+ export { ConfigurationManager as CoreConfigurationManager } from "./configuration/index.js";
37
+ export { createRuntime as createCoreRuntime } from "./runtime/index.js";
package/dist/index.js CHANGED
@@ -86,4 +86,19 @@ export * from "./runtime/index.js";
86
86
  * ============================================================
87
87
  */
88
88
  export * from "./application/index.js";
89
- //# sourceMappingURL=index.js.map
89
+ /*
90
+ * ============================================================
91
+ * Aliases for colliding names
92
+ * ============================================================
93
+ *
94
+ * These names are also exported, with different meanings, by sibling
95
+ * packages: `LifecycleState`/`LifecycleManager` by @zudojs/lifecycle
96
+ * and @zudojs/constants, `createRuntime` by @zudojs/runtime,
97
+ * `Container` by @zudojs/container, `ConfigurationManager` by
98
+ * @zudojs/config. The originals stay; import the Core-prefixed alias
99
+ * when two of those packages meet in one file.
100
+ */
101
+ export { Lifecycle as CoreLifecycle, LifecycleManager as CoreLifecycleManager, LifecycleState as CoreLifecycleState, } from "./lifecycle/index.js";
102
+ export { Container as CoreContainer } from "./container/index.js";
103
+ export { ConfigurationManager as CoreConfigurationManager } from "./configuration/index.js";
104
+ export { createRuntime as createCoreRuntime } from "./runtime/index.js";
@@ -6,4 +6,3 @@
6
6
  export { Lifecycle, LifecycleState, type LifecycleOptions, type LifecycleParticipant, } from "./lifecycle.js";
7
7
  export { hasInitializeHook, hasStartHook, hasStopHook, hasDestroyHook, type OnInitialize, type OnStart, type OnStop, type OnDestroy, type LifecycleHook, } from "./lifecycleHook.hook.js";
8
8
  export { LifecycleRegistry, type LifecycleComponent, type LifecycleRegistration, } from "./lifecycleRegistry.registry.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@
6
6
  export { Lifecycle, LifecycleState, } from "./lifecycle.js";
7
7
  export { hasInitializeHook, hasStartHook, hasStopHook, hasDestroyHook, } from "./lifecycleHook.hook.js";
8
8
  export { LifecycleRegistry, } from "./lifecycleRegistry.registry.js";
9
- //# sourceMappingURL=index.js.map
@@ -1,5 +1,16 @@
1
1
  import type { Logger } from "../../logging/core/logger.js";
2
- /** Lifecycle states supported by the Zudojs application runtime. */
2
+ /**
3
+ * States of the core `Lifecycle` participant machine (created →
4
+ * initializing → initialized → starting → running → stopping → stopped,
5
+ * plus failed).
6
+ *
7
+ * This is one of three state vocabularies in the framework and they do
8
+ * not share values: `LifecycleState` from @zudojs/constants describes
9
+ * a component managed by @zudojs/lifecycle (idle … started → ready …
10
+ * disposed) and `RuntimeState` from @zudojs/runtime describes that
11
+ * package's runtime. Import this one as `CoreLifecycleState` when the
12
+ * names would clash.
13
+ */
3
14
  export declare const LifecycleState: {
4
15
  readonly CREATED: "created";
5
16
  readonly INITIALIZING: "initializing";
@@ -91,4 +102,3 @@ export declare class Lifecycle {
91
102
  private runStop;
92
103
  private invalidState;
93
104
  }
94
- //# sourceMappingURL=lifecycle.d.ts.map
@@ -1,6 +1,17 @@
1
1
  import { InvalidStateError } from "../../errors/exceptions.js";
2
2
  import { rollbackStartedParticipants } from "./lifecycle.rollback.js";
3
- /** Lifecycle states supported by the Zudojs application runtime. */
3
+ /**
4
+ * States of the core `Lifecycle` participant machine (created →
5
+ * initializing → initialized → starting → running → stopping → stopped,
6
+ * plus failed).
7
+ *
8
+ * This is one of three state vocabularies in the framework and they do
9
+ * not share values: `LifecycleState` from @zudojs/constants describes
10
+ * a component managed by @zudojs/lifecycle (idle … started → ready …
11
+ * disposed) and `RuntimeState` from @zudojs/runtime describes that
12
+ * package's runtime. Import this one as `CoreLifecycleState` when the
13
+ * names would clash.
14
+ */
4
15
  export const LifecycleState = {
5
16
  CREATED: "created",
6
17
  INITIALIZING: "initializing",
@@ -355,4 +366,3 @@ export class Lifecycle {
355
366
  return new InvalidStateError(`Cannot ${label} application while state is "${this.state}".`, { operation, state: this.state });
356
367
  }
357
368
  }
358
- //# sourceMappingURL=lifecycle.js.map
@@ -15,4 +15,3 @@ import type { LifecycleParticipant } from "./lifecycle.js";
15
15
  * @returns The errors raised by `stop()` hooks during the rollback.
16
16
  */
17
17
  export declare function rollbackStartedParticipants(participants: readonly LifecycleParticipant[], count: number, logger: Logger | undefined): Promise<readonly unknown[]>;
18
- //# sourceMappingURL=lifecycle.rollback.d.ts.map
@@ -31,4 +31,3 @@ export async function rollbackStartedParticipants(participants, count, logger) {
31
31
  }
32
32
  return errors;
33
33
  }
34
- //# sourceMappingURL=lifecycle.rollback.js.map
@@ -56,4 +56,3 @@ export declare function hasStopHook(value: unknown): value is OnStop;
56
56
  * Type guard for destroy hooks.
57
57
  */
58
58
  export declare function hasDestroyHook(value: unknown): value is OnDestroy;
59
- //# sourceMappingURL=lifecycleHook.hook.d.ts.map
@@ -34,4 +34,3 @@ export function hasDestroyHook(value) {
34
34
  "onDestroy" in value &&
35
35
  typeof value.onDestroy === "function");
36
36
  }
37
- //# sourceMappingURL=lifecycleHook.hook.js.map
@@ -106,4 +106,3 @@ export declare class LifecycleRegistry {
106
106
  */
107
107
  private resolveComponentName;
108
108
  }
109
- //# sourceMappingURL=lifecycleRegistry.registry.d.ts.map
@@ -131,4 +131,3 @@ export class LifecycleRegistry {
131
131
  return "anonymous";
132
132
  }
133
133
  }
134
- //# sourceMappingURL=lifecycleRegistry.registry.js.map
@@ -7,4 +7,3 @@
7
7
  export * from "./core/index.js";
8
8
  export * from "./manager/index.js";
9
9
  export * from "./scope/index.js";
10
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@
7
7
  export * from "./core/index.js";
8
8
  export * from "./manager/index.js";
9
9
  export * from "./scope/index.js";
10
- //# sourceMappingURL=index.js.map
@@ -4,4 +4,3 @@
4
4
  * Lifecycle orchestration.
5
5
  */
6
6
  export { LifecycleManager, type LifecycleManagerOptions, type ManagedLifecycleComponent, } from "./lifecycleManager.manager.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Lifecycle orchestration.
5
5
  */
6
6
  export { LifecycleManager, } from "./lifecycleManager.manager.js";
7
- //# sourceMappingURL=index.js.map
@@ -49,4 +49,3 @@ export declare class LifecycleManager {
49
49
  private isLifecycleParticipant;
50
50
  private getComponentName;
51
51
  }
52
- //# sourceMappingURL=lifecycleManager.manager.d.ts.map
@@ -117,4 +117,3 @@ export class LifecycleManager {
117
117
  return "anonymous";
118
118
  }
119
119
  }
120
- //# sourceMappingURL=lifecycleManager.manager.js.map
@@ -5,4 +5,3 @@
5
5
  * modules, plugins, workers, and services.
6
6
  */
7
7
  export { LifecycleScope, LifecycleScopeState, type LifecycleScopeOptions, } from "./lifecycleScope.scope.js";
8
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@
5
5
  * modules, plugins, workers, and services.
6
6
  */
7
7
  export { LifecycleScope, LifecycleScopeState, } from "./lifecycleScope.scope.js";
8
- //# sourceMappingURL=index.js.map
@@ -67,4 +67,3 @@ export declare class LifecycleScope {
67
67
  private detach;
68
68
  private invalidState;
69
69
  }
70
- //# sourceMappingURL=lifecycleScope.scope.d.ts.map
@@ -299,4 +299,3 @@ export class LifecycleScope {
299
299
  return new InvalidStateError(`Cannot ${operation} lifecycle scope "${this.name}" while state is "${this.state}".`, { scope: this.name, operation, state: this.state });
300
300
  }
301
301
  }
302
- //# sourceMappingURL=lifecycleScope.scope.js.map
@@ -75,4 +75,3 @@ export declare class ConsoleLogger extends BaseLogger {
75
75
  */
76
76
  private stringifyValue;
77
77
  }
78
- //# sourceMappingURL=consoleLogger.logger.d.ts.map
@@ -3,6 +3,7 @@ import { InvalidArgumentError } from "../../errors/exceptions.js";
3
3
  import { safeLogStringify, sanitizeLogValue, serializeLogError, } from "../core/logEntry.entry.js";
4
4
  import { loggerContextFromExecution } from "../core/loggerContext.context.js";
5
5
  import { DEFAULT_LOGGER_OPTIONS, } from "../core/loggerOptions.options.js";
6
+ import { createLogRedactor } from "../core/logRedaction.redaction.js";
6
7
  import { BaseLogger } from "../core/logger.js";
7
8
  /**
8
9
  * Logger implementation that writes structured log entries
@@ -33,10 +34,14 @@ export class ConsoleLogger extends BaseLogger {
33
34
  if (!isLogLevel(level)) {
34
35
  throw new InvalidArgumentError(`Unknown log level "${String(level)}". Expected one of: ${Object.keys(LogLevelPriority).join(", ")}.`, { level });
35
36
  }
37
+ // Secure by default: sensitive keys are redacted unless the caller
38
+ // opts out with `redact: false` or supplies its own hook. Children
39
+ // receive the resolved value, so they inherit whichever it is.
36
40
  this.options = {
37
41
  ...DEFAULT_LOGGER_OPTIONS,
38
42
  ...options,
39
43
  level,
44
+ redact: options.redact === undefined ? createLogRedactor() : options.redact,
40
45
  };
41
46
  }
42
47
  /**
@@ -51,7 +56,7 @@ export class ConsoleLogger extends BaseLogger {
51
56
  if (!shouldLog(level, this.options.level)) {
52
57
  return;
53
58
  }
54
- const redact = this.options.redact;
59
+ const redact = this.options.redact === false ? undefined : this.options.redact;
55
60
  context = this.withExecutionContext(context);
56
61
  const entry = {
57
62
  level,
@@ -243,4 +248,3 @@ export class ConsoleLogger extends BaseLogger {
243
248
  }
244
249
  }
245
250
  }
246
- //# sourceMappingURL=consoleLogger.logger.js.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export { ConsoleLogger } from "./consoleLogger.logger.js";
7
7
  export { LoggerFactory, type LoggerFactoryOptions, type LoggerImplementation, } from "./loggerFactory.factory.js";
8
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export { ConsoleLogger } from "./consoleLogger.logger.js";
7
7
  export { LoggerFactory, } from "./loggerFactory.factory.js";
8
- //# sourceMappingURL=index.js.map
@@ -43,4 +43,3 @@ export declare class LoggerFactory {
43
43
  */
44
44
  child(logger: Logger, context: LoggerContext): Logger;
45
45
  }
46
- //# sourceMappingURL=loggerFactory.factory.d.ts.map
@@ -28,4 +28,3 @@ export class LoggerFactory {
28
28
  return logger.child(context);
29
29
  }
30
30
  }
31
- //# sourceMappingURL=loggerFactory.factory.js.map
@@ -9,4 +9,3 @@ export { createLoggerContext, loggerContextFromExecution, type LoggerContext, }
9
9
  export { serializeLogError, sanitizeLogValue, safeLogStringify, type LogEntry, type LogError, type LogErrorSerializationOptions, } from "./logEntry.entry.js";
10
10
  export { createLogRedactor, type LogRedactionHook, type LogRedactorOptions, } from "./logRedaction.redaction.js";
11
11
  export { DEFAULT_LOGGER_OPTIONS, type LoggerOptions, type LogLevelOption, } from "./loggerOptions.options.js";
12
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@ export { createLoggerContext, loggerContextFromExecution, } from "./loggerContex
9
9
  export { serializeLogError, sanitizeLogValue, safeLogStringify, } from "./logEntry.entry.js";
10
10
  export { createLogRedactor, } from "./logRedaction.redaction.js";
11
11
  export { DEFAULT_LOGGER_OPTIONS, } from "./loggerOptions.options.js";
12
- //# sourceMappingURL=index.js.map
@@ -108,4 +108,3 @@ export declare function sanitizeLogValue(value: unknown, seen?: WeakSet<object>,
108
108
  * placeholder strings.
109
109
  */
110
110
  export declare function safeLogStringify(value: unknown): string;
111
- //# sourceMappingURL=logEntry.entry.d.ts.map
@@ -156,4 +156,3 @@ export function safeLogStringify(value) {
156
156
  return '"[Unserializable]"';
157
157
  }
158
158
  }
159
- //# sourceMappingURL=logEntry.entry.js.map
@@ -44,4 +44,3 @@ export declare function resolveLogLevel(value: unknown): LogLevel;
44
44
  * silently disabling all logging.
45
45
  */
46
46
  export declare function shouldLog(level: LogLevel, minimumLevel: LogLevel): boolean;
47
- //# sourceMappingURL=logLevel.level.d.ts.map