@xyo-network/react-chain-blockchain 1.1.5 → 1.1.7

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 (83) hide show
  1. package/dist/browser/index.mjs +5 -4
  2. package/dist/browser/index.mjs.map +1 -1
  3. package/dist/types/components/block/ProducerChip.d.ts +1 -1
  4. package/dist/types/components/block/ProducerChip.d.ts.map +1 -1
  5. package/dist/types/components/block/helpers/blockProducer.d.ts +1 -1
  6. package/dist/types/components/block/helpers/blockProducer.d.ts.map +1 -1
  7. package/dist/types/components/block/helpers/tsxFromBlock.d.ts +2 -2
  8. package/dist/types/components/block/helpers/tsxFromBlock.d.ts.map +1 -1
  9. package/dist/types/components/block/hooks/useBlockProducer.d.ts +1 -1
  10. package/dist/types/components/block/hooks/useBlockProducer.d.ts.map +1 -1
  11. package/dist/types/components/block/hooks/useDynamicBlockComponents.d.ts +1 -1
  12. package/dist/types/components/block/hooks/useDynamicBlockComponents.d.ts.map +1 -1
  13. package/dist/types/components/block/hooks/useStaticBlockComponents.d.ts +1 -1
  14. package/dist/types/components/block/hooks/useStaticBlockComponents.d.ts.map +1 -1
  15. package/dist/types/components/block/hooks/useTxsFromBlock.d.ts +2 -2
  16. package/dist/types/components/block/hooks/useTxsFromBlock.d.ts.map +1 -1
  17. package/dist/types/components/block/menu/Expanded.d.ts +1 -1
  18. package/dist/types/components/block/menu/Expanded.d.ts.map +1 -1
  19. package/dist/types/components/block/table/cell/lib/BlockTableCellProps.d.ts +1 -1
  20. package/dist/types/components/block/table/cell/lib/BlockTableCellProps.d.ts.map +1 -1
  21. package/dist/types/components/chain/hooks/useOnBlock.d.ts +1 -1
  22. package/dist/types/components/chain/hooks/useOnBlock.d.ts.map +1 -1
  23. package/dist/types/components/chain/render/dynamic/hooks/useDynamicBlockRenderComponents.d.ts +1 -1
  24. package/dist/types/components/payload/builder/transfer/Form.d.ts.map +1 -1
  25. package/dist/types/components/transactions/TransactionsQuickTipButton.d.ts +1 -1
  26. package/dist/types/components/transactions/TransactionsQuickTipButton.d.ts.map +1 -1
  27. package/dist/types/components/transactions/submit/Builder.d.ts +1 -1
  28. package/dist/types/components/transactions/submit/Builder.d.ts.map +1 -1
  29. package/dist/types/context/analyzer/state.d.ts +1 -1
  30. package/dist/types/context/analyzer/state.d.ts.map +1 -1
  31. package/dist/types/context/chain/State.d.ts +1 -1
  32. package/dist/types/context/chain/State.d.ts.map +1 -1
  33. package/dist/types/hooks/chain-iterator/ChainIteratorStore.d.ts +1 -1
  34. package/dist/types/hooks/chain-iterator/ChainIteratorStore.d.ts.map +1 -1
  35. package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts +3 -3
  36. package/dist/types/hooks/chain-iterator/useChainIteratorParams.d.ts.map +1 -1
  37. package/dist/types/hooks/chain-iterator/useChainIteratorStore.d.ts +1 -1
  38. package/dist/types/hooks/chain-iterator/useChainIteratorStore.d.ts.map +1 -1
  39. package/dist/types/hooks/chain-iterator/useChainIteratorUpdatingHead.d.ts +1 -1
  40. package/dist/types/hooks/chain-iterator/useChainIteratorUpdatingHead.d.ts.map +1 -1
  41. package/dist/types/hooks/useIterateChain.d.ts +1 -1
  42. package/dist/types/hooks/useIterateChain.d.ts.map +1 -1
  43. package/dist/types/lib/getChainInformation.d.ts +1 -1
  44. package/dist/types/lib/getChainInformation.d.ts.map +1 -1
  45. package/dist/types/stories/buildRandomBlockchain.d.ts +1 -1
  46. package/dist/types/stories/buildRandomBlockchain.d.ts.map +1 -1
  47. package/dist/types/types/BlockComponentProps.d.ts +1 -1
  48. package/dist/types/types/BlockComponentProps.d.ts.map +1 -1
  49. package/dist/types/types/BlockComponents.d.ts +1 -1
  50. package/dist/types/types/BlockComponents.d.ts.map +1 -1
  51. package/dist/types/types/render/BlockChainRenderProps.d.ts +1 -1
  52. package/dist/types/types/render/BlockChainRenderProps.d.ts.map +1 -1
  53. package/package.json +9 -9
  54. package/src/components/block/ProducerChip.tsx +1 -1
  55. package/src/components/block/helpers/blockProducer.ts +1 -1
  56. package/src/components/block/helpers/tsxFromBlock.ts +1 -1
  57. package/src/components/block/hooks/useBlockProducer.ts +1 -1
  58. package/src/components/block/hooks/useDynamicBlockComponents.ts +1 -1
  59. package/src/components/block/hooks/useStaticBlockComponents.ts +1 -1
  60. package/src/components/block/hooks/useTxsFromBlock.ts +1 -1
  61. package/src/components/block/menu/Expanded.tsx +1 -1
  62. package/src/components/block/table/cell/lib/BlockTableCellProps.ts +1 -1
  63. package/src/components/chain/hooks/useOnBlock.ts +1 -1
  64. package/src/components/payload/builder/producer-intent/Form.tsx +1 -1
  65. package/src/components/payload/builder/transfer/Form.tsx +3 -5
  66. package/src/components/transactions/TransactionsQuickTipButton.tsx +1 -1
  67. package/src/components/transactions/submit/Builder.tsx +1 -1
  68. package/src/components/transactions/submit/SubmitChain.tsx +1 -1
  69. package/src/context/analyzer/Provider.tsx +1 -1
  70. package/src/context/analyzer/state.ts +1 -1
  71. package/src/context/chain/State.ts +1 -1
  72. package/src/hooks/chain-iterator/ChainIteratorStore.ts +4 -4
  73. package/src/hooks/chain-iterator/useChainIteratorParams.ts +2 -2
  74. package/src/hooks/chain-iterator/useChainIteratorStore.ts +1 -1
  75. package/src/hooks/chain-iterator/useChainIteratorUpdatingHead.ts +1 -1
  76. package/src/hooks/useIterateChain.ts +4 -4
  77. package/src/lib/getChainInformation.ts +1 -1
  78. package/src/stories/ChainArchivistDelayedInsertDecorator.tsx +1 -1
  79. package/src/stories/ChainInfoContextDecorator.tsx +1 -1
  80. package/src/stories/buildRandomBlockchain.ts +1 -1
  81. package/src/types/BlockComponentProps.ts +1 -1
  82. package/src/types/BlockComponents.ts +1 -1
  83. package/src/types/render/BlockChainRenderProps.ts +1 -1
@@ -1289,7 +1289,7 @@ var ChainIteratorStore = class _ChainIteratorStore {
1289
1289
  import { assertEx as assertEx2 } from "@xylabs/assert";
1290
1290
  import { usePromise as usePromise3 } from "@xylabs/react-promise";
1291
1291
  import { BoundWitnessBuilder } from "@xyo-network/boundwitness-builder";
1292
- import { isBlockBoundWitness } from "@xyo-network/chain-model";
1292
+ import { isBlockBoundWitness } from "@xyo-network/xl1-model";
1293
1293
  var resolveDefinedHead = /* @__PURE__ */ __name(async (head, chainArchivist) => {
1294
1294
  const [headPayload] = await chainArchivist.get([
1295
1295
  head
@@ -1426,10 +1426,10 @@ var useChainIteratorStore = /* @__PURE__ */ __name((chainIteratorParams) => {
1426
1426
  // src/hooks/useIterateChain.ts
1427
1427
  import { assertEx as assertEx3 } from "@xylabs/assert";
1428
1428
  import { usePromise as usePromise5 } from "@xylabs/react-promise";
1429
- import { isBlockBoundWitness as isBlockBoundWitness2 } from "@xyo-network/chain-model";
1430
1429
  import { hydrateBlock as hydrateBlock2 } from "@xyo-network/chain-protocol";
1431
1430
  import { XyoChainBlockNumberIterator as XyoChainBlockNumberIterator2 } from "@xyo-network/chain-services";
1432
1431
  import { PayloadBuilder as PayloadBuilder4 } from "@xyo-network/payload-builder";
1432
+ import { isBlockBoundWitness as isBlockBoundWitness2 } from "@xyo-network/xl1-model";
1433
1433
  var getHydratedBlock = /* @__PURE__ */ __name(async (chainArchivist, head) => {
1434
1434
  const headHash = await PayloadBuilder4.hash(head);
1435
1435
  return await hydrateBlock2(chainArchivist, headHash);
@@ -1856,7 +1856,8 @@ import React42 from "react";
1856
1856
 
1857
1857
  // src/components/payload/builder/transfer/Form.tsx
1858
1858
  import { Button as Button5, FormControl as FormControl7 } from "@mui/material";
1859
- import { elevate, TransferSchema } from "@xyo-network/chain-model";
1859
+ import { elevate } from "@xyo-network/chain-protocol";
1860
+ import { TransferSchema } from "@xyo-network/xl1-model";
1860
1861
  import React41, { useMemo as useMemo20, useState as useState18 } from "react";
1861
1862
 
1862
1863
  // src/components/payload/builder/transfer/builder/SingleFlexbox.tsx
@@ -2125,9 +2126,9 @@ var ChainArchivistDelayedInsertDecorator = /* @__PURE__ */ __name((Story, contex
2125
2126
  // src/stories/ChainInfoContextDecorator.tsx
2126
2127
  import { assertEx as assertEx5 } from "@xylabs/assert";
2127
2128
  import { usePromise as usePromise9 } from "@xylabs/react-promise";
2128
- import { isBlockBoundWitness as isBlockBoundWitness3 } from "@xyo-network/chain-model";
2129
2129
  import { XyoChainBlockNumberIterator as XyoChainBlockNumberIterator3 } from "@xyo-network/chain-services";
2130
2130
  import { findFirstMatching } from "@xyo-network/chain-utils";
2131
+ import { isBlockBoundWitness as isBlockBoundWitness3 } from "@xyo-network/xl1-model";
2131
2132
  import React45 from "react";
2132
2133
  var archivistConfig = {
2133
2134
  url: "http://localhost:8080",