@xyo-network/react-archivist 3.0.18 → 3.0.20

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": "@xyo-network/react-archivist",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -45,10 +45,10 @@
45
45
  "dependencies": {
46
46
  "@xylabs/exists": "^4.0.10",
47
47
  "@xylabs/hex": "^4.0.10",
48
- "@xylabs/react-async-effect": "^4.2.12",
49
- "@xylabs/react-button": "^4.2.12",
50
- "@xylabs/react-flexbox": "^4.2.12",
51
- "@xylabs/react-promise": "^4.2.12",
48
+ "@xylabs/react-async-effect": "^4.2.13",
49
+ "@xylabs/react-button": "^4.2.13",
50
+ "@xylabs/react-flexbox": "^4.2.13",
51
+ "@xylabs/react-promise": "^4.2.13",
52
52
  "@xyo-network/archivist-memory": "^3.1.9",
53
53
  "@xyo-network/archivist-model": "^3.1.9",
54
54
  "@xyo-network/boundwitness-builder": "^3.1.9",
@@ -57,23 +57,23 @@
57
57
  "@xyo-network/module-model": "^3.1.9",
58
58
  "@xyo-network/module-wrapper": "^3.1.9",
59
59
  "@xyo-network/payload-model": "^3.1.9",
60
- "@xyo-network/react-module": "^3.0.18",
61
- "@xyo-network/react-node": "^3.0.18",
62
- "@xyo-network/react-wallet": "^3.0.18",
60
+ "@xyo-network/react-module": "^3.0.20",
61
+ "@xyo-network/react-node": "^3.0.20",
62
+ "@xyo-network/react-wallet": "^3.0.20",
63
63
  "react-icons": "^5.3.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@mui/icons-material": "^5.16.7",
67
67
  "@mui/material": "^5.16.7",
68
68
  "@mui/styles": "^5.16.7",
69
- "@storybook/react": "^8.2.9",
69
+ "@storybook/react": "^8.3.0",
70
70
  "@xylabs/ts-scripts-yarn3": "^4.0.7",
71
71
  "@xylabs/tsconfig-react": "^4.0.7",
72
72
  "@xyo-network/account": "^3.1.9",
73
73
  "@xyo-network/node-memory": "^3.1.9",
74
74
  "react": "^18.3.1",
75
75
  "react-dom": "^18.3.1",
76
- "storybook": "^8.2.9",
76
+ "storybook": "^8.3.0",
77
77
  "typescript": "^5.6.2"
78
78
  },
79
79
  "peerDependencies": {
@@ -35,12 +35,12 @@ const clearArchivist = async (archivist?: ArchivistInstance) => {
35
35
 
36
36
  const Template: StoryFn<typeof ArchivistCard> = () => {
37
37
  const [node] = usePromise(async () => {
38
- return await MemoryNode.create()
38
+ return await MemoryNode.create({})
39
39
  }, [])
40
40
 
41
41
  const [mod] = usePromise(async () => {
42
42
  if (node) {
43
- const newParentModule = await MemoryArchivist.create()
43
+ const newParentModule = await MemoryArchivist.create({})
44
44
  await node?.register(newParentModule)
45
45
  await node?.attach(newParentModule.address)
46
46
 
@@ -22,8 +22,8 @@ const Template: StoryFn<typeof MemoryArchivistsStats> = () => {
22
22
  useAsyncEffect(
23
23
  async () => {
24
24
  if (!mod) {
25
- const node = await MemoryNode.create()
26
- const newParentModule = await MemoryArchivist.create()
25
+ const node = await MemoryNode.create({})
26
+ const newParentModule = await MemoryArchivist.create({})
27
27
  const newModule = await MemoryArchivist.create({
28
28
  config: {
29
29
  name: 'MemoryArchivist',