@xyo-network/react-chain-blockchain 1.0.7 → 1.0.9

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.
Files changed (62) hide show
  1. package/dist/browser/index.mjs +210 -201
  2. package/dist/browser/index.mjs.map +1 -1
  3. package/dist/types/components/block/ProducerChip.d.ts +1 -0
  4. package/dist/types/components/block/ProducerChip.d.ts.map +1 -1
  5. package/dist/types/components/block/helpers/buildBlockChainRenderComponent.d.ts.map +1 -1
  6. package/dist/types/components/block/menu/Expanded.d.ts +1 -0
  7. package/dist/types/components/block/menu/Expanded.d.ts.map +1 -1
  8. package/dist/types/components/block/table/Ex.d.ts +7 -1
  9. package/dist/types/components/block/table/Ex.d.ts.map +1 -1
  10. package/dist/types/components/block/table/cell/hooks/useLinkedBlockItem.d.ts +2 -2
  11. package/dist/types/components/block/table/cell/hooks/useLinkedBlockItem.d.ts.map +1 -1
  12. package/dist/types/components/block/table/row/TableRow.d.ts +1 -0
  13. package/dist/types/components/block/table/row/TableRow.d.ts.map +1 -1
  14. package/dist/types/components/chain/list/Animated.d.ts +1 -0
  15. package/dist/types/components/chain/list/Animated.d.ts.map +1 -1
  16. package/dist/types/components/chain/stats/Dialog.d.ts +1 -0
  17. package/dist/types/components/chain/stats/Dialog.d.ts.map +1 -1
  18. package/dist/types/components/chain/stats/producer/ProducerFlexbox.d.ts +2 -1
  19. package/dist/types/components/chain/stats/producer/ProducerFlexbox.d.ts.map +1 -1
  20. package/dist/types/components/payload/builder/Flexbox.d.ts +1 -0
  21. package/dist/types/components/payload/builder/Flexbox.d.ts.map +1 -1
  22. package/dist/types/components/payload/builder/producer-intent/Flexbox.d.ts +1 -0
  23. package/dist/types/components/payload/builder/producer-intent/Flexbox.d.ts.map +1 -1
  24. package/dist/types/components/payload/builder/transfer/Flexbox.d.ts +1 -0
  25. package/dist/types/components/payload/builder/transfer/Flexbox.d.ts.map +1 -1
  26. package/dist/types/components/payload/builder/transfer/builder/SingleFlexbox.d.ts +1 -0
  27. package/dist/types/components/payload/builder/transfer/builder/SingleFlexbox.d.ts.map +1 -1
  28. package/dist/types/components/transactions/TransactionCountChip.d.ts +1 -0
  29. package/dist/types/components/transactions/TransactionCountChip.d.ts.map +1 -1
  30. package/dist/types/context/analyzer/Provider.d.ts +1 -0
  31. package/dist/types/context/analyzer/Provider.d.ts.map +1 -1
  32. package/dist/types/context/polling/Provider.d.ts +1 -0
  33. package/dist/types/context/polling/Provider.d.ts.map +1 -1
  34. package/dist/types/stories/ChainInfoContextDecorator.d.ts.map +1 -1
  35. package/package.json +17 -17
  36. package/src/components/block/ProducerChip.tsx +1 -1
  37. package/src/components/block/helpers/buildBlockChainRenderComponent.tsx +1 -0
  38. package/src/components/block/menu/Expanded.tsx +1 -0
  39. package/src/components/block/table/Ex.tsx +5 -3
  40. package/src/components/block/table/cell/hooks/useLinkedBlockItem.tsx +2 -2
  41. package/src/components/block/table/row/TableRow.tsx +1 -1
  42. package/src/components/chain/list/Animated.tsx +1 -0
  43. package/src/components/chain/render/dynamic/flexbox/Flexbox.stories.tsx +1 -0
  44. package/src/components/chain/render/dynamic/flexbox/Remote.stories.tsx +1 -0
  45. package/src/components/chain/render/static/flexbox/Flexbox.stories.tsx +1 -0
  46. package/src/components/chain/render/static/table/Ex.stories.tsx +1 -0
  47. package/src/components/chain/stats/Dialog.tsx +1 -1
  48. package/src/components/chain/stats/producer/ProducerFlexbox.tsx +1 -1
  49. package/src/components/payload/builder/Flexbox.tsx +1 -1
  50. package/src/components/payload/builder/producer-intent/Flexbox.stories.tsx +1 -0
  51. package/src/components/payload/builder/producer-intent/Flexbox.tsx +2 -0
  52. package/src/components/payload/builder/transfer/Flexbox.stories.tsx +1 -0
  53. package/src/components/payload/builder/transfer/Flexbox.tsx +2 -0
  54. package/src/components/payload/builder/transfer/builder/SingleFlexbox.tsx +1 -1
  55. package/src/components/transactions/TransactionCountChip.tsx +1 -1
  56. package/src/context/analyzer/Provider.tsx +2 -2
  57. package/src/context/chain/Provider.tsx +2 -2
  58. package/src/context/polling/Provider.tsx +2 -2
  59. package/src/stories/ChainArchivistDecorator.tsx +1 -1
  60. package/src/stories/ChainArchivistDelayedInsertDecorator.tsx +1 -1
  61. package/src/stories/ChainInfoContextDecorator.tsx +1 -0
  62. package/eslint.config.mjs +0 -1
@@ -1,5 +1,6 @@
1
1
  import type { ChipProps } from '@mui/material';
2
2
  import type { BlockBoundWitness } from '@xyo-network/chain-model';
3
+ import React from 'react';
3
4
  export interface BlockProducerChipProps extends ChipProps {
4
5
  block?: BlockBoundWitness;
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProducerChip.d.ts","sourceRoot":"","sources":["../../../../src/components/block/ProducerChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAIjE,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC1B;AACD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAc9D,CAAA"}
1
+ {"version":3,"file":"ProducerChip.d.ts","sourceRoot":"","sources":["../../../../src/components/block/ProducerChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC1B;AACD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAc9D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"buildBlockChainRenderComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/helpers/buildBlockChainRenderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EAAE,0BAA0B,EAChD,MAAM,yBAAyB,CAAA;AAIhC,eAAO,MAAM,8BAA8B,GACzC,gBAAgB,aAAa,CAAC,0BAA0B,CAAC,EACzD,qBAAqB,mBAAmB,EACxC,gBAAgB,iBAAiB,uCAkBlC,CAAA;AAED,eAAO,MAAM,0BAA0B,GACrC,qBAAqB,mBAAmB,EACxC,gBAAgB,iBAAiB,uCAGlC,CAAA"}
1
+ {"version":3,"file":"buildBlockChainRenderComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/helpers/buildBlockChainRenderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EAAE,0BAA0B,EAChD,MAAM,yBAAyB,CAAA;AAIhC,eAAO,MAAM,8BAA8B,GACzC,gBAAgB,aAAa,CAAC,0BAA0B,CAAC,EACzD,qBAAqB,mBAAmB,EACxC,gBAAgB,iBAAiB,uCAkBlC,CAAA;AAED,eAAO,MAAM,0BAA0B,GACrC,qBAAqB,mBAAmB,EACxC,gBAAgB,iBAAiB,uCAGlC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { BlockBoundWitness } from '@xyo-network/chain-model';
2
+ import React from 'react';
2
3
  export interface BlockExpandedMenuProps {
3
4
  block?: BlockBoundWitness;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Expanded.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/menu/Expanded.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAKjE,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqB9D,CAAA"}
1
+ {"version":3,"file":"Expanded.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/menu/Expanded.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAqB9D,CAAA"}
@@ -1,3 +1,9 @@
1
1
  import type { TableExProps } from '@xyo-network/react-table';
2
- export declare const BlockchainTableEx: import("react").ForwardRefExoticComponent<Omit<TableExProps, "ref"> & import("react").RefAttributes<HTMLTableElement>>;
2
+ import React from 'react';
3
+ export declare const BlockchainTableEx: {
4
+ ({ ref, children, ...props }: TableExProps & {
5
+ ref?: React.Ref<HTMLTableElement | null>;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ displayName: string;
8
+ };
3
9
  //# sourceMappingURL=Ex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ex.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/table/Ex.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAI5D,eAAO,MAAM,iBAAiB,wHAkB5B,CAAA"}
1
+ {"version":3,"file":"Ex.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/table/Ex.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB;kCAE3B,YAAY,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;KAAE;;CAkB7D,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { RefObject } from 'react';
1
+ import type { Ref } from 'react';
2
2
  import type { BlockHeaderEventNouns } from '../../../hooks/index.ts';
3
- export declare const useLinkedBlockItem: (noun?: BlockHeaderEventNouns, data?: string) => [RefObject<HTMLElement | null>, (event: React.MouseEvent) => void];
3
+ export declare const useLinkedBlockItem: (noun?: BlockHeaderEventNouns, data?: string) => [Ref<HTMLElement | null>, (event: React.MouseEvent) => void];
4
4
  //# sourceMappingURL=useLinkedBlockItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLinkedBlockItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/block/table/cell/hooks/useLinkedBlockItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE,eAAO,MAAM,kBAAkB,GAAI,OAAO,qBAAqB,EAAE,OAAO,MAAM,KAAG,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAajJ,CAAA"}
1
+ {"version":3,"file":"useLinkedBlockItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/block/table/cell/hooks/useLinkedBlockItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE,eAAO,MAAM,kBAAkB,GAAI,OAAO,qBAAqB,EAAE,OAAO,MAAM,KAAG,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAa3I,CAAA"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { BlockComponentProps } from '../../../../types/index.ts';
2
3
  export interface BlockChainTableRowProps extends BlockComponentProps {
3
4
  linked?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/row/TableRow.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAOrE,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgBhE,CAAA"}
1
+ {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/row/TableRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAOrE,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgBhE,CAAA"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { BlockListComponentProps } from '../../../types/index.ts';
2
3
  export declare const BlockListAnimated: React.FC<BlockListComponentProps>;
3
4
  //# sourceMappingURL=Animated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Animated.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/list/Animated.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAGtE,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAY/D,CAAA"}
1
+ {"version":3,"file":"Animated.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/list/Animated.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAGtE,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAY/D,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { DialogProps } from '@mui/material';
2
+ import React from 'react';
2
3
  export interface ChainAnalyzerStatsDialogProps extends DialogProps {
3
4
  }
4
5
  export declare const ChainAnalyzerStatsDialog: React.FC<ChainAnalyzerStatsDialogProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/stats/Dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAUhD,MAAM,WAAW,6BAA8B,SAAQ,WAAW;CAAG;AAErE,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAiB5E,CAAA;AAED,eAAO,MAAM,mCAAmC,EAAE,KAAK,CAAC,EAYvD,CAAA"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/stats/Dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,MAAM,WAAW,6BAA8B,SAAQ,WAAW;CAAG;AAErE,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAiB5E,CAAA;AAED,eAAO,MAAM,mCAAmC,EAAE,KAAK,CAAC,EAYvD,CAAA"}
@@ -1,7 +1,8 @@
1
1
  import type { Payload } from '@xyo-network/payload-model';
2
+ import React from 'react';
2
3
  export interface BlockProducerStatsFlexboxProps {
3
4
  payload?: Payload;
4
5
  }
5
6
  export declare const BlockProducerStatsFlexbox: React.FC<BlockProducerStatsFlexboxProps>;
6
- export declare const StyledListItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "children" | "className" | "style" | "classes" | "alignItems" | "sx" | "slots" | "slotProps" | "components" | "componentsProps" | "dense" | "divider" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
+ export declare const StyledListItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "children" | "className" | "style" | "classes" | "alignItems" | "sx" | "slots" | "slotProps" | "components" | "componentsProps" | "dense" | "divider" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
8
  //# sourceMappingURL=ProducerFlexbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProducerFlexbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chain/stats/producer/ProducerFlexbox.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAKzD,MAAM,WAAW,8BAA8B;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAkB9E,CAAA;AAED,eAAO,MAAM,cAAc,ykBAGxB,CAAA"}
1
+ {"version":3,"file":"ProducerFlexbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chain/stats/producer/ProducerFlexbox.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,KAAkB,MAAM,OAAO,CAAA;AAItC,MAAM,WAAW,8BAA8B;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAkB9E,CAAA;AAED,eAAO,MAAM,cAAc,qjBAGxB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import type { FlexBoxProps } from '@xylabs/react-flexbox';
2
2
  import type { ComponentType } from 'react';
3
+ import React from 'react';
3
4
  import type { PayloadBuilderComponentProps } from './BuilderComponentProps.ts';
4
5
  export interface PayloadBuilderFlexboxProps extends PayloadBuilderComponentProps, FlexBoxProps {
5
6
  BuilderComponent: ComponentType<PayloadBuilderComponentProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Flexbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/payload/builder/Flexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAIzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAA;AAE9E,MAAM,WAAW,0BAA2B,SAAQ,4BAA4B,EAAE,YAAY;IAC5F,gBAAgB,EAAE,aAAa,CAAC,4BAA4B,CAAC,CAAA;CAC9D;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAgBtE,CAAA"}
1
+ {"version":3,"file":"Flexbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/payload/builder/Flexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAIzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAA;AAE9E,MAAM,WAAW,0BAA2B,SAAQ,4BAA4B,EAAE,YAAY;IAC5F,gBAAgB,EAAE,aAAa,CAAC,4BAA4B,CAAC,CAAA;CAC9D;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAgBtE,CAAA"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts';
2
3
  export declare const ProducerIntentBuilderFlexbox: React.FC<PayloadBuilderComponentProps>;
3
4
  //# sourceMappingURL=Flexbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Flexbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/payload/builder/producer-intent/Flexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAI/E,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAQ/E,CAAA"}
1
+ {"version":3,"file":"Flexbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/payload/builder/producer-intent/Flexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAI/E,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAQ/E,CAAA"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts';
2
3
  export declare const TransferBuilderFlexbox: React.FC<PayloadBuilderComponentProps>;
3
4
  //# sourceMappingURL=Flexbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Flexbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/payload/builder/transfer/Flexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAI/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAQzE,CAAA"}
1
+ {"version":3,"file":"Flexbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/payload/builder/transfer/Flexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAI/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAQzE,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { FlexBoxProps } from '@xylabs/react-flexbox';
2
+ import React from 'react';
2
3
  import type { TransferAmount } from '../Transfer.ts';
3
4
  export interface SingleTransferBuilderFlexboxProps extends FlexBoxProps {
4
5
  onRemoveTransfer?: (transferId: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"SingleFlexbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/payload/builder/transfer/builder/SingleFlexbox.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAQzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,MAAM,WAAW,iCAAkC,SAAQ,YAAY;IACrE,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,iBAAiB,CAAC,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,IAAI,CAAA;IAC5D,cAAc,EAAE,cAAc,CAAA;CAC/B;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,iCAAiC,CA+BpF,CAAA"}
1
+ {"version":3,"file":"SingleFlexbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/payload/builder/transfer/builder/SingleFlexbox.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,OAAO,KAEN,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,MAAM,WAAW,iCAAkC,SAAQ,YAAY;IACrE,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,iBAAiB,CAAC,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,IAAI,CAAA;IAC5D,cAAc,EAAE,cAAc,CAAA;CAC/B;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,iCAAiC,CA+BpF,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import type { ChipProps } from '@mui/material';
2
2
  import type { Hash } from '@xylabs/hex';
3
+ import React from 'react';
3
4
  export interface TransactionCountChipProps extends ChipProps {
4
5
  transactions?: Hash[];
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionCountChip.d.ts","sourceRoot":"","sources":["../../../../src/components/transactions/TransactionCountChip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGvC,MAAM,WAAW,yBAA0B,SAAQ,SAAS;IAC1D,YAAY,CAAC,EAAE,IAAI,EAAE,CAAA;CACtB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAuBpE,CAAA"}
1
+ {"version":3,"file":"TransactionCountChip.d.ts","sourceRoot":"","sources":["../../../../src/components/transactions/TransactionCountChip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,yBAA0B,SAAQ,SAAS;IAC1D,YAAY,CAAC,EAAE,IAAI,EAAE,CAAA;CACtB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAuBpE,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  import type { ChainAnalyzers } from './state.ts';
3
4
  export interface ChainAnalyzersProviderProps extends PropsWithChildren {
4
5
  analyzers?: ChainAnalyzers;
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/context/analyzer/Provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAM9C,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,YAAY,CAAA;AAErE,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB;IACpE,SAAS,CAAC,EAAE,cAAc,CAAA;CAC3B;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA4BxE,CAAA"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/context/analyzer/Provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAEN,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,YAAY,CAAA;AAErE,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB;IACpE,SAAS,CAAC,EAAE,cAAc,CAAA;CAC3B;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA4BxE,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  import type { PollingState } from './state.ts';
3
4
  export interface ChainPollingProviderProps extends PropsWithChildren {
4
5
  pollingState?: PollingState;
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/context/polling/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAM9C,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEjE,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAcpE,CAAA"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/context/polling/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAEN,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEjE,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAcpE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChainInfoContextDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainInfoContextDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAgBjD,eAAO,MAAM,yBAAyB,EAAE,SAwBvC,CAAA"}
1
+ {"version":3,"file":"ChainInfoContextDecorator.d.ts","sourceRoot":"","sources":["../../../src/stories/ChainInfoContextDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAiBjD,eAAO,MAAM,yBAAyB,EAAE,SAwBvC,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.0.7",
4
+ "version": "1.0.9",
5
5
  "description": "XYO Layer One React SDK Blockchain",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -46,20 +46,20 @@
46
46
  "@xylabs/react-identicon": "^6.0.9",
47
47
  "@xylabs/react-promise": "^6.0.9",
48
48
  "@xylabs/react-quick-tip-button": "^6.0.9",
49
- "@xyo-network/account": "^3.10.3",
50
- "@xyo-network/api-models": "^3.10.3",
51
- "@xyo-network/archivist-model": "^3.10.3",
52
- "@xyo-network/boundwitness-builder": "^3.10.3",
53
- "@xyo-network/bridge-http": "^3.10.3",
54
- "@xyo-network/chain-ethereum": "^1.0.7",
55
- "@xyo-network/chain-model": "^1.0.7",
56
- "@xyo-network/chain-protocol": "^1.0.7",
57
- "@xyo-network/chain-services": "^1.0.7",
58
- "@xyo-network/module-model": "^3.10.3",
59
- "@xyo-network/payload-builder": "^3.10.3",
60
- "@xyo-network/payload-model": "^3.10.3",
61
- "@xyo-network/react-chain-blockies": "^1.0.7",
62
- "@xyo-network/react-chain-boundwitness": "^1.0.7",
49
+ "@xyo-network/account": "^3.10.4",
50
+ "@xyo-network/api-models": "^3.10.4",
51
+ "@xyo-network/archivist-model": "^3.10.4",
52
+ "@xyo-network/boundwitness-builder": "^3.10.4",
53
+ "@xyo-network/bridge-http": "^3.10.4",
54
+ "@xyo-network/chain-ethereum": "^1.0.9",
55
+ "@xyo-network/chain-model": "^1.0.9",
56
+ "@xyo-network/chain-protocol": "^1.0.9",
57
+ "@xyo-network/chain-services": "^1.0.9",
58
+ "@xyo-network/module-model": "^3.10.4",
59
+ "@xyo-network/payload-builder": "^3.10.4",
60
+ "@xyo-network/payload-model": "^3.10.4",
61
+ "@xyo-network/react-chain-blockies": "^1.0.9",
62
+ "@xyo-network/react-chain-boundwitness": "^1.0.9",
63
63
  "@xyo-network/react-event": "^5.0.7",
64
64
  "@xyo-network/react-payload-raw-info": "^5.0.7",
65
65
  "@xyo-network/react-payload-table": "^5.0.7",
@@ -78,8 +78,8 @@
78
78
  "@xylabs/hex": "^4.7.11",
79
79
  "@xylabs/ts-scripts-yarn3": "^6.1.4",
80
80
  "@xylabs/tsconfig-react": "^6.1.4",
81
- "@xyo-network/archivist-memory": "^3.10.3",
82
- "@xyo-network/chain-utils": "^1.0.7",
81
+ "@xyo-network/archivist-memory": "^3.10.4",
82
+ "@xyo-network/chain-utils": "^1.0.9",
83
83
  "eslint": "^9.22.0",
84
84
  "react": "^19.0.0",
85
85
  "react-dom": "^19.0.0",
@@ -3,7 +3,7 @@ import { Chip } from '@mui/material'
3
3
  import { EthAddress } from '@xylabs/eth-address'
4
4
  import type { BlockBoundWitness } from '@xyo-network/chain-model'
5
5
  import { BlockiesAvatar } from '@xyo-network/react-chain-blockies'
6
- import { useMemo } from 'react'
6
+ import React, { useMemo } from 'react'
7
7
 
8
8
  export interface BlockProducerChipProps extends ChipProps {
9
9
  block?: BlockBoundWitness
@@ -1,5 +1,6 @@
1
1
  import type { ArchivistInstance } from '@xyo-network/archivist-model'
2
2
  import type { ComponentType } from 'react'
3
+ import React from 'react'
3
4
 
4
5
  import type {
5
6
  BlockChainRenderComponent,
@@ -2,6 +2,7 @@ import { MoreVert } from '@mui/icons-material'
2
2
  import { IconButton, Menu } from '@mui/material'
3
3
  import type { BlockBoundWitness } from '@xyo-network/chain-model'
4
4
  import { BWJsonMenuItem, BWPreviousHashMenuItem } from '@xyo-network/react-chain-boundwitness'
5
+ import React from 'react'
5
6
 
6
7
  import { useAnchorElement } from '../hooks/index.ts'
7
8
 
@@ -3,9 +3,11 @@ import {
3
3
  } from '@mui/material'
4
4
  import type { TableExProps } from '@xyo-network/react-table'
5
5
  import { TableEx } from '@xyo-network/react-table'
6
- import { forwardRef } from 'react'
6
+ import React from 'react'
7
7
 
8
- export const BlockchainTableEx = forwardRef<HTMLTableElement, TableExProps>(({ children, ...props }, ref) => {
8
+ export const BlockchainTableEx = ({
9
+ ref, children, ...props
10
+ }: TableExProps & { ref?: React.Ref<HTMLTableElement | null> }) => {
9
11
  return (
10
12
  <TableEx ref={ref} {...props}>
11
13
  <TableHead>
@@ -23,6 +25,6 @@ export const BlockchainTableEx = forwardRef<HTMLTableElement, TableExProps>(({ c
23
25
  </TableBody>
24
26
  </TableEx>
25
27
  )
26
- })
28
+ }
27
29
 
28
30
  BlockchainTableEx.displayName = 'BlockchainTableEx'
@@ -1,9 +1,9 @@
1
1
  import { useEvent } from '@xyo-network/react-event'
2
- import type { RefObject } from 'react'
2
+ import type { Ref } from 'react'
3
3
 
4
4
  import type { BlockHeaderEventNouns } from '../../../hooks/index.ts'
5
5
 
6
- export const useLinkedBlockItem = (noun?: BlockHeaderEventNouns, data?: string): [RefObject<HTMLElement | null>, (event: React.MouseEvent) => void] => {
6
+ export const useLinkedBlockItem = (noun?: BlockHeaderEventNouns, data?: string): [Ref<HTMLElement | null>, (event: React.MouseEvent) => void] => {
7
7
  const [ref, dispatch] = useEvent<HTMLAnchorElement, BlockHeaderEventNouns>()
8
8
 
9
9
  const handleClick = (event: React.MouseEvent) => {
@@ -1,5 +1,5 @@
1
1
  import { TableRow } from '@mui/material'
2
- import { useMemo } from 'react'
2
+ import React, { useMemo } from 'react'
3
3
 
4
4
  import type { BlockComponentProps } from '../../../../types/index.ts'
5
5
  import {
@@ -1,4 +1,5 @@
1
1
  import { AnimatedList } from '@xylabs/react-animation'
2
+ import React from 'react'
2
3
 
3
4
  import type { BlockListComponentProps } from '../../../types/index.ts'
4
5
  import { BlockListWrapperFlexBox } from '../styled/index.ts'
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
4
  import { ChainArchivistDelayedInsertDecorator } from '../../../../../stories/index.ts'
4
5
  import { DynamicBlockchainRenderFlexbox } from './Flexbox.tsx'
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
4
  import { getChainInformation } from '../../../../../lib/index.ts'
4
5
  import type { BlockChainRenderProps } from '../../../../../types/index.ts'
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
4
  import { ChainArchivistDecorator } from '../../../../../stories/index.ts'
4
5
  import { StaticBlockchainRenderFlexBox } from './Flexbox.tsx'
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
4
  import { ChainArchivistDecorator } from '../../../../../stories/index.ts'
4
5
  import { StaticBlockchainRenderTableEx } from './Ex.tsx'
@@ -4,7 +4,7 @@ import {
4
4
  Dialog, DialogContent,
5
5
  DialogTitle, IconButton,
6
6
  } from '@mui/material'
7
- import { useState } from 'react'
7
+ import React, { useState } from 'react'
8
8
 
9
9
  import { useChainAnalyzersContext } from '../../../context/index.ts'
10
10
  import { BlockProducerStatsFlexbox } from './producer/index.ts'
@@ -5,7 +5,7 @@ import { ErrorRender } from '@xylabs/react-error'
5
5
  import { FlexCol } from '@xylabs/react-flexbox'
6
6
  import { isChainSummaryProducers } from '@xyo-network/chain-protocol'
7
7
  import type { Payload } from '@xyo-network/payload-model'
8
- import { useMemo } from 'react'
8
+ import React, { useMemo } from 'react'
9
9
 
10
10
  import { ChainProducerStatsTable } from './Table.tsx'
11
11
 
@@ -3,7 +3,7 @@ import { FlexCol } from '@xylabs/react-flexbox'
3
3
  import type { Payload } from '@xyo-network/payload-model'
4
4
  import { JsonViewerEx } from '@xyo-network/react-payload-raw-info'
5
5
  import type { ComponentType } from 'react'
6
- import { useState } from 'react'
6
+ import React, { useState } from 'react'
7
7
 
8
8
  import type { PayloadBuilderComponentProps } from './BuilderComponentProps.ts'
9
9
 
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
4
  import { ProducerIntentBuilderFlexbox } from './Flexbox.tsx'
4
5
 
@@ -1,3 +1,5 @@
1
+ import React from 'react'
2
+
1
3
  import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
2
4
  import { PayloadBuilderFlexbox } from '../Flexbox.tsx'
3
5
  import { ProducerIntentBuilderForm } from './Form.tsx'
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react'
2
+ import React from 'react'
2
3
 
3
4
  import { TransferBuilderFlexbox } from './Flexbox.tsx'
4
5
 
@@ -1,3 +1,5 @@
1
+ import React from 'react'
2
+
1
3
  import type { PayloadBuilderComponentProps } from '../BuilderComponentProps.ts'
2
4
  import { PayloadBuilderFlexbox } from '../Flexbox.tsx'
3
5
  import { TransferBuilderForm } from './Form.tsx'
@@ -7,7 +7,7 @@ import { toHex } from '@xylabs/hex'
7
7
  import type { FlexBoxProps } from '@xylabs/react-flexbox'
8
8
  import { FlexRow } from '@xylabs/react-flexbox'
9
9
  import { BigIntInput } from '@xyo-network/react-shared'
10
- import {
10
+ import React, {
11
11
  useEffect, useMemo, useState,
12
12
  } from 'react'
13
13
 
@@ -2,7 +2,7 @@ import { Difference } from '@mui/icons-material'
2
2
  import type { ChipProps } from '@mui/material'
3
3
  import { Chip, Icon } from '@mui/material'
4
4
  import type { Hash } from '@xylabs/hex'
5
- import { useMemo } from 'react'
5
+ import React, { useMemo } from 'react'
6
6
 
7
7
  export interface TransactionCountChipProps extends ChipProps {
8
8
  transactions?: Hash[]
@@ -3,7 +3,7 @@ import type { BlockBoundWitness } from '@xyo-network/chain-model'
3
3
  import { hydrateBlock } from '@xyo-network/chain-protocol'
4
4
  import { PayloadBuilder } from '@xyo-network/payload-builder'
5
5
  import type { PropsWithChildren } from 'react'
6
- import {
6
+ import React, {
7
7
  useCallback, useMemo, useState,
8
8
  } from 'react'
9
9
 
@@ -40,6 +40,6 @@ export const ChainAnalyzersProvider: React.FC<ChainAnalyzersProviderProps> = ({
40
40
  }), [analyzers, addAnalyzers, onBlock, statsUpdated])
41
41
 
42
42
  return (
43
- <ChainAnalyzersContext.Provider value={value}>{children}</ChainAnalyzersContext.Provider>
43
+ <ChainAnalyzersContext value={value}>{children}</ChainAnalyzersContext>
44
44
  )
45
45
  }
@@ -49,8 +49,8 @@ export const ChainInfoProvider: React.FC<ChainInfoProviderProps> = ({
49
49
  }), [chainArchivist, chainInformation, chainIterator, updateChainArchivist, updateChainInformation, updateChainIterator])
50
50
 
51
51
  return (
52
- <ChainInfoContext.Provider value={chainState}>
52
+ <ChainInfoContext value={chainState}>
53
53
  {children}
54
- </ChainInfoContext.Provider>
54
+ </ChainInfoContext>
55
55
  )
56
56
  }
@@ -1,5 +1,5 @@
1
1
  import type { PropsWithChildren } from 'react'
2
- import {
2
+ import React, {
3
3
  useCallback, useMemo, useState,
4
4
  } from 'react'
5
5
 
@@ -23,5 +23,5 @@ export const ChainPollingProvider: React.FC<ChainPollingProviderProps> = ({ chil
23
23
  updatePollingState,
24
24
  }), [pollingState, updatePollingState])
25
25
 
26
- return <ChainPollingContext.Provider value={value}>{children}</ChainPollingContext.Provider>
26
+ return <ChainPollingContext value={value}>{children}</ChainPollingContext>
27
27
  }
@@ -4,7 +4,7 @@ import { usePromise } from '@xylabs/react-promise'
4
4
  import { MemoryArchivist } from '@xyo-network/archivist-memory'
5
5
  import { ArchivistConfigSchema } from '@xyo-network/archivist-model'
6
6
  import { isBlockBoundWitness } from '@xyo-network/chain-model'
7
- import { useEffect } from 'react'
7
+ import React, { useEffect } from 'react'
8
8
 
9
9
  import { getChainInformation } from '../lib/index.ts'
10
10
  import type { BlockChainRenderBaseProps } from '../types/index.ts'
@@ -7,7 +7,7 @@ import { ArchivistConfigSchema } from '@xyo-network/archivist-model'
7
7
  import type { BlockBoundWitness } from '@xyo-network/chain-model'
8
8
  import { isBlockBoundWitness } from '@xyo-network/chain-model'
9
9
  import type { Payload } from '@xyo-network/payload-model'
10
- import { useEffect, useState } from 'react'
10
+ import React, { useEffect, useState } from 'react'
11
11
 
12
12
  import { getChainInformation } from '../lib/index.ts'
13
13
  import type { BlockChainRenderBaseProps } from '../types/index.ts'
@@ -4,6 +4,7 @@ import { usePromise } from '@xylabs/react-promise'
4
4
  import { isBlockBoundWitness } from '@xyo-network/chain-model'
5
5
  import { XyoChainBlockNumberIterator } from '@xyo-network/chain-services'
6
6
  import { findFirstMatching } from '@xyo-network/chain-utils'
7
+ import React from 'react'
7
8
 
8
9
  import { ChainInfoProvider } from '../context/index.ts'
9
10
  import type { BridgedChainArchivistParams } from '../lib/index.ts'
package/eslint.config.mjs DELETED
@@ -1 +0,0 @@
1
- export { config as default } from '@xylabs/eslint-config-flat'