@adaas/a-utils 0.2.4 → 0.2.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaas/a-utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "A-Utils is a set of utilities that are used across the ADAAS ecosystem. This package is designed to be a collection of utilities that are used across the ADAAS ecosystem.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"build": "tsup --config tsup.config.ts"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@adaas/a-concept": "^0.2.
|
|
84
|
-
"@adaas/a-frame": "^0.0.
|
|
83
|
+
"@adaas/a-concept": "^0.2.5",
|
|
84
|
+
"@adaas/a-frame": "^0.0.7"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@types/chai": "^4.3.14",
|
|
@@ -139,8 +139,9 @@ export class A_SignalBus extends A_Component {
|
|
|
139
139
|
before: /.*/
|
|
140
140
|
})
|
|
141
141
|
async [A_SignalBusFeatures.onNext](
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
@A_Dependency.Flat()
|
|
143
|
+
@A_Dependency.All()
|
|
144
|
+
@A_Inject(A_Signal) signals: A_Signal[],
|
|
144
145
|
@A_Inject(A_Scope) scope: A_Scope,
|
|
145
146
|
|
|
146
147
|
@A_Dependency.Required()
|
|
@@ -156,7 +157,7 @@ export class A_SignalBus extends A_Component {
|
|
|
156
157
|
3) the bus should listen for all emitted signals within the scope
|
|
157
158
|
4) when a signal is emitted, the bus should store a signal in some place (probably it's memory)
|
|
158
159
|
*/
|
|
159
|
-
const signals = scope.resolveFlatAll<A_Signal>(A_Signal);
|
|
160
|
+
// const signals = scope.resolveFlatAll<A_Signal>(A_Signal);
|
|
160
161
|
|
|
161
162
|
for (const signal of signals) {
|
|
162
163
|
|