@knotx/decorators 0.2.15 → 0.3.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/dist/index.d.cts CHANGED
@@ -191,7 +191,7 @@ interface InjectDecoratorCallableMethodType {
191
191
  * @example
192
192
  * ```
193
193
  * @inject('getNode')
194
- * getNode!: (id: string) => Node | undefined
194
+ * getNode!: (params: { id: string }) => Node | undefined
195
195
  *
196
196
  * @inject('dispatchNodeOperation')
197
197
  * dispatchNodeOperation!: (operation: NodeOperation) => void
package/dist/index.d.mts CHANGED
@@ -191,7 +191,7 @@ interface InjectDecoratorCallableMethodType {
191
191
  * @example
192
192
  * ```
193
193
  * @inject('getNode')
194
- * getNode!: (id: string) => Node | undefined
194
+ * getNode!: (params: { id: string }) => Node | undefined
195
195
  *
196
196
  * @inject('dispatchNodeOperation')
197
197
  * dispatchNodeOperation!: (operation: NodeOperation) => void
package/dist/index.d.ts CHANGED
@@ -191,7 +191,7 @@ interface InjectDecoratorCallableMethodType {
191
191
  * @example
192
192
  * ```
193
193
  * @inject('getNode')
194
- * getNode!: (id: string) => Node | undefined
194
+ * getNode!: (params: { id: string }) => Node | undefined
195
195
  *
196
196
  * @inject('dispatchNodeOperation')
197
197
  * dispatchNodeOperation!: (operation: NodeOperation) => void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knotx/decorators",
3
- "version": "0.2.15",
3
+ "version": "0.3.1",
4
4
  "description": "Decorators for Knotx",
5
5
  "author": "boenfu",
6
6
  "license": "MIT",
@@ -28,20 +28,20 @@
28
28
  "dist"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@knotx/jsx": "0.2.13"
31
+ "@knotx/jsx": "0.3.1"
32
32
  },
33
33
  "dependencies": {
34
34
  "jsonschema": "^1.5.0",
35
35
  "lodash-es": "^4.17.21",
36
36
  "rxjs": "^7.8.1",
37
- "@knotx/core": "0.2.14"
37
+ "@knotx/core": "0.3.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/lodash-es": "^4.14.12",
41
- "@knotx/build-config": "0.2.13",
42
- "@knotx/eslint-config": "0.2.13",
43
- "@knotx/jsx": "0.2.13",
44
- "@knotx/typescript-config": "0.2.13"
41
+ "@knotx/build-config": "0.3.1",
42
+ "@knotx/eslint-config": "0.3.1",
43
+ "@knotx/jsx": "0.3.1",
44
+ "@knotx/typescript-config": "0.3.1"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "unbuild",