@xyo-network/react-chain-blockchain 1.9.0 → 1.10.1
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/block/BlockHeadingFlexbox.stories.d.ts +3 -3
- package/dist/browser/components/block/BlockHeadingFlexbox.stories.d.ts.map +1 -1
- package/dist/browser/components/block/table/Ex.stories.d.ts +3 -3
- package/dist/browser/components/block/table/Ex.stories.d.ts.map +1 -1
- package/dist/browser/components/block/table/row/TableRow.stories.d.ts +2 -2
- package/dist/browser/components/block/table/row/TableRow.stories.d.ts.map +1 -1
- package/dist/browser/components/chain/controls/PulseSvgIcon.d.ts +1 -1
- package/dist/browser/components/chain/controls/PulseSvgIcon.d.ts.map +1 -1
- package/dist/browser/components/chain/render/dynamic/flexbox/Flexbox.stories.d.ts +3 -3
- package/dist/browser/components/chain/render/dynamic/flexbox/Flexbox.stories.d.ts.map +1 -1
- package/dist/browser/components/chain/render/dynamic/flexbox/Remote.stories.d.ts +3 -3
- package/dist/browser/components/chain/render/dynamic/flexbox/Remote.stories.d.ts.map +1 -1
- package/dist/browser/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.d.ts.map +1 -1
- package/dist/browser/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.d.ts.map +1 -1
- package/dist/browser/components/chain/render/static/flexbox/Flexbox.stories.d.ts +3 -3
- package/dist/browser/components/chain/render/static/flexbox/Flexbox.stories.d.ts.map +1 -1
- package/dist/browser/components/chain/render/static/hooks/useStaticBlockRenderComponents.d.ts.map +1 -1
- package/dist/browser/components/chain/render/static/table/Ex.stories.d.ts +3 -3
- package/dist/browser/components/chain/render/static/table/Ex.stories.d.ts.map +1 -1
- package/dist/browser/components/chain/stats/producer/ProducerFlexbox.d.ts +1 -1
- package/dist/browser/components/chain/stats/producer/ProducerFlexbox.d.ts.map +1 -1
- package/dist/browser/components/chain/styled/BlockListWrapperFlexbox.d.ts +1 -1
- package/dist/browser/components/chain/styled/BlockListWrapperFlexbox.d.ts.map +1 -1
- package/dist/browser/components/payload/builder/producer-intent/Flexbox.stories.d.ts +1 -1
- package/dist/browser/components/payload/builder/producer-intent/Flexbox.stories.d.ts.map +1 -1
- package/dist/browser/components/payload/builder/transfer/Flexbox.stories.d.ts +1 -1
- package/dist/browser/components/payload/builder/transfer/Flexbox.stories.d.ts.map +1 -1
- package/dist/browser/components/transactions/submit/SubmitChain.stories.d.ts +1 -1
- package/dist/browser/components/transactions/submit/SubmitChain.stories.d.ts.map +1 -1
- package/dist/browser/hooks/chain-iterator/useChainIteratorParams.d.ts +1 -1
- package/dist/browser/index.mjs +1142 -1321
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/types/render/BlockChainRenderProps.d.ts +2 -1
- package/dist/browser/types/render/BlockChainRenderProps.d.ts.map +1 -1
- package/package.json +62 -60
- package/src/components/chain/render/dynamic/flexbox/Flexbox.stories.tsx +2 -1
- package/src/components/chain/render/dynamic/flexbox/Remote.stories.tsx +2 -1
- package/src/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.ts +2 -1
- package/src/components/chain/render/dynamic/hooks/useRemoteBlockChainRenderProps.ts +2 -1
- package/src/components/chain/render/static/flexbox/Flexbox.stories.tsx +3 -2
- package/src/components/chain/render/static/hooks/useStaticBlockRenderComponents.ts +2 -1
- package/src/components/chain/render/static/table/Ex.stories.tsx +3 -2
- package/src/types/render/BlockChainRenderProps.ts +2 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreatableName } from '@xylabs/creatable';
|
|
1
2
|
import type { Address, Hash } from '@xylabs/hex';
|
|
2
3
|
import type { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
3
4
|
/** Props that control the rendering (not blockchain specific) */
|
|
@@ -10,7 +11,7 @@ export interface BlockChainIterator {
|
|
|
10
11
|
chainArchivist?: ArchivistInstance;
|
|
11
12
|
chainId?: Address;
|
|
12
13
|
head?: Hash;
|
|
13
|
-
name:
|
|
14
|
+
name: CreatableName;
|
|
14
15
|
}
|
|
15
16
|
/** Props for rendering a blockchain */
|
|
16
17
|
export interface BlockChainRenderProps extends BlockChainIterator, RenderProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockChainRenderProps.d.ts","sourceRoot":"","sources":["../../../../src/types/render/BlockChainRenderProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,iEAAiE;AACjE,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,sDAAsD;AACtD,MAAM,WAAW,kBAAkB;IACjC,cAAc,CAAC,EAAE,iBAAiB,CAAA;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"BlockChainRenderProps.d.ts","sourceRoot":"","sources":["../../../../src/types/render/BlockChainRenderProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,iEAAiE;AACjE,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,sDAAsD;AACtD,MAAM,WAAW,kBAAkB;IACjC,cAAc,CAAC,EAAE,iBAAiB,CAAA;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,aAAa,CAAA;CACpB;AAED,uCAAuC;AACvC,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,EAAE,WAAW;CAE7E;AAED,gFAAgF;AAChF,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C,KAAK,CAAC,EAAE,KAAK,CAAA;CACd"}
|
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.10.1",
|
|
5
5
|
"description": "XYO Layer One React SDK Blockchain",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -44,71 +44,73 @@
|
|
|
44
44
|
"package-cycle": "echo Nothing to do"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@storybook/react-vite": "
|
|
48
|
-
"@xylabs/assert": "
|
|
49
|
-
"@xylabs/axios": "
|
|
50
|
-
"@xylabs/delay": "
|
|
51
|
-
"@xylabs/eth-address": "
|
|
52
|
-
"@xylabs/exists": "
|
|
53
|
-
"@xylabs/hex": "
|
|
54
|
-
"@xylabs/promise": "
|
|
55
|
-
"@xylabs/react-animation": "
|
|
56
|
-
"@xylabs/react-error": "
|
|
57
|
-
"@xylabs/react-flexbox": "
|
|
58
|
-
"@xylabs/react-promise": "
|
|
59
|
-
"@xylabs/react-quick-tip-button": "
|
|
60
|
-
"@xylabs/react-shared": "
|
|
61
|
-
"@xylabs/react-theme": "
|
|
62
|
-
"@xylabs/typeof": "
|
|
63
|
-
"@xyo-network/account": "
|
|
64
|
-
"@xyo-network/archivist-memory": "
|
|
65
|
-
"@xyo-network/archivist-model": "
|
|
66
|
-
"@xyo-network/boundwitness-builder": "
|
|
67
|
-
"@xyo-network/boundwitness-model": "
|
|
68
|
-
"@xyo-network/bridge-http": "
|
|
69
|
-
"@xyo-network/chain-analyze": "
|
|
70
|
-
"@xyo-network/chain-protocol": "
|
|
71
|
-
"@xyo-network/chain-services": "
|
|
72
|
-
"@xyo-network/chain-utils": "
|
|
73
|
-
"@xyo-network/chain-wrappers": "
|
|
74
|
-
"@xyo-network/module-model": "
|
|
75
|
-
"@xyo-network/payload-builder": "
|
|
76
|
-
"@xyo-network/payload-model": "
|
|
77
|
-
"@xyo-network/react-boundwitness-plugin": "
|
|
78
|
-
"@xyo-network/react-chain-blockies": "
|
|
79
|
-
"@xyo-network/react-chain-shared": "
|
|
80
|
-
"@xyo-network/react-event": "
|
|
81
|
-
"@xyo-network/react-payload-raw-info": "
|
|
82
|
-
"@xyo-network/react-payload-table": "
|
|
83
|
-
"@xyo-network/react-shared": "
|
|
84
|
-
"@xyo-network/react-table": "
|
|
85
|
-
"@xyo-network/xl1-protocol": "
|
|
86
|
-
"@xyo-network/xl1-protocol-sdk": "
|
|
47
|
+
"@storybook/react-vite": "~9.1.1",
|
|
48
|
+
"@xylabs/assert": "~5.0.3",
|
|
49
|
+
"@xylabs/axios": "~5.0.3",
|
|
50
|
+
"@xylabs/delay": "~5.0.3",
|
|
51
|
+
"@xylabs/eth-address": "~5.0.3",
|
|
52
|
+
"@xylabs/exists": "~5.0.3",
|
|
53
|
+
"@xylabs/hex": "~5.0.3",
|
|
54
|
+
"@xylabs/promise": "~5.0.3",
|
|
55
|
+
"@xylabs/react-animation": "~7.0.0",
|
|
56
|
+
"@xylabs/react-error": "~7.0.0",
|
|
57
|
+
"@xylabs/react-flexbox": "~7.0.0",
|
|
58
|
+
"@xylabs/react-promise": "~7.0.0",
|
|
59
|
+
"@xylabs/react-quick-tip-button": "~7.0.0",
|
|
60
|
+
"@xylabs/react-shared": "~7.0.0",
|
|
61
|
+
"@xylabs/react-theme": "~7.0.0",
|
|
62
|
+
"@xylabs/typeof": "~5.0.3",
|
|
63
|
+
"@xyo-network/account": "~5.0.1",
|
|
64
|
+
"@xyo-network/archivist-memory": "~5.0.1",
|
|
65
|
+
"@xyo-network/archivist-model": "~5.0.1",
|
|
66
|
+
"@xyo-network/boundwitness-builder": "~5.0.1",
|
|
67
|
+
"@xyo-network/boundwitness-model": "~5.0.1",
|
|
68
|
+
"@xyo-network/bridge-http": "~5.0.1",
|
|
69
|
+
"@xyo-network/chain-analyze": "~1.10.1",
|
|
70
|
+
"@xyo-network/chain-protocol": "~1.10.1",
|
|
71
|
+
"@xyo-network/chain-services": "~1.10.1",
|
|
72
|
+
"@xyo-network/chain-utils": "~1.10.1",
|
|
73
|
+
"@xyo-network/chain-wrappers": "~1.10.1",
|
|
74
|
+
"@xyo-network/module-model": "~5.0.1",
|
|
75
|
+
"@xyo-network/payload-builder": "~5.0.1",
|
|
76
|
+
"@xyo-network/payload-model": "~5.0.1",
|
|
77
|
+
"@xyo-network/react-boundwitness-plugin": "~7.0.0",
|
|
78
|
+
"@xyo-network/react-chain-blockies": "~1.10.1",
|
|
79
|
+
"@xyo-network/react-chain-shared": "~1.10.1",
|
|
80
|
+
"@xyo-network/react-event": "~7.0.0",
|
|
81
|
+
"@xyo-network/react-payload-raw-info": "~7.0.0",
|
|
82
|
+
"@xyo-network/react-payload-table": "~7.0.0",
|
|
83
|
+
"@xyo-network/react-shared": "~7.0.0",
|
|
84
|
+
"@xyo-network/react-table": "~7.0.0",
|
|
85
|
+
"@xyo-network/xl1-protocol": "~1.9.3",
|
|
86
|
+
"@xyo-network/xl1-protocol-sdk": "~1.10.1"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@emotion/react": "
|
|
90
|
-
"@emotion/styled": "
|
|
91
|
-
"@mui/icons-material": "
|
|
92
|
-
"@mui/material": "
|
|
93
|
-
"@types/react": "
|
|
94
|
-
"@xylabs/
|
|
95
|
-
"@xylabs/
|
|
96
|
-
"@xylabs/
|
|
97
|
-
"@
|
|
98
|
-
"
|
|
99
|
-
"react": "
|
|
100
|
-
"
|
|
101
|
-
"react
|
|
102
|
-
"
|
|
103
|
-
"
|
|
89
|
+
"@emotion/react": "~11.14.0",
|
|
90
|
+
"@emotion/styled": "~11.14.1",
|
|
91
|
+
"@mui/icons-material": "~7.3.1",
|
|
92
|
+
"@mui/material": "~7.3.1",
|
|
93
|
+
"@types/react": "~19.1.9",
|
|
94
|
+
"@xylabs/creatable": "~5.0.3",
|
|
95
|
+
"@xylabs/hex": "~5.0.3",
|
|
96
|
+
"@xylabs/ts-scripts-yarn3": "~7.1.0",
|
|
97
|
+
"@xylabs/tsconfig": "~7.1.0",
|
|
98
|
+
"@xylabs/tsconfig-dom": "~7.1.0",
|
|
99
|
+
"@xylabs/tsconfig-react": "~7.1.0",
|
|
100
|
+
"@xyo-network/api-models": "~5.0.1",
|
|
101
|
+
"react": "~19.1.1",
|
|
102
|
+
"react-dom": "~19.1.1",
|
|
103
|
+
"react-router-dom": "~7.7.1",
|
|
104
|
+
"storybook": "~9.1.1",
|
|
105
|
+
"typescript": "~5.9.2"
|
|
104
106
|
},
|
|
105
107
|
"peerDependencies": {
|
|
106
|
-
"@emotion/react": "
|
|
107
|
-
"@emotion/styled": "
|
|
108
|
+
"@emotion/react": "~11",
|
|
109
|
+
"@emotion/styled": "~11",
|
|
108
110
|
"@mui/icons-material": ">=6 <8",
|
|
109
111
|
"@mui/material": ">=6 <8",
|
|
110
|
-
"react": "
|
|
111
|
-
"react-dom": "
|
|
112
|
+
"react": "~19",
|
|
113
|
+
"react-dom": "~19"
|
|
112
114
|
},
|
|
113
115
|
"publishConfig": {
|
|
114
116
|
"access": "restricted"
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react-vite'
|
|
2
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
2
3
|
import React from 'react'
|
|
3
4
|
|
|
4
5
|
import { ChainArchivistDelayedInsertDecorator } from '../../../../../stories/index.ts'
|
|
@@ -25,7 +26,7 @@ WithLocalArchivist.args = {}
|
|
|
25
26
|
WithLocalArchivist.decorators = [ChainArchivistDelayedInsertDecorator]
|
|
26
27
|
|
|
27
28
|
const WithLocalArchivistPollMaxBlocks = Template.bind({})
|
|
28
|
-
WithLocalArchivistPollMaxBlocks.args = { blockChainRenderProps: { maxBlocks: 4, name: 'unknown' } }
|
|
29
|
+
WithLocalArchivistPollMaxBlocks.args = { blockChainRenderProps: { maxBlocks: 4, name: 'unknown' as CreatableName } }
|
|
29
30
|
WithLocalArchivistPollMaxBlocks.decorators = [ChainArchivistDelayedInsertDecorator]
|
|
30
31
|
|
|
31
32
|
export {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react-vite'
|
|
2
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
2
3
|
import React from 'react'
|
|
3
4
|
|
|
4
5
|
import { getChainId } from '../../../../../lib/index.ts'
|
|
@@ -12,7 +13,7 @@ globalThis.rollbar = undefined
|
|
|
12
13
|
const chainId = await getChainId()
|
|
13
14
|
|
|
14
15
|
const blockChainRenderProps: BlockChainRenderProps = {
|
|
15
|
-
name: 'unknown',
|
|
16
|
+
name: 'unknown' as CreatableName,
|
|
16
17
|
chainId,
|
|
17
18
|
maxBlocks: 100,
|
|
18
19
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
1
2
|
import type { ComponentType } from 'react'
|
|
2
3
|
import { useMemo } from 'react'
|
|
3
4
|
|
|
@@ -14,7 +15,7 @@ export const useDynamicBlockRenderComponents = (
|
|
|
14
15
|
) => {
|
|
15
16
|
const { maxBlocks } = blockChainRenderProps ?? {}
|
|
16
17
|
|
|
17
|
-
const chainIteratorParams = useMemo(() => blockChainRenderProps ?? { name: 'unknown' }, [blockChainRenderProps])
|
|
18
|
+
const chainIteratorParams = useMemo(() => blockChainRenderProps ?? { name: 'unknown' as CreatableName }, [blockChainRenderProps])
|
|
18
19
|
|
|
19
20
|
const [params, paramsError] = useChainIteratorParams(chainIteratorParams)
|
|
20
21
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
1
2
|
import { usePromise } from '@xylabs/react-promise'
|
|
2
3
|
import type { ModuleIdentifier } from '@xyo-network/module-model'
|
|
3
4
|
import { useMemo } from 'react'
|
|
@@ -20,7 +21,7 @@ export const useRemoteBlockChainRenderProps = (
|
|
|
20
21
|
const blockChainRenderProps: BlockChainRenderProps = useMemo(() => ({
|
|
21
22
|
...blockChainRenderPropsArg,
|
|
22
23
|
chainArchivist,
|
|
23
|
-
name: 'blockChainRenderProps',
|
|
24
|
+
name: 'blockChainRenderProps' as CreatableName,
|
|
24
25
|
}), [blockChainRenderPropsArg, chainArchivist])
|
|
25
26
|
|
|
26
27
|
return {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react-vite'
|
|
2
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
2
3
|
import React from 'react'
|
|
3
4
|
|
|
4
5
|
import { ChainArchivistDecorator } from '../../../../../stories/index.ts'
|
|
@@ -24,11 +25,11 @@ Default.args = {}
|
|
|
24
25
|
Default.decorators = [ChainArchivistDecorator]
|
|
25
26
|
|
|
26
27
|
const WithMaxBlocks = Template.bind({})
|
|
27
|
-
WithMaxBlocks.args = { blockChainRenderProps: { maxBlocks: 4, name: 'unknown' } }
|
|
28
|
+
WithMaxBlocks.args = { blockChainRenderProps: { maxBlocks: 4, name: 'unknown' as CreatableName } }
|
|
28
29
|
WithMaxBlocks.decorators = [ChainArchivistDecorator]
|
|
29
30
|
|
|
30
31
|
const WithPagination = Template.bind({})
|
|
31
|
-
WithPagination.args = { blockChainRenderProps: { pageSize: 4, name: 'unknown' } }
|
|
32
|
+
WithPagination.args = { blockChainRenderProps: { pageSize: 4, name: 'unknown' as CreatableName } }
|
|
32
33
|
WithPagination.decorators = [ChainArchivistDecorator]
|
|
33
34
|
|
|
34
35
|
export {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
1
2
|
import { exists } from '@xylabs/exists'
|
|
2
3
|
import type { ComponentType } from 'react'
|
|
3
4
|
import { useMemo } from 'react'
|
|
@@ -14,7 +15,7 @@ export const useStaticBlockRenderComponents = (BlockComponent: ComponentType<Blo
|
|
|
14
15
|
const { maxBlocks } = blockChainRenderProps ?? {}
|
|
15
16
|
const pageSize = blockChainRenderProps?.pageSize ?? DEFAULT_PAGE_SIZE
|
|
16
17
|
|
|
17
|
-
const chainIteratorParams = useMemo(() => blockChainRenderProps ?? { name: 'unknown' }, [blockChainRenderProps])
|
|
18
|
+
const chainIteratorParams = useMemo(() => blockChainRenderProps ?? { name: 'unknown' as CreatableName }, [blockChainRenderProps])
|
|
18
19
|
|
|
19
20
|
const [params, paramsError] = useChainIteratorParams(chainIteratorParams)
|
|
20
21
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react-vite'
|
|
2
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
2
3
|
import React from 'react'
|
|
3
4
|
|
|
4
5
|
import { ChainArchivistDecorator } from '../../../../../stories/index.ts'
|
|
@@ -22,11 +23,11 @@ Default.args = {}
|
|
|
22
23
|
Default.decorators = [ChainArchivistDecorator]
|
|
23
24
|
|
|
24
25
|
const WithMaxBlocks = Template.bind({})
|
|
25
|
-
WithMaxBlocks.args = { blockChainRenderProps: { maxBlocks: 4, name: 'unknown' } }
|
|
26
|
+
WithMaxBlocks.args = { blockChainRenderProps: { maxBlocks: 4, name: 'unknown' as CreatableName } }
|
|
26
27
|
WithMaxBlocks.decorators = [ChainArchivistDecorator]
|
|
27
28
|
|
|
28
29
|
const WithPagination = Template.bind({})
|
|
29
|
-
WithPagination.args = { blockChainRenderProps: { pageSize: 4, name: 'unknown' } }
|
|
30
|
+
WithPagination.args = { blockChainRenderProps: { pageSize: 4, name: 'unknown' as CreatableName } }
|
|
30
31
|
WithPagination.decorators = [ChainArchivistDecorator]
|
|
31
32
|
|
|
32
33
|
export {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreatableName } from '@xylabs/creatable'
|
|
1
2
|
import type { Address, Hash } from '@xylabs/hex'
|
|
2
3
|
import type { ArchivistInstance } from '@xyo-network/archivist-model'
|
|
3
4
|
|
|
@@ -12,7 +13,7 @@ export interface BlockChainIterator {
|
|
|
12
13
|
chainArchivist?: ArchivistInstance
|
|
13
14
|
chainId?: Address
|
|
14
15
|
head?: Hash
|
|
15
|
-
name:
|
|
16
|
+
name: CreatableName
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
/** Props for rendering a blockchain */
|