@alwatr/signal 1.1.1 → 2.0.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 +176 -162
- package/context.d.ts +31 -0
- package/context.d.ts.map +1 -0
- package/context.js +40 -0
- package/context.js.map +1 -0
- package/index.d.ts +5 -9
- package/index.d.ts.map +1 -1
- package/index.js +10 -16
- package/index.js.map +1 -1
- package/multithread-context.d.ts +21 -0
- package/multithread-context.d.ts.map +1 -0
- package/multithread-context.js +50 -0
- package/multithread-context.js.map +1 -0
- package/observable.d.ts +47 -0
- package/observable.d.ts.map +1 -0
- package/observable.js +126 -0
- package/observable.js.map +1 -0
- package/package.json +9 -9
- package/signal.d.ts +19 -0
- package/signal.d.ts.map +1 -0
- package/signal.js +23 -0
- package/signal.js.map +1 -0
- package/simple-signal.d.ts +19 -0
- package/simple-signal.d.ts.map +1 -0
- package/simple-signal.js +23 -0
- package/simple-signal.js.map +1 -0
- package/type.d.ts +15 -126
- package/type.d.ts.map +1 -1
- package/type.js.map +1 -1
- package/command-handler.d.ts +0 -25
- package/command-handler.d.ts.map +0 -1
- package/command-handler.js +0 -24
- package/command-handler.js.map +0 -1
- package/command-trigger.d.ts +0 -64
- package/command-trigger.d.ts.map +0 -1
- package/command-trigger.js +0 -64
- package/command-trigger.js.map +0 -1
- package/context-consumer.d.ts +0 -124
- package/context-consumer.d.ts.map +0 -1
- package/context-consumer.js +0 -124
- package/context-consumer.js.map +0 -1
- package/context-provider.d.ts +0 -120
- package/context-provider.d.ts.map +0 -1
- package/context-provider.js +0 -120
- package/context-provider.js.map +0 -1
- package/core.d.ts +0 -181
- package/core.d.ts.map +0 -1
- package/core.js +0 -388
- package/core.js.map +0 -1
- package/event-listener.d.ts +0 -120
- package/event-listener.d.ts.map +0 -1
- package/event-listener.js +0 -120
- package/event-listener.js.map +0 -1
- package/event-trigger.d.ts +0 -76
- package/event-trigger.d.ts.map +0 -1
- package/event-trigger.js +0 -76
- package/event-trigger.js.map +0 -1
- package/requestable-context-consumer.d.ts +0 -60
- package/requestable-context-consumer.d.ts.map +0 -1
- package/requestable-context-consumer.js +0 -54
- package/requestable-context-consumer.js.map +0 -1
- package/requestable-context-provider.d.ts +0 -69
- package/requestable-context-provider.d.ts.map +0 -1
- package/requestable-context-provider.js +0 -63
- package/requestable-context-provider.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,21 @@
|
|
|
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
|
-
|
|
6
|
+
# 2.0.0 (2023-09-19)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* all new repo path and packages dependencies ([21a6afa](https://github.com/AliMD/alwatr-signal/commit/21a6afa0badafe4051617d9a9e3bbfbaabd0c4ad)) by @AliMD
|
|
11
|
+
* cleanup old signal and fsm v1 ([bde0bea](https://github.com/AliMD/alwatr-signal/commit/bde0bea06a6750bebad49a127b75b57fd5e55ddd)) by @AliMD
|
|
12
|
+
* **signal:** package name ([4791b54](https://github.com/AliMD/alwatr-signal/commit/4791b54c8da75cf43eb9c86180f1ed94b0e28c4e)) by @AliMD
|
|
13
|
+
* **signal:** signal2 name ([70b71e3](https://github.com/AliMD/alwatr-signal/commit/70b71e312cb5e5d4c54c37c5c327712200f90be5)) by @AliMD
|
|
14
|
+
* ts refrence path ([c2baa44](https://github.com/AliMD/alwatr-signal/commit/c2baa44999c72a0015481fc8fea25439329c3f37)) by @AliMD
|
|
15
|
+
|
|
16
|
+
## [1.1.2](https://github.com/AliMD/alwatr-signal/compare/@alwatr/signal@1.1.1...@alwatr/signal@1.1.2) (2023-09-12)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @alwatr/signal
|
|
19
|
+
|
|
20
|
+
## [1.1.1](https://github.com/AliMD/alwatr-signal/compare/@alwatr/signal@1.1.0...@alwatr/signal@1.1.1) (2023-09-12)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @alwatr/signal
|
|
9
23
|
|
|
@@ -17,68 +31,68 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
17
31
|
|
|
18
32
|
### Bug Fixes
|
|
19
33
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
34
|
+
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr-signal/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
35
|
+
- **signal:** dont receivePrevious when listener is disabled ([68ae207](https://github.com/AliMD/alwatr-signal/commit/68ae207ce9ecf104922b24910d8dfcedb13acde7))
|
|
36
|
+
- **signal:** requestableContextProvider.getValue ([0a7111d](https://github.com/AliMD/alwatr-signal/commit/0a7111da7b8eb004566922dc9b35edfc02a55147))
|
|
23
37
|
|
|
24
38
|
### Features
|
|
25
39
|
|
|
26
|
-
|
|
40
|
+
- **signal:** new RequestableContext with state ([b8a8e55](https://github.com/AliMD/alwatr-signal/commit/b8a8e550d3952863d85ba9d9d87513a668a9430d))
|
|
27
41
|
|
|
28
42
|
# 0.30.0 (2023-03-06)
|
|
29
43
|
|
|
30
44
|
### Bug Fixes
|
|
31
45
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
46
|
+
- **signal:** NextCycle with own detail ([01f3c79](https://github.com/AliMD/alwatr-signal/commit/01f3c79500927f6384a33abcc9b0cb2355794b3e))
|
|
47
|
+
- **signal:** nodejs compatibility ([69d8a60](https://github.com/AliMD/alwatr-signal/commit/69d8a60ad64d44ee7c3ced002e702f13408a5a50))
|
|
48
|
+
- **signal:** requestableContextConsumer bind issue ([66467f6](https://github.com/AliMD/alwatr-signal/commit/66467f6e5681d84d7f2e0b353206d4bb579b26f2))
|
|
49
|
+
- **signal:** requestContext dispatch issue ([e937ebd](https://github.com/AliMD/alwatr-signal/commit/e937ebd3a90fc6a9946f5c35ef4f6f40b6ab4b00))
|
|
36
50
|
|
|
37
51
|
### Features
|
|
38
52
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
53
|
+
- **signal:** add untilChange for contextProvider ([cb44916](https://github.com/AliMD/alwatr-signal/commit/cb4491698fd5ddfbe055032fc2cb50691de31194))
|
|
54
|
+
- **signal:** defineCommand return ListenerSpec ([21fecac](https://github.com/AliMD/alwatr-signal/commit/21fecacb6aa9423da9e3c177a4bbc59952d94e35))
|
|
55
|
+
- **signal:** dispatch NextCycle option ([b30eb31](https://github.com/AliMD/alwatr-signal/commit/b30eb316d92f594034fc40d195c4033e38e4d2e2))
|
|
42
56
|
|
|
43
57
|
# 0.29.0 (2023-02-10)
|
|
44
58
|
|
|
45
59
|
### Bug Fixes
|
|
46
60
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
61
|
+
- **signal/core:** \_getSignalObject ([1374188](https://github.com/AliMD/alwatr-signal/commit/1374188bdc7e689ded11d04bf4588a1162cc6d86))
|
|
62
|
+
- **signal:** alert [#1455](https://github.com/AliMD/alwatr-signal/issues/1455) ([203307d](https://github.com/AliMD/alwatr-signal/commit/203307df308a12e6c38cb9e0e2301b2015b6ff45))
|
|
63
|
+
- **signal:** clean old interfaces ([b2987ad](https://github.com/AliMD/alwatr-signal/commit/b2987add7bfe0cf609fa355403fb9fb5de3f6b8a))
|
|
64
|
+
- **signal:** export all interfaces ([8704eac](https://github.com/AliMD/alwatr-signal/commit/8704eac6ae7a8a45e77c24ef5e602e36af3fd21e))
|
|
65
|
+
- **signal:** export listeners ([fb05bfb](https://github.com/AliMD/alwatr-signal/commit/fb05bfb9b7eb30427442783677ce1d4da5401160))
|
|
66
|
+
- **signal:** import types ([cc0b88b](https://github.com/AliMD/alwatr-signal/commit/cc0b88be420b1fe057a8640bbffb1af3bf327cef))
|
|
67
|
+
- **signal:** interface bind type ([7b6c820](https://github.com/AliMD/alwatr-signal/commit/7b6c820da2ba216f36e089bf79bdeccf208df3b1))
|
|
68
|
+
- **signal:** reported issues ([75f688f](https://github.com/AliMD/alwatr-signal/commit/75f688faf96a056a256603d05276f5731db86aee))
|
|
69
|
+
- **signal:** TSignal on SignalControllerInterface ([ac42b7c](https://github.com/AliMD/alwatr-signal/commit/ac42b7c7023549e8dd07cd3d9e189f356ffa06ee))
|
|
56
70
|
|
|
57
71
|
### Features
|
|
58
72
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
- **signal-manager:** enhance provider, docs ([c4583a3](https://github.com/AliMD/alwatr-signal/commit/c4583a3b0fcbf38b5e426aaa2bc6e0f52ccac5fd))
|
|
74
|
+
- **signal:** alias in SignalInterface & BoundSignalInterface ([053030b](https://github.com/AliMD/alwatr-signal/commit/053030b96c09d474794f32327d892f1d3690656c))
|
|
75
|
+
- **signal:** bind signal ([de49a13](https://github.com/AliMD/alwatr-signal/commit/de49a13eaffce31660849dfc63285d97e9098c0c))
|
|
76
|
+
- **signal:** command handler/provider interface ([3d23683](https://github.com/AliMD/alwatr-signal/commit/3d236837e13d8cfdcd44a1570bdc9659f48e7f47))
|
|
77
|
+
- **signal:** command signals ([98c1d90](https://github.com/AliMD/alwatr-signal/commit/98c1d90978329e4c5c584e19edb1aaa365632162))
|
|
78
|
+
- **signal:** command trigger interface ([dda9466](https://github.com/AliMD/alwatr-signal/commit/dda94666d9e8e490fea26038044df0e67c203583))
|
|
79
|
+
- **signal:** commandSignal ([5a0d7e5](https://github.com/AliMD/alwatr-signal/commit/5a0d7e5498087620d28548ea5d90036a7b17483a))
|
|
80
|
+
- **signal:** context prover and consumer ([081a51a](https://github.com/AliMD/alwatr-signal/commit/081a51a1ee88e66ebbcd0c58186c00a6aa9e1032))
|
|
81
|
+
- **signal:** contextProvider.expire ([7d0ce93](https://github.com/AliMD/alwatr-signal/commit/7d0ce937f0eadcd9019e6047fbe07aa1a3b579a7))
|
|
82
|
+
- **signal:** event listener interface ([4ca4079](https://github.com/AliMD/alwatr-signal/commit/4ca407938d444027cdbd435173c875fdd9ce8e28))
|
|
83
|
+
- **signal:** event trigger interface ([9b90597](https://github.com/AliMD/alwatr-signal/commit/9b905979a5065640981433ec7d120ba2494966bb))
|
|
84
|
+
- **signal:** new contextConsumer interface ([9ee4a62](https://github.com/AliMD/alwatr-signal/commit/9ee4a624211adb66d9c3d180470cca44ed7df382))
|
|
85
|
+
- **signal:** new contextProvider interface ([e5d29eb](https://github.com/AliMD/alwatr-signal/commit/e5d29ebaa75d71bb5a87bedddb2be7600e68b210))
|
|
86
|
+
- **signal:** new manager interface ([f028306](https://github.com/AliMD/alwatr-signal/commit/f028306f4d7932df65a1bbeade0d29377a370e2e))
|
|
87
|
+
- **signal:** new requestable context consumer interface ([bf6845f](https://github.com/AliMD/alwatr-signal/commit/bf6845f35a98bb63bcfa42196c2f977d64aea59e))
|
|
88
|
+
- **signal:** new requestable context provider interface ([2c8d576](https://github.com/AliMD/alwatr-signal/commit/2c8d57604dcb07a2831d85d4ef1e262863a5fae8))
|
|
89
|
+
- **signal:** new signal dynamic types ([0f1a38e](https://github.com/AliMD/alwatr-signal/commit/0f1a38e356ab73e4e2e1a8f852585e50e86cff0e))
|
|
90
|
+
- **signal:** new simple api ([eb1e478](https://github.com/AliMD/alwatr-signal/commit/eb1e47892d4478fb6c687f6d15e1a5c204b5666c))
|
|
91
|
+
- **signal:** refactor all generic types with Stringifyable ([bdcef63](https://github.com/AliMD/alwatr-signal/commit/bdcef632c81fa5e7c7ae595a7a77092c53821850))
|
|
92
|
+
- **signal:** separate request command with response ([47a779e](https://github.com/AliMD/alwatr-signal/commit/47a779e9a814d5d6a388f1a3e94c23e7fb977dce))
|
|
93
|
+
- **signal:** signal.request ([d791b3e](https://github.com/AliMD/alwatr-signal/commit/d791b3eef846697020b76bfecfbf25a3e31eb3a5))
|
|
94
|
+
- **signal:** signal.untilNext ([9df78c0](https://github.com/AliMD/alwatr-signal/commit/9df78c03dea243b467504fdf422388ab9d2b5660))
|
|
95
|
+
- **signal:** signals.expire ([3591efd](https://github.com/AliMD/alwatr-signal/commit/3591efd5e42f7a981814fd59d7189b5066735302))
|
|
82
96
|
|
|
83
97
|
# 0.28.0 (2023-01-20)
|
|
84
98
|
|
|
@@ -88,280 +102,280 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
88
102
|
|
|
89
103
|
### Bug Fixes
|
|
90
104
|
|
|
91
|
-
|
|
92
|
-
|
|
105
|
+
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr-signal/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
106
|
+
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-signal/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
93
107
|
|
|
94
108
|
### Features
|
|
95
109
|
|
|
96
|
-
|
|
110
|
+
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr-signal/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
97
111
|
|
|
98
|
-
# [1.0.0](https://github.com/AliMD/alwatr/compare/v0.32.0...v1.0.0) (2023-06-14)
|
|
112
|
+
# [1.0.0](https://github.com/AliMD/alwatr-signal/compare/v0.32.0...v1.0.0) (2023-06-14)
|
|
99
113
|
|
|
100
114
|
**Note:** Version bump only for package @alwatr/signal
|
|
101
115
|
|
|
102
|
-
# [0.32.0](https://github.com/AliMD/alwatr/compare/v0.31.0...v0.32.0) (2023-05-27)
|
|
116
|
+
# [0.32.0](https://github.com/AliMD/alwatr-signal/compare/v0.31.0...v0.32.0) (2023-05-27)
|
|
103
117
|
|
|
104
118
|
**Note:** Version bump only for package @alwatr/signal
|
|
105
119
|
|
|
106
|
-
# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08)
|
|
120
|
+
# [0.31.0](https://github.com/AliMD/alwatr-signal/compare/v0.30.0...v0.31.0) (2023-05-08)
|
|
107
121
|
|
|
108
122
|
### Bug Fixes
|
|
109
123
|
|
|
110
|
-
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
111
|
-
- **signal:** dont receivePrevious when listener is disabled ([68ae207](https://github.com/AliMD/alwatr/commit/68ae207ce9ecf104922b24910d8dfcedb13acde7))
|
|
112
|
-
- **signal:** requestableContextProvider.getValue ([0a7111d](https://github.com/AliMD/alwatr/commit/0a7111da7b8eb004566922dc9b35edfc02a55147))
|
|
124
|
+
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr-signal/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
125
|
+
- **signal:** dont receivePrevious when listener is disabled ([68ae207](https://github.com/AliMD/alwatr-signal/commit/68ae207ce9ecf104922b24910d8dfcedb13acde7))
|
|
126
|
+
- **signal:** requestableContextProvider.getValue ([0a7111d](https://github.com/AliMD/alwatr-signal/commit/0a7111da7b8eb004566922dc9b35edfc02a55147))
|
|
113
127
|
|
|
114
128
|
### Features
|
|
115
129
|
|
|
116
|
-
- **signal:** new RequestableContext with state ([b8a8e55](https://github.com/AliMD/alwatr/commit/b8a8e550d3952863d85ba9d9d87513a668a9430d))
|
|
130
|
+
- **signal:** new RequestableContext with state ([b8a8e55](https://github.com/AliMD/alwatr-signal/commit/b8a8e550d3952863d85ba9d9d87513a668a9430d))
|
|
117
131
|
|
|
118
|
-
# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06)
|
|
132
|
+
# [0.30.0](https://github.com/AliMD/alwatr-signal/compare/v0.29.0...v0.30.0) (2023-03-06)
|
|
119
133
|
|
|
120
134
|
### Bug Fixes
|
|
121
135
|
|
|
122
|
-
- **signal:** NextCycle with own detail ([01f3c79](https://github.com/AliMD/alwatr/commit/01f3c79500927f6384a33abcc9b0cb2355794b3e))
|
|
123
|
-
- **signal:** nodejs compatibility ([69d8a60](https://github.com/AliMD/alwatr/commit/69d8a60ad64d44ee7c3ced002e702f13408a5a50))
|
|
124
|
-
- **signal:** requestableContextConsumer bind issue ([66467f6](https://github.com/AliMD/alwatr/commit/66467f6e5681d84d7f2e0b353206d4bb579b26f2))
|
|
125
|
-
- **signal:** requestContext dispatch issue ([e937ebd](https://github.com/AliMD/alwatr/commit/e937ebd3a90fc6a9946f5c35ef4f6f40b6ab4b00))
|
|
136
|
+
- **signal:** NextCycle with own detail ([01f3c79](https://github.com/AliMD/alwatr-signal/commit/01f3c79500927f6384a33abcc9b0cb2355794b3e))
|
|
137
|
+
- **signal:** nodejs compatibility ([69d8a60](https://github.com/AliMD/alwatr-signal/commit/69d8a60ad64d44ee7c3ced002e702f13408a5a50))
|
|
138
|
+
- **signal:** requestableContextConsumer bind issue ([66467f6](https://github.com/AliMD/alwatr-signal/commit/66467f6e5681d84d7f2e0b353206d4bb579b26f2))
|
|
139
|
+
- **signal:** requestContext dispatch issue ([e937ebd](https://github.com/AliMD/alwatr-signal/commit/e937ebd3a90fc6a9946f5c35ef4f6f40b6ab4b00))
|
|
126
140
|
|
|
127
141
|
### Features
|
|
128
142
|
|
|
129
|
-
- **signal:** add untilChange for contextProvider ([cb44916](https://github.com/AliMD/alwatr/commit/cb4491698fd5ddfbe055032fc2cb50691de31194))
|
|
130
|
-
- **signal:** defineCommand return ListenerSpec ([21fecac](https://github.com/AliMD/alwatr/commit/21fecacb6aa9423da9e3c177a4bbc59952d94e35))
|
|
131
|
-
- **signal:** dispatch NextCycle option ([b30eb31](https://github.com/AliMD/alwatr/commit/b30eb316d92f594034fc40d195c4033e38e4d2e2))
|
|
143
|
+
- **signal:** add untilChange for contextProvider ([cb44916](https://github.com/AliMD/alwatr-signal/commit/cb4491698fd5ddfbe055032fc2cb50691de31194))
|
|
144
|
+
- **signal:** defineCommand return ListenerSpec ([21fecac](https://github.com/AliMD/alwatr-signal/commit/21fecacb6aa9423da9e3c177a4bbc59952d94e35))
|
|
145
|
+
- **signal:** dispatch NextCycle option ([b30eb31](https://github.com/AliMD/alwatr-signal/commit/b30eb316d92f594034fc40d195c4033e38e4d2e2))
|
|
132
146
|
|
|
133
|
-
# [0.29.0](https://github.com/AliMD/alwatr/compare/v0.28.0...v0.29.0) (2023-02-10)
|
|
147
|
+
# [0.29.0](https://github.com/AliMD/alwatr-signal/compare/v0.28.0...v0.29.0) (2023-02-10)
|
|
134
148
|
|
|
135
149
|
### Bug Fixes
|
|
136
150
|
|
|
137
|
-
- **signal/core:** \_getSignalObject ([1374188](https://github.com/AliMD/alwatr/commit/1374188bdc7e689ded11d04bf4588a1162cc6d86))
|
|
138
|
-
- **signal:** alert [#1455](https://github.com/AliMD/alwatr/issues/1455) ([203307d](https://github.com/AliMD/alwatr/commit/203307df308a12e6c38cb9e0e2301b2015b6ff45))
|
|
139
|
-
- **signal:** clean old interfaces ([b2987ad](https://github.com/AliMD/alwatr/commit/b2987add7bfe0cf609fa355403fb9fb5de3f6b8a))
|
|
140
|
-
- **signal:** export all interfaces ([8704eac](https://github.com/AliMD/alwatr/commit/8704eac6ae7a8a45e77c24ef5e602e36af3fd21e))
|
|
141
|
-
- **signal:** export listeners ([fb05bfb](https://github.com/AliMD/alwatr/commit/fb05bfb9b7eb30427442783677ce1d4da5401160))
|
|
142
|
-
- **signal:** import types ([cc0b88b](https://github.com/AliMD/alwatr/commit/cc0b88be420b1fe057a8640bbffb1af3bf327cef))
|
|
143
|
-
- **signal:** interface bind type ([7b6c820](https://github.com/AliMD/alwatr/commit/7b6c820da2ba216f36e089bf79bdeccf208df3b1))
|
|
144
|
-
- **signal:** reported issues ([75f688f](https://github.com/AliMD/alwatr/commit/75f688faf96a056a256603d05276f5731db86aee))
|
|
145
|
-
- **signal:** TSignal on SignalControllerInterface ([ac42b7c](https://github.com/AliMD/alwatr/commit/ac42b7c7023549e8dd07cd3d9e189f356ffa06ee))
|
|
151
|
+
- **signal/core:** \_getSignalObject ([1374188](https://github.com/AliMD/alwatr-signal/commit/1374188bdc7e689ded11d04bf4588a1162cc6d86))
|
|
152
|
+
- **signal:** alert [#1455](https://github.com/AliMD/alwatr-signal/issues/1455) ([203307d](https://github.com/AliMD/alwatr-signal/commit/203307df308a12e6c38cb9e0e2301b2015b6ff45))
|
|
153
|
+
- **signal:** clean old interfaces ([b2987ad](https://github.com/AliMD/alwatr-signal/commit/b2987add7bfe0cf609fa355403fb9fb5de3f6b8a))
|
|
154
|
+
- **signal:** export all interfaces ([8704eac](https://github.com/AliMD/alwatr-signal/commit/8704eac6ae7a8a45e77c24ef5e602e36af3fd21e))
|
|
155
|
+
- **signal:** export listeners ([fb05bfb](https://github.com/AliMD/alwatr-signal/commit/fb05bfb9b7eb30427442783677ce1d4da5401160))
|
|
156
|
+
- **signal:** import types ([cc0b88b](https://github.com/AliMD/alwatr-signal/commit/cc0b88be420b1fe057a8640bbffb1af3bf327cef))
|
|
157
|
+
- **signal:** interface bind type ([7b6c820](https://github.com/AliMD/alwatr-signal/commit/7b6c820da2ba216f36e089bf79bdeccf208df3b1))
|
|
158
|
+
- **signal:** reported issues ([75f688f](https://github.com/AliMD/alwatr-signal/commit/75f688faf96a056a256603d05276f5731db86aee))
|
|
159
|
+
- **signal:** TSignal on SignalControllerInterface ([ac42b7c](https://github.com/AliMD/alwatr-signal/commit/ac42b7c7023549e8dd07cd3d9e189f356ffa06ee))
|
|
146
160
|
|
|
147
161
|
### Features
|
|
148
162
|
|
|
149
|
-
- **signal-manager:** enhance provider, docs ([c4583a3](https://github.com/AliMD/alwatr/commit/c4583a3b0fcbf38b5e426aaa2bc6e0f52ccac5fd))
|
|
150
|
-
- **signal:** alias in SignalInterface & BoundSignalInterface ([053030b](https://github.com/AliMD/alwatr/commit/053030b96c09d474794f32327d892f1d3690656c))
|
|
151
|
-
- **signal:** bind signal ([de49a13](https://github.com/AliMD/alwatr/commit/de49a13eaffce31660849dfc63285d97e9098c0c))
|
|
152
|
-
- **signal:** command handler/provider interface ([3d23683](https://github.com/AliMD/alwatr/commit/3d236837e13d8cfdcd44a1570bdc9659f48e7f47))
|
|
153
|
-
- **signal:** command signals ([98c1d90](https://github.com/AliMD/alwatr/commit/98c1d90978329e4c5c584e19edb1aaa365632162))
|
|
154
|
-
- **signal:** command trigger interface ([dda9466](https://github.com/AliMD/alwatr/commit/dda94666d9e8e490fea26038044df0e67c203583))
|
|
155
|
-
- **signal:** commandSignal ([5a0d7e5](https://github.com/AliMD/alwatr/commit/5a0d7e5498087620d28548ea5d90036a7b17483a))
|
|
156
|
-
- **signal:** context prover and consumer ([081a51a](https://github.com/AliMD/alwatr/commit/081a51a1ee88e66ebbcd0c58186c00a6aa9e1032))
|
|
157
|
-
- **signal:** contextProvider.expire ([7d0ce93](https://github.com/AliMD/alwatr/commit/7d0ce937f0eadcd9019e6047fbe07aa1a3b579a7))
|
|
158
|
-
- **signal:** event listener interface ([4ca4079](https://github.com/AliMD/alwatr/commit/4ca407938d444027cdbd435173c875fdd9ce8e28))
|
|
159
|
-
- **signal:** event trigger interface ([9b90597](https://github.com/AliMD/alwatr/commit/9b905979a5065640981433ec7d120ba2494966bb))
|
|
160
|
-
- **signal:** new contextConsumer interface ([9ee4a62](https://github.com/AliMD/alwatr/commit/9ee4a624211adb66d9c3d180470cca44ed7df382))
|
|
161
|
-
- **signal:** new contextProvider interface ([e5d29eb](https://github.com/AliMD/alwatr/commit/e5d29ebaa75d71bb5a87bedddb2be7600e68b210))
|
|
162
|
-
- **signal:** new manager interface ([f028306](https://github.com/AliMD/alwatr/commit/f028306f4d7932df65a1bbeade0d29377a370e2e))
|
|
163
|
-
- **signal:** new requestable context consumer interface ([bf6845f](https://github.com/AliMD/alwatr/commit/bf6845f35a98bb63bcfa42196c2f977d64aea59e))
|
|
164
|
-
- **signal:** new requestable context provider interface ([2c8d576](https://github.com/AliMD/alwatr/commit/2c8d57604dcb07a2831d85d4ef1e262863a5fae8))
|
|
165
|
-
- **signal:** new signal dynamic types ([0f1a38e](https://github.com/AliMD/alwatr/commit/0f1a38e356ab73e4e2e1a8f852585e50e86cff0e))
|
|
166
|
-
- **signal:** new simple api ([eb1e478](https://github.com/AliMD/alwatr/commit/eb1e47892d4478fb6c687f6d15e1a5c204b5666c))
|
|
167
|
-
- **signal:** refactor all generic types with Stringifyable ([bdcef63](https://github.com/AliMD/alwatr/commit/bdcef632c81fa5e7c7ae595a7a77092c53821850))
|
|
168
|
-
- **signal:** separate request command with response ([47a779e](https://github.com/AliMD/alwatr/commit/47a779e9a814d5d6a388f1a3e94c23e7fb977dce))
|
|
169
|
-
- **signal:** signal.request ([d791b3e](https://github.com/AliMD/alwatr/commit/d791b3eef846697020b76bfecfbf25a3e31eb3a5))
|
|
170
|
-
- **signal:** signal.untilNext ([9df78c0](https://github.com/AliMD/alwatr/commit/9df78c03dea243b467504fdf422388ab9d2b5660))
|
|
171
|
-
- **signal:** signals.expire ([3591efd](https://github.com/AliMD/alwatr/commit/3591efd5e42f7a981814fd59d7189b5066735302))
|
|
172
|
-
|
|
173
|
-
# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20)
|
|
163
|
+
- **signal-manager:** enhance provider, docs ([c4583a3](https://github.com/AliMD/alwatr-signal/commit/c4583a3b0fcbf38b5e426aaa2bc6e0f52ccac5fd))
|
|
164
|
+
- **signal:** alias in SignalInterface & BoundSignalInterface ([053030b](https://github.com/AliMD/alwatr-signal/commit/053030b96c09d474794f32327d892f1d3690656c))
|
|
165
|
+
- **signal:** bind signal ([de49a13](https://github.com/AliMD/alwatr-signal/commit/de49a13eaffce31660849dfc63285d97e9098c0c))
|
|
166
|
+
- **signal:** command handler/provider interface ([3d23683](https://github.com/AliMD/alwatr-signal/commit/3d236837e13d8cfdcd44a1570bdc9659f48e7f47))
|
|
167
|
+
- **signal:** command signals ([98c1d90](https://github.com/AliMD/alwatr-signal/commit/98c1d90978329e4c5c584e19edb1aaa365632162))
|
|
168
|
+
- **signal:** command trigger interface ([dda9466](https://github.com/AliMD/alwatr-signal/commit/dda94666d9e8e490fea26038044df0e67c203583))
|
|
169
|
+
- **signal:** commandSignal ([5a0d7e5](https://github.com/AliMD/alwatr-signal/commit/5a0d7e5498087620d28548ea5d90036a7b17483a))
|
|
170
|
+
- **signal:** context prover and consumer ([081a51a](https://github.com/AliMD/alwatr-signal/commit/081a51a1ee88e66ebbcd0c58186c00a6aa9e1032))
|
|
171
|
+
- **signal:** contextProvider.expire ([7d0ce93](https://github.com/AliMD/alwatr-signal/commit/7d0ce937f0eadcd9019e6047fbe07aa1a3b579a7))
|
|
172
|
+
- **signal:** event listener interface ([4ca4079](https://github.com/AliMD/alwatr-signal/commit/4ca407938d444027cdbd435173c875fdd9ce8e28))
|
|
173
|
+
- **signal:** event trigger interface ([9b90597](https://github.com/AliMD/alwatr-signal/commit/9b905979a5065640981433ec7d120ba2494966bb))
|
|
174
|
+
- **signal:** new contextConsumer interface ([9ee4a62](https://github.com/AliMD/alwatr-signal/commit/9ee4a624211adb66d9c3d180470cca44ed7df382))
|
|
175
|
+
- **signal:** new contextProvider interface ([e5d29eb](https://github.com/AliMD/alwatr-signal/commit/e5d29ebaa75d71bb5a87bedddb2be7600e68b210))
|
|
176
|
+
- **signal:** new manager interface ([f028306](https://github.com/AliMD/alwatr-signal/commit/f028306f4d7932df65a1bbeade0d29377a370e2e))
|
|
177
|
+
- **signal:** new requestable context consumer interface ([bf6845f](https://github.com/AliMD/alwatr-signal/commit/bf6845f35a98bb63bcfa42196c2f977d64aea59e))
|
|
178
|
+
- **signal:** new requestable context provider interface ([2c8d576](https://github.com/AliMD/alwatr-signal/commit/2c8d57604dcb07a2831d85d4ef1e262863a5fae8))
|
|
179
|
+
- **signal:** new signal dynamic types ([0f1a38e](https://github.com/AliMD/alwatr-signal/commit/0f1a38e356ab73e4e2e1a8f852585e50e86cff0e))
|
|
180
|
+
- **signal:** new simple api ([eb1e478](https://github.com/AliMD/alwatr-signal/commit/eb1e47892d4478fb6c687f6d15e1a5c204b5666c))
|
|
181
|
+
- **signal:** refactor all generic types with Stringifyable ([bdcef63](https://github.com/AliMD/alwatr-signal/commit/bdcef632c81fa5e7c7ae595a7a77092c53821850))
|
|
182
|
+
- **signal:** separate request command with response ([47a779e](https://github.com/AliMD/alwatr-signal/commit/47a779e9a814d5d6a388f1a3e94c23e7fb977dce))
|
|
183
|
+
- **signal:** signal.request ([d791b3e](https://github.com/AliMD/alwatr-signal/commit/d791b3eef846697020b76bfecfbf25a3e31eb3a5))
|
|
184
|
+
- **signal:** signal.untilNext ([9df78c0](https://github.com/AliMD/alwatr-signal/commit/9df78c03dea243b467504fdf422388ab9d2b5660))
|
|
185
|
+
- **signal:** signals.expire ([3591efd](https://github.com/AliMD/alwatr-signal/commit/3591efd5e42f7a981814fd59d7189b5066735302))
|
|
186
|
+
|
|
187
|
+
# [0.28.0](https://github.com/AliMD/alwatr-signal/compare/v0.27.0...v0.28.0) (2023-01-20)
|
|
174
188
|
|
|
175
189
|
**Note:** Version bump only for package @alwatr/signal
|
|
176
190
|
|
|
177
|
-
# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29)
|
|
191
|
+
# [0.27.0](https://github.com/AliMD/alwatr-signal/compare/v0.26.0...v0.27.0) (2022-12-29)
|
|
178
192
|
|
|
179
193
|
**Note:** Version bump only for package @alwatr/signal
|
|
180
194
|
|
|
181
|
-
# [0.26.0](https://github.com/AliMD/alwatr/compare/v0.25.0...v0.26.0) (2022-12-22)
|
|
195
|
+
# [0.26.0](https://github.com/AliMD/alwatr-signal/compare/v0.25.0...v0.26.0) (2022-12-22)
|
|
182
196
|
|
|
183
197
|
### Bug Fixes
|
|
184
198
|
|
|
185
|
-
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
186
|
-
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
199
|
+
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr-signal/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
200
|
+
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-signal/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
187
201
|
|
|
188
202
|
### Features
|
|
189
203
|
|
|
190
|
-
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
204
|
+
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr-signal/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
191
205
|
|
|
192
|
-
# [0.25.0](https://github.com/AliMD/alwatr/compare/v0.24.1...v0.25.0) (2022-12-07)
|
|
206
|
+
# [0.25.0](https://github.com/AliMD/alwatr-signal/compare/v0.24.1...v0.25.0) (2022-12-07)
|
|
193
207
|
|
|
194
208
|
**Note:** Version bump only for package @alwatr/signal
|
|
195
209
|
|
|
196
|
-
## [0.24.1](https://github.com/AliMD/alwatr/compare/v0.24.0...v0.24.1) (2022-12-01)
|
|
210
|
+
## [0.24.1](https://github.com/AliMD/alwatr-signal/compare/v0.24.0...v0.24.1) (2022-12-01)
|
|
197
211
|
|
|
198
212
|
**Note:** Version bump only for package @alwatr/signal
|
|
199
213
|
|
|
200
|
-
# [0.24.0](https://github.com/AliMD/alwatr/compare/v0.23.0...v0.24.0) (2022-11-28)
|
|
214
|
+
# [0.24.0](https://github.com/AliMD/alwatr-signal/compare/v0.23.0...v0.24.0) (2022-11-28)
|
|
201
215
|
|
|
202
216
|
### Bug Fixes
|
|
203
217
|
|
|
204
|
-
- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
|
|
218
|
+
- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr-signal/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
|
|
205
219
|
|
|
206
|
-
# [0.23.0](https://github.com/AliMD/alwatr/compare/v0.22.1...v0.23.0) (2022-11-23)
|
|
220
|
+
# [0.23.0](https://github.com/AliMD/alwatr-signal/compare/v0.22.1...v0.23.0) (2022-11-23)
|
|
207
221
|
|
|
208
222
|
**Note:** Version bump only for package @alwatr/signal
|
|
209
223
|
|
|
210
|
-
## [0.22.1](https://github.com/AliMD/alwatr/compare/v0.22.0...v0.22.1) (2022-11-21)
|
|
224
|
+
## [0.22.1](https://github.com/AliMD/alwatr-signal/compare/v0.22.0...v0.22.1) (2022-11-21)
|
|
211
225
|
|
|
212
226
|
**Note:** Version bump only for package @alwatr/signal
|
|
213
227
|
|
|
214
|
-
# [0.22.0](https://github.com/AliMD/alwatr/compare/v0.21.0...v0.22.0) (2022-11-20)
|
|
228
|
+
# [0.22.0](https://github.com/AliMD/alwatr-signal/compare/v0.21.0...v0.22.0) (2022-11-20)
|
|
215
229
|
|
|
216
230
|
**Note:** Version bump only for package @alwatr/signal
|
|
217
231
|
|
|
218
|
-
# [0.21.0](https://github.com/AliMD/alwatr/compare/v0.20.0...v0.21.0) (2022-11-13)
|
|
232
|
+
# [0.21.0](https://github.com/AliMD/alwatr-signal/compare/v0.20.0...v0.21.0) (2022-11-13)
|
|
219
233
|
|
|
220
234
|
**Note:** Version bump only for package @alwatr/signal
|
|
221
235
|
|
|
222
|
-
# [0.20.0](https://github.com/AliMD/alwatr/compare/v0.19.0...v0.20.0) (2022-11-05)
|
|
236
|
+
# [0.20.0](https://github.com/AliMD/alwatr-signal/compare/v0.19.0...v0.20.0) (2022-11-05)
|
|
223
237
|
|
|
224
238
|
**Note:** Version bump only for package @alwatr/signal
|
|
225
239
|
|
|
226
|
-
# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01)
|
|
240
|
+
# [0.19.0](https://github.com/AliMD/alwatr-signal/compare/v0.18.0...v0.19.0) (2022-11-01)
|
|
227
241
|
|
|
228
242
|
### Bug Fixes
|
|
229
243
|
|
|
230
|
-
- Import error in webpack ([1a52f67](https://github.com/AliMD/alwatr/commit/1a52f67ff2788c51abd13126f34353c26aa669c3))
|
|
244
|
+
- Import error in webpack ([1a52f67](https://github.com/AliMD/alwatr-signal/commit/1a52f67ff2788c51abd13126f34353c26aa669c3))
|
|
231
245
|
|
|
232
|
-
# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22)
|
|
246
|
+
# [0.18.0](https://github.com/AliMD/alwatr-signal/compare/v0.17.0...v0.18.0) (2022-10-22)
|
|
233
247
|
|
|
234
248
|
**Note:** Version bump only for package @alwatr/signal
|
|
235
249
|
|
|
236
|
-
# [0.17.0](https://github.com/AliMD/alwatr/compare/v0.16.1...v0.17.0) (2022-10-21)
|
|
250
|
+
# [0.17.0](https://github.com/AliMD/alwatr-signal/compare/v0.16.1...v0.17.0) (2022-10-21)
|
|
237
251
|
|
|
238
252
|
### Bug Fixes
|
|
239
253
|
|
|
240
|
-
- **signal:** default options ([bbb0d59](https://github.com/AliMD/alwatr/commit/bbb0d59442301344781691bbecad39aed7f6ac40))
|
|
254
|
+
- **signal:** default options ([bbb0d59](https://github.com/AliMD/alwatr-signal/commit/bbb0d59442301344781691bbecad39aed7f6ac40))
|
|
241
255
|
|
|
242
|
-
# [0.16.0](https://github.com/AliMD/alwatr/compare/v0.15.0...v0.16.0) (2022-09-08)
|
|
256
|
+
# [0.16.0](https://github.com/AliMD/alwatr-signal/compare/v0.15.0...v0.16.0) (2022-09-08)
|
|
243
257
|
|
|
244
258
|
**Note:** Version bump only for package @alwatr/signal
|
|
245
259
|
|
|
246
|
-
# [0.15.0](https://github.com/AliMD/alwatr/compare/v0.14.0...v0.15.0) (2022-09-01)
|
|
260
|
+
# [0.15.0](https://github.com/AliMD/alwatr-signal/compare/v0.14.0...v0.15.0) (2022-09-01)
|
|
247
261
|
|
|
248
262
|
### Bug Fixes
|
|
249
263
|
|
|
250
|
-
- get signal object of `request` signal ([eec4b62](https://github.com/AliMD/alwatr/commit/eec4b6201d79785aa10f4b9c777449525158a346))
|
|
251
|
-
- **signal:** fix some issues of `review` ([36ceb8b](https://github.com/AliMD/alwatr/commit/36ceb8b25987621065327b4fa475a213562af8e7))
|
|
252
|
-
- **signal:** log performance and security issue ([dbe9483](https://github.com/AliMD/alwatr/commit/dbe9483b672099b91c18c3a103c2878435fd6508))
|
|
264
|
+
- get signal object of `request` signal ([eec4b62](https://github.com/AliMD/alwatr-signal/commit/eec4b6201d79785aa10f4b9c777449525158a346))
|
|
265
|
+
- **signal:** fix some issues of `review` ([36ceb8b](https://github.com/AliMD/alwatr-signal/commit/36ceb8b25987621065327b4fa475a213562af8e7))
|
|
266
|
+
- **signal:** log performance and security issue ([dbe9483](https://github.com/AliMD/alwatr-signal/commit/dbe9483b672099b91c18c3a103c2878435fd6508))
|
|
253
267
|
|
|
254
|
-
# [0.14.0](https://github.com/AliMD/alwatr/compare/v0.13.0...v0.14.0) (2022-08-19)
|
|
268
|
+
# [0.14.0](https://github.com/AliMD/alwatr-signal/compare/v0.13.0...v0.14.0) (2022-08-19)
|
|
255
269
|
|
|
256
270
|
**Note:** Version bump only for package @alwatr/signal
|
|
257
271
|
|
|
258
|
-
# [0.13.0](https://github.com/AliMD/alwatr/compare/v0.12.0...v0.13.0) (2022-08-06)
|
|
272
|
+
# [0.13.0](https://github.com/AliMD/alwatr-signal/compare/v0.12.0...v0.13.0) (2022-08-06)
|
|
259
273
|
|
|
260
274
|
**Note:** Version bump only for package @alwatr/signal
|
|
261
275
|
|
|
262
|
-
# [0.12.0](https://github.com/AliMD/alwatr/compare/v0.11.0...v0.12.0) (2022-07-22)
|
|
276
|
+
# [0.12.0](https://github.com/AliMD/alwatr-signal/compare/v0.11.0...v0.12.0) (2022-07-22)
|
|
263
277
|
|
|
264
278
|
**Note:** Version bump only for package @alwatr/signal
|
|
265
279
|
|
|
266
|
-
# [0.11.0](https://github.com/AliMD/alwatr/compare/v0.10.1...v0.11.0) (2022-04-16)
|
|
280
|
+
# [0.11.0](https://github.com/AliMD/alwatr-signal/compare/v0.10.1...v0.11.0) (2022-04-16)
|
|
267
281
|
|
|
268
282
|
**Note:** Version bump only for package @alwatr/signal
|
|
269
283
|
|
|
270
|
-
# [0.10.0](https://github.com/AliMD/alwatr/compare/v0.9.0...v0.10.0) (2022-04-02)
|
|
284
|
+
# [0.10.0](https://github.com/AliMD/alwatr-signal/compare/v0.9.0...v0.10.0) (2022-04-02)
|
|
271
285
|
|
|
272
286
|
**Note:** Version bump only for package @alwatr/signal
|
|
273
287
|
|
|
274
|
-
# [0.9.0](https://github.com/AliMD/alwatr/compare/v0.8.0...v0.9.0) (2022-03-22)
|
|
288
|
+
# [0.9.0](https://github.com/AliMD/alwatr-signal/compare/v0.8.0...v0.9.0) (2022-03-22)
|
|
275
289
|
|
|
276
290
|
### Features
|
|
277
291
|
|
|
278
|
-
- **signal:** ListenerInterface ([38ef029](https://github.com/AliMD/alwatr/commit/38ef0291c5ba2e3619080ad89109d805d3d600f2))
|
|
292
|
+
- **signal:** ListenerInterface ([38ef029](https://github.com/AliMD/alwatr-signal/commit/38ef0291c5ba2e3619080ad89109d805d3d600f2))
|
|
279
293
|
|
|
280
|
-
# [0.8.0](https://github.com/AliMD/alwatr/compare/v0.7.2...v0.8.0) (2022-03-14)
|
|
294
|
+
# [0.8.0](https://github.com/AliMD/alwatr-signal/compare/v0.7.2...v0.8.0) (2022-03-14)
|
|
281
295
|
|
|
282
296
|
### Bug Fixes
|
|
283
297
|
|
|
284
|
-
- **signal:** remove once listene in dispatch change imediatly the loop! ([e4d420d](https://github.com/AliMD/alwatr/commit/e4d420d3a086558dc01dcd7a9c5fe3e96677f092))
|
|
298
|
+
- **signal:** remove once listene in dispatch change imediatly the loop! ([e4d420d](https://github.com/AliMD/alwatr-signal/commit/e4d420d3a086558dc01dcd7a9c5fe3e96677f092))
|
|
285
299
|
|
|
286
|
-
## [0.7.2](https://github.com/AliMD/alwatr/compare/v0.7.1...v0.7.2) (2022-03-12)
|
|
300
|
+
## [0.7.2](https://github.com/AliMD/alwatr-signal/compare/v0.7.1...v0.7.2) (2022-03-12)
|
|
287
301
|
|
|
288
302
|
### Bug Fixes
|
|
289
303
|
|
|
290
|
-
- **signal:** promise to multi requests works ([dd59f0e](https://github.com/AliMD/alwatr/commit/dd59f0e5737abec72c41895b93365199fad66fcb))
|
|
304
|
+
- **signal:** promise to multi requests works ([dd59f0e](https://github.com/AliMD/alwatr-signal/commit/dd59f0e5737abec72c41895b93365199fad66fcb))
|
|
291
305
|
|
|
292
|
-
# [0.7.0](https://github.com/AliMD/alwatr/compare/v0.6.1...v0.7.0) (2022-03-12)
|
|
306
|
+
# [0.7.0](https://github.com/AliMD/alwatr-signal/compare/v0.6.1...v0.7.0) (2022-03-12)
|
|
293
307
|
|
|
294
308
|
**Note:** Version bump only for package @alwatr/signal
|
|
295
309
|
|
|
296
|
-
# [0.6.0](https://github.com/AliMD/alwatr/compare/v0.5.0...v0.6.0) (2022-03-11)
|
|
310
|
+
# [0.6.0](https://github.com/AliMD/alwatr-signal/compare/v0.5.0...v0.6.0) (2022-03-11)
|
|
297
311
|
|
|
298
312
|
### Bug Fixes
|
|
299
313
|
|
|
300
|
-
- alalwatr ([898aa6e](https://github.com/AliMD/alwatr/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
|
|
301
|
-
- **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/AliMD/alwatr/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
|
|
314
|
+
- alalwatr ([898aa6e](https://github.com/AliMD/alwatr-signal/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
|
|
315
|
+
- **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/AliMD/alwatr-signal/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
|
|
302
316
|
|
|
303
|
-
# [0.5.0](https://github.com/AliMD/alwatr/compare/v0.4.0...v0.5.0) (2022-03-11)
|
|
317
|
+
# [0.5.0](https://github.com/AliMD/alwatr-signal/compare/v0.4.0...v0.5.0) (2022-03-11)
|
|
304
318
|
|
|
305
319
|
### Bug Fixes
|
|
306
320
|
|
|
307
|
-
- **signal:** disabled getter and optional dispatch options ([28ced3d](https://github.com/AliMD/alwatr/commit/28ced3d0c4cdf44fc2aebfab98db0883fc5363fe))
|
|
321
|
+
- **signal:** disabled getter and optional dispatch options ([28ced3d](https://github.com/AliMD/alwatr-signal/commit/28ced3d0c4cdf44fc2aebfab98db0883fc5363fe))
|
|
308
322
|
|
|
309
323
|
### Features
|
|
310
324
|
|
|
311
|
-
- **signal:** new SignalInterface ([221701a](https://github.com/AliMD/alwatr/commit/221701a54ea9edda4a3a935a7b098e235ec52691))
|
|
325
|
+
- **signal:** new SignalInterface ([221701a](https://github.com/AliMD/alwatr-signal/commit/221701a54ea9edda4a3a935a7b098e235ec52691))
|
|
312
326
|
|
|
313
|
-
# [0.4.0](https://github.com/AliMD/alwatr/compare/v0.3.0...v0.4.0) (2022-03-11)
|
|
327
|
+
# [0.4.0](https://github.com/AliMD/alwatr-signal/compare/v0.3.0...v0.4.0) (2022-03-11)
|
|
314
328
|
|
|
315
329
|
**Note:** Version bump only for package @alwatr/signal
|
|
316
330
|
|
|
317
|
-
# [0.3.0](https://github.com/AliMD/alwatr/compare/v0.2.1...v0.3.0) (2022-03-06)
|
|
331
|
+
# [0.3.0](https://github.com/AliMD/alwatr-signal/compare/v0.2.1...v0.3.0) (2022-03-06)
|
|
318
332
|
|
|
319
333
|
### Bug Fixes
|
|
320
334
|
|
|
321
|
-
- **signal:** signal provider type ([0151c57](https://github.com/AliMD/alwatr/commit/0151c57d9b6d4f7e83bb9b1847ebe0ae53cd8f89))
|
|
335
|
+
- **signal:** signal provider type ([0151c57](https://github.com/AliMD/alwatr-signal/commit/0151c57d9b6d4f7e83bb9b1847ebe0ae53cd8f89))
|
|
322
336
|
|
|
323
|
-
## [0.2.1](https://github.com/AliMD/alwatr/compare/v0.2.0...v0.2.1) (2022-03-05)
|
|
337
|
+
## [0.2.1](https://github.com/AliMD/alwatr-signal/compare/v0.2.0...v0.2.1) (2022-03-05)
|
|
324
338
|
|
|
325
339
|
### Bug Fixes
|
|
326
340
|
|
|
327
|
-
- **signal:** signal value type issue ([292a4a7](https://github.com/AliMD/alwatr/commit/292a4a7d12a2fd143761e67cd1ecd2e5e40f2ee9))
|
|
341
|
+
- **signal:** signal value type issue ([292a4a7](https://github.com/AliMD/alwatr-signal/commit/292a4a7d12a2fd143761e67cd1ecd2e5e40f2ee9))
|
|
328
342
|
|
|
329
|
-
# [0.2.0](https://github.com/AliMD/alwatr/compare/v0.1.2...v0.2.0) (2022-03-05)
|
|
343
|
+
# [0.2.0](https://github.com/AliMD/alwatr-signal/compare/v0.1.2...v0.2.0) (2022-03-05)
|
|
330
344
|
|
|
331
345
|
### Bug Fixes
|
|
332
346
|
|
|
333
|
-
- **router:** rename setSignalProvider callback detail to requestParam ([6e09f87](https://github.com/AliMD/alwatr/commit/6e09f8772d320625fb4c15ccaa0abcfa2932f992))
|
|
334
|
-
- **signal:** fix dispatchSignal value parameters ([4d34cfb](https://github.com/AliMD/alwatr/commit/4d34cfbb5281d5ce4a4f06ddaaf72218dde80cdd))
|
|
347
|
+
- **router:** rename setSignalProvider callback detail to requestParam ([6e09f87](https://github.com/AliMD/alwatr-signal/commit/6e09f8772d320625fb4c15ccaa0abcfa2932f992))
|
|
348
|
+
- **signal:** fix dispatchSignal value parameters ([4d34cfb](https://github.com/AliMD/alwatr-signal/commit/4d34cfbb5281d5ce4a4f06ddaaf72218dde80cdd))
|
|
335
349
|
|
|
336
350
|
### Features
|
|
337
351
|
|
|
338
|
-
- **signal:** add contributors ([64287cd](https://github.com/AliMD/alwatr/commit/64287cd8cea95665a6ed298177df60dadda7642b))
|
|
339
|
-
- **signal:** improve signal provider by dispatch return content ([80c2b27](https://github.com/AliMD/alwatr/commit/80c2b275bcc0521327400c5902f512c778f5eb3f))
|
|
352
|
+
- **signal:** add contributors ([64287cd](https://github.com/AliMD/alwatr-signal/commit/64287cd8cea95665a6ed298177df60dadda7642b))
|
|
353
|
+
- **signal:** improve signal provider by dispatch return content ([80c2b27](https://github.com/AliMD/alwatr-signal/commit/80c2b275bcc0521327400c5902f512c778f5eb3f))
|
|
340
354
|
|
|
341
|
-
## [0.1.2](https://github.com/AliMD/alwatr/compare/v0.1.1...v0.1.2) (2022-03-03)
|
|
355
|
+
## [0.1.2](https://github.com/AliMD/alwatr-signal/compare/v0.1.1...v0.1.2) (2022-03-03)
|
|
342
356
|
|
|
343
357
|
**Note:** Version bump only for package @alwatr/signal
|
|
344
358
|
|
|
345
|
-
## [0.1.1](https://github.com/AliMD/alwatr/compare/v0.1.0...v0.1.1) (2022-03-03)
|
|
359
|
+
## [0.1.1](https://github.com/AliMD/alwatr-signal/compare/v0.1.0...v0.1.1) (2022-03-03)
|
|
346
360
|
|
|
347
361
|
### Bug Fixes
|
|
348
362
|
|
|
349
|
-
- **packages:** add publish config to public ([9cb3710](https://github.com/AliMD/alwatr/commit/9cb37106b5a35d24d5195ff54232e5769ccc034e))
|
|
363
|
+
- **packages:** add publish config to public ([9cb3710](https://github.com/AliMD/alwatr-signal/commit/9cb37106b5a35d24d5195ff54232e5769ccc034e))
|
|
350
364
|
|
|
351
365
|
# 0.1.0 (2022-03-02)
|
|
352
366
|
|
|
353
367
|
### Bug Fixes
|
|
354
368
|
|
|
355
|
-
- **signal:** AlwatrRequestSignals global type ([228e333](https://github.com/AliMD/alwatr/commit/228e3333326b23df51e7834872daf1349826bf09))
|
|
369
|
+
- **signal:** AlwatrRequestSignals global type ([228e333](https://github.com/AliMD/alwatr-signal/commit/228e3333326b23df51e7834872daf1349826bf09))
|
|
356
370
|
|
|
357
371
|
### Features
|
|
358
372
|
|
|
359
|
-
- **signal:** addSignalListener ([e7c5742](https://github.com/AliMD/alwatr/commit/e7c57427ef11e2624eb9a52a166720b1a3c5f66a))
|
|
360
|
-
- **signal:** getSignalObject ([b38954c](https://github.com/AliMD/alwatr/commit/b38954cf4ae1c24eaaa79ecf513995a4678814ee))
|
|
361
|
-
- **signal:** impeliment addSignalProvider, waitForSignal, hasSignalDispatchedBefore, expireSignal ([e0b4d78](https://github.com/AliMD/alwatr/commit/e0b4d7831764d4454591f5105c5512e1657a63e5))
|
|
362
|
-
- **signal:** impeliment dispatchSignal ([cb2dfbe](https://github.com/AliMD/alwatr/commit/cb2dfbe23ea751cba93cb1f6516cd2bfa2ecb18e))
|
|
363
|
-
- **signal:** ListenerObject, SignalObject types ([36d8a33](https://github.com/AliMD/alwatr/commit/36d8a336760bba3808cfd26a28e4d24a31c95f8f))
|
|
364
|
-
- **signal:** make new package for manage signals ([5bf82b3](https://github.com/AliMD/alwatr/commit/5bf82b3f05abc89102634e9b864d81b5b5af527e))
|
|
365
|
-
- **signal:** register to alwatr meta ([9c850e8](https://github.com/AliMD/alwatr/commit/9c850e8df787aa44d289929dc65439e921982dce))
|
|
366
|
-
- **signal:** removeSignalListener ([0088a52](https://github.com/AliMD/alwatr/commit/0088a5269ccce8b50a50e444695c81654fda70ff))
|
|
367
|
-
- **signal:** requestSignal ([111ab5a](https://github.com/AliMD/alwatr/commit/111ab5a1436bc380f5121ef8c130da7010258d90))
|
|
373
|
+
- **signal:** addSignalListener ([e7c5742](https://github.com/AliMD/alwatr-signal/commit/e7c57427ef11e2624eb9a52a166720b1a3c5f66a))
|
|
374
|
+
- **signal:** getSignalObject ([b38954c](https://github.com/AliMD/alwatr-signal/commit/b38954cf4ae1c24eaaa79ecf513995a4678814ee))
|
|
375
|
+
- **signal:** impeliment addSignalProvider, waitForSignal, hasSignalDispatchedBefore, expireSignal ([e0b4d78](https://github.com/AliMD/alwatr-signal/commit/e0b4d7831764d4454591f5105c5512e1657a63e5))
|
|
376
|
+
- **signal:** impeliment dispatchSignal ([cb2dfbe](https://github.com/AliMD/alwatr-signal/commit/cb2dfbe23ea751cba93cb1f6516cd2bfa2ecb18e))
|
|
377
|
+
- **signal:** ListenerObject, SignalObject types ([36d8a33](https://github.com/AliMD/alwatr-signal/commit/36d8a336760bba3808cfd26a28e4d24a31c95f8f))
|
|
378
|
+
- **signal:** make new package for manage signals ([5bf82b3](https://github.com/AliMD/alwatr-signal/commit/5bf82b3f05abc89102634e9b864d81b5b5af527e))
|
|
379
|
+
- **signal:** register to alwatr meta ([9c850e8](https://github.com/AliMD/alwatr-signal/commit/9c850e8df787aa44d289929dc65439e921982dce))
|
|
380
|
+
- **signal:** removeSignalListener ([0088a52](https://github.com/AliMD/alwatr-signal/commit/0088a5269ccce8b50a50e444695c81654fda70ff))
|
|
381
|
+
- **signal:** requestSignal ([111ab5a](https://github.com/AliMD/alwatr-signal/commit/111ab5a1436bc380f5121ef8c130da7010258d90))
|
package/context.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AlwatrObservable } from './observable.js';
|
|
2
|
+
/**
|
|
3
|
+
* Alwatr context signal.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AlwatrContextSignal<T> extends AlwatrObservable<T> {
|
|
6
|
+
constructor(config: {
|
|
7
|
+
name: string;
|
|
8
|
+
loggerPrefix?: string;
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* Get context value.
|
|
12
|
+
*
|
|
13
|
+
* Return undefined if context not set before or expired.
|
|
14
|
+
*/
|
|
15
|
+
getValue(): T | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Set context value and notify all subscribers.
|
|
18
|
+
*/
|
|
19
|
+
setValue(value: T): void;
|
|
20
|
+
/**
|
|
21
|
+
* Clear current context value without notify subscribers.
|
|
22
|
+
*
|
|
23
|
+
* `receivePrevious` in new subscribers not work until new context changes.
|
|
24
|
+
*/
|
|
25
|
+
expire(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Get the value of the next context changes.
|
|
28
|
+
*/
|
|
29
|
+
untilChange(): Promise<T>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=context.d.ts.map
|
package/context.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["src/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAEjD;;GAEG;AACH,qBAAa,mBAAmB,CAAC,CAAC,CAAE,SAAQ,gBAAgB,CAAC,CAAC,CAAC;gBACjD,MAAM,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAC;IAKzD;;;;OAIG;IACH,QAAQ,IAAI,CAAC,GAAG,SAAS;IAIzB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI;IAKxB;;;;OAIG;IACH,MAAM,IAAI,IAAI;IAId;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,CAAC,CAAC;CAG1B"}
|