Skip to content

Commit 504d7a5

Browse files
committed
updo / Brand types
1 parent b559439 commit 504d7a5

File tree

96 files changed

+3946
-3564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+3946
-3564
lines changed

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
},
3636
"module": "dist/browser/index.mjs",
3737
"types": "dist/browser/index.d.ts",
38+
"files": [
39+
"dist",
40+
"src"
41+
],
3842
"workspaces": [
3943
"packages/**/*"
4044
],
@@ -63,16 +67,16 @@
6367
"@storybook/react-vite": "^9.0.18",
6468
"@stylistic/eslint-plugin": "^5.2.2",
6569
"@types/node": "^24.1.0",
66-
"@types/react": "^19.1.8",
70+
"@types/react": "^19.1.9",
6771
"@typescript-eslint/eslint-plugin": "^8.38.0",
6872
"@typescript-eslint/parser": "^8.38.0",
6973
"@vitejs/plugin-react-swc": "^3.11.0",
70-
"@xylabs/eslint-config-flat": "^7.0.1",
71-
"@xylabs/eslint-config-react-flat": "^7.0.1",
72-
"@xylabs/react-invertible-theme": "^6.4.0",
73-
"@xylabs/react-theme": "^6.4.0",
74-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
75-
"@xylabs/tsconfig-react": "^7.0.1",
74+
"@xylabs/eslint-config-flat": "^7.0.2",
75+
"@xylabs/eslint-config-react-flat": "^7.0.2",
76+
"@xylabs/react-invertible-theme": "^7.0.0",
77+
"@xylabs/react-theme": "^7.0.0",
78+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
79+
"@xylabs/tsconfig-react": "^7.0.2",
7680
"chromatic": "^13.1.2",
7781
"copyfiles": "^2.4.1",
7882
"dotenv": "^17.2.1",
@@ -89,7 +93,7 @@
8993
"typedoc": "^0.28.8",
9094
"typescript": "^5.8.3",
9195
"vite": "^7.0.6",
92-
"vite-plugin-checker": "^0.10.1",
96+
"vite-plugin-checker": "^0.10.2",
9397
"vite-plugin-top-level-await": "^1.6.0",
9498
"vite-tsconfig-paths": "^5.1.4",
9599
"vitest": "^3.2.4"

packages/modules/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
4246
"@xyo-network/react-archivist": "workspace:^",
4347
"@xyo-network/react-diviner": "workspace:^",
@@ -51,9 +55,9 @@
5155
"@emotion/styled": "^11.14.1",
5256
"@mui/icons-material": "^7.2.0",
5357
"@mui/material": "^7.2.0",
54-
"@types/react": "^19.1.8",
55-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
56-
"@xylabs/tsconfig-react": "^7.0.1",
58+
"@types/react": "^19.1.9",
59+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
60+
"@xylabs/tsconfig-react": "^7.0.2",
5761
"react": "^19.1.1",
5862
"react-dom": "^19.1.1",
5963
"typescript": "^5.8.3"

packages/modules/packages/archivist/package.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,24 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
42-
"@xylabs/exists": "^4.15.0",
43-
"@xylabs/hex": "^4.15.0",
44-
"@xylabs/react-async-effect": "^6.4.0",
45-
"@xylabs/react-button": "^6.4.0",
46-
"@xylabs/react-flexbox": "^6.4.0",
47-
"@xylabs/react-promise": "^6.4.0",
48-
"@xyo-network/archivist-memory": "^4.3.0",
49-
"@xyo-network/archivist-model": "^4.3.0",
50-
"@xyo-network/boundwitness-builder": "^4.3.0",
51-
"@xyo-network/boundwitness-model": "^4.3.0",
52-
"@xyo-network/module-model": "^4.3.0",
53-
"@xyo-network/module-wrapper": "^4.3.0",
54-
"@xyo-network/payload-model": "^4.3.0",
46+
"@xylabs/exists": "^5.0.0",
47+
"@xylabs/hex": "^5.0.0",
48+
"@xylabs/react-async-effect": "^7.0.0",
49+
"@xylabs/react-button": "^7.0.0",
50+
"@xylabs/react-flexbox": "^7.0.0",
51+
"@xylabs/react-promise": "^7.0.0",
52+
"@xyo-network/archivist-memory": "^5.0.0",
53+
"@xyo-network/archivist-model": "^5.0.0",
54+
"@xyo-network/boundwitness-builder": "^5.0.0",
55+
"@xyo-network/boundwitness-model": "^5.0.0",
56+
"@xyo-network/module-model": "^5.0.0",
57+
"@xyo-network/module-wrapper": "^5.0.0",
58+
"@xyo-network/payload-model": "^5.0.0",
5559
"@xyo-network/react-module": "workspace:^",
5660
"@xyo-network/react-node": "workspace:^",
5761
"@xyo-network/react-wallet": "workspace:^",
@@ -61,12 +65,12 @@
6165
"@mui/icons-material": "^7.2.0",
6266
"@mui/material": "^7.2.0",
6367
"@storybook/react-vite": "^9.0.18",
64-
"@types/react": "^19.1.8",
65-
"@xylabs/events": "^4.15.0",
66-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
67-
"@xylabs/tsconfig-react": "^7.0.1",
68-
"@xyo-network/account": "^4.3.0",
69-
"@xyo-network/node-memory": "^4.3.0",
68+
"@types/react": "^19.1.9",
69+
"@xylabs/events": "^5.0.0",
70+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
71+
"@xylabs/tsconfig-react": "^7.0.2",
72+
"@xyo-network/account": "^5.0.0",
73+
"@xyo-network/node-memory": "^5.0.0",
7074
"react": "^19.1.1",
7175
"react-dom": "^19.1.1",
7276
"storybook": "^9.0.18",

packages/modules/packages/diviner/package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,19 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
42-
"@xylabs/exists": "^4.15.0",
43-
"@xyo-network/diviner-model": "^4.3.0",
44-
"@xyo-network/module-model": "^4.3.0",
46+
"@xylabs/exists": "^5.0.0",
47+
"@xyo-network/diviner-model": "^5.0.0",
48+
"@xyo-network/module-model": "^5.0.0",
4549
"@xyo-network/react-node": "workspace:^"
4650
},
4751
"devDependencies": {
48-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
49-
"@xylabs/tsconfig-react": "^7.0.1",
52+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
53+
"@xylabs/tsconfig-react": "^7.0.2",
5054
"typescript": "^5.8.3"
5155
},
5256
"peerDependencies": {

packages/modules/packages/module/package.json

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,34 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
42-
"@xylabs/eth-address": "^4.15.0",
43-
"@xylabs/react-button": "^6.4.0",
44-
"@xylabs/react-crypto": "^6.4.0",
45-
"@xylabs/react-flexbox": "^6.4.0",
46-
"@xylabs/react-promise": "^6.4.0",
47-
"@xyo-network/diviner-model": "^4.3.0",
48-
"@xyo-network/module-model": "^4.3.0",
46+
"@xylabs/eth-address": "^5.0.0",
47+
"@xylabs/react-button": "^7.0.0",
48+
"@xylabs/react-crypto": "^7.0.0",
49+
"@xylabs/react-flexbox": "^7.0.0",
50+
"@xylabs/react-promise": "^7.0.0",
51+
"@xyo-network/diviner-model": "^5.0.0",
52+
"@xyo-network/module-model": "^5.0.0",
4953
"@xyo-network/react-shared": "workspace:^"
5054
},
5155
"devDependencies": {
5256
"@mui/icons-material": "^7.2.0",
5357
"@mui/material": "^7.2.0",
5458
"@storybook/react-vite": "^9.0.18",
55-
"@types/react": "^19.1.8",
56-
"@xylabs/hex": "^4.15.0",
57-
"@xylabs/react-async-effect": "^6.4.0",
58-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
59-
"@xylabs/tsconfig-react": "^7.0.1",
60-
"@xyo-network/archivist": "^4.3.0",
61-
"@xyo-network/archivist-memory": "^4.3.0",
62-
"@xyo-network/crypto-asset-plugin": "^4.1.1",
63-
"@xyo-network/diviner-address-history": "^4.3.0",
64-
"@xyo-network/node-memory": "^4.3.0",
59+
"@types/react": "^19.1.9",
60+
"@xylabs/hex": "^5.0.0",
61+
"@xylabs/react-async-effect": "^7.0.0",
62+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
63+
"@xylabs/tsconfig-react": "^7.0.2",
64+
"@xyo-network/archivist": "^5.0.0",
65+
"@xyo-network/archivist-memory": "^5.0.0",
66+
"@xyo-network/crypto-asset-plugin": "^5.0.0",
67+
"@xyo-network/diviner-address-history": "^5.0.0",
68+
"@xyo-network/node-memory": "^5.0.0",
6569
"react": "^19.1.1",
6670
"react-dom": "^19.1.1",
6771
"storybook": "^9.0.18",

packages/modules/packages/module/src/components/DetailsBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EthAddress } from '@xylabs/eth-address'
1+
import { EthAddressWrapper } from '@xylabs/eth-address'
22
import { ButtonEx } from '@xylabs/react-button'
33
import { EthAccountBox } from '@xylabs/react-crypto'
44
import type { FlexBoxProps } from '@xylabs/react-flexbox'
@@ -32,7 +32,7 @@ export const ModuleDetailsBox: React.FC<ModuleRenderProps & FlexBoxProps> = ({
3232
: null
3333
})
3434
: null}
35-
<EthAccountBox address={EthAddress.fromString(mod?.address)} />
35+
<EthAccountBox address={EthAddressWrapper.fromString(mod?.address)} />
3636
</FlexRow>
3737

3838
{showQueries

packages/modules/packages/module/src/components/TableCell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { TableCellProps } from '@mui/material'
22
import { TableCell } from '@mui/material'
3-
import { EthAddress } from '@xylabs/eth-address'
3+
import { EthAddressWrapper } from '@xylabs/eth-address'
44
import { EthAccountBox } from '@xylabs/react-crypto'
55
import React from 'react'
66

@@ -11,7 +11,7 @@ export const ModuleTableCell: React.FC<ModuleRenderProps & TableCellProps> = ({
1111
}) => {
1212
return (
1313
<TableCell {...props}>
14-
<EthAccountBox address={EthAddress.fromString(mod?.address)} />
14+
<EthAccountBox address={EthAddressWrapper.fromString(mod?.address)} />
1515
{children}
1616
</TableCell>
1717
)

packages/modules/packages/node/package.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,22 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
4246
"@mui/x-tree-view": "^8.9.0",
43-
"@xylabs/exists": "^4.15.0",
44-
"@xylabs/logger": "^4.15.0",
45-
"@xylabs/react-async-effect": "^6.4.0",
46-
"@xylabs/react-flexbox": "^6.4.0",
47-
"@xylabs/react-promise": "^6.4.0",
48-
"@xylabs/typeof": "^4.15.0",
49-
"@xyo-network/module-abstract": "^4.3.0",
50-
"@xyo-network/module-model": "^4.3.0",
51-
"@xyo-network/node-model": "^4.3.0",
52-
"@xyo-network/payload-model": "^4.3.0",
47+
"@xylabs/exists": "^5.0.0",
48+
"@xylabs/logger": "^5.0.0",
49+
"@xylabs/react-async-effect": "^7.0.0",
50+
"@xylabs/react-flexbox": "^7.0.0",
51+
"@xylabs/react-promise": "^7.0.0",
52+
"@xylabs/typeof": "^5.0.0",
53+
"@xyo-network/module-abstract": "^5.0.0",
54+
"@xyo-network/module-model": "^5.0.0",
55+
"@xyo-network/node-model": "^5.0.0",
56+
"@xyo-network/payload-model": "^5.0.0",
5357
"@xyo-network/react-node-context": "workspace:^",
5458
"@xyo-network/react-node-provider": "workspace:^"
5559
},
@@ -60,12 +64,12 @@
6064
"@mui/material": "^7.2.0",
6165
"@mui/system": "^7.2.0",
6266
"@storybook/react-vite": "^9.0.18",
63-
"@types/react": "^19.1.8",
64-
"@xylabs/object": "^4.15.0",
65-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
66-
"@xylabs/tsconfig-react": "^7.0.1",
67-
"@xyo-network/node-memory": "^4.3.0",
68-
"@xyo-network/payload-model": "^4.3.0",
67+
"@types/react": "^19.1.9",
68+
"@xylabs/object": "^5.0.0",
69+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
70+
"@xylabs/tsconfig-react": "^7.0.2",
71+
"@xyo-network/node-memory": "^5.0.0",
72+
"@xyo-network/payload-model": "^5.0.0",
6973
"@xyo-network/react-storybook": "workspace:^",
7074
"@xyo-network/react-wallet": "workspace:^",
7175
"react": "^19.1.1",

packages/modules/packages/node/packages/context/package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,20 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
42-
"@xylabs/react-shared": "^6.4.0",
43-
"@xyo-network/module-model": "^4.3.0",
44-
"@xyo-network/node-model": "^4.3.0"
46+
"@xylabs/react-shared": "^7.0.0",
47+
"@xyo-network/module-model": "^5.0.0",
48+
"@xyo-network/node-model": "^5.0.0"
4549
},
4650
"devDependencies": {
4751
"@mui/material": "^7.2.0",
48-
"@types/react": "^19.1.8",
49-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
50-
"@xylabs/tsconfig-react": "^7.0.1",
52+
"@types/react": "^19.1.9",
53+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
54+
"@xylabs/tsconfig-react": "^7.0.2",
5155
"react": "^19.1.1",
5256
"react-dom": "^19.1.1",
5357
"typescript": "^5.8.3"

packages/modules/packages/node/packages/provider/package.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,25 @@
3838
},
3939
"module": "dist/browser/index.mjs",
4040
"types": "dist/browser/index.d.ts",
41+
"files": [
42+
"dist",
43+
"src"
44+
],
4145
"dependencies": {
42-
"@xylabs/forget": "^4.15.0",
43-
"@xylabs/react-async-effect": "^6.4.0",
44-
"@xylabs/react-shared": "^6.4.0",
45-
"@xyo-network/module-model": "^4.3.0",
46-
"@xyo-network/node-memory": "^4.3.0",
47-
"@xyo-network/node-model": "^4.3.0",
46+
"@xylabs/forget": "^5.0.0",
47+
"@xylabs/react-async-effect": "^7.0.0",
48+
"@xylabs/react-shared": "^7.0.0",
49+
"@xyo-network/module-model": "^5.0.0",
50+
"@xyo-network/node-memory": "^5.0.0",
51+
"@xyo-network/node-model": "^5.0.0",
4852
"@xyo-network/react-node-context": "workspace:^"
4953
},
5054
"devDependencies": {
5155
"@mui/icons-material": "^7.2.0",
5256
"@mui/material": "^7.2.0",
53-
"@types/react": "^19.1.8",
54-
"@xylabs/ts-scripts-yarn3": "^7.0.1",
55-
"@xylabs/tsconfig-react": "^7.0.1",
57+
"@types/react": "^19.1.9",
58+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
59+
"@xylabs/tsconfig-react": "^7.0.2",
5660
"react": "^19.1.1",
5761
"react-dom": "^19.1.1",
5862
"typescript": "^5.8.3"

0 commit comments

Comments
 (0)