@knotx/core 0.0.4 → 0.0.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/dist/index.d.cts CHANGED
@@ -32,7 +32,7 @@ interface EdgeData<TData = any> {
32
32
  data?: TData;
33
33
  }
34
34
  interface EdgeProps<T = any> {
35
- edge: T;
35
+ edge: EdgeData<T>;
36
36
  sourceX: number;
37
37
  sourceY: number;
38
38
  targetX: number;
package/dist/index.d.mts CHANGED
@@ -32,7 +32,7 @@ interface EdgeData<TData = any> {
32
32
  data?: TData;
33
33
  }
34
34
  interface EdgeProps<T = any> {
35
- edge: T;
35
+ edge: EdgeData<T>;
36
36
  sourceX: number;
37
37
  sourceY: number;
38
38
  targetX: number;
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ interface EdgeData<TData = any> {
32
32
  data?: TData;
33
33
  }
34
34
  interface EdgeProps<T = any> {
35
- edge: T;
35
+ edge: EdgeData<T>;
36
36
  sourceX: number;
37
37
  sourceY: number;
38
38
  targetX: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knotx/core",
3
3
  "type": "module",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "description": "Core for Knotx",
6
6
  "author": "boenfu",
7
7
  "license": "MIT",
@@ -41,14 +41,14 @@
41
41
  "dependencies": {
42
42
  "lodash-es": "^4.17.21",
43
43
  "rxjs": "^7.8.1",
44
- "@knotx/data": "0.0.4",
45
- "@knotx/utils": "0.0.4"
44
+ "@knotx/data": "0.0.5",
45
+ "@knotx/utils": "0.0.5"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/lodash-es": "^4.17.12",
49
- "@knotx/build-config": "0.0.4",
50
- "@knotx/eslint-config": "0.0.4",
51
- "@knotx/typescript-config": "0.0.4"
49
+ "@knotx/build-config": "0.0.5",
50
+ "@knotx/eslint-config": "0.0.5",
51
+ "@knotx/typescript-config": "0.0.5"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "unbuild --failOnWarn=false",