@xyo-network/react-chain-blockchain 1.5.36 → 1.6.0
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/browser/index.mjs +11 -5
- package/dist/browser/index.mjs.map +1 -1
- package/dist/types/components/block/table/head/TableHead.d.ts.map +1 -1
- package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts +1 -10
- package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts.map +1 -1
- package/package.json +35 -35
- package/src/components/block/table/head/TableHead.tsx +14 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/head/TableHead.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAkBzB,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/head/TableHead.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAkBzB,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAqBvC,CAAA"}
|
|
@@ -4,16 +4,7 @@ import type { BlockBoundWitness } from '@xyo-network/xl1-protocol';
|
|
|
4
4
|
import type { BlockChainIterator } from '../../types/index.ts';
|
|
5
5
|
export declare const resolveDefinedHead: (head: Hash, chainArchivist: ReadArchivist) => Promise<import("@xyo-network/boundwitness-model").Signed<BlockBoundWitness>>;
|
|
6
6
|
export declare const useChainIteratorParams: ({ chainArchivist, chainId, head, name, }: BlockChainIterator) => [{
|
|
7
|
-
chainArchivist: import("@xyo-network/archivist-model").ArchivistInstance<
|
|
8
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
9
|
-
addToResolvers?: boolean;
|
|
10
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
11
|
-
allowNameResolution?: boolean;
|
|
12
|
-
config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/archivist-model").ArchivistConfig>;
|
|
13
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
14
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
15
|
-
statusReporter?: import("@xyo-network/module-model").ModuleStatusReporter;
|
|
16
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams & import("@xylabs/base").BaseParamsFields & import("@xyo-network/archivist-model").ArchivistParamFields & object, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xyo-network/payload-model").Payload>;
|
|
7
|
+
chainArchivist: import("@xyo-network/archivist-model").ArchivistInstance<import("@xyo-network/archivist-model").ArchivistParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/archivist-model").ArchivistConfig>>, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xyo-network/payload-model").Payload>;
|
|
17
8
|
chainId: Lowercase<string>;
|
|
18
9
|
head: import("@xylabs/object").DeepRestrictToStringKeys<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
19
10
|
schema: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChainIteratorParams.d.ts","sourceRoot":"","sources":["../../../../src/hooks/chain-iterator/useChainIteratorParams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAU,MAAM,aAAa,CAAA;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAGlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,kBAAkB,GAAU,MAAM,IAAI,EAAE,gBAAgB,aAAa,iFAajF,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,0CAEpC,kBAAkB
|
|
1
|
+
{"version":3,"file":"useChainIteratorParams.d.ts","sourceRoot":"","sources":["../../../../src/hooks/chain-iterator/useChainIteratorParams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAU,MAAM,aAAa,CAAA;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAGlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,kBAAkB,GAAU,MAAM,IAAI,EAAE,gBAAgB,aAAa,iFAajF,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,0CAEpC,kBAAkB;;;;;;;;;;;8FAcpB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/react-chain-blockchain",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
5
5
|
"description": "XYO Layer One React SDK Blockchain",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@storybook/react-vite": "^9.0.15",
|
|
41
|
-
"@xylabs/assert": "^4.12.
|
|
42
|
-
"@xylabs/axios": "^4.12.
|
|
43
|
-
"@xylabs/delay": "^4.12.
|
|
44
|
-
"@xylabs/eth-address": "^4.12.
|
|
45
|
-
"@xylabs/exists": "^4.12.
|
|
46
|
-
"@xylabs/hex": "^4.12.
|
|
47
|
-
"@xylabs/promise": "^4.12.
|
|
41
|
+
"@xylabs/assert": "^4.12.31",
|
|
42
|
+
"@xylabs/axios": "^4.12.31",
|
|
43
|
+
"@xylabs/delay": "^4.12.31",
|
|
44
|
+
"@xylabs/eth-address": "^4.12.31",
|
|
45
|
+
"@xylabs/exists": "^4.12.31",
|
|
46
|
+
"@xylabs/hex": "^4.12.31",
|
|
47
|
+
"@xylabs/promise": "^4.12.31",
|
|
48
48
|
"@xylabs/react-animation": "^6.3.7",
|
|
49
49
|
"@xylabs/react-error": "^6.3.7",
|
|
50
50
|
"@xylabs/react-flexbox": "^6.3.7",
|
|
@@ -53,31 +53,31 @@
|
|
|
53
53
|
"@xylabs/react-quick-tip-button": "^6.3.7",
|
|
54
54
|
"@xylabs/react-shared": "^6.3.7",
|
|
55
55
|
"@xylabs/react-theme": "^6.3.7",
|
|
56
|
-
"@xylabs/typeof": "^4.12.
|
|
57
|
-
"@xyo-network/account": "^
|
|
58
|
-
"@xyo-network/archivist-memory": "^
|
|
59
|
-
"@xyo-network/archivist-model": "^
|
|
60
|
-
"@xyo-network/boundwitness-builder": "^
|
|
61
|
-
"@xyo-network/boundwitness-model": "^
|
|
62
|
-
"@xyo-network/bridge-http": "^
|
|
63
|
-
"@xyo-network/chain-analyze": "^1.
|
|
64
|
-
"@xyo-network/chain-protocol": "^1.
|
|
65
|
-
"@xyo-network/chain-services": "^1.
|
|
66
|
-
"@xyo-network/chain-utils": "^1.
|
|
67
|
-
"@xyo-network/chain-wrappers": "^1.
|
|
68
|
-
"@xyo-network/module-model": "^
|
|
69
|
-
"@xyo-network/payload-builder": "^
|
|
70
|
-
"@xyo-network/payload-model": "^
|
|
71
|
-
"@xyo-network/react-boundwitness-plugin": "^
|
|
72
|
-
"@xyo-network/react-chain-blockies": "^1.
|
|
73
|
-
"@xyo-network/react-chain-shared": "^1.
|
|
74
|
-
"@xyo-network/react-event": "^
|
|
75
|
-
"@xyo-network/react-payload-raw-info": "^
|
|
76
|
-
"@xyo-network/react-payload-table": "^
|
|
77
|
-
"@xyo-network/react-shared": "^
|
|
78
|
-
"@xyo-network/react-table": "^
|
|
79
|
-
"@xyo-network/xl1-protocol": "^1.
|
|
80
|
-
"@xyo-network/xl1-protocol-sdk": "^1.
|
|
56
|
+
"@xylabs/typeof": "^4.12.31",
|
|
57
|
+
"@xyo-network/account": "^4.0.1",
|
|
58
|
+
"@xyo-network/archivist-memory": "^4.0.1",
|
|
59
|
+
"@xyo-network/archivist-model": "^4.0.1",
|
|
60
|
+
"@xyo-network/boundwitness-builder": "^4.0.1",
|
|
61
|
+
"@xyo-network/boundwitness-model": "^4.0.1",
|
|
62
|
+
"@xyo-network/bridge-http": "^4.0.1",
|
|
63
|
+
"@xyo-network/chain-analyze": "^1.6.0",
|
|
64
|
+
"@xyo-network/chain-protocol": "^1.6.0",
|
|
65
|
+
"@xyo-network/chain-services": "^1.6.0",
|
|
66
|
+
"@xyo-network/chain-utils": "^1.6.0",
|
|
67
|
+
"@xyo-network/chain-wrappers": "^1.6.0",
|
|
68
|
+
"@xyo-network/module-model": "^4.0.1",
|
|
69
|
+
"@xyo-network/payload-builder": "^4.0.1",
|
|
70
|
+
"@xyo-network/payload-model": "^4.0.1",
|
|
71
|
+
"@xyo-network/react-boundwitness-plugin": "^6.0.0",
|
|
72
|
+
"@xyo-network/react-chain-blockies": "^1.6.0",
|
|
73
|
+
"@xyo-network/react-chain-shared": "^1.6.0",
|
|
74
|
+
"@xyo-network/react-event": "^6.0.0",
|
|
75
|
+
"@xyo-network/react-payload-raw-info": "^6.0.0",
|
|
76
|
+
"@xyo-network/react-payload-table": "^6.0.0",
|
|
77
|
+
"@xyo-network/react-shared": "^6.0.0",
|
|
78
|
+
"@xyo-network/react-table": "^6.0.0",
|
|
79
|
+
"@xyo-network/xl1-protocol": "^1.6.0",
|
|
80
|
+
"@xyo-network/xl1-protocol-sdk": "^1.6.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@emotion/react": "^11.14.0",
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
"@mui/icons-material": "^7.2.0",
|
|
86
86
|
"@mui/material": "^7.2.0",
|
|
87
87
|
"@types/react": "^19.1.8",
|
|
88
|
-
"@xylabs/hex": "^4.12.
|
|
88
|
+
"@xylabs/hex": "^4.12.31",
|
|
89
89
|
"@xylabs/ts-scripts-yarn3": "^6.5.12",
|
|
90
90
|
"@xylabs/tsconfig-react": "^6.5.12",
|
|
91
|
-
"@xyo-network/api-models": "^
|
|
91
|
+
"@xyo-network/api-models": "^4.0.1",
|
|
92
92
|
"knip": "^5.61.3",
|
|
93
93
|
"react": "^19.1.0",
|
|
94
94
|
"react-dom": "^19.1.0",
|
|
@@ -13,13 +13,13 @@ const ToolTipTableCell: React.FC<TableCellProps> = ({
|
|
|
13
13
|
}) => {
|
|
14
14
|
return (
|
|
15
15
|
<TableCell title={title} {...props}>
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
-
<Typography variant="body2">{children}</Typography>
|
|
16
|
+
<FlexRow justifyContent={align}>
|
|
17
|
+
<Typography variant="body2">{children}</Typography>
|
|
19
18
|
|
|
19
|
+
<Tooltip title={title}>
|
|
20
20
|
<InfoOutline fontSize="small" />
|
|
21
|
-
</
|
|
22
|
-
</
|
|
21
|
+
</Tooltip>
|
|
22
|
+
</FlexRow>
|
|
23
23
|
</TableCell>
|
|
24
24
|
)
|
|
25
25
|
}
|
|
@@ -29,9 +29,15 @@ export const BlockchainTableHead: React.FC = () => {
|
|
|
29
29
|
<TableHead>
|
|
30
30
|
<TableRow>
|
|
31
31
|
<ToolTipTableCell align="left" title="The block number that is included in the block">Block</ToolTipTableCell>
|
|
32
|
-
<ToolTipTableCell title="The hash of the block">Hash</ToolTipTableCell>
|
|
33
|
-
<ToolTipTableCell title="The epoch of the block">Epoch</ToolTipTableCell>
|
|
34
|
-
{/* <ToolTipTableCell
|
|
32
|
+
<ToolTipTableCell title="The hash of the block" sx={{ width: '20%' }}>Hash</ToolTipTableCell>
|
|
33
|
+
<ToolTipTableCell title="The epoch of the block" sx={{ width: '20%' }}>Epoch</ToolTipTableCell>
|
|
34
|
+
{/* <ToolTipTableCell
|
|
35
|
+
align="left"
|
|
36
|
+
title="The address of the block producer that produced the block"
|
|
37
|
+
sx={{ width: '20%' }}
|
|
38
|
+
>
|
|
39
|
+
Block Producer
|
|
40
|
+
</ToolTipTableCell> */}
|
|
35
41
|
<ToolTipTableCell align="left" title="Count of transactions that are included in the block">Transactions</ToolTipTableCell>
|
|
36
42
|
<ToolTipTableCell align="left" title="Count of public and private payload counts for the block">Payloads</ToolTipTableCell>
|
|
37
43
|
<ToolTipTableCell align="center" title="The result of the local validation check for the block">Valid</ToolTipTableCell>
|