@xyo-network/react-debug 6.1.4 → 7.0.0

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.
@@ -2,7 +2,7 @@ export declare const useDebugBoundWitness: (input?: string) => {
2
2
  boundWitness: import("@xyo-network/boundwitness-model").BoundWitness | undefined;
3
3
  errors: Error[];
4
4
  valid: boolean;
5
- rootHash: Lowercase<string> | undefined;
6
- dataHash: Lowercase<string> | undefined;
5
+ rootHash: import("@xylabs/hex").Hash | undefined;
6
+ dataHash: import("@xylabs/hex").Hash | undefined;
7
7
  };
8
8
  //# sourceMappingURL=useDebugBoundWitness.d.ts.map
@@ -2,7 +2,7 @@ export declare const useDebugPayload: (input?: string) => {
2
2
  payload: import("@xyo-network/payload-model").Payload | undefined;
3
3
  errors: Error[];
4
4
  valid: boolean;
5
- rootHash: Lowercase<string> | undefined;
6
- dataHash: Lowercase<string> | undefined;
5
+ rootHash: import("@xylabs/hex").Hash | undefined;
6
+ dataHash: import("@xylabs/hex").Hash | undefined;
7
7
  };
8
8
  //# sourceMappingURL=useDebugPayload.d.ts.map
@@ -1,24 +1,2 @@
1
- import React from 'react';
2
- import { ChipProps } from '@mui/material';
3
- import { JsonViewerExProps } from '@xyo-network/react-payload-raw-info';
4
-
5
- interface BoundWitnessDebuggerProps {
6
- defaultBoundWitnessInput?: string;
7
- }
8
- declare const BoundWitnessDebugger: React.FC<BoundWitnessDebuggerProps>;
9
-
10
- declare const PayloadDebugger: React.FC;
11
-
12
- interface ValidationChipsProps extends ChipProps {
13
- dataHash?: string;
14
- rootHash?: string;
15
- valid?: boolean;
16
- }
17
- declare const ValidationChips: React.FC<ValidationChipsProps>;
18
-
19
- interface JsonPayloadLikeViewerExProps extends JsonViewerExProps {
20
- }
21
- declare const JsonPayloadLikeViewerEx: React.FC<JsonPayloadLikeViewerExProps>;
22
-
23
- export { BoundWitnessDebugger, JsonPayloadLikeViewerEx, PayloadDebugger, ValidationChips };
24
- export type { BoundWitnessDebuggerProps, JsonPayloadLikeViewerExProps, ValidationChipsProps };
1
+ export * from './components/index.ts';
2
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-debug",
3
- "version": "6.1.4",
3
+ "version": "7.0.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -38,22 +38,26 @@
38
38
  },
39
39
  "module": "dist/browser/index.mjs",
40
40
  "types": "dist/browser/index.d.ts",
41
+ "files": [
42
+ "dist",
43
+ "src"
44
+ ],
41
45
  "dependencies": {
42
- "@xylabs/react-error": "^6.3.13",
43
- "@xylabs/react-flexbox": "^6.3.13",
44
- "@xyo-network/react-payload-raw-info": "^6.1.4",
45
- "@xyo-network/react-shared": "^6.1.4"
46
+ "@xylabs/react-error": "^7.0.0",
47
+ "@xylabs/react-flexbox": "^7.0.0",
48
+ "@xyo-network/react-payload-raw-info": "^7.0.0",
49
+ "@xyo-network/react-shared": "^7.0.0"
46
50
  },
47
51
  "devDependencies": {
48
52
  "@mui/icons-material": "^7.2.0",
49
53
  "@mui/material": "^7.2.0",
50
54
  "@storybook/react-vite": "^9.0.18",
51
- "@types/react": "^19.1.8",
52
- "@xylabs/ts-scripts-yarn3": "next",
53
- "@xylabs/tsconfig-react": "next",
54
- "react": "^19.1.0",
55
- "react-dom": "^19.1.0",
56
- "react-router-dom": "^7.7.0",
55
+ "@types/react": "^19.1.9",
56
+ "@xylabs/ts-scripts-yarn3": "^7.0.2",
57
+ "@xylabs/tsconfig-react": "^7.0.2",
58
+ "react": "^19.1.1",
59
+ "react-dom": "^19.1.1",
60
+ "react-router-dom": "^7.7.1",
57
61
  "storybook": "^9.0.18",
58
62
  "typescript": "^5.8.3"
59
63
  },
package/typedoc.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "https://typedoc.org/schema.json",
3
- "entryPoints": ["src/index.ts"],
4
- "tsconfig": "./tsconfig.typedoc.json"
5
- }
package/xy.config.ts DELETED
@@ -1,10 +0,0 @@
1
- import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
- const config: XyTsupConfig = {
3
- compile: {
4
- browser: { src: true },
5
- node: {},
6
- neutral: {},
7
- },
8
- }
9
-
10
- export default config