@xyo-network/react-chain-blockchain 1.20.15 → 1.20.17

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 (196) hide show
  1. package/README.md +9 -8854
  2. package/dist/browser/components/block/table/cell/NumberChip.d.ts.map +1 -1
  3. package/dist/browser/components/chain/controls/PulseSvgIcon.d.ts +5 -2
  4. package/dist/browser/components/chain/controls/PulseSvgIcon.d.ts.map +1 -1
  5. package/dist/browser/components/chain/hooks/useOnBlock.d.ts +7 -7
  6. package/dist/browser/components/chain/styled/BlockListWrapperFlexbox.d.ts +6 -1
  7. package/dist/browser/components/chain/styled/BlockListWrapperFlexbox.d.ts.map +1 -1
  8. package/dist/browser/components/table/StyledLinkableTableRow.d.ts +5 -4
  9. package/dist/browser/components/table/StyledLinkableTableRow.d.ts.map +1 -1
  10. package/dist/browser/context/analyzer/context.d.ts +3 -3
  11. package/dist/browser/context/analyzer/use.d.ts +1 -1
  12. package/dist/browser/context/chain/Context.d.ts +3 -3
  13. package/dist/browser/context/chain/use.d.ts +1 -1
  14. package/dist/browser/hooks/useBaseContext.d.ts +2 -8
  15. package/dist/browser/hooks/useBaseContext.d.ts.map +1 -1
  16. package/dist/browser/hooks/useTxsFromBlock.d.ts +1 -1
  17. package/dist/browser/hooks/useTxsFromBlock.d.ts.map +1 -1
  18. package/dist/browser/index.mjs.map +1 -1
  19. package/package.json +169 -60
  20. package/src/components/FeatureNotAvailable.tsx +0 -20
  21. package/src/components/account/BalanceHistoryFlexbox.stories.tsx +0 -25
  22. package/src/components/account/BalanceHistoryFlexbox.tsx +0 -53
  23. package/src/components/account/helpers/formatBalanceMagnitude.ts +0 -14
  24. package/src/components/account/helpers/index.ts +0 -1
  25. package/src/components/account/hooks/index.ts +0 -1
  26. package/src/components/account/hooks/usePagedAccountBalanceHistory.ts +0 -39
  27. package/src/components/account/index.ts +0 -4
  28. package/src/components/account/table/BalanceHistoryTableEx.stories.tsx +0 -111
  29. package/src/components/account/table/BalanceHistoryTableEx.tsx +0 -37
  30. package/src/components/account/table/BalanceHistoryTableRow.stories.tsx +0 -53
  31. package/src/components/account/table/BalanceHistoryTableRow.tsx +0 -60
  32. package/src/components/account/table/RawAmountTableCell.tsx +0 -53
  33. package/src/components/account/table/cell/AddressTableCell.tsx +0 -27
  34. package/src/components/account/table/cell/BlockNumber.tsx +0 -39
  35. package/src/components/account/table/cell/HashTableCell.tsx +0 -46
  36. package/src/components/account/table/cell/index.ts +0 -3
  37. package/src/components/account/table/hooks/index.ts +0 -1
  38. package/src/components/account/table/hooks/useLinkedBalanceHistoryItem.tsx +0 -29
  39. package/src/components/account/table/index.ts +0 -5
  40. package/src/components/account/table/types/index.ts +0 -18
  41. package/src/components/block/BlockHeadingFlexbox.stories.tsx +0 -75
  42. package/src/components/block/BlockHeadingFlexbox.tsx +0 -56
  43. package/src/components/block/ChipSkeleton.tsx +0 -7
  44. package/src/components/block/LinkedDivider.tsx +0 -27
  45. package/src/components/block/ProducerChip.tsx +0 -45
  46. package/src/components/block/helpers/blockProducer.ts +0 -5
  47. package/src/components/block/helpers/buildBlockChainRenderComponent.tsx +0 -32
  48. package/src/components/block/helpers/index.ts +0 -3
  49. package/src/components/block/helpers/payloadCountsFromBlock.ts +0 -10
  50. package/src/components/block/hooks/index.ts +0 -4
  51. package/src/components/block/hooks/useAnchorElement.ts +0 -19
  52. package/src/components/block/hooks/useBlockHeadingEvents.ts +0 -11
  53. package/src/components/block/hooks/useBlockProducer.ts +0 -11
  54. package/src/components/block/hooks/usePayloadCountsFromBlock.ts +0 -13
  55. package/src/components/block/index.ts +0 -6
  56. package/src/components/block/menu/Expanded.tsx +0 -34
  57. package/src/components/block/menu/index.ts +0 -1
  58. package/src/components/block/table/Ex.stories.tsx +0 -64
  59. package/src/components/block/table/Ex.tsx +0 -21
  60. package/src/components/block/table/cell/BlockNumber.tsx +0 -35
  61. package/src/components/block/table/cell/Epoch.tsx +0 -46
  62. package/src/components/block/table/cell/Hash.tsx +0 -46
  63. package/src/components/block/table/cell/JsonView.tsx +0 -44
  64. package/src/components/block/table/cell/NumberChip.tsx +0 -12
  65. package/src/components/block/table/cell/PayloadCounts.tsx +0 -65
  66. package/src/components/block/table/cell/Producer.tsx +0 -63
  67. package/src/components/block/table/cell/TransactionCount.tsx +0 -56
  68. package/src/components/block/table/cell/Verification.tsx +0 -25
  69. package/src/components/block/table/cell/helpers/index.ts +0 -1
  70. package/src/components/block/table/cell/helpers/timeFunctions.ts +0 -44
  71. package/src/components/block/table/cell/hooks/index.ts +0 -1
  72. package/src/components/block/table/cell/hooks/useLinkedBlockItem.tsx +0 -25
  73. package/src/components/block/table/cell/index.ts +0 -8
  74. package/src/components/block/table/cell/lib/BlockTableCellProps.ts +0 -7
  75. package/src/components/block/table/cell/lib/index.ts +0 -1
  76. package/src/components/block/table/head/TableHead.tsx +0 -48
  77. package/src/components/block/table/head/index.ts +0 -1
  78. package/src/components/block/table/index.ts +0 -4
  79. package/src/components/block/table/row/TableRow.stories.tsx +0 -34
  80. package/src/components/block/table/row/TableRow.tsx +0 -46
  81. package/src/components/block/table/row/index.ts +0 -1
  82. package/src/components/chain/controls/PollingControlsFlexbox.tsx +0 -76
  83. package/src/components/chain/controls/PulseSvgIcon.tsx +0 -71
  84. package/src/components/chain/controls/index.ts +0 -2
  85. package/src/components/chain/dialog/Dialog.tsx +0 -20
  86. package/src/components/chain/dialog/index.ts +0 -1
  87. package/src/components/chain/hooks/index.ts +0 -1
  88. package/src/components/chain/hooks/useOnBlock.ts +0 -55
  89. package/src/components/chain/index.ts +0 -6
  90. package/src/components/chain/list/Animated.tsx +0 -19
  91. package/src/components/chain/list/TableEx.tsx +0 -12
  92. package/src/components/chain/list/index.ts +0 -2
  93. package/src/components/chain/pagination/BlockChainPagination.tsx +0 -11
  94. package/src/components/chain/pagination/hooks/index.ts +0 -1
  95. package/src/components/chain/pagination/hooks/usePagination.tsx +0 -22
  96. package/src/components/chain/pagination/index.ts +0 -2
  97. package/src/components/chain/stats/Dialog.tsx +0 -49
  98. package/src/components/chain/stats/index.ts +0 -1
  99. package/src/components/chain/stats/producer/ProducerFlexbox.tsx +0 -32
  100. package/src/components/chain/stats/producer/Table.tsx +0 -39
  101. package/src/components/chain/stats/producer/index.ts +0 -2
  102. package/src/components/chain/styled/BlockListWrapperFlexbox.tsx +0 -15
  103. package/src/components/chain/styled/index.ts +0 -1
  104. package/src/components/index.ts +0 -7
  105. package/src/components/payload/builder/BuilderComponentProps.ts +0 -5
  106. package/src/components/payload/builder/Flexbox.tsx +0 -30
  107. package/src/components/payload/builder/index.ts +0 -4
  108. package/src/components/payload/builder/producer-intent/Flexbox.stories.tsx +0 -14
  109. package/src/components/payload/builder/producer-intent/Flexbox.tsx +0 -15
  110. package/src/components/payload/builder/producer-intent/Form.tsx +0 -69
  111. package/src/components/payload/builder/producer-intent/index.ts +0 -1
  112. package/src/components/payload/builder/transfer/Flexbox.stories.tsx +0 -14
  113. package/src/components/payload/builder/transfer/Flexbox.tsx +0 -15
  114. package/src/components/payload/builder/transfer/Form.tsx +0 -82
  115. package/src/components/payload/builder/transfer/Transfer.ts +0 -3
  116. package/src/components/payload/builder/transfer/builder/SingleFlexbox.tsx +0 -51
  117. package/src/components/payload/builder/transfer/builder/index.ts +0 -1
  118. package/src/components/payload/builder/transfer/index.ts +0 -2
  119. package/src/components/payload/fields/BlockNumberTextField.tsx +0 -40
  120. package/src/components/payload/fields/XyoAddressTextField.tsx +0 -71
  121. package/src/components/payload/fields/index.ts +0 -2
  122. package/src/components/payload/index.ts +0 -2
  123. package/src/components/rate/SpanTypography.tsx +0 -20
  124. package/src/components/rate/SpeedTypography.tsx +0 -17
  125. package/src/components/rate/TimeTypography.tsx +0 -17
  126. package/src/components/rate/flexbox/FlexBox.stories.tsx +0 -46
  127. package/src/components/rate/flexbox/FlexBox.tsx +0 -31
  128. package/src/components/rate/flexbox/index.ts +0 -1
  129. package/src/components/rate/gauge/Container.stories.tsx +0 -80
  130. package/src/components/rate/gauge/Container.tsx +0 -75
  131. package/src/components/rate/gauge/Pointer.tsx +0 -67
  132. package/src/components/rate/gauge/Ticks.tsx +0 -122
  133. package/src/components/rate/gauge/WithLabel.stories.tsx +0 -73
  134. package/src/components/rate/gauge/WithLabel.tsx +0 -20
  135. package/src/components/rate/gauge/helpers/blockRateConversions.ts +0 -104
  136. package/src/components/rate/gauge/helpers/index.ts +0 -1
  137. package/src/components/rate/gauge/index.ts +0 -4
  138. package/src/components/rate/index.ts +0 -6
  139. package/src/components/rate/support/MetricTypography.tsx +0 -78
  140. package/src/components/rate/support/index.ts +0 -1
  141. package/src/components/table/StyledLinkableTableRow.tsx +0 -12
  142. package/src/components/table/index.ts +0 -1
  143. package/src/components/transactions/TransactionCountChip.tsx +0 -34
  144. package/src/components/transactions/TransactionsQuickTipButton.tsx +0 -86
  145. package/src/components/transactions/index.ts +0 -3
  146. package/src/components/transactions/submit/Builder.tsx +0 -55
  147. package/src/components/transactions/submit/Network.tsx +0 -36
  148. package/src/components/transactions/submit/SubmitChain.stories.tsx +0 -14
  149. package/src/components/transactions/submit/SubmitChain.tsx +0 -91
  150. package/src/components/transactions/submit/index.ts +0 -3
  151. package/src/context/analyzer/Provider.tsx +0 -41
  152. package/src/context/analyzer/context.ts +0 -5
  153. package/src/context/analyzer/index.ts +0 -5
  154. package/src/context/analyzer/state.ts +0 -13
  155. package/src/context/analyzer/use.ts +0 -6
  156. package/src/context/chain/Context.ts +0 -5
  157. package/src/context/chain/Provider.tsx +0 -49
  158. package/src/context/chain/State.ts +0 -8
  159. package/src/context/chain/index.ts +0 -4
  160. package/src/context/chain/use.ts +0 -6
  161. package/src/context/index.ts +0 -3
  162. package/src/context/polling/Provider.tsx +0 -27
  163. package/src/context/polling/context.ts +0 -5
  164. package/src/context/polling/index.ts +0 -4
  165. package/src/context/polling/state.ts +0 -8
  166. package/src/context/polling/use.ts +0 -5
  167. package/src/helpers/index.ts +0 -1
  168. package/src/helpers/rate/index.ts +0 -1
  169. package/src/helpers/rate/rateUnitToLabel.ts +0 -27
  170. package/src/helpers/txsFromBlock.ts +0 -12
  171. package/src/hooks/chain-iterator/index.ts +0 -1
  172. package/src/hooks/chain-iterator/useChainIteratorParams.ts +0 -55
  173. package/src/hooks/index.ts +0 -3
  174. package/src/hooks/useBaseContext.ts +0 -8
  175. package/src/hooks/useTxsFromBlock.ts +0 -12
  176. package/src/index.ts +0 -3
  177. package/src/lib/getChainArchivist.ts +0 -20
  178. package/src/lib/getChainId.ts +0 -8
  179. package/src/lib/index.ts +0 -2
  180. package/src/stories/ChainArchivistDecorator.tsx +0 -43
  181. package/src/stories/ChainArchivistDelayedInsertDecorator.tsx +0 -71
  182. package/src/stories/index.ts +0 -2
  183. package/src/types/BlockComponentProps.ts +0 -13
  184. package/src/types/BlockComponents.ts +0 -7
  185. package/src/types/BlockListComponentProps.ts +0 -6
  186. package/src/types/global.d.ts +0 -1
  187. package/src/types/index.ts +0 -4
  188. package/src/types/render/BlockChainRenderProps.ts +0 -28
  189. package/src/types/render/RemoteArchivistProps.ts +0 -5
  190. package/src/types/render/flexbox/BlockChainRenderFlexboxProps.ts +0 -8
  191. package/src/types/render/flexbox/RenderFlexboxProps.ts +0 -5
  192. package/src/types/render/flexbox/index.ts +0 -2
  193. package/src/types/render/index.ts +0 -4
  194. package/src/types/render/table/BlockChainRenderTableExProps.ts +0 -8
  195. package/src/types/render/table/RenderTableProps.ts +0 -5
  196. package/src/types/render/table/index.ts +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"NumberChip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/NumberChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAG1D,CAAA"}
1
+ {"version":3,"file":"NumberChip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/block/table/cell/NumberChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAE1D,CAAA"}
@@ -1,6 +1,9 @@
1
- import React from 'react';
1
+ import type { StyledComponent } from '@emotion/styled';
2
+ import type { SvgIconProps, Theme } from '@mui/material';
2
3
  export declare const PulseSvgIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
3
4
  muiName: string;
4
5
  };
5
- export declare const StyledPulseSvgIcon: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<React.SVGProps<SVGSVGElement>, "children" | "className" | "style" | "classes" | "color" | "fontSize" | "shapeRendering" | "sx" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
+ export declare const StyledPulseSvgIcon: StyledComponent<SvgIconProps & {
7
+ theme?: Theme;
8
+ }>;
6
9
  //# sourceMappingURL=PulseSvgIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PulseSvgIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/controls/PulseSvgIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,YAAY;;CAQxB,CAAA;AAmCD,eAAO,MAAM,kBAAkB,uaAqB7B,CAAA"}
1
+ {"version":3,"file":"PulseSvgIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/controls/PulseSvgIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAOxD,eAAO,MAAM,YAAY;;CAQxB,CAAA;AAmCD,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAqB/E,CAAA"}
@@ -3,8 +3,8 @@ export type PollingState = 'paused' | 'running';
3
3
  export declare const useOnBlock: (initialHeadNumber?: number, onAddBlock?: (block: HydratedBlock) => Promise<void>, liveHead?: HydratedBlock, pollingState?: PollingState) => import("react").RefObject<[{
4
4
  $epoch: number;
5
5
  block: import("@xyo-network/xl1-sdk").XL1BlockNumber;
6
- chain: import("@xylabs/hex").BrandedHex;
7
- previous: import("@xylabs/hex").BrandedHash | null;
6
+ chain: import("@xylabs/sdk-js").BrandedHex;
7
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
8
8
  schema: "network.xyo.boundwitness" & {
9
9
  readonly __schema: true;
10
10
  };
@@ -13,18 +13,18 @@ export declare const useOnBlock: (initialHeadNumber?: number, onAddBlock?: (bloc
13
13
  } & {
14
14
  readonly __address: true;
15
15
  })[];
16
- payload_hashes: import("@xylabs/hex").BrandedHash[];
16
+ payload_hashes: import("@xylabs/sdk-js").BrandedHash[];
17
17
  payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
18
- previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
19
- $signatures: (import("@xylabs/hex").BrandedHex | null)[];
18
+ previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
19
+ $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
20
20
  protocol?: number | undefined;
21
- step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
21
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
22
22
  $destination?: (Lowercase<string> & {
23
23
  readonly __hex: true;
24
24
  } & {
25
25
  readonly __address: true;
26
26
  }) | undefined;
27
- $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
27
+ $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
28
28
  }, {
29
29
  schema: import("@xyo-network/payload-model").BrandedSchema<string>;
30
30
  }[]][]>;
@@ -1,2 +1,7 @@
1
- export declare const BlockListWrapperFlexBox: import("@emotion/styled").StyledComponent<Pick<import("@xylabs/react-flexbox").BusyBoxProps, keyof import("@xylabs/react-flexbox").BusyBoxProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
1
+ import type { StyledComponent } from '@emotion/styled';
2
+ import type { Theme } from '@mui/material';
3
+ import type { FlexBoxProps } from '@xylabs/react-flexbox';
4
+ export declare const BlockListWrapperFlexBox: StyledComponent<FlexBoxProps & {
5
+ theme?: Theme;
6
+ }>;
2
7
  //# sourceMappingURL=BlockListWrapperFlexbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockListWrapperFlexbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/styled/BlockListWrapperFlexbox.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,uOAUjC,CAAA"}
1
+ {"version":3,"file":"BlockListWrapperFlexbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/chain/styled/BlockListWrapperFlexbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAE1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAIzD,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAUnF,CAAA"}
@@ -1,6 +1,7 @@
1
- export declare const StyledLinkableTableRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "children" | "className" | "style" | "classes" | "sx" | "selected" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
2
- component?: import("react").ElementType | undefined;
3
- } & {
1
+ import type { StyledComponent } from '@emotion/styled';
2
+ import type { TableRowProps, Theme } from '@mui/material';
3
+ export declare const StyledLinkableTableRow: StyledComponent<TableRowProps & {
4
4
  linked?: boolean;
5
- }, {}, {}>;
5
+ theme?: Theme;
6
+ }>;
6
7
  //# sourceMappingURL=StyledLinkableTableRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledLinkableTableRow.d.ts","sourceRoot":"","sources":["../../../../src/components/table/StyledLinkableTableRow.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB;;;aACN,OAAO;UAMlC,CAAA"}
1
+ {"version":3,"file":"StyledLinkableTableRow.d.ts","sourceRoot":"","sources":["../../../../src/components/table/StyledLinkableTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAIzD,eAAO,MAAM,sBAAsB,EAAE,eAAe,CAAC,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAOtG,CAAA"}
@@ -1,21 +1,21 @@
1
1
  export declare const ChainAnalyzersContext: import("react").Context<({
2
2
  addAnalyzers: (analyzers: import("./state.ts").ChainAnalyzers) => void;
3
3
  analyzers: import("./state.ts").ChainAnalyzers;
4
- onBlock: (block: import("@xyo-network/xl1-protocol-model").HydratedBlock) => Promise<void>;
4
+ onBlock: (block: import("@xyo-network/xl1-sdk").HydratedBlock) => Promise<void>;
5
5
  statsUpdated: number;
6
6
  } & {
7
7
  provided: true;
8
8
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
9
9
  addAnalyzers: (analyzers: import("./state.ts").ChainAnalyzers) => void;
10
10
  analyzers: import("./state.ts").ChainAnalyzers;
11
- onBlock: (block: import("@xyo-network/xl1-protocol-model").HydratedBlock) => Promise<void>;
11
+ onBlock: (block: import("@xyo-network/xl1-sdk").HydratedBlock) => Promise<void>;
12
12
  statsUpdated: number;
13
13
  }>, never> & {
14
14
  provided: false;
15
15
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
16
16
  addAnalyzers: (analyzers: import("./state.ts").ChainAnalyzers) => void;
17
17
  analyzers: import("./state.ts").ChainAnalyzers;
18
- onBlock: (block: import("@xyo-network/xl1-protocol-model").HydratedBlock) => Promise<void>;
18
+ onBlock: (block: import("@xyo-network/xl1-sdk").HydratedBlock) => Promise<void>;
19
19
  statsUpdated: number;
20
20
  }>, never> & {
21
21
  provided: false;
@@ -2,7 +2,7 @@ import type { ChainAnalyzersState } from './state.ts';
2
2
  export declare const useChainAnalyzersContext: (required?: boolean) => Omit<{
3
3
  addAnalyzers: (analyzers: import("./state.ts").ChainAnalyzers) => void;
4
4
  analyzers: import("./state.ts").ChainAnalyzers;
5
- onBlock: (block: import("@xyo-network/xl1-protocol-model").HydratedBlock) => Promise<void>;
5
+ onBlock: (block: import("@xyo-network/xl1-sdk").HydratedBlock) => Promise<void>;
6
6
  statsUpdated: number;
7
7
  } & {
8
8
  provided: true;
@@ -1,16 +1,16 @@
1
1
  export declare const ChainInfoContext: import("react").Context<({
2
2
  chainArchivist?: import("@xyo-network/archivist-model").ArchivistInstance;
3
- chainId?: import("@xyo-network/xl1-protocol-model").ChainId;
3
+ chainId?: import("@xyo-network/xl1-sdk").ChainId;
4
4
  } & {
5
5
  provided: true;
6
6
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
7
7
  chainArchivist?: import("@xyo-network/archivist-model").ArchivistInstance;
8
- chainId?: import("@xyo-network/xl1-protocol-model").ChainId;
8
+ chainId?: import("@xyo-network/xl1-sdk").ChainId;
9
9
  }>, never> & {
10
10
  provided: false;
11
11
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
12
12
  chainArchivist?: import("@xyo-network/archivist-model").ArchivistInstance;
13
- chainId?: import("@xyo-network/xl1-protocol-model").ChainId;
13
+ chainId?: import("@xyo-network/xl1-sdk").ChainId;
14
14
  }>, never> & {
15
15
  provided: false;
16
16
  })>;
@@ -1,7 +1,7 @@
1
1
  import type { ChainInfoState } from './State.ts';
2
2
  export declare const useChainInfo: (required?: boolean) => Omit<{
3
3
  chainArchivist?: import("@xyo-network/archivist-model").ArchivistInstance;
4
- chainId?: import("@xyo-network/xl1-protocol-model").ChainId;
4
+ chainId?: import("@xyo-network/xl1-sdk").ChainId;
5
5
  } & {
6
6
  provided: true;
7
7
  }, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<ChainInfoState>, "provided">;
@@ -1,9 +1,3 @@
1
- export declare const useBaseContext: () => {
2
- singletons: Record<string | symbol, unknown>;
3
- caches?: Record<string, import("@xyo-network/xl1-sdk").MapType<string, unknown>> | undefined;
4
- logger?: import("@xylabs/logger").Logger | undefined;
5
- meterProvider?: import("@opentelemetry/api").MeterProvider | undefined;
6
- timeBudgetLimit?: number | undefined;
7
- traceProvider?: import("@opentelemetry/api").TracerProvider | undefined;
8
- };
1
+ import type { BaseContext } from '@xyo-network/xl1-sdk';
2
+ export declare const useBaseContext: () => BaseContext;
9
3
  //# sourceMappingURL=useBaseContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useBaseContext.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBaseContext.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;;;;;CAI1B,CAAA"}
1
+ {"version":3,"file":"useBaseContext.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBaseContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAGvD,eAAO,MAAM,cAAc,QAAO,WAIjC,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import type { HydratedBlockWithHashMeta } from '@xyo-network/xl1-sdk';
2
- export declare const useTxsFromBlock: (block?: HydratedBlockWithHashMeta) => [[import("@xyo-network/payload-model").Payload, import("@xylabs/hex").BrandedHash][] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
2
+ export declare const useTxsFromBlock: (block?: HydratedBlockWithHashMeta) => [[import("@xyo-network/payload-model").Payload, import("@xylabs/sdk-js").BrandedHash][] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
3
3
  //# sourceMappingURL=useTxsFromBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTxsFromBlock.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTxsFromBlock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAIrE,eAAO,MAAM,eAAe,GAAI,QAAQ,yBAAyB,sLAMhE,CAAA"}
1
+ {"version":3,"file":"useTxsFromBlock.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTxsFromBlock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAIrE,eAAO,MAAM,eAAe,GAAI,QAAQ,yBAAyB,yLAMhE,CAAA"}