@xyo-network/react-chain-blockchain 1.16.1 → 1.16.2

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.
@@ -1,7 +1,5 @@
1
1
  import type { BlockBoundWitness } from '@xyo-network/xl1-protocol';
2
- export declare const blockProducer: (block: BlockBoundWitness) => import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
3
- readonly __hex: true;
4
- }>, {
2
+ export declare const blockProducer: (block: BlockBoundWitness) => import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
5
3
  readonly __address: true;
6
4
  }>;
7
5
  //# sourceMappingURL=blockProducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blockProducer.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/helpers/blockProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAElE,eAAO,MAAM,aAAa,GAAI,OAAO,iBAAiB;;;;EAErD,CAAA"}
1
+ {"version":3,"file":"blockProducer.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/helpers/blockProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAElE,eAAO,MAAM,aAAa,GAAI,OAAO,iBAAiB;;EAErD,CAAA"}
@@ -1,7 +1,5 @@
1
1
  import type { HydratedBlock } from '@xyo-network/xl1-protocol';
2
- export declare const useBlockProducer: (block?: HydratedBlock) => import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
3
- readonly __hex: true;
4
- }>, {
2
+ export declare const useBlockProducer: (block?: HydratedBlock) => import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
5
3
  readonly __address: true;
6
4
  }> | undefined;
7
5
  //# sourceMappingURL=useBlockProducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useBlockProducer.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/hooks/useBlockProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,gBAAgB,GAAI,QAAQ,aAAa;;;;cAOrD,CAAA"}
1
+ {"version":3,"file":"useBlockProducer.d.ts","sourceRoot":"","sources":["../../../../../src/components/block/hooks/useBlockProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,gBAAgB,GAAI,QAAQ,aAAa;;cAOrD,CAAA"}
@@ -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,CAE1D,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,CAG1D,CAAA"}
@@ -1,7 +1,3 @@
1
1
  import { type HydratedBlock } from '@xyo-network/xl1-protocol';
2
- export declare const txsFromBlock: (block: HydratedBlock) => Promise<[import("@xyo-network/payload-model").WithStorageMeta<import("@xyo-network/boundwitness-model").Signed<import("@xyo-network/xl1-protocol").TransactionBoundWitness>>, import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
3
- readonly __hex: true;
4
- }>, {
5
- readonly __hash: true;
6
- }>][]>;
2
+ export declare const txsFromBlock: (block: HydratedBlock) => Promise<[import("@xyo-network/payload-model").WithStorageMeta<import("@xyo-network/boundwitness-model").Signed<import("@xyo-network/xl1-protocol").TransactionBoundWitness>>, import("@xylabs/hex").Hash][]>;
7
3
  //# sourceMappingURL=txsFromBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"txsFromBlock.d.ts","sourceRoot":"","sources":["../../../src/helpers/txsFromBlock.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE9D,eAAO,MAAM,YAAY,GAAU,OAAO,aAAa;;;;MAKtD,CAAA"}
1
+ {"version":3,"file":"txsFromBlock.d.ts","sourceRoot":"","sources":["../../../src/helpers/txsFromBlock.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE9D,eAAO,MAAM,YAAY,GAAU,OAAO,aAAa,iNAKtD,CAAA"}
@@ -44,9 +44,7 @@ export declare const useChainIteratorParams: ({ chainMap, chainId, head, name, }
44
44
  heartbeatInterval: number;
45
45
  minStake: number;
46
46
  port: number;
47
- allowlist?: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
48
- readonly __hex: true;
49
- }>, {
47
+ allowlist?: import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
50
48
  readonly __address: true;
51
49
  }>[] | undefined;
52
50
  disableIntentRedeclaration?: boolean | undefined;
@@ -76,14 +74,10 @@ export declare const useChainIteratorParams: ({ chainMap, chainId, head, name, }
76
74
  } | undefined;
77
75
  };
78
76
  validation: {
79
- allowedRewardRedeemers?: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
80
- readonly __hex: true;
81
- }>, {
77
+ allowedRewardRedeemers?: import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
82
78
  readonly __address: true;
83
79
  }>[] | undefined;
84
- allowedRewardEscrowAccountSigners?: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
85
- readonly __hex: true;
86
- }>, {
80
+ allowedRewardEscrowAccountSigners?: import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
87
81
  readonly __address: true;
88
82
  }>[] | undefined;
89
83
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useChainIteratorParams.d.ts","sourceRoot":"","sources":["../../../../src/hooks/chain-iterator/useChainIteratorParams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAU,MAAM,aAAa,CAAA;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAIlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,kBAAkB,GAAU,MAAM,IAAI,EAAE,gBAAgB,aAAa,iFAajF,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,oCAEpC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8FAgBpB,CAAA"}
1
+ {"version":3,"file":"useChainIteratorParams.d.ts","sourceRoot":"","sources":["../../../../src/hooks/chain-iterator/useChainIteratorParams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAU,MAAM,aAAa,CAAA;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAIlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,kBAAkB,GAAU,MAAM,IAAI,EAAE,gBAAgB,aAAa,iFAajF,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,oCAEpC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8FAgBpB,CAAA"}
@@ -1,7 +1,3 @@
1
1
  import { type HydratedBlock } from '@xyo-network/xl1-protocol';
2
- export declare const useTxsFromBlock: (block?: HydratedBlock) => [[import("@xyo-network/payload-model").WithStorageMeta<import("@xyo-network/boundwitness-model").Signed<import("@xyo-network/xl1-protocol").TransactionBoundWitness>>, import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
3
- readonly __hex: true;
4
- }>, {
5
- readonly __hash: true;
6
- }>][] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
2
+ export declare const useTxsFromBlock: (block?: HydratedBlock) => [[import("@xyo-network/payload-model").WithStorageMeta<import("@xyo-network/boundwitness-model").Signed<import("@xyo-network/xl1-protocol").TransactionBoundWitness>>, import("@xylabs/hex").Hash][] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
7
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,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAI9D,eAAO,MAAM,eAAe,GAAI,QAAQ,aAAa;;;;kGAMpD,CAAA"}
1
+ {"version":3,"file":"useTxsFromBlock.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTxsFromBlock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAI9D,eAAO,MAAM,eAAe,GAAI,QAAQ,aAAa,sSAMpD,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.16.1",
4
+ "version": "1.16.2",
5
5
  "description": "XYO Layer One React SDK Blockchain",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -45,13 +45,13 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@storybook/react-vite": "~10.0.6",
48
- "@xylabs/assert": "~5.0.21",
49
- "@xylabs/axios": "~5.0.21",
50
- "@xylabs/delay": "~5.0.21",
51
- "@xylabs/eth-address": "~5.0.21",
52
- "@xylabs/exists": "~5.0.21",
53
- "@xylabs/hex": "~5.0.21",
54
- "@xylabs/promise": "~5.0.21",
48
+ "@xylabs/assert": "~5.0.22",
49
+ "@xylabs/axios": "~5.0.22",
50
+ "@xylabs/delay": "~5.0.22",
51
+ "@xylabs/eth-address": "~5.0.22",
52
+ "@xylabs/exists": "~5.0.22",
53
+ "@xylabs/hex": "~5.0.22",
54
+ "@xylabs/promise": "~5.0.22",
55
55
  "@xylabs/react-animation": "~7.1.8",
56
56
  "@xylabs/react-error": "~7.1.8",
57
57
  "@xylabs/react-flexbox": "~7.1.8",
@@ -59,31 +59,31 @@
59
59
  "@xylabs/react-quick-tip-button": "~7.1.8",
60
60
  "@xylabs/react-shared": "~7.1.8",
61
61
  "@xylabs/react-theme": "~7.1.8",
62
- "@xylabs/typeof": "~5.0.21",
62
+ "@xylabs/typeof": "~5.0.22",
63
63
  "@xyo-network/account": "~5.1.18",
64
64
  "@xyo-network/archivist-memory": "~5.1.18",
65
65
  "@xyo-network/archivist-model": "~5.1.18",
66
66
  "@xyo-network/boundwitness-builder": "~5.1.18",
67
67
  "@xyo-network/boundwitness-model": "~5.1.18",
68
68
  "@xyo-network/bridge-http": "~5.1.18",
69
- "@xyo-network/chain-analyze": "~1.16.1",
70
- "@xyo-network/chain-protocol": "~1.16.1",
71
- "@xyo-network/chain-services": "~1.16.1",
72
- "@xyo-network/chain-utils": "~1.16.1",
73
- "@xyo-network/chain-wrappers": "~1.16.1",
69
+ "@xyo-network/chain-analyze": "~1.16.2",
70
+ "@xyo-network/chain-protocol": "~1.16.2",
71
+ "@xyo-network/chain-services": "~1.16.2",
72
+ "@xyo-network/chain-utils": "~1.16.2",
73
+ "@xyo-network/chain-wrappers": "~1.16.2",
74
74
  "@xyo-network/module-model": "~5.1.18",
75
75
  "@xyo-network/payload-builder": "~5.1.18",
76
76
  "@xyo-network/payload-model": "~5.1.18",
77
77
  "@xyo-network/react-boundwitness-plugin": "~7.3.10",
78
- "@xyo-network/react-chain-blockies": "~1.16.1",
79
- "@xyo-network/react-chain-shared": "~1.16.1",
78
+ "@xyo-network/react-chain-blockies": "~1.16.2",
79
+ "@xyo-network/react-chain-shared": "~1.16.2",
80
80
  "@xyo-network/react-event": "~7.3.10",
81
81
  "@xyo-network/react-payload-raw-info": "~7.3.10",
82
82
  "@xyo-network/react-payload-table": "~7.3.10",
83
83
  "@xyo-network/react-shared": "~7.3.10",
84
84
  "@xyo-network/react-table": "~7.3.10",
85
- "@xyo-network/xl1-protocol": "~1.13.0",
86
- "@xyo-network/xl1-protocol-sdk": "~1.16.1"
85
+ "@xyo-network/xl1-protocol": "~1.13.1",
86
+ "@xyo-network/xl1-protocol-sdk": "~1.16.2"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@emotion/react": "~11.14.0",
@@ -91,8 +91,8 @@
91
91
  "@mui/icons-material": "~7.3.5",
92
92
  "@mui/material": "~7.3.5",
93
93
  "@types/react": "~19.2.2",
94
- "@xylabs/creatable": "~5.0.21",
95
- "@xylabs/hex": "~5.0.21",
94
+ "@xylabs/creatable": "~5.0.22",
95
+ "@xylabs/hex": "~5.0.22",
96
96
  "@xylabs/ts-scripts-yarn3": "~7.2.8",
97
97
  "@xylabs/tsconfig": "~7.2.8",
98
98
  "@xylabs/tsconfig-dom": "~7.2.8",
@@ -7,5 +7,6 @@ export interface BlockNumberChipProps extends ChipProps {
7
7
  }
8
8
 
9
9
  export const BlockNumberChip: React.FC<BlockNumberChipProps> = ({ blockNumber, ...props }) => {
10
+ // eslint-disable-next-line react-x/no-useless-fragment
10
11
  return <Chip avatar={<></>} label={blockNumber} {...props} />
11
12
  }