@xyo-network/react-chain-blockchain 1.19.17 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"ChainArchivistDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainArchivistDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAWtD,eAAO,MAAM,uBAAuB,EAAE,SA+BrC,CAAA"}
1
+ {"version":3,"file":"ChainArchivistDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainArchivistDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAUtD,eAAO,MAAM,uBAAuB,EAAE,SA+BrC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChainArchivistDelayedInsertDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainArchivistDelayedInsertDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAetD,eAAO,MAAM,oCAAoC,EAAE,SAuDlD,CAAA"}
1
+ {"version":3,"file":"ChainArchivistDelayedInsertDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainArchivistDelayedInsertDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AActD,eAAO,MAAM,oCAAoC,EAAE,SAuDlD,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.19.17",
4
+ "version": "1.20.0",
5
5
  "description": "XYO Layer One React SDK Blockchain",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -47,33 +47,31 @@
47
47
  "package-cycle": "echo Nothing to do"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/react-vite": "~10.2.11",
51
- "@xylabs/axios": "~5.0.80",
52
- "@xylabs/react-animation": "~7.1.15",
53
- "@xylabs/react-error": "~7.1.15",
54
- "@xylabs/react-flexbox": "~7.1.15",
55
- "@xylabs/react-promise": "~7.1.15",
56
- "@xylabs/react-quick-tip-button": "~7.1.15",
57
- "@xylabs/react-shared": "~7.1.15",
58
- "@xylabs/react-theme": "~7.1.15",
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",
59
58
  "@xylabs/sdk-js": "~5.0.80",
60
- "@xyo-network/archivist-memory": "~5.3.8",
61
- "@xyo-network/boundwitness-model": "~5.3.8",
62
- "@xyo-network/chain-analyze": "~1.19.17",
63
- "@xyo-network/chain-protocol": "~1.19.17",
64
- "@xyo-network/chain-wrappers": "~1.19.17",
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",
65
63
  "@xyo-network/react-boundwitness-plugin": "~7.5.5",
66
- "@xyo-network/react-chain-blockies": "~1.19.17",
67
- "@xyo-network/react-chain-provider": "~1.19.17",
68
- "@xyo-network/react-chain-shared": "~1.19.17",
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",
69
67
  "@xyo-network/react-error": "~7.5.5",
70
68
  "@xyo-network/react-event": "~7.5.5",
71
69
  "@xyo-network/react-payload-raw-info": "~7.5.5",
72
70
  "@xyo-network/react-payload-table": "~7.5.5",
73
71
  "@xyo-network/react-shared": "~7.5.5",
74
72
  "@xyo-network/react-table": "~7.5.5",
75
- "@xyo-network/sdk-js": "~5.3.8",
76
- "@xyo-network/xl1-sdk": "~1.24.27"
73
+ "@xyo-network/sdk-js": "~5.3.15",
74
+ "@xyo-network/xl1-sdk": "~1.25.14"
77
75
  },
78
76
  "devDependencies": {
79
77
  "@emotion/react": "~11.14.0",
@@ -82,24 +80,23 @@
82
80
  "@mui/material": "~7.3.8",
83
81
  "@textea/json-viewer": "~4.0.1",
84
82
  "@types/react": "~19.2.14",
85
- "@xylabs/react-button": "~7.1.15",
83
+ "@xylabs/react-button": "~7.1.16",
86
84
  "@xylabs/sdk-js": "~5.0.80",
87
85
  "@xylabs/ts-scripts-yarn3": "~7.3.2",
88
86
  "@xylabs/tsconfig": "~7.3.2",
89
87
  "@xylabs/tsconfig-dom": "~7.3.2",
90
88
  "@xylabs/tsconfig-react": "~7.3.2",
91
- "@xyo-network/api-models": "~5.3.8",
92
- "@xyo-network/bridge-http": "~5.3.8",
93
- "@xyo-network/sdk-js": "~5.3.8",
94
- "@xyo-network/xl1-sdk": "~1.24.27",
95
- "axios": "^1.13.5",
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",
96
93
  "eslint": "^9.39.3",
97
94
  "ethers": "^6.16.0",
98
95
  "react": "~19.2.4",
99
96
  "react-dom": "~19.2.4",
100
97
  "react-router-dom": "^7.13.1",
101
98
  "rollbar": "^2.26.5",
102
- "storybook": "~10.2.11",
99
+ "storybook": "~10.2.14",
103
100
  "typescript": "~5.9.3",
104
101
  "vite": "^7.3.1",
105
102
  "zod": "^4.3.6"
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  Alert, Grid, Typography,
3
3
  } from '@mui/material'
4
- import { axiosJsonConfig } from '@xylabs/axios'
5
4
  import { ErrorRender } from '@xylabs/react-error'
6
5
  import { FlexGrowCol } from '@xylabs/react-flexbox'
7
- import type { ApiEnvelope } from '@xyo-network/api-models'
8
- import type { ModuleQueryResult, Payload } from '@xyo-network/sdk-js'
6
+ import { axiosJsonConfig } from '@xylabs/sdk-js'
7
+ import type {
8
+ ApiEnvelope, ModuleQueryResult, Payload,
9
+ } from '@xyo-network/sdk-js'
9
10
  import {
10
11
  Account, ArchivistInsertQuerySchema,
11
12
  PayloadBuilder, QueryBoundWitnessBuilder,
@@ -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, BlockBoundWitnessWithHashMeta, ChainId, Config, PayloadMapRead,
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: BlockBoundWitnessWithHashMeta
37
+ head: WithHashMeta<BlockBoundWitness>
38
38
  name: string
39
39
  } | undefined, Error | undefined, UsePromiseState | undefined] => {
40
40
  return usePromise(async () => {
@@ -1,9 +1,8 @@
1
1
  import { CircularProgress } from '@mui/material'
2
2
  import type { Decorator } from '@storybook/react-vite'
3
3
  import { usePromise } from '@xylabs/react-promise'
4
- import { MemoryArchivist } from '@xyo-network/archivist-memory'
5
4
  import { buildRandomBlockChain } from '@xyo-network/react-chain-shared'
6
- import { ArchivistConfigSchema } from '@xyo-network/sdk-js'
5
+ import { ArchivistConfigSchema, MemoryArchivist } from '@xyo-network/sdk-js'
7
6
  import { flattenHydratedBlocks } from '@xyo-network/xl1-sdk'
8
7
  import React, { useEffect } from 'react'
9
8
 
@@ -2,9 +2,8 @@ import { CircularProgress } from '@mui/material'
2
2
  import type { Decorator } from '@storybook/react-vite'
3
3
  import { usePromise } from '@xylabs/react-promise'
4
4
  import { delay } from '@xylabs/sdk-js'
5
- import { MemoryArchivist } from '@xyo-network/archivist-memory'
6
5
  import { buildRandomBlockChain } from '@xyo-network/react-chain-shared'
7
- import { ArchivistConfigSchema } from '@xyo-network/sdk-js'
6
+ import { ArchivistConfigSchema, MemoryArchivist } from '@xyo-network/sdk-js'
8
7
  import type { BlockBoundWitness } from '@xyo-network/xl1-sdk'
9
8
  import { flattenHydratedBlock } from '@xyo-network/xl1-sdk'
10
9
  import React, { useEffect, useState } from 'react'