@xyo-network/react-powered-by-xyo 5.2.2 → 5.2.4

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/knip.config.ts ADDED
@@ -0,0 +1,15 @@
1
+ import type { KnipConfig } from 'knip'
2
+
3
+ const config: KnipConfig = {
4
+ entry: [
5
+ 'src/index.ts',
6
+ ],
7
+ project: ['src/**/*.ts*'],
8
+ typescript: {
9
+ config: [
10
+ 'tsconfig.json',
11
+ ],
12
+ },
13
+ }
14
+
15
+ export default config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-powered-by-xyo",
3
- "version": "5.2.2",
3
+ "version": "5.2.4",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -39,25 +39,25 @@
39
39
  "module": "dist/browser/index.mjs",
40
40
  "types": "dist/types/index.d.ts",
41
41
  "dependencies": {
42
- "@xylabs/delay": "^4.8.5",
43
- "@xylabs/forget": "^4.8.5",
44
- "@xylabs/react-async-effect": "^6.2.1",
45
- "@xylabs/react-button": "^6.2.1",
46
- "@xylabs/react-flexbox": "^6.2.1",
47
- "@xylabs/react-promise": "^6.2.1",
48
- "@xyo-network/archivist-model": "^3.12.4",
49
- "@xyo-network/bridge-model": "^3.12.4",
50
- "@xyo-network/diviner-model": "^3.12.4",
51
- "@xyo-network/manifest": "^3.12.4",
52
- "@xyo-network/module-model": "^3.12.4",
53
- "@xyo-network/node-model": "^3.12.4",
54
- "@xyo-network/payload-model": "^3.12.4",
55
- "@xyo-network/react-node": "^5.2.2",
56
- "@xyo-network/react-payload-raw-info": "^5.2.2",
57
- "@xyo-network/react-property": "^5.2.2",
58
- "@xyo-network/react-shared": "^5.2.2",
59
- "@xyo-network/sentinel-model": "^3.12.4",
60
- "@xyo-network/witness-model": "^3.12.4"
42
+ "@xylabs/delay": "^4.8.7",
43
+ "@xylabs/forget": "^4.8.7",
44
+ "@xylabs/react-async-effect": "^6.2.11",
45
+ "@xylabs/react-button": "^6.2.11",
46
+ "@xylabs/react-flexbox": "^6.2.11",
47
+ "@xylabs/react-promise": "^6.2.11",
48
+ "@xyo-network/archivist-model": "^3.14.12",
49
+ "@xyo-network/bridge-model": "^3.14.12",
50
+ "@xyo-network/diviner-model": "^3.14.12",
51
+ "@xyo-network/manifest": "^3.14.12",
52
+ "@xyo-network/module-model": "^3.14.12",
53
+ "@xyo-network/node-model": "^3.14.12",
54
+ "@xyo-network/payload-model": "^3.14.12",
55
+ "@xyo-network/react-node": "^5.2.4",
56
+ "@xyo-network/react-payload-raw-info": "^5.2.4",
57
+ "@xyo-network/react-property": "^5.2.4",
58
+ "@xyo-network/react-shared": "^5.2.4",
59
+ "@xyo-network/sentinel-model": "^3.14.12",
60
+ "@xyo-network/witness-model": "^3.14.12"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@emotion/react": "^11.14.0",
@@ -66,8 +66,11 @@
66
66
  "@mui/material": "^7.0.2",
67
67
  "@storybook/react": "^8.6.12",
68
68
  "@types/react": "^19.1.2",
69
- "@xylabs/ts-scripts-yarn3": "^6.2.1",
70
- "@xyo-network/account": "^3.12.4",
69
+ "@xylabs/ts-scripts-yarn3": "^6.3.5",
70
+ "@xyo-network/account": "^3.14.12",
71
+ "@xyo-network/module-factory-locator": "^3.14.12",
72
+ "@xyo-network/wallet": "^3.14.12",
73
+ "knip": "^5.50.5",
71
74
  "react": "^19.1.0",
72
75
  "react-dom": "^19.1.0",
73
76
  "storybook": "^8.6.12",
@@ -3,12 +3,13 @@ import { delay } from '@xylabs/delay'
3
3
  import { useAsyncEffect } from '@xylabs/react-async-effect'
4
4
  import { FlexCol } from '@xylabs/react-flexbox'
5
5
  import { usePromise } from '@xylabs/react-promise'
6
- import { HDWallet } from '@xyo-network/account'
7
6
  import { asArchivistInstance } from '@xyo-network/archivist-model'
8
7
  import type { PackageManifestPayload } from '@xyo-network/manifest'
9
8
  import { ManifestWrapper } from '@xyo-network/manifest'
9
+ import { ModuleFactoryLocator } from '@xyo-network/module-factory-locator'
10
10
  import type { NodeInstance } from '@xyo-network/node-model'
11
11
  import { NodeProvider } from '@xyo-network/react-node'
12
+ import { HDWallet } from '@xyo-network/wallet'
12
13
  import React, { useState } from 'react'
13
14
 
14
15
  import type { PoweredByXyoProps } from '../PoweredByXyo.tsx'
@@ -32,7 +33,7 @@ const TemplateWithNodeContainer: StoryFn<typeof PoweredByXyo> = (props: PoweredB
32
33
  useAsyncEffect(
33
34
  async () => {
34
35
  const wallet = await HDWallet.random()
35
- const manifest = new ManifestWrapper(simpleNodeInlineManifest as PackageManifestPayload, wallet)
36
+ const manifest = new ManifestWrapper(simpleNodeInlineManifest as PackageManifestPayload, wallet, new ModuleFactoryLocator())
36
37
  const [node] = await manifest.loadNodes()
37
38
  setNode(node)
38
39
  },