@toa.io/core 0.7.2-dev.0 → 0.8.0-dev.1

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": "@toa.io/core",
3
- "version": "0.7.2-dev.0",
3
+ "version": "0.8.0-dev.1",
4
4
  "description": "Toa Core",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@rsql/parser": "1.2.4",
23
23
  "@toa.io/console": "0.6.0",
24
- "@toa.io/generic": "0.7.0",
25
- "@toa.io/yaml": "0.7.2-dev.0",
24
+ "@toa.io/generic": "0.8.0-dev.1",
25
+ "@toa.io/yaml": "0.7.2-dev.2",
26
26
  "clone-deep": "4.0.1"
27
27
  },
28
- "gitHead": "e9a0781a797c3ec5e2dff2251fbc683ec8d08ecf"
28
+ "gitHead": "9bb2f372c556440ee3e2a42e10eb415220ba1cb0"
29
29
  }
package/src/state.js CHANGED
@@ -71,8 +71,7 @@ class State {
71
71
 
72
72
  ok = await this.#storage.store(object)
73
73
 
74
- // TODO: handle slow emissions (too many concurrent emissions)
75
- // TODO: do not wait because outbox will handle failures
74
+ // #20
76
75
  await this.#emission.emit(event)
77
76
  }
78
77
 
@@ -7,9 +7,9 @@ import * as _bindings from './bindings'
7
7
  declare namespace toa.core.extensions {
8
8
 
9
9
  interface Factory {
10
- tenant?(locator: _core.Locator, declaration: Object): _core.Connector
10
+ tenant?(locator: _core.Locator, declaration: object): _core.Connector
11
11
 
12
- aspect?(locator: _core.Locator, declaration: Object): Aspect
12
+ aspect?(locator: _core.Locator, declaration: object): Aspect | Aspect[]
13
13
 
14
14
  service?(name?: string): _core.Connector
15
15