@xyo-network/react-chain-boundwitness 1.20.4 → 1.20.8

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/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-boundwitness",
4
- "version": "1.20.4",
4
+ "version": "1.20.8",
5
5
  "description": "XYO Layer One React SDK BoundWitness",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -48,20 +48,20 @@
48
48
  "@xylabs/react-flexbox": "~7.1.17",
49
49
  "@xylabs/react-promise": "~7.1.17",
50
50
  "@xylabs/react-quick-tip-button": "~7.1.17",
51
- "@xylabs/sdk-js": "~5.0.80",
52
- "@xyo-network/boundwitness-model": "~5.3.15",
53
- "@xyo-network/chain-utils": "~1.20.4",
54
- "@xyo-network/chain-validation": "~1.20.4",
55
- "@xyo-network/chain-wrappers": "~1.20.4",
51
+ "@xylabs/sdk-js": "~5.0.86",
52
+ "@xyo-network/boundwitness-model": "~5.3.16",
53
+ "@xyo-network/chain-utils": "~1.20.8",
54
+ "@xyo-network/chain-validation": "~1.20.8",
55
+ "@xyo-network/chain-wrappers": "~1.20.8",
56
56
  "@xyo-network/react-boundwitness-plugin": "~7.5.5",
57
- "@xyo-network/react-chain-blockchain": "~1.20.4",
58
- "@xyo-network/react-chain-blockies": "~1.20.4",
59
- "@xyo-network/react-chain-shared": "~1.20.4",
57
+ "@xyo-network/react-chain-blockchain": "~1.20.8",
58
+ "@xyo-network/react-chain-blockies": "~1.20.8",
59
+ "@xyo-network/react-chain-shared": "~1.20.8",
60
60
  "@xyo-network/react-event": "~7.5.5",
61
61
  "@xyo-network/react-shared": "~7.5.5",
62
62
  "@xyo-network/react-table": "~7.5.5",
63
- "@xyo-network/sdk-js": "~5.3.15",
64
- "@xyo-network/xl1-sdk": "~1.25.20",
63
+ "@xyo-network/sdk-js": "~5.3.16",
64
+ "@xyo-network/xl1-sdk": "~1.25.33",
65
65
  "react-icons": "~5.6.0"
66
66
  },
67
67
  "devDependencies": {
@@ -70,26 +70,25 @@
70
70
  "@mui/icons-material": "~7.3.9",
71
71
  "@mui/material": "~7.3.9",
72
72
  "@mui/system": "^7.3.9",
73
- "@mui/x-charts": "^8.27.4",
73
+ "@mui/x-charts": "^8.28.0",
74
74
  "@opentelemetry/api": "^1.9.0",
75
- "@storybook/react-vite": "^10.2.17",
75
+ "@storybook/react-vite": "^10.3.3",
76
76
  "@types/react": "^19.2.14",
77
- "@xylabs/ts-scripts-yarn3": "~7.4.10",
78
- "@xylabs/tsconfig": "~7.4.10",
79
- "@xylabs/tsconfig-dom": "~7.4.10",
80
- "@xylabs/tsconfig-react": "~7.4.10",
81
- "@xyo-network/react-chain-network": "~1.20.4",
82
- "@xyo-network/react-chain-provider": "~1.20.4",
83
- "@xyo-network/sdk-js": "~5.3.15",
77
+ "@xylabs/ts-scripts-yarn3": "~7.4.25",
78
+ "@xylabs/tsconfig": "~7.4.25",
79
+ "@xylabs/tsconfig-dom": "~7.4.25",
80
+ "@xylabs/tsconfig-react": "~7.4.25",
81
+ "@xyo-network/react-chain-network": "~1.20.8",
82
+ "@xyo-network/react-chain-provider": "~1.20.8",
83
+ "@xyo-network/sdk-js": "~5.3.16",
84
84
  "axios": "^1.13.6",
85
- "eslint": "^9.39.4",
86
85
  "ethers": "^6.16.0",
87
86
  "react": "~19.2.4",
88
87
  "react-dom": "~19.2.4",
89
- "react-router-dom": "^7.13.1",
90
- "storybook": "^10.2.17",
88
+ "react-router-dom": "^7.13.2",
89
+ "storybook": "^10.3.3",
91
90
  "typescript": "~5.9.3",
92
- "vite": "^7.3.1",
91
+ "vite": "^8.0.2",
93
92
  "zod": "^4.3.6"
94
93
  },
95
94
  "peerDependencies": {
@@ -2,30 +2,21 @@ import {
2
2
  Alert, AlertTitle,
3
3
  Snackbar,
4
4
  } from '@mui/material'
5
- import type {
6
- Decorator, Meta, StoryFn,
7
- } from '@storybook/react-vite'
5
+ import type { Meta, StoryFn } from '@storybook/react-vite'
8
6
  import { type BlockHeaderEventNouns, useBlockHeadingEvents } from '@xyo-network/react-chain-blockchain'
9
- import { ChainNetworkProvider } from '@xyo-network/react-chain-network'
10
- import { useHttpRpcViewer } from '@xyo-network/react-chain-provider'
7
+ import { SequenceNetworkGatewayDecorator } from '@xyo-network/react-chain-network'
8
+ import { useViewerFromGateway } from '@xyo-network/react-chain-provider'
11
9
  import { buildRandomBlockChain } from '@xyo-network/react-chain-shared'
12
10
  import type { Event } from '@xyo-network/react-event'
13
11
  import type { XyoViewer } from '@xyo-network/xl1-sdk'
14
- import { SequenceNetwork } from '@xyo-network/xl1-sdk'
15
- import React, { useState } from 'react'
12
+ import { useState } from 'react'
16
13
 
17
14
  import { BlockBoundWitnessDetails } from './BlockBoundWitnessDetails.tsx'
18
15
 
19
- const NetworkDecorator: Decorator = Story => (
20
- <ChainNetworkProvider networks={[SequenceNetwork]}>
21
- <Story />
22
- </ChainNetworkProvider>
23
- )
24
-
25
16
  export default {
26
17
  title: 'BoundWitness/Block/Details/Flexbox',
27
18
  component: BlockBoundWitnessDetails,
28
- decorators: [NetworkDecorator],
19
+ decorators: [SequenceNetworkGatewayDecorator],
29
20
  } as Meta
30
21
 
31
22
  const blocks = await buildRandomBlockChain(300)
@@ -49,7 +40,7 @@ const TemplateWithEvents: StoryFn<typeof BlockBoundWitnessDetails> = (args) => {
49
40
  const [ref] = useBlockHeadingEvents((noun, verb, data) => setEvent({
50
41
  noun, verb, data,
51
42
  }))
52
- const viewer = useHttpRpcViewer()
43
+ const viewer = useViewerFromGateway()
53
44
 
54
45
  return (
55
46
  <>