@rsdk/actx 5.4.0-next.1 → 5.4.0-next.10

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
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.4.0-next.10](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.9...v5.4.0-next.10) (2024-12-03)
7
+
8
+ **Note:** Version bump only for package @rsdk/actx
9
+
10
+ ## [5.4.0-next.9](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.8...v5.4.0-next.9) (2024-12-02)
11
+
12
+ ## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
13
+
14
+ ## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.3.1-rc.0) (2024-11-28)
15
+
16
+ **Note:** Version bump only for package @rsdk/actx
17
+
18
+ ## [5.4.0-next.8](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.7...v5.4.0-next.8) (2024-11-28)
19
+
20
+ **Note:** Version bump only for package @rsdk/actx
21
+
22
+ ## [5.4.0-next.7](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.4.0-next.7) (2024-11-28)
23
+
24
+ ### Features
25
+
26
+ * eslint rule lines-around-comment ([65083bd](https://github.com/R-Vision/rsdk/commit/65083bd2e084344e08f2124e39afbbc23fdaa4f4))
27
+
28
+ ## [5.4.0-next.6](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.5...v5.4.0-next.6) (2024-11-28)
29
+
30
+ **Note:** Version bump only for package @rsdk/actx
31
+
32
+ ## [5.4.0-next.5](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.4...v5.4.0-next.5) (2024-11-28)
33
+
34
+ **Note:** Version bump only for package @rsdk/actx
35
+
36
+ ## [5.4.0-next.4](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.3...v5.4.0-next.4) (2024-11-27)
37
+
38
+ **Note:** Version bump only for package @rsdk/actx
39
+
40
+ ## [5.4.0-next.3](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.2...v5.4.0-next.3) (2024-11-25)
41
+
42
+ **Note:** Version bump only for package @rsdk/actx
43
+
44
+ ## [5.4.0-next.2](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.1...v5.4.0-next.2) (2024-11-25)
45
+
46
+ **Note:** Version bump only for package @rsdk/actx
47
+
6
48
  ## [5.4.0-next.1](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.0...v5.4.0-next.1) (2024-11-08)
7
49
 
8
50
  **Note:** Version bump only for package @rsdk/actx
@@ -11,6 +53,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
53
 
12
54
  **Note:** Version bump only for package @rsdk/actx
13
55
 
56
+ ## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
57
+
58
+ **Note:** Version bump only for package @rsdk/actx
59
+
60
+ ## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.3.0...v5.3.1-rc.0) (2024-11-28)
61
+
62
+ **Note:** Version bump only for package @rsdk/actx
63
+
14
64
  ## [5.3.0](https://github.com/R-Vision/rsdk/compare/v5.3.0-next.4...v5.3.0) (2024-11-08)
15
65
 
16
66
  **Note:** Version bump only for package @rsdk/actx
@@ -1,8 +1,8 @@
1
1
  export interface AsyncContextProvider<V> {
2
+ get isSettled(): boolean;
2
3
  get(): V | undefined;
3
4
  getOrThrow(): V;
4
5
  set(v: V): void;
5
- get isSettled(): boolean;
6
6
  }
7
7
  export declare const createAsyncContextProvider: <V = never>(config: {
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"async-context.provider.js","sourceRoot":"","sources":["../src/async-context.provider.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAYxC,MAAM,0BAA0B,GAAG,CAAY,MASrD,EAA2B,EAAE;IAC5B,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC;IAE1B,IAAI,SAAS,GAAG,KAAK,CAAC;IAEtB,OAAO;QACL,IAAI,SAAS;YACX,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,GAAG;YACD,OAAO,4BAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;QAED,UAAU;YACR,IAAI,CAAC,4BAAY,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7B,MAAM,IAAI,KAAK,CAAC,sBAAsB,GAAG,KAAK,CAAC,CAAC;YAClD,CAAC;YACD,OAAO,4BAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;QAED,GAAG,CAAC,CAAI;YACN,SAAS,GAAG,IAAI,CAAC;YACjB,4BAAY,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;QAChD,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAlCW,QAAA,0BAA0B,8BAkCrC"}
1
+ {"version":3,"file":"async-context.provider.js","sourceRoot":"","sources":["../src/async-context.provider.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAWxC,MAAM,0BAA0B,GAAG,CAAY,MAUrD,EAA2B,EAAE;IAC5B,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC;IAE1B,IAAI,SAAS,GAAG,KAAK,CAAC;IAEtB,OAAO;QACL,IAAI,SAAS;YACX,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,GAAG;YACD,OAAO,4BAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;QAED,UAAU;YACR,IAAI,CAAC,4BAAY,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7B,MAAM,IAAI,KAAK,CAAC,sBAAsB,GAAG,KAAK,CAAC,CAAC;YAClD,CAAC;YACD,OAAO,4BAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;QAED,GAAG,CAAC,CAAI;YACN,SAAS,GAAG,IAAI,CAAC;YACjB,4BAAY,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;QAChD,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAnCW,QAAA,0BAA0B,8BAmCrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/actx",
3
- "version": "5.4.0-next.1",
3
+ "version": "5.4.0-next.10",
4
4
  "description": "Library for AsyncLocalStorage",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -17,5 +17,5 @@
17
17
  "@nestjs/common": "^10.0.0",
18
18
  "@nestjs/core": "^10.0.0"
19
19
  },
20
- "gitHead": "de7a6d46a28e5d5e90eb9ba36cea1ee48891505a"
20
+ "gitHead": "e069174778f5d22396099fddfe3b10c4f30b467d"
21
21
  }
@@ -1,13 +1,12 @@
1
1
  import { AsyncContext } from './async-context';
2
2
 
3
3
  export interface AsyncContextProvider<V> {
4
+ get isSettled(): boolean;
4
5
  get(): V | undefined;
5
6
 
6
7
  getOrThrow(): V;
7
8
 
8
9
  set(v: V): void;
9
-
10
- get isSettled(): boolean;
11
10
  }
12
11
 
13
12
  export const createAsyncContextProvider = <V = never>(config: {
@@ -15,6 +14,7 @@ export const createAsyncContextProvider = <V = never>(config: {
15
14
  * Only for debugging
16
15
  */
17
16
  name: string;
17
+
18
18
  /**
19
19
  * Can to rewrite after settled
20
20
  */