@xyo-network/react-chain-blockchain 1.7.5 → 1.7.6

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-blockchain",
4
- "version": "1.7.5",
4
+ "version": "1.7.6",
5
5
  "description": "XYO Layer One React SDK Blockchain",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -59,24 +59,24 @@
59
59
  "@xyo-network/boundwitness-builder": "^4.1.4",
60
60
  "@xyo-network/boundwitness-model": "^4.1.4",
61
61
  "@xyo-network/bridge-http": "^4.1.4",
62
- "@xyo-network/chain-analyze": "^1.7.5",
63
- "@xyo-network/chain-protocol": "^1.7.5",
64
- "@xyo-network/chain-services": "^1.7.5",
65
- "@xyo-network/chain-utils": "^1.7.5",
66
- "@xyo-network/chain-wrappers": "^1.7.5",
62
+ "@xyo-network/chain-analyze": "^1.7.6",
63
+ "@xyo-network/chain-protocol": "^1.7.6",
64
+ "@xyo-network/chain-services": "^1.7.6",
65
+ "@xyo-network/chain-utils": "^1.7.6",
66
+ "@xyo-network/chain-wrappers": "^1.7.6",
67
67
  "@xyo-network/module-model": "^4.1.4",
68
68
  "@xyo-network/payload-builder": "^4.1.4",
69
69
  "@xyo-network/payload-model": "^4.1.4",
70
70
  "@xyo-network/react-boundwitness-plugin": "^6.1.1",
71
- "@xyo-network/react-chain-blockies": "^1.7.5",
72
- "@xyo-network/react-chain-shared": "^1.7.5",
71
+ "@xyo-network/react-chain-blockies": "^1.7.6",
72
+ "@xyo-network/react-chain-shared": "^1.7.6",
73
73
  "@xyo-network/react-event": "^6.1.1",
74
74
  "@xyo-network/react-payload-raw-info": "^6.1.1",
75
75
  "@xyo-network/react-payload-table": "^6.1.1",
76
76
  "@xyo-network/react-shared": "^6.1.1",
77
77
  "@xyo-network/react-table": "^6.1.1",
78
78
  "@xyo-network/xl1-protocol": "^1.7.5",
79
- "@xyo-network/xl1-protocol-sdk": "^1.7.5"
79
+ "@xyo-network/xl1-protocol-sdk": "^1.7.6"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@emotion/react": "^11.14.0",
@@ -6,6 +6,7 @@ import type { ReadArchivist } from '@xyo-network/archivist-model'
6
6
  import { BoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
7
7
  import type { BlockBoundWitness } from '@xyo-network/xl1-protocol'
8
8
  import { isBlockBoundWitness } from '@xyo-network/xl1-protocol'
9
+ import { getDefaultConfig } from '@xyo-network/xl1-protocol-sdk'
9
10
 
10
11
  import type { BlockChainIterator } from '../../types/index.ts'
11
12
 
@@ -35,8 +36,10 @@ export const useChainIteratorParams = ({
35
36
  isBlockBoundWitness(foundResult) ? foundResult : undefined,
36
37
  () => `Head is not a boundwitness: ${JSON.stringify(foundResult)}`,
37
38
  )
39
+ const config = getDefaultConfig()
40
+ config.chain.id = chainId
38
41
  return {
39
- chainArchivist, chainId, head: resolvedHead, name,
42
+ chainArchivist, chainId, config, head: resolvedHead, name,
40
43
  }
41
44
  }
42
45
  }, [chainArchivist, chainId, head])