@toa.io/extensions.configuration 1.1.0-dev.6 → 1.1.0-dev.8

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/extensions.configuration",
3
- "version": "1.1.0-dev.6",
3
+ "version": "1.1.0-dev.8",
4
4
  "description": "Toa Configuration",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -16,11 +16,11 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@toa.io/core": "1.1.0-dev.6",
20
- "@toa.io/generic": "0.11.0-dev.6",
21
- "@toa.io/schema": "0.7.6-dev.6",
22
- "@toa.io/yaml": "0.7.6-dev.6",
19
+ "@toa.io/core": "1.1.0-dev.8",
20
+ "@toa.io/generic": "0.11.0-dev.8",
21
+ "@toa.io/schema": "0.7.6-dev.8",
22
+ "@toa.io/yaml": "0.7.6-dev.8",
23
23
  "clone-deep": "4.0.1"
24
24
  },
25
- "gitHead": "be4282cafd1b4ad548ef45cd32e0a103a0ea7053"
25
+ "gitHead": "5abda36d2911023ecca554df833cfbc808e71ee8"
26
26
  }
package/source/factory.js CHANGED
@@ -11,11 +11,11 @@ const { Provider } = require('./provider')
11
11
  class Factory {
12
12
  /**
13
13
  * @param {toa.core.Locator} locator
14
- * @param {toa.schema.JSON | Object} declaration
14
+ * @param {toa.schema.JSON | Object} annotation
15
15
  * @return {toa.extensions.configuration.Aspect}
16
16
  */
17
- aspect (locator, declaration) {
18
- const schema = new Schema(declaration)
17
+ aspect (locator, annotation) {
18
+ const schema = new Schema(annotation)
19
19
  const provider = new Provider(locator, schema)
20
20
  const configuration = new Configuration(provider)
21
21