@xyo-network/react-node-renderer 2.76.2 → 2.76.3
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 +26 -26
- package/src/components/relational/graph/Graph.stories.tsx +1 -1
- package/src/components/relational/graph/GraphCola.stories.tsx +1 -1
- package/src/components/relational/graph/GraphCoseBilkent.stories.tsx +1 -1
- package/src/components/relational/graph/GraphDagre.stories.tsx +1 -1
- package/src/components/relational/graph/GraphEuler.stories.tsx +2 -2
package/package.json
CHANGED
|
@@ -10,25 +10,25 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/exists": "^3.3.
|
|
13
|
+
"@xylabs/exists": "^3.3.3",
|
|
14
14
|
"@xylabs/react-async-effect": "^3.1.7",
|
|
15
15
|
"@xylabs/react-flexbox": "^3.1.7",
|
|
16
16
|
"@xylabs/react-identicon": "^3.1.7",
|
|
17
17
|
"@xylabs/react-promise": "^3.1.7",
|
|
18
18
|
"@xylabs/react-shared": "^3.1.7",
|
|
19
|
-
"@xyo-network/account-model": "^2.
|
|
20
|
-
"@xyo-network/archivist-model": "^2.
|
|
21
|
-
"@xyo-network/bridge-model": "^2.
|
|
22
|
-
"@xyo-network/diviner-model": "^2.
|
|
23
|
-
"@xyo-network/module-events": "^2.
|
|
24
|
-
"@xyo-network/module-model": "^2.
|
|
25
|
-
"@xyo-network/node-model": "^2.
|
|
26
|
-
"@xyo-network/react-archivist": "~2.76.
|
|
27
|
-
"@xyo-network/react-module": "~2.76.
|
|
28
|
-
"@xyo-network/react-node": "~2.76.
|
|
29
|
-
"@xyo-network/react-shared": "~2.76.
|
|
30
|
-
"@xyo-network/sentinel-model": "^2.
|
|
31
|
-
"@xyo-network/witness-model": "^2.
|
|
19
|
+
"@xyo-network/account-model": "^2.101.16",
|
|
20
|
+
"@xyo-network/archivist-model": "^2.101.16",
|
|
21
|
+
"@xyo-network/bridge-model": "^2.101.16",
|
|
22
|
+
"@xyo-network/diviner-model": "^2.101.16",
|
|
23
|
+
"@xyo-network/module-events": "^2.101.16",
|
|
24
|
+
"@xyo-network/module-model": "^2.101.16",
|
|
25
|
+
"@xyo-network/node-model": "^2.101.16",
|
|
26
|
+
"@xyo-network/react-archivist": "~2.76.3",
|
|
27
|
+
"@xyo-network/react-module": "~2.76.3",
|
|
28
|
+
"@xyo-network/react-node": "~2.76.3",
|
|
29
|
+
"@xyo-network/react-shared": "~2.76.3",
|
|
30
|
+
"@xyo-network/sentinel-model": "^2.101.16",
|
|
31
|
+
"@xyo-network/witness-model": "^2.101.16",
|
|
32
32
|
"cytoscape": "^3.29.2",
|
|
33
33
|
"cytoscape-cola": "^2.5.1",
|
|
34
34
|
"cytoscape-cose-bilkent": "^4.1.0",
|
|
@@ -44,20 +44,20 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@storybook/react": "^7.6.19",
|
|
47
|
-
"@types/cytoscape": "^3.21.
|
|
47
|
+
"@types/cytoscape": "^3.21.1",
|
|
48
48
|
"@types/cytoscape-dagre": "^2.3.3",
|
|
49
49
|
"@types/cytoscape-euler": "^1.2.3",
|
|
50
50
|
"@types/react-dom": "^18.3.0",
|
|
51
|
-
"@xylabs/ts-scripts-yarn3": "^3.10.
|
|
52
|
-
"@xylabs/tsconfig-react": "^3.10.
|
|
53
|
-
"@xyo-network/archivist": "^2.
|
|
54
|
-
"@xyo-network/bridge-model": "^2.
|
|
55
|
-
"@xyo-network/http-bridge": "^2.
|
|
56
|
-
"@xyo-network/id-plugin": "^2.
|
|
57
|
-
"@xyo-network/node-memory": "^2.
|
|
58
|
-
"@xyo-network/react-storybook": "~2.76.
|
|
59
|
-
"@xyo-network/react-wallet": "~2.76.
|
|
60
|
-
"@xyo-network/sentinel": "^2.
|
|
51
|
+
"@xylabs/ts-scripts-yarn3": "^3.10.4",
|
|
52
|
+
"@xylabs/tsconfig-react": "^3.10.4",
|
|
53
|
+
"@xyo-network/archivist": "^2.101.16",
|
|
54
|
+
"@xyo-network/bridge-model": "^2.101.16",
|
|
55
|
+
"@xyo-network/http-bridge": "^2.101.16",
|
|
56
|
+
"@xyo-network/id-plugin": "^2.95.1",
|
|
57
|
+
"@xyo-network/node-memory": "^2.101.16",
|
|
58
|
+
"@xyo-network/react-storybook": "~2.76.3",
|
|
59
|
+
"@xyo-network/react-wallet": "~2.76.3",
|
|
60
|
+
"@xyo-network/sentinel": "^2.101.16",
|
|
61
61
|
"typescript": "^5.4.5"
|
|
62
62
|
},
|
|
63
63
|
"description": "Common React library for all XYO projects that use React",
|
|
@@ -111,6 +111,6 @@
|
|
|
111
111
|
},
|
|
112
112
|
"sideEffects": false,
|
|
113
113
|
"types": "dist/browser/index.d.ts",
|
|
114
|
-
"version": "2.76.
|
|
114
|
+
"version": "2.76.3",
|
|
115
115
|
"type": "module"
|
|
116
116
|
}
|
|
@@ -136,7 +136,7 @@ const TemplateAttachDetach: StoryFn<typeof NodeRelationalGraphFlexBox> = (props)
|
|
|
136
136
|
const handleRemoveWitness = async () => {
|
|
137
137
|
if (node && idWitness) {
|
|
138
138
|
const memoryNode = node.deref() as MemoryNode | undefined
|
|
139
|
-
if (memoryNode?.registered().includes(idWitness.address)) {
|
|
139
|
+
if ((await memoryNode?.registered() ?? []).includes(idWitness.address)) {
|
|
140
140
|
await memoryNode?.unregister(idWitness)
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -124,7 +124,7 @@ const TemplateAttachDetach: StoryFn<typeof NodeRelationalGraphFlexBox> = (props)
|
|
|
124
124
|
const handleRemoveWitness = async () => {
|
|
125
125
|
if (node && idWitness) {
|
|
126
126
|
const memoryNode = node.deref() as MemoryNode | undefined
|
|
127
|
-
if (memoryNode?.registered().includes(idWitness.address)) {
|
|
127
|
+
if ((await memoryNode?.registered() ?? []).includes(idWitness.address)) {
|
|
128
128
|
await memoryNode?.unregister(idWitness)
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -124,7 +124,7 @@ const TemplateAttachDetach: StoryFn<typeof NodeRelationalGraphFlexBox> = (props)
|
|
|
124
124
|
const handleRemoveWitness = async () => {
|
|
125
125
|
if (node && idWitness) {
|
|
126
126
|
const memoryNode = node.deref() as MemoryNode | undefined
|
|
127
|
-
if (memoryNode?.registered().includes(idWitness.address)) {
|
|
127
|
+
if ((await memoryNode?.registered() ?? []).includes(idWitness.address)) {
|
|
128
128
|
await memoryNode?.unregister(idWitness)
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -124,7 +124,7 @@ const TemplateAttachDetach: StoryFn<typeof NodeRelationalGraphFlexBox> = (props)
|
|
|
124
124
|
const handleRemoveWitness = async () => {
|
|
125
125
|
if (node && idWitness) {
|
|
126
126
|
const memoryNode = node?.deref() as MemoryNode | undefined
|
|
127
|
-
if (memoryNode?.registered().includes(idWitness.address)) {
|
|
127
|
+
if ((await memoryNode?.registered() ?? []).includes(idWitness.address)) {
|
|
128
128
|
await memoryNode?.unregister(idWitness)
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -124,8 +124,8 @@ const TemplateAttachDetach: StoryFn<typeof NodeRelationalGraphFlexBox> = (props)
|
|
|
124
124
|
const handleRemoveWitness = async () => {
|
|
125
125
|
if (node && idWitness) {
|
|
126
126
|
const memoryNode = node.deref() as MemoryNode | undefined
|
|
127
|
-
if (memoryNode?.registered().includes(idWitness.address)) {
|
|
128
|
-
await memoryNode
|
|
127
|
+
if ((await memoryNode?.registered() ?? []).includes(idWitness.address)) {
|
|
128
|
+
await memoryNode?.unregister(idWitness)
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|