@xyo-network/react-schema-plugin 10.0.2 → 10.0.4

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,4 +1,4 @@
1
- import type { FlexBoxProps } from '@xylabs/react-flexbox';
1
+ import type { FlexBoxProps } from '@ariestools/sdk-react/flexbox';
2
2
  import type { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
3
3
  import React from 'react';
4
4
  export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
1
+ {"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAEjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
@@ -1,6 +1,6 @@
1
1
  // src/Plugin.ts
2
2
  import { createPayloadRenderPlugin } from "@xyo-network/react-payload-plugin";
3
- import { SchemaSchema } from "@xyo-network/sdk-js";
3
+ import { SchemaSchema } from "@xyo-network/sdk";
4
4
 
5
5
  // src/Details.tsx
6
6
  import { PayloadDetails } from "@xyo-network/react-payload-details";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Plugin.ts", "../../src/Details.tsx"],
4
- "sourcesContent": ["import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { createPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport type { Payload } from '@xyo-network/sdk-js'\nimport { SchemaSchema } from '@xyo-network/sdk-js'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: { box: { details: DetailsBox } },\n name: 'Schema',\n})\n", "import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport type { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],
4
+ "sourcesContent": ["import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { createPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport type { Payload } from '@xyo-network/sdk'\nimport { SchemaSchema } from '@xyo-network/sdk'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: { box: { details: DetailsBox } },\n name: 'Schema',\n})\n", "import type { FlexBoxProps } from '@ariestools/sdk-react/flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport type { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],
5
5
  "mappings": ";AACA,SAAS,iCAAiC;AAE1C,SAAS,oBAAoB;;;ACF7B,SAAS,sBAAsB;AAKtB;AADF,IAAM,aAA0D,CAAC,UAAU;AAChF,SAAO,oBAAC,kBAAgB,GAAG,OAAO;AACpC;;;ADAO,IAAM,qBAA0C,0BAA0B;AAAA,EAC/E,WAAW,CAAC,YAAsB,SAAS,WAAW;AAAA,EACtD,YAAY,EAAE,KAAK,EAAE,SAAS,WAAW,EAAE;AAAA,EAC3C,MAAM;AACR,CAAC;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-schema-plugin",
3
- "version": "10.0.2",
3
+ "version": "10.0.4",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -41,127 +41,102 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@xyo-network/react-payload-plugin": "~10.0.2",
45
- "@xyo-network/react-payload-details": "~10.0.2"
44
+ "@xyo-network/react-payload-details": "~10.0.4",
45
+ "@xyo-network/react-payload-plugin": "~10.0.4"
46
46
  },
47
47
  "devDependencies": {
48
+ "@ariestools/sdk": "^7.0.5",
49
+ "@ariestools/sdk-react": "^10.0.2",
48
50
  "@bitauth/libauth": "~3.0.0",
49
- "@metamask/providers": "^22.1.1",
50
- "@mui/icons-material": "^9.1.1",
51
- "@mui/material": "^9.1.2",
52
- "@mui/system": "^9.1.2",
53
- "@mui/x-tree-view": "~9.6",
51
+ "@mui/icons-material": "^9.2.0",
52
+ "@mui/material": "^9.2.0",
53
+ "@mui/system": "^9.2.0",
54
+ "@mui/x-tree-view": "~9.8.0",
54
55
  "@noble/post-quantum": "~0.6.1",
55
56
  "@opentelemetry/api": "^1.9.1",
56
- "@opentelemetry/sdk-trace-base": "^2.8.0",
57
- "@react-spring/web": "~10.1.1",
57
+ "@opentelemetry/sdk-trace-base": "^2.9.0",
58
+ "@react-spring/web": "^10.1.2",
58
59
  "@scure/base": "~2.2.0",
59
60
  "@scure/bip39": "~2.2.0",
60
61
  "@types/react": "^19.2.17",
61
- "@xylabs/eth-address": "^6.1.4",
62
- "@xylabs/geo": "^6.1.4",
63
- "@xylabs/pixel": "^6.1.4",
64
- "@xylabs/react-async-effect": "^9.1.2",
65
- "@xylabs/react-button": "^9.1.2",
66
- "@xylabs/react-flexbox": "^9.1.2",
67
- "@xylabs/react-hooks": "^9.1.2",
68
- "@xylabs/react-identicon": "^9.1.2",
69
- "@xylabs/react-link": "^9.1.2",
70
- "@xylabs/react-promise": "^9.1.2",
71
- "@xylabs/react-quick-tip-button": "^9.1.2",
72
- "@xylabs/react-select": "^9.1.2",
73
- "@xylabs/react-shared": "^9.1.2",
74
- "@xylabs/react-theme": "^9.1.2",
75
- "@xylabs/sdk-js": "^6.1.4",
76
- "@xylabs/sdk-react": "~9.1.2",
77
- "@xylabs/threads": "^6.1.4",
78
- "@xylabs/toolchain": "~8.3.0",
79
- "@xylabs/tsconfig": "^8.3.0",
80
- "@xylabs/tsconfig-dom": "^8.3.0",
81
- "@xylabs/tsconfig-react": "~8.3.0",
82
- "@xyo-network/diviner-schema-list": "~7.0",
83
- "@xyo-network/diviner-schema-stats": "~7.0",
62
+ "@xylabs/eth-address": "^7.0.5",
63
+ "@xylabs/geo": "^7.0.5",
64
+ "@xylabs/pixel": "^7.0.5",
65
+ "@xylabs/threads": "^7.0.5",
66
+ "@xylabs/toolchain": "~8.5.15",
67
+ "@xylabs/tsconfig": "^8.5.15",
68
+ "@xylabs/tsconfig-dom": "^8.5.15",
69
+ "@xylabs/tsconfig-react": "~8.5.15",
70
+ "@xyo-network/diviner-schema-list": "^7.0.7",
71
+ "@xyo-network/diviner-schema-stats": "^7.0.7",
84
72
  "@xyo-network/node-core-types": "~4.2.2",
85
- "@xyo-network/sdk-js": "~7.0",
86
- "@xyo-network/sdk-protocol-js": "~7.0",
73
+ "@xyo-network/sdk": "^7.0.7",
74
+ "@xyo-network/sdk-protocol": "^7.0.12",
87
75
  "@xyo-network/typeof": "~5.3.30",
88
76
  "ajv": "^8.20.0",
89
77
  "async-mutex": "^0.5.0",
90
- "clsx": "~2.1.1",
91
- "debug": "~4.4.3",
92
- "eslint": "^10.5.0",
78
+ "clsx": "^2.1.1",
79
+ "debug": "^4.4.3",
80
+ "eslint": "^10.6.0",
93
81
  "ethers": "^6.17.0",
94
82
  "hash-wasm": "~4.12.0",
95
83
  "idb": "^8.0.3",
96
84
  "lru-cache": "^11.5.1",
97
- "md5": "~2.3.0",
98
- "numeral": "~2.0.6",
99
- "observable-fns": "~0.6.1",
100
- "query-string": "~9.4.0",
85
+ "md5": "^2.3.0",
86
+ "numeral": "^2.0.6",
87
+ "observable-fns": "^0.6.1",
88
+ "query-string": "^9.4.1",
101
89
  "react": "^19.2.7",
102
90
  "react-dom": "^19.2.7",
103
- "react-router-dom": "^7.18.0",
91
+ "react-router-dom": "^7.18.1",
104
92
  "typescript": "^6.0.3",
105
- "viem": "^2.53.1",
106
- "webextension-polyfill": "^0.12.0",
93
+ "viem": "^2.54.2",
107
94
  "zod": "^4.4.3",
108
- "zustand": "~5.0.14"
95
+ "zustand": "^5.0.14"
109
96
  },
110
97
  "peerDependencies": {
98
+ "@ariestools/sdk": "^7.0",
99
+ "@ariestools/sdk-react": "^10.0",
111
100
  "@bitauth/libauth": "~3.0",
112
- "@metamask/providers": "^22.1",
113
101
  "@mui/icons-material": "^9.0",
114
102
  "@mui/material": "^9.0",
115
103
  "@mui/system": "^9.0",
116
- "@mui/x-tree-view": "~9.6",
104
+ "@mui/x-tree-view": "~9.8",
117
105
  "@noble/post-quantum": "~0.6.1",
118
106
  "@opentelemetry/api": "^1.9",
119
107
  "@opentelemetry/sdk-trace-base": "^2.7",
120
- "@react-spring/web": "~10.1",
108
+ "@react-spring/web": "^10.1",
121
109
  "@scure/base": "~2.2",
122
110
  "@scure/bip39": "~2.2",
123
- "@xylabs/eth-address": "^6.1.0",
124
- "@xylabs/geo": "^6.0",
125
- "@xylabs/pixel": "^6.1",
126
- "@xylabs/react-async-effect": "^9.1",
127
- "@xylabs/react-button": "^9.1",
128
- "@xylabs/react-flexbox": "^9.1",
129
- "@xylabs/react-hooks": "^9.1",
130
- "@xylabs/react-identicon": "^9.1",
131
- "@xylabs/react-link": "^9.1",
132
- "@xylabs/react-promise": "^9.1",
133
- "@xylabs/react-quick-tip-button": "^9.1",
134
- "@xylabs/react-select": "^9.1",
135
- "@xylabs/react-shared": "^9.1",
136
- "@xylabs/react-theme": "^9.1",
137
- "@xylabs/sdk-js": "^6.0",
138
- "@xylabs/sdk-react": "^9.1",
139
- "@xylabs/threads": "^6.0",
111
+ "@types/react": "^19.2",
112
+ "@xylabs/eth-address": "^7.0",
113
+ "@xylabs/geo": "^7.0",
114
+ "@xylabs/pixel": "^7.0",
115
+ "@xylabs/threads": "^7.0",
140
116
  "@xyo-network/diviner-schema-list": "^7.0",
141
117
  "@xyo-network/diviner-schema-stats": "^7.0",
142
118
  "@xyo-network/node-core-types": "~4.2",
143
- "@xyo-network/sdk-js": "^7.0",
144
- "@xyo-network/sdk-protocol-js": "^7.0",
119
+ "@xyo-network/sdk": "*",
120
+ "@xyo-network/sdk-protocol": "^7.0",
145
121
  "@xyo-network/typeof": "~5.3",
146
122
  "ajv": "^8.20",
147
123
  "async-mutex": "^0.5",
148
- "clsx": "~2.1",
149
- "debug": "~4.4",
124
+ "clsx": "^2.1",
125
+ "debug": "^4.4",
150
126
  "ethers": "^6.16",
151
127
  "hash-wasm": "~4.12",
152
128
  "idb": "^8.0",
153
129
  "lru-cache": "^11.3",
154
- "md5": "~2.3",
155
- "numeral": "~2.0",
130
+ "md5": "^2.3",
131
+ "numeral": "^2.0",
156
132
  "observable-fns": "~0.6",
157
- "query-string": "~9.4",
133
+ "query-string": "^9.4",
158
134
  "react": "^19.2",
159
135
  "react-dom": "^19.2",
160
136
  "react-router-dom": "^7.15",
161
137
  "viem": "^2.48",
162
- "webextension-polyfill": "^0.12",
163
138
  "zod": "^4.4",
164
- "zustand": "~5.0"
139
+ "zustand": "^5.0"
165
140
  },
166
141
  "publishConfig": {
167
142
  "access": "public"