@warlock.js/context 5.31.0 → 5.33.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/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to `@warlock.js/context` are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
6
6
 
7
+ ## 5.33.0 - 2026-10-19
8
+
9
+ ### Changed
10
+
11
+ - Lockstep release; package APIs are unchanged.
12
+
13
+ ## 5.32.0 - 2026-10-18
14
+
15
+ ### Changed
16
+
17
+ - Pin the package development compiler to TypeScript 7.0.2 and use explicit Node types and source roots with supported module resolution.
18
+
7
19
  ## 5.31.0 - 2026-10-18
8
20
 
9
21
  ### Changed
@@ -1,5 +1,4 @@
1
1
  import { AsyncLocalStorage } from "async_hooks";
2
-
3
2
  //#region ../../packages/context/src/base-context.d.ts
4
3
  /**
5
4
  * Base class for all AsyncLocalStorage-based contexts
@@ -25,7 +24,7 @@ import { AsyncLocalStorage } from "async_hooks";
25
24
  * });
26
25
  * ```
27
26
  */
28
- declare abstract class Context<TStore extends Record<string, any>> {
27
+ export declare abstract class Context<TStore extends Record<string, any>> {
29
28
  protected readonly storage: AsyncLocalStorage<TStore>;
30
29
  /**
31
30
  * Run a callback within a new context
@@ -105,5 +104,4 @@ declare abstract class Context<TStore extends Record<string, any>> {
105
104
  abstract buildStore(payload?: Record<string, any>): TStore;
106
105
  }
107
106
  //#endregion
108
- export { Context };
109
107
  //# sourceMappingURL=base-context.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-context.d.mts","names":[],"sources":["../../../../../../../packages/context/src/base-context.ts"],"mappings":";;;;;AAqEA;;;;;;;;;;;;;;;;;;;;;;uBAAsB,OAAA,gBAAuB,MAAA;EAAA,mBACxB,OAAA,EAAS,iBAAA,CAAkB,MAAA;EA6Ga;;;;;;;;;;EAjGpD,GAAA,IAAO,KAAA,EAAO,MAAA,EAAQ,QAAA,QAAgB,OAAA,CAAQ,CAAA,IAAK,OAAA,CAAQ,CAAA;EAApD;;;;;;;;EAYP,KAAA,CAAM,KAAA,EAAO,MAAA;EAkBb;;;;;;;;;;;;;;EAAA,MAAA,CAAO,OAAA,EAAS,OAAA,CAAQ,MAAA;EAwCJ;;;;;EAvBpB,QAAA,IAAY,MAAA;EA8BZ;;;;;;EApBA,GAAA,iBAAoB,MAAA,EAAQ,GAAA,EAAK,CAAA,GAAI,MAAA,CAAO,CAAA;EAwCc;;;;;;;;;EA3B1D,GAAA,iBAAoB,MAAA,EAAQ,GAAA,EAAK,CAAA,EAAG,KAAA,EAAO,MAAA,CAAO,CAAA;;;;EAOlD,KAAA;;;;EAOA,UAAA;;;;;;;;;;WAaS,UAAA,CAAW,OAAA,GAAU,MAAA,gBAAsB,MAAA;AAAA"}
1
+ {"version":3,"file":"base-context.d.mts","names":[],"sources":["../../../../../../../packages/context/src/base-context.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;8BAqEsB,QAAQ,eAAe;qBACxB,SAAS,kBAAkB;;;;;;;;;;;EAYvC,IAAI,GAAG,OAAO,QAAQ,gBAAgB,QAAQ,KAAK,QAAQ;;;;;;;;;EAY3D,MAAM,OAAO;;;;;;;;;;;;;;;EAkBb,OAAO,SAAS,QAAQ;;;;;;EAiBxB,YAAY;;;;;;;EAUZ,IAAI,gBAAgB,QAAQ,KAAK,IAAI,OAAO;;;;;;;;;;EAa5C,IAAI,gBAAgB,QAAQ,KAAK,GAAG,OAAO,OAAO;;;;EAOlD;;;;EAOA;;;;;;;;;;WAaS,WAAW,UAAU,sBAAsB"}
@@ -1,5 +1,4 @@
1
1
  import { Context } from "./base-context.mjs";
2
-
3
2
  //#region ../../packages/context/src/context-manager.d.ts
4
3
  /**
5
4
  * Context Manager - Orchestrates multiple contexts together
@@ -26,7 +25,7 @@ import { Context } from "./base-context.mjs";
26
25
  * });
27
26
  * ```
28
27
  */
29
- declare class ContextManager {
28
+ export declare class ContextManager {
30
29
  private contexts;
31
30
  /**
32
31
  * Register a context
@@ -100,7 +99,6 @@ declare class ContextManager {
100
99
  *
101
100
  * Use this singleton to register and manage all framework contexts.
102
101
  */
103
- declare const contextManager: ContextManager;
102
+ export declare const contextManager: ContextManager;
104
103
  //#endregion
105
- export { ContextManager, contextManager };
106
104
  //# sourceMappingURL=context-manager.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-manager.d.mts","names":[],"sources":["../../../../../../../packages/context/src/context-manager.ts"],"mappings":";;;;;AA2BA;;;;;;;;;;;;;;;;;;;;;;;cAAa,cAAA;EAAA,QACH,QAAA;EAwB4D;;;;;;;EAf7D,QAAA,CAAS,IAAA,UAAc,OAAA,EAAS,OAAA;EA0ChC;;;;;;;;;;EA3BM,MAAA,IAAU,MAAA,EAAQ,MAAA,eAAqB,QAAA,QAAgB,OAAA,CAAQ,CAAA,IAAK,OAAA,CAAQ,CAAA;EAoEtC;;;;AAgBrB;EApEvB,QAAA,CAAS,MAAA,EAAQ,MAAA;EA8EwB;;;EAnEzC,QAAA;;;;;;;EAYA,UAAA,WAAqB,OAAA,OAAc,IAAA,WAAe,CAAA;;;;;;;EAUlD,UAAA,CAAW,IAAA;;;;;;;;;;;;;;;;EAmBX,WAAA,CAAY,OAAA,GAAU,MAAA,gBAAsB,MAAA;;;;;;;EAgB5C,UAAA,CAAW,IAAA;AAAA;;;;;;cAUP,cAAA,EAAc,cAAuB"}
1
+ {"version":3,"file":"context-manager.d.mts","names":[],"sources":["../../../../../../../packages/context/src/context-manager.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2Ba;UACH;;;;;;;;EASD,SAAS,cAAc,SAAS;;;;;;;;;;;EAe1B,OAAO,GAAG,QAAQ,qBAAqB,gBAAgB,QAAQ,KAAK,QAAQ;;;;;;EAgBlF,SAAS,QAAQ;;;;EAWjB;;;;;;;EAYA,WAAW,UAAU,cAAc,eAAe;;;;;;;EAUlD,WAAW;;;;;;;;;;;;;;;;EAmBX,YAAY,UAAU,sBAAsB;;;;;;;EAgB5C,WAAW;;;;;;;qBAUP,gBAAc"}
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "engines": {
26
26
  "node": ">=18.0.0"
27
27
  },
28
- "version": "5.31.0",
28
+ "version": "5.33.0",
29
29
  "main": "./cjs/index.cjs",
30
30
  "module": "./esm/index.mjs",
31
31
  "types": "./esm/index.d.mts",