@xyo-network/react-chain-blockchain 1.19.18 → 1.20.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/components/chain/hooks/useOnBlock.d.ts +6 -8
- package/dist/browser/components/chain/hooks/useOnBlock.d.ts.map +1 -1
- package/dist/browser/hooks/chain-iterator/useChainIteratorParams.d.ts +15 -19
- package/dist/browser/hooks/chain-iterator/useChainIteratorParams.d.ts.map +1 -1
- package/dist/browser/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/hooks/chain-iterator/useChainIteratorParams.ts +3 -3
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.20.0",
|
|
5
5
|
"description": "XYO Layer One React SDK Blockchain",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -47,31 +47,31 @@
|
|
|
47
47
|
"package-cycle": "echo Nothing to do"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@storybook/react-vite": "~10.2.
|
|
51
|
-
"@xylabs/react-animation": "~7.1.
|
|
52
|
-
"@xylabs/react-error": "~7.1.
|
|
53
|
-
"@xylabs/react-flexbox": "~7.1.
|
|
54
|
-
"@xylabs/react-promise": "~7.1.
|
|
55
|
-
"@xylabs/react-quick-tip-button": "~7.1.
|
|
56
|
-
"@xylabs/react-shared": "~7.1.
|
|
57
|
-
"@xylabs/react-theme": "~7.1.
|
|
50
|
+
"@storybook/react-vite": "~10.2.14",
|
|
51
|
+
"@xylabs/react-animation": "~7.1.16",
|
|
52
|
+
"@xylabs/react-error": "~7.1.16",
|
|
53
|
+
"@xylabs/react-flexbox": "~7.1.16",
|
|
54
|
+
"@xylabs/react-promise": "~7.1.16",
|
|
55
|
+
"@xylabs/react-quick-tip-button": "~7.1.16",
|
|
56
|
+
"@xylabs/react-shared": "~7.1.16",
|
|
57
|
+
"@xylabs/react-theme": "~7.1.16",
|
|
58
58
|
"@xylabs/sdk-js": "~5.0.80",
|
|
59
|
-
"@xyo-network/boundwitness-model": "~5.3.
|
|
60
|
-
"@xyo-network/chain-analyze": "~1.
|
|
61
|
-
"@xyo-network/chain-protocol": "~1.
|
|
62
|
-
"@xyo-network/chain-wrappers": "~1.
|
|
59
|
+
"@xyo-network/boundwitness-model": "~5.3.15",
|
|
60
|
+
"@xyo-network/chain-analyze": "~1.20.0",
|
|
61
|
+
"@xyo-network/chain-protocol": "~1.20.0",
|
|
62
|
+
"@xyo-network/chain-wrappers": "~1.20.0",
|
|
63
63
|
"@xyo-network/react-boundwitness-plugin": "~7.5.5",
|
|
64
|
-
"@xyo-network/react-chain-blockies": "~1.
|
|
65
|
-
"@xyo-network/react-chain-provider": "~1.
|
|
66
|
-
"@xyo-network/react-chain-shared": "~1.
|
|
64
|
+
"@xyo-network/react-chain-blockies": "~1.20.0",
|
|
65
|
+
"@xyo-network/react-chain-provider": "~1.20.0",
|
|
66
|
+
"@xyo-network/react-chain-shared": "~1.20.0",
|
|
67
67
|
"@xyo-network/react-error": "~7.5.5",
|
|
68
68
|
"@xyo-network/react-event": "~7.5.5",
|
|
69
69
|
"@xyo-network/react-payload-raw-info": "~7.5.5",
|
|
70
70
|
"@xyo-network/react-payload-table": "~7.5.5",
|
|
71
71
|
"@xyo-network/react-shared": "~7.5.5",
|
|
72
72
|
"@xyo-network/react-table": "~7.5.5",
|
|
73
|
-
"@xyo-network/sdk-js": "~5.3.
|
|
74
|
-
"@xyo-network/xl1-sdk": "~1.
|
|
73
|
+
"@xyo-network/sdk-js": "~5.3.15",
|
|
74
|
+
"@xyo-network/xl1-sdk": "~1.25.14"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@emotion/react": "~11.14.0",
|
|
@@ -80,23 +80,23 @@
|
|
|
80
80
|
"@mui/material": "~7.3.8",
|
|
81
81
|
"@textea/json-viewer": "~4.0.1",
|
|
82
82
|
"@types/react": "~19.2.14",
|
|
83
|
-
"@xylabs/react-button": "~7.1.
|
|
83
|
+
"@xylabs/react-button": "~7.1.16",
|
|
84
84
|
"@xylabs/sdk-js": "~5.0.80",
|
|
85
85
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
86
86
|
"@xylabs/tsconfig": "~7.3.2",
|
|
87
87
|
"@xylabs/tsconfig-dom": "~7.3.2",
|
|
88
88
|
"@xylabs/tsconfig-react": "~7.3.2",
|
|
89
|
-
"@xyo-network/bridge-http": "~5.3.
|
|
90
|
-
"@xyo-network/sdk-js": "~5.3.
|
|
91
|
-
"@xyo-network/xl1-sdk": "~1.
|
|
92
|
-
"axios": "^1.13.
|
|
89
|
+
"@xyo-network/bridge-http": "~5.3.15",
|
|
90
|
+
"@xyo-network/sdk-js": "~5.3.15",
|
|
91
|
+
"@xyo-network/xl1-sdk": "~1.25.14",
|
|
92
|
+
"axios": "^1.13.6",
|
|
93
93
|
"eslint": "^9.39.3",
|
|
94
94
|
"ethers": "^6.16.0",
|
|
95
95
|
"react": "~19.2.4",
|
|
96
96
|
"react-dom": "~19.2.4",
|
|
97
97
|
"react-router-dom": "^7.13.1",
|
|
98
98
|
"rollbar": "^2.26.5",
|
|
99
|
-
"storybook": "~10.2.
|
|
99
|
+
"storybook": "~10.2.14",
|
|
100
100
|
"typescript": "~5.9.3",
|
|
101
101
|
"vite": "^7.3.1",
|
|
102
102
|
"zod": "^4.3.6"
|
|
@@ -3,11 +3,11 @@ import { usePromise } from '@xylabs/react-promise'
|
|
|
3
3
|
import { type Hash, isHash } from '@xylabs/sdk-js'
|
|
4
4
|
import { assertEx, isDefined } from '@xylabs/sdk-js'
|
|
5
5
|
import type {
|
|
6
|
-
Payload, ReadArchivist, WithStorageMeta,
|
|
6
|
+
Payload, ReadArchivist, WithHashMeta, WithStorageMeta,
|
|
7
7
|
} from '@xyo-network/sdk-js'
|
|
8
8
|
import { BoundWitnessBuilder } from '@xyo-network/sdk-js'
|
|
9
9
|
import type {
|
|
10
|
-
BlockBoundWitness,
|
|
10
|
+
BlockBoundWitness, ChainId, Config, PayloadMapRead,
|
|
11
11
|
} from '@xyo-network/xl1-sdk'
|
|
12
12
|
import { ConfigZod, isBlockBoundWitness } from '@xyo-network/xl1-sdk'
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ export const useChainIteratorParams = ({
|
|
|
34
34
|
chainId: ChainId
|
|
35
35
|
chainMap: PayloadMapRead<WithStorageMeta<Payload>>
|
|
36
36
|
config: Config
|
|
37
|
-
head:
|
|
37
|
+
head: WithHashMeta<BlockBoundWitness>
|
|
38
38
|
name: string
|
|
39
39
|
} | undefined, Error | undefined, UsePromiseState | undefined] => {
|
|
40
40
|
return usePromise(async () => {
|