@xyo-network/react-debug 9.0.0 → 9.0.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.
- package/dist/browser/hooks/useDebugBoundWitness.d.ts +8 -24
- package/dist/browser/hooks/useDebugBoundWitness.d.ts.map +1 -1
- package/dist/browser/hooks/useDebugPayload.d.ts +8 -5
- package/dist/browser/hooks/useDebugPayload.d.ts.map +1 -1
- package/dist/browser/index.mjs.map +2 -2
- package/package.json +41 -53
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
addresses: (Lowercase<string> & {
|
|
7
|
-
readonly __hex: true;
|
|
8
|
-
} & {
|
|
9
|
-
readonly __address: true;
|
|
10
|
-
})[];
|
|
11
|
-
payload_hashes: import("@xylabs/sdk-js").BrandedHash[];
|
|
12
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
13
|
-
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
14
|
-
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
15
|
-
$destination?: (Lowercase<string> & {
|
|
16
|
-
readonly __hex: true;
|
|
17
|
-
} & {
|
|
18
|
-
readonly __address: true;
|
|
19
|
-
}) | undefined;
|
|
20
|
-
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
21
|
-
} | undefined;
|
|
1
|
+
import type { Hash } from '@xylabs/sdk-js';
|
|
2
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
+
export interface DebugBoundWitnessState {
|
|
4
|
+
boundWitness?: BoundWitness;
|
|
5
|
+
dataHash?: Hash;
|
|
22
6
|
errors: Error[];
|
|
7
|
+
rootHash?: Hash;
|
|
23
8
|
valid: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
9
|
+
}
|
|
10
|
+
export declare const useDebugBoundWitness: (input?: string) => DebugBoundWitnessState;
|
|
27
11
|
//# sourceMappingURL=useDebugBoundWitness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDebugBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebugBoundWitness.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDebugBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebugBoundWitness.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAA;IACf,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,QAAQ,CAAC,EAAE,IAAI,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;CACf;AAED,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,sBAarD,CAAA"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { Hash } from '@xylabs/sdk-js';
|
|
2
|
+
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
export interface DebugPayloadState {
|
|
4
|
+
dataHash?: Hash;
|
|
3
5
|
errors: Error[];
|
|
6
|
+
payload?: Payload;
|
|
7
|
+
rootHash?: Hash;
|
|
4
8
|
valid: boolean;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
9
|
+
}
|
|
10
|
+
export declare const useDebugPayload: (input?: string) => DebugPayloadState;
|
|
8
11
|
//# sourceMappingURL=useDebugPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDebugPayload.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebugPayload.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDebugPayload.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebugPayload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGzD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,IAAI,CAAA;IACf,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,IAAI,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;CACf;AAED,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,iBAQhD,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/BoundWitnessDebugger.tsx", "../../src/hooks/useDebugBoundWitness.tsx", "../../src/hooks/useDebugPayload.tsx", "../../src/components/shared/Chips.tsx", "../../src/components/shared/JsonPayloadLikeViewerEx.tsx", "../../src/components/PayloadDebugger.tsx"],
|
|
4
|
-
"sourcesContent": ["import {\n FormControl, Grid,\n TextField,\n} from '@mui/material'\nimport { ErrorRender } from '@xylabs/react-error'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React, { useState } from 'react'\n\nimport { useDebugBoundWitness } from '../hooks/index.ts'\nimport { JsonPayloadLikeViewerEx, ValidationChips } from './shared/index.ts'\n\nexport interface BoundWitnessDebuggerProps {\n defaultBoundWitnessInput?: string\n}\n\nexport const BoundWitnessDebugger: React.FC<BoundWitnessDebuggerProps> = ({ defaultBoundWitnessInput = '' }) => {\n const [input, setInput] = useState<string>(defaultBoundWitnessInput)\n\n const {\n boundWitness, errors, rootHash, dataHash, valid,\n } = useDebugBoundWitness(input)\n\n return (\n <Grid\n container\n sx={{ justifyContent: 'center' }}\n >\n <Grid\n size={{ xs: 12, sm: 6 }}\n >\n <FlexCol\n sx={{\n gap: 2,\n width: '100%',\n alignItems: 'start',\n }}\n >\n <h2>BoundWitness Debugger</h2>\n <FormControl fullWidth>\n <TextField value={input} multiline minRows={10} maxRows={Infinity} name=\"payload\" onChange={e => setInput(e.target.value)} />\n </FormControl>\n <JsonPayloadLikeViewerEx value={boundWitness} />\n {errors.map(error => <ErrorRender key={error?.message} error={error} />)}\n <ValidationChips valid={valid} rootHash={rootHash} dataHash={dataHash} />\n </FlexCol>\n </Grid>\n </Grid>\n )\n}\n", "import { usePayloadRootHash, useValidateBoundWitness } from '@xyo-network/react-shared'\n\nexport const useDebugBoundWitness = (input?: string) => {\n const { payload: boundWitness, errors } = useValidateBoundWitness(input)\n\n const rootHash = usePayloadRootHash(boundWitness)\n const dataHash = usePayloadRootHash(boundWitness)\n\n return {\n boundWitness,\n errors: errors ?? [],\n valid: errors ? errors.length === 0 : true,\n rootHash,\n dataHash,\n }\n}\n", "import { usePayloadRootHash, usePayloadValidate } from '@xyo-network/react-shared'\n\nexport const useDebugPayload = (input?: string) => {\n const { payload, errors } = usePayloadValidate(input)\n const rootHash = usePayloadRootHash(payload)\n const dataHash = usePayloadRootHash(payload)\n\n return {\n payload, errors: errors ?? [], valid: errors ? errors.length === 0 : true, rootHash, dataHash,\n }\n}\n", "import { CheckCircle } from '@mui/icons-material'\nimport { Chip, type ChipProps } from '@mui/material'\nimport React from 'react'\n\nexport interface ValidationChipsProps extends ChipProps {\n dataHash?: string\n rootHash?: string\n valid?: boolean\n}\nexport const ValidationChips: React.FC<ValidationChipsProps> = ({\n dataHash, rootHash, valid,\n}) => {\n return (\n <>\n {valid ? <Chip avatar={<CheckCircle color=\"success\" />} label=\"Protocol Valid\" /> : null}\n {rootHash ? <Chip label={`Root Hash: ${rootHash}`} title={rootHash} /> : null}\n {dataHash ? <Chip label={`Data Hash: ${dataHash}`} title={dataHash} /> : null}\n </>\n )\n}\n", "import { Paper, useTheme } from '@mui/material'\nimport { JsonViewerEx, type JsonViewerExProps } from '@xyo-network/react-payload-raw-info'\nimport React from 'react'\n\nexport interface JsonPayloadLikeViewerExProps extends JsonViewerExProps {}\n\nexport const JsonPayloadLikeViewerEx: React.FC<JsonPayloadLikeViewerExProps> = ({ ...props }) => {\n const theme = useTheme()\n\n return props.value\n ? (\n <Paper sx={{ width: '100%', padding: theme.spacing(2) }}>\n <JsonViewerEx style={{ width: '100%' }} {...props} />\n </Paper>\n )\n : null\n}\n", "import {\n FormControl, Grid, TextField,\n} from '@mui/material'\nimport { ErrorRender } from '@xylabs/react-error'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React, { useState } from 'react'\n\nimport { useDebugPayload } from '../hooks/index.ts'\nimport { JsonPayloadLikeViewerEx, ValidationChips } from './shared/index.ts'\n\nconst defaultPayload = '{ \"schema\": \"network.xyo.test\", \"foo\": true }'\n\nexport const PayloadDebugger: React.FC = () => {\n const [input, setInput] = useState<string>(defaultPayload)\n\n const {\n payload, errors, rootHash, dataHash, valid,\n } = useDebugPayload(input)\n\n return (\n <Grid\n container\n sx={{ justifyContent: 'center' }}\n >\n <Grid\n size={{ xs: 12, sm: 6 }}\n >\n <FlexCol\n sx={{\n gap: 2,\n width: '100%',\n alignItems: 'start',\n }}\n >\n <h2>Payload Debugger</h2>\n <FormControl fullWidth>\n <TextField value={input} multiline minRows={10} maxRows={Infinity} name=\"payload\" onChange={e => setInput(e.target.value)} />\n </FormControl>\n <JsonPayloadLikeViewerEx value={payload} />\n {errors.map(error => <ErrorRender key={error?.message} error={error} />)}\n <ValidationChips valid={valid} rootHash={rootHash} dataHash={dataHash} />\n </FlexCol>\n </Grid>\n </Grid>\n )\n}\n"],
|
|
5
|
-
"mappings": ";AAAA;AAAA,EACE;AAAA,EAAa;AAAA,EACb;AAAA,OACK;AACP,SAAS,mBAAmB;AAC5B,SAAS,eAAe;AACxB,SAAgB,gBAAgB;;;
|
|
4
|
+
"sourcesContent": ["import {\n FormControl, Grid,\n TextField,\n} from '@mui/material'\nimport { ErrorRender } from '@xylabs/react-error'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React, { useState } from 'react'\n\nimport { useDebugBoundWitness } from '../hooks/index.ts'\nimport { JsonPayloadLikeViewerEx, ValidationChips } from './shared/index.ts'\n\nexport interface BoundWitnessDebuggerProps {\n defaultBoundWitnessInput?: string\n}\n\nexport const BoundWitnessDebugger: React.FC<BoundWitnessDebuggerProps> = ({ defaultBoundWitnessInput = '' }) => {\n const [input, setInput] = useState<string>(defaultBoundWitnessInput)\n\n const {\n boundWitness, errors, rootHash, dataHash, valid,\n } = useDebugBoundWitness(input)\n\n return (\n <Grid\n container\n sx={{ justifyContent: 'center' }}\n >\n <Grid\n size={{ xs: 12, sm: 6 }}\n >\n <FlexCol\n sx={{\n gap: 2,\n width: '100%',\n alignItems: 'start',\n }}\n >\n <h2>BoundWitness Debugger</h2>\n <FormControl fullWidth>\n <TextField value={input} multiline minRows={10} maxRows={Infinity} name=\"payload\" onChange={e => setInput(e.target.value)} />\n </FormControl>\n <JsonPayloadLikeViewerEx value={boundWitness} />\n {errors.map(error => <ErrorRender key={error?.message} error={error} />)}\n <ValidationChips valid={valid} rootHash={rootHash} dataHash={dataHash} />\n </FlexCol>\n </Grid>\n </Grid>\n )\n}\n", "import type { Hash } from '@xylabs/sdk-js'\nimport type { BoundWitness } from '@xyo-network/boundwitness-model'\nimport { usePayloadRootHash, useValidateBoundWitness } from '@xyo-network/react-shared'\n\nexport interface DebugBoundWitnessState {\n boundWitness?: BoundWitness\n dataHash?: Hash\n errors: Error[]\n rootHash?: Hash\n valid: boolean\n}\n\nexport const useDebugBoundWitness = (input?: string): DebugBoundWitnessState => {\n const { payload: boundWitness, errors } = useValidateBoundWitness(input)\n\n const rootHash = usePayloadRootHash(boundWitness)\n const dataHash = usePayloadRootHash(boundWitness)\n\n return {\n boundWitness,\n errors: errors ?? [],\n valid: errors ? errors.length === 0 : true,\n rootHash,\n dataHash,\n }\n}\n", "import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { usePayloadRootHash, usePayloadValidate } from '@xyo-network/react-shared'\n\nexport interface DebugPayloadState {\n dataHash?: Hash\n errors: Error[]\n payload?: Payload\n rootHash?: Hash\n valid: boolean\n}\n\nexport const useDebugPayload = (input?: string): DebugPayloadState => {\n const { payload, errors } = usePayloadValidate(input)\n const rootHash = usePayloadRootHash(payload)\n const dataHash = usePayloadRootHash(payload)\n\n return {\n payload, errors: errors ?? [], valid: errors ? errors.length === 0 : true, rootHash, dataHash,\n }\n}\n", "import { CheckCircle } from '@mui/icons-material'\nimport { Chip, type ChipProps } from '@mui/material'\nimport React from 'react'\n\nexport interface ValidationChipsProps extends ChipProps {\n dataHash?: string\n rootHash?: string\n valid?: boolean\n}\nexport const ValidationChips: React.FC<ValidationChipsProps> = ({\n dataHash, rootHash, valid,\n}) => {\n return (\n <>\n {valid ? <Chip avatar={<CheckCircle color=\"success\" />} label=\"Protocol Valid\" /> : null}\n {rootHash ? <Chip label={`Root Hash: ${rootHash}`} title={rootHash} /> : null}\n {dataHash ? <Chip label={`Data Hash: ${dataHash}`} title={dataHash} /> : null}\n </>\n )\n}\n", "import { Paper, useTheme } from '@mui/material'\nimport { JsonViewerEx, type JsonViewerExProps } from '@xyo-network/react-payload-raw-info'\nimport React from 'react'\n\nexport interface JsonPayloadLikeViewerExProps extends JsonViewerExProps {}\n\nexport const JsonPayloadLikeViewerEx: React.FC<JsonPayloadLikeViewerExProps> = ({ ...props }) => {\n const theme = useTheme()\n\n return props.value\n ? (\n <Paper sx={{ width: '100%', padding: theme.spacing(2) }}>\n <JsonViewerEx style={{ width: '100%' }} {...props} />\n </Paper>\n )\n : null\n}\n", "import {\n FormControl, Grid, TextField,\n} from '@mui/material'\nimport { ErrorRender } from '@xylabs/react-error'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React, { useState } from 'react'\n\nimport { useDebugPayload } from '../hooks/index.ts'\nimport { JsonPayloadLikeViewerEx, ValidationChips } from './shared/index.ts'\n\nconst defaultPayload = '{ \"schema\": \"network.xyo.test\", \"foo\": true }'\n\nexport const PayloadDebugger: React.FC = () => {\n const [input, setInput] = useState<string>(defaultPayload)\n\n const {\n payload, errors, rootHash, dataHash, valid,\n } = useDebugPayload(input)\n\n return (\n <Grid\n container\n sx={{ justifyContent: 'center' }}\n >\n <Grid\n size={{ xs: 12, sm: 6 }}\n >\n <FlexCol\n sx={{\n gap: 2,\n width: '100%',\n alignItems: 'start',\n }}\n >\n <h2>Payload Debugger</h2>\n <FormControl fullWidth>\n <TextField value={input} multiline minRows={10} maxRows={Infinity} name=\"payload\" onChange={e => setInput(e.target.value)} />\n </FormControl>\n <JsonPayloadLikeViewerEx value={payload} />\n {errors.map(error => <ErrorRender key={error?.message} error={error} />)}\n <ValidationChips valid={valid} rootHash={rootHash} dataHash={dataHash} />\n </FlexCol>\n </Grid>\n </Grid>\n )\n}\n"],
|
|
5
|
+
"mappings": ";AAAA;AAAA,EACE;AAAA,EAAa;AAAA,EACb;AAAA,OACK;AACP,SAAS,mBAAmB;AAC5B,SAAS,eAAe;AACxB,SAAgB,gBAAgB;;;ACJhC,SAAS,oBAAoB,+BAA+B;AAUrD,IAAM,uBAAuB,CAAC,UAA2C;AAC9E,QAAM,EAAE,SAAS,cAAc,OAAO,IAAI,wBAAwB,KAAK;AAEvE,QAAM,WAAW,mBAAmB,YAAY;AAChD,QAAM,WAAW,mBAAmB,YAAY;AAEhD,SAAO;AAAA,IACL;AAAA,IACA,QAAQ,UAAU,CAAC;AAAA,IACnB,OAAO,SAAS,OAAO,WAAW,IAAI;AAAA,IACtC;AAAA,IACA;AAAA,EACF;AACF;;;ACvBA,SAAS,sBAAAA,qBAAoB,0BAA0B;AAUhD,IAAM,kBAAkB,CAAC,UAAsC;AACpE,QAAM,EAAE,SAAS,OAAO,IAAI,mBAAmB,KAAK;AACpD,QAAM,WAAWA,oBAAmB,OAAO;AAC3C,QAAM,WAAWA,oBAAmB,OAAO;AAE3C,SAAO;AAAA,IACL;AA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AAE,IAAI,IAAI,IAAI,EAAE;AAAA,UAEtB,0BAAAF;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,IAAI;AAAA,gBACF,KAAK;AAAA,gBACL,OAAO;AAAA,gBACP,YAAY;AAAA,cACd;AAAA,cAEA;AAAA,gCAAAJ,KAAC,QAAG,8BAAgB;AAAA,gBACpB,gBAAAA,KAACK,cAAA,EAAY,WAAS,MACpB,0BAAAL,KAACM,YAAA,EAAU,OAAO,OAAO,WAAS,MAAC,SAAS,IAAI,SAAS,UAAU,MAAK,WAAU,UAAU,OAAK,SAAS,EAAE,OAAO,KAAK,GAAG,GAC7H;AAAA,gBACA,gBAAAN,KAAC,2BAAwB,OAAO,SAAS;AAAA,gBACxC,OAAO,IAAI,WAAS,gBAAAA,KAACO,cAAA,EAAiC,SAAhB,OAAO,OAAuB,CAAE;AAAA,gBACvE,gBAAAP,KAAC,mBAAgB,OAAc,UAAoB,UAAoB;AAAA;AAAA;AAAA,UACzE;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": ["usePayloadRootHash", "jsx", "jsx", "jsxs", "FormControl", "Grid", "TextField", "ErrorRender", "FlexCol", "useState", "jsx", "jsxs", "useState", "Grid", "FlexCol", "FormControl", "TextField", "ErrorRender"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-debug",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.2",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"README.md"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@xyo-network/react-
|
|
45
|
-
"@xyo-network/react-
|
|
44
|
+
"@xyo-network/react-shared": "~9.0.2",
|
|
45
|
+
"@xyo-network/react-payload-raw-info": "~9.0.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -50,62 +50,56 @@
|
|
|
50
50
|
"@mui/material": "^9.0.1",
|
|
51
51
|
"@opentelemetry/api": "^1.9.1",
|
|
52
52
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
53
|
-
"@react-spring/web": "~10.0
|
|
53
|
+
"@react-spring/web": "~10.1.0",
|
|
54
54
|
"@scure/base": "~2.2.0",
|
|
55
|
-
"@storybook/react-vite": "~10.4.
|
|
56
|
-
"@types/react": "^19.2.
|
|
57
|
-
"@xylabs/pixel": "~6.0.
|
|
58
|
-
"@xylabs/react-button": "~9.0.
|
|
59
|
-
"@xylabs/react-error": "~9.0.
|
|
60
|
-
"@xylabs/react-flexbox": "~9.0.
|
|
61
|
-
"@xylabs/react-hooks": "~9.0.
|
|
62
|
-
"@xylabs/react-link": "~9.0.
|
|
63
|
-
"@xylabs/react-promise": "~9.0.
|
|
64
|
-
"@xylabs/react-shared": "~9.0.
|
|
65
|
-
"@xylabs/react-theme": "~9.0.
|
|
66
|
-
"@xylabs/sdk-js": "^6.0.
|
|
67
|
-
"@xylabs/sdk-react": "~9.0",
|
|
68
|
-
"@xylabs/threads": "
|
|
69
|
-
"@xylabs/toolchain": "~8.1.
|
|
70
|
-
"@xylabs/tsconfig": "^8.1.
|
|
71
|
-
"@xylabs/tsconfig-dom": "^8.1.
|
|
72
|
-
"@xylabs/tsconfig-react": "~8.1.
|
|
73
|
-
"@xyo-network/boundwitness-model": "^6.0.
|
|
74
|
-
"@xyo-network/boundwitness-validator": "^6.0.
|
|
75
|
-
"@xyo-network/payload-builder": "^6.0.
|
|
76
|
-
"@xyo-network/payload-model": "^6.0.
|
|
55
|
+
"@storybook/react-vite": "~10.4.1",
|
|
56
|
+
"@types/react": "^19.2.16",
|
|
57
|
+
"@xylabs/pixel": "~6.0.7",
|
|
58
|
+
"@xylabs/react-button": "~9.0.2",
|
|
59
|
+
"@xylabs/react-error": "~9.0.2",
|
|
60
|
+
"@xylabs/react-flexbox": "~9.0.2",
|
|
61
|
+
"@xylabs/react-hooks": "~9.0.2",
|
|
62
|
+
"@xylabs/react-link": "~9.0.2",
|
|
63
|
+
"@xylabs/react-promise": "~9.0.2",
|
|
64
|
+
"@xylabs/react-shared": "~9.0.2",
|
|
65
|
+
"@xylabs/react-theme": "~9.0.2",
|
|
66
|
+
"@xylabs/sdk-js": "^6.0.7",
|
|
67
|
+
"@xylabs/sdk-react": "~9.0.2",
|
|
68
|
+
"@xylabs/threads": "^6.0.7",
|
|
69
|
+
"@xylabs/toolchain": "~8.1.12",
|
|
70
|
+
"@xylabs/tsconfig": "^8.1.12",
|
|
71
|
+
"@xylabs/tsconfig-dom": "^8.1.12",
|
|
72
|
+
"@xylabs/tsconfig-react": "~8.1.12",
|
|
73
|
+
"@xyo-network/boundwitness-model": "^6.0.7",
|
|
74
|
+
"@xyo-network/boundwitness-validator": "^6.0.7",
|
|
75
|
+
"@xyo-network/payload-builder": "^6.0.7",
|
|
76
|
+
"@xyo-network/payload-model": "^6.0.7",
|
|
77
77
|
"async-mutex": "^0.5.0",
|
|
78
78
|
"bn.js": "^5.2.3",
|
|
79
79
|
"bowser": "^2.14.1",
|
|
80
80
|
"buffer": "^6.0.3",
|
|
81
|
-
"chalk": "^5.6.2",
|
|
82
81
|
"clsx": "~2.1.1",
|
|
83
82
|
"debug": "~4.4.3",
|
|
84
|
-
"eslint": "^10.4.
|
|
83
|
+
"eslint": "^10.4.1",
|
|
85
84
|
"ethers": "^6.16.0",
|
|
86
|
-
"fast-deep-equal": "~3.1.3",
|
|
87
85
|
"hash-wasm": "~4.12.0",
|
|
88
|
-
"
|
|
89
|
-
"lru-cache": "^11.5.0",
|
|
86
|
+
"lru-cache": "^11.5.1",
|
|
90
87
|
"md5": "~2.3.0",
|
|
91
|
-
"mixpanel-browser": "~2.
|
|
88
|
+
"mixpanel-browser": "~2.80.0",
|
|
92
89
|
"numeral": "~2.0.6",
|
|
93
90
|
"observable-fns": "~0.6.1",
|
|
94
91
|
"pako": "^2.1.0",
|
|
95
|
-
"query-string": "~9.
|
|
96
|
-
"react": "^19.2.
|
|
97
|
-
"react-dom": "^19.2.
|
|
98
|
-
"react-
|
|
99
|
-
"react-router-dom": "^7.15.1",
|
|
100
|
-
"recharts": "~3.8.1",
|
|
92
|
+
"query-string": "~9.4.0",
|
|
93
|
+
"react": "^19.2.7",
|
|
94
|
+
"react-dom": "^19.2.7",
|
|
95
|
+
"react-router-dom": "^7.16.0",
|
|
101
96
|
"spark-md5": "~3.0.2",
|
|
102
|
-
"storybook": "^10.4.
|
|
97
|
+
"storybook": "^10.4.1",
|
|
103
98
|
"typescript": "^6.0.3",
|
|
104
|
-
"viem": "^2.
|
|
105
|
-
"vite": "^8.0.
|
|
106
|
-
"wasm-feature-detect": "~1.8.0",
|
|
99
|
+
"viem": "^2.52.0",
|
|
100
|
+
"vite": "^8.0.16",
|
|
107
101
|
"zod": "^4.4.3",
|
|
108
|
-
"zustand": "~5.0.
|
|
102
|
+
"zustand": "~5.0.14"
|
|
109
103
|
},
|
|
110
104
|
"peerDependencies": {
|
|
111
105
|
"@bitauth/libauth": "~3.0",
|
|
@@ -113,7 +107,7 @@
|
|
|
113
107
|
"@mui/material": "^9.0",
|
|
114
108
|
"@opentelemetry/api": "^1.9",
|
|
115
109
|
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
116
|
-
"@react-spring/web": "~10.
|
|
110
|
+
"@react-spring/web": "~10.1",
|
|
117
111
|
"@scure/base": "~2.2",
|
|
118
112
|
"@xylabs/pixel": "~6.0",
|
|
119
113
|
"@xylabs/react-button": "~9.0",
|
|
@@ -126,7 +120,7 @@
|
|
|
126
120
|
"@xylabs/react-theme": "~9.0",
|
|
127
121
|
"@xylabs/sdk-js": "^6.0",
|
|
128
122
|
"@xylabs/sdk-react": "~9.0",
|
|
129
|
-
"@xylabs/threads": "
|
|
123
|
+
"@xylabs/threads": "^6.0",
|
|
130
124
|
"@xyo-network/boundwitness-model": "^6.0",
|
|
131
125
|
"@xyo-network/boundwitness-validator": "^6.0",
|
|
132
126
|
"@xyo-network/payload-builder": "^6.0",
|
|
@@ -135,28 +129,22 @@
|
|
|
135
129
|
"bn.js": "^5.2",
|
|
136
130
|
"bowser": "^2.14",
|
|
137
131
|
"buffer": "^6.0",
|
|
138
|
-
"chalk": "^5.6",
|
|
139
132
|
"clsx": "~2.1",
|
|
140
133
|
"debug": "~4.4",
|
|
141
134
|
"ethers": "^6.16",
|
|
142
|
-
"fast-deep-equal": "~3.1",
|
|
143
135
|
"hash-wasm": "~4.12",
|
|
144
|
-
"js-cookie": "~3.0",
|
|
145
136
|
"lru-cache": "^11.3",
|
|
146
137
|
"md5": "~2.3",
|
|
147
|
-
"mixpanel-browser": "~2.
|
|
138
|
+
"mixpanel-browser": "~2.80",
|
|
148
139
|
"numeral": "~2.0",
|
|
149
140
|
"observable-fns": "~0.6",
|
|
150
141
|
"pako": "^2.1",
|
|
151
|
-
"query-string": "~9.
|
|
142
|
+
"query-string": "~9.4",
|
|
152
143
|
"react": "^19.2",
|
|
153
144
|
"react-dom": "^19.2",
|
|
154
|
-
"react-is": "^19.2",
|
|
155
145
|
"react-router-dom": "^7.15",
|
|
156
|
-
"recharts": "~3.8",
|
|
157
146
|
"spark-md5": "~3.0",
|
|
158
147
|
"viem": "^2.48",
|
|
159
|
-
"wasm-feature-detect": "~1.8",
|
|
160
148
|
"zod": "^4.4",
|
|
161
149
|
"zustand": "~5.0"
|
|
162
150
|
},
|