@xyo-network/react-schema-plugin 10.0.4 → 10.0.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.
@@ -1,3 +1,2 @@
1
- export * from './Plugin.ts';
2
- export { SchemaRenderPlugin as default } from './Plugin.ts';
1
+ export * from '@xyo-network/react-plugins/schema-plugin';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,0CAA0C,CAAA"}
@@ -1,22 +1,3 @@
1
- // src/Plugin.ts
2
- import { createPayloadRenderPlugin } from "@xyo-network/react-payload-plugin";
3
- import { SchemaSchema } from "@xyo-network/sdk";
4
-
5
- // src/Details.tsx
6
- import { PayloadDetails } from "@xyo-network/react-payload-details";
7
- import { jsx } from "react/jsx-runtime";
8
- var DetailsBox = (props) => {
9
- return /* @__PURE__ */ jsx(PayloadDetails, { ...props });
10
- };
11
-
12
- // src/Plugin.ts
13
- var SchemaRenderPlugin = createPayloadRenderPlugin({
14
- canRender: (payload) => payload?.schema === SchemaSchema,
15
- components: { box: { details: DetailsBox } },
16
- name: "Schema"
17
- });
18
- export {
19
- SchemaRenderPlugin,
20
- SchemaRenderPlugin as default
21
- };
1
+ // src/index.ts
2
+ export * from "@xyo-network/react-plugins/schema-plugin";
22
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 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'\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
- "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;",
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["// Compatibility shim: this package re-exports from @xyo-network/react-plugins.\nexport * from '@xyo-network/react-plugins/schema-plugin'\n"],
5
+ "mappings": ";AACA,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.4",
3
+ "version": "10.0.6",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -41,105 +41,159 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@xyo-network/react-payload-details": "~10.0.4",
45
- "@xyo-network/react-payload-plugin": "~10.0.4"
44
+ "@xyo-network/react-plugins": "~10.0.6"
46
45
  },
47
46
  "devDependencies": {
48
- "@ariestools/sdk": "^7.0.5",
49
- "@ariestools/sdk-react": "^10.0.2",
47
+ "@ariestools/eth-address": "~8.0.2",
48
+ "@ariestools/pixel": "~8.0.2",
49
+ "@ariestools/sdk": "~8.0.2",
50
+ "@ariestools/sdk-react": "~11.0.0",
51
+ "@ariestools/threads": "~8.0.2",
50
52
  "@bitauth/libauth": "~3.0.0",
53
+ "@metamask/providers": "~22.1.1",
54
+ "@mui/icons-material": "~9.2.0",
55
+ "@mui/material": "~9.2.0",
56
+ "@mui/system": "~9.2.0",
57
+ "@mui/x-tree-view": "~9.8.0",
58
+ "@noble/post-quantum": "~0.6.1",
59
+ "@opentelemetry/api": "~1.9.1",
60
+ "@opentelemetry/sdk-trace-base": "~2.9.0",
61
+ "@react-spring/web": "~10.1.2",
62
+ "@scure/base": "~2.2.0",
63
+ "@scure/bip39": "~2.2.0",
64
+ "@types/react": "~19.2.17",
65
+ "@xylabs/toolchain": "~8.6.8",
66
+ "@xylabs/tsconfig": "~8.6.8",
67
+ "@xylabs/tsconfig-dom": "~8.6.8",
68
+ "@xylabs/tsconfig-react": "~8.6.8",
69
+ "@xyo-network/advertising-payload-plugins": "~7.0.2",
70
+ "@xyo-network/archivist-storage": "~7.0.9",
71
+ "@xyo-network/blocknative-ethereum-gas-payload-plugin": "~7.0.3",
72
+ "@xyo-network/crypto-asset-payload-plugin": "~7.0.3",
73
+ "@xyo-network/crypto-nft-payload-plugin": "~7.0.3",
74
+ "@xyo-network/diviner-address-history-model": "~7.0.9",
75
+ "@xyo-network/diviner-hash-lease": "~7.0.9",
76
+ "@xyo-network/diviner-huri": "~7.0.9",
77
+ "@xyo-network/diviner-schema-list": "~7.0.10",
78
+ "@xyo-network/diviner-schema-stats": "~7.0.10",
79
+ "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "~7.0.3",
80
+ "@xyo-network/ethers-ethereum-gas-payload-plugin": "~7.0.3",
81
+ "@xyo-network/etherscan-ethereum-gas-payload-plugin": "~7.0.3",
82
+ "@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "~7.0.3",
83
+ "@xyo-network/location-payload-plugin": "~7.0.3",
84
+ "@xyo-network/node-core-types": "~4.2.2",
85
+ "@xyo-network/sdk": "~7.0.10",
86
+ "@xyo-network/sdk-geo": "~3.0.3",
87
+ "@xyo-network/sdk-protocol": "~7.0.15",
88
+ "@xyo-network/typeof": "~5.3.30",
89
+ "@xyo-network/xns-record-payloadset-plugins": "~7.0.2",
90
+ "ajv": "~8.20.0",
91
+ "async-mutex": "~0.5.0",
92
+ "axios": "~1.18.1",
93
+ "card-validator": "~10.0.4",
94
+ "chart.js": "~4.5.1",
95
+ "chartjs-adapter-luxon": "~1.3.1",
96
+ "clsx": "~2.1.1",
97
+ "debug": "~4.4.3",
98
+ "eslint": "~10.6.0",
99
+ "ethers": "~6.17.0",
100
+ "hash-wasm": "~4.12.0",
101
+ "idb": "~8.0.3",
102
+ "jsonpath-plus": "~10.4.0",
103
+ "lru-cache": "~11.5.1",
104
+ "luxon": "~3.7.2",
105
+ "mapbox-gl": "~3.25.0",
106
+ "md5": "~2.3.0",
107
+ "numeral": "~2.0.6",
108
+ "observable-fns": "~0.6.1",
109
+ "query-string": "~9.4.1",
110
+ "react": "~19.2.7",
111
+ "react-chartjs-2": "~5.3.1",
112
+ "react-dom": "~19.2.7",
113
+ "react-icons": "~5.7.0",
114
+ "react-router-dom": "~7.18.1",
115
+ "rollbar": "~3.1.0",
116
+ "store2": "~2.14.4",
117
+ "typescript": "~6.0.3",
118
+ "viem": "~2.54.6",
119
+ "webextension-polyfill": "~0.12.0",
120
+ "zod": "~4.4.3",
121
+ "zustand": "~5.0.14"
122
+ },
123
+ "peerDependencies": {
124
+ "@ariestools/eth-address": "^8.0.2",
125
+ "@ariestools/pixel": "^8.0.2",
126
+ "@ariestools/sdk": "^8.0.2",
127
+ "@ariestools/sdk-react": "^11.0.0",
128
+ "@ariestools/threads": "^8.0.2",
129
+ "@bitauth/libauth": "^3.0.0",
130
+ "@metamask/providers": "^22.1.1",
51
131
  "@mui/icons-material": "^9.2.0",
52
132
  "@mui/material": "^9.2.0",
53
133
  "@mui/system": "^9.2.0",
54
- "@mui/x-tree-view": "~9.8.0",
55
- "@noble/post-quantum": "~0.6.1",
134
+ "@mui/x-tree-view": "^9.8.0",
135
+ "@noble/post-quantum": "^0.6.1",
56
136
  "@opentelemetry/api": "^1.9.1",
57
137
  "@opentelemetry/sdk-trace-base": "^2.9.0",
58
138
  "@react-spring/web": "^10.1.2",
59
- "@scure/base": "~2.2.0",
60
- "@scure/bip39": "~2.2.0",
139
+ "@scure/base": "^2.2.0",
140
+ "@scure/bip39": "^2.2.0",
61
141
  "@types/react": "^19.2.17",
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",
72
- "@xyo-network/node-core-types": "~4.2.2",
73
- "@xyo-network/sdk": "^7.0.7",
74
- "@xyo-network/sdk-protocol": "^7.0.12",
75
- "@xyo-network/typeof": "~5.3.30",
142
+ "@xyo-network/advertising-payload-plugins": "^7.0.2",
143
+ "@xyo-network/archivist-storage": "^7.0.9",
144
+ "@xyo-network/blocknative-ethereum-gas-payload-plugin": "^7.0.3",
145
+ "@xyo-network/crypto-asset-payload-plugin": "^7.0.3",
146
+ "@xyo-network/crypto-nft-payload-plugin": "^7.0.3",
147
+ "@xyo-network/diviner-address-history-model": "^7.0.9",
148
+ "@xyo-network/diviner-hash-lease": "^7.0.9",
149
+ "@xyo-network/diviner-huri": "^7.0.9",
150
+ "@xyo-network/diviner-schema-list": "^7.0.10",
151
+ "@xyo-network/diviner-schema-stats": "^7.0.10",
152
+ "@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "^7.0.3",
153
+ "@xyo-network/ethers-ethereum-gas-payload-plugin": "^7.0.3",
154
+ "@xyo-network/etherscan-ethereum-gas-payload-plugin": "^7.0.3",
155
+ "@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^7.0.3",
156
+ "@xyo-network/location-payload-plugin": "^7.0.3",
157
+ "@xyo-network/node-core-types": "^4.2.2",
158
+ "@xyo-network/sdk": "^7.0.10",
159
+ "@xyo-network/sdk-geo": "^3.0.3",
160
+ "@xyo-network/sdk-protocol": "^7.0.15",
161
+ "@xyo-network/typeof": "^5.3.30",
162
+ "@xyo-network/xns-record-payloadset-plugins": "^7.0.2",
76
163
  "ajv": "^8.20.0",
77
164
  "async-mutex": "^0.5.0",
165
+ "axios": "^1.18.1",
166
+ "card-validator": "^10.0.4",
167
+ "chart.js": "^4.5.1",
168
+ "chartjs-adapter-luxon": "^1.3.1",
78
169
  "clsx": "^2.1.1",
79
170
  "debug": "^4.4.3",
80
- "eslint": "^10.6.0",
81
171
  "ethers": "^6.17.0",
82
- "hash-wasm": "~4.12.0",
172
+ "hash-wasm": "^4.12.0",
83
173
  "idb": "^8.0.3",
174
+ "jsonpath-plus": "^10.4.0",
84
175
  "lru-cache": "^11.5.1",
176
+ "luxon": "^3.7.2",
177
+ "mapbox-gl": "^3.25.0",
85
178
  "md5": "^2.3.0",
86
179
  "numeral": "^2.0.6",
87
180
  "observable-fns": "^0.6.1",
88
181
  "query-string": "^9.4.1",
89
182
  "react": "^19.2.7",
183
+ "react-chartjs-2": "^5.3.1",
90
184
  "react-dom": "^19.2.7",
185
+ "react-icons": "^5.7.0",
91
186
  "react-router-dom": "^7.18.1",
92
- "typescript": "^6.0.3",
93
- "viem": "^2.54.2",
187
+ "rollbar": "^3.1.0",
188
+ "store2": "^2.14.4",
189
+ "viem": "^2.54.6",
190
+ "webextension-polyfill": "^0.12.0",
94
191
  "zod": "^4.4.3",
95
192
  "zustand": "^5.0.14"
96
193
  },
97
- "peerDependencies": {
98
- "@ariestools/sdk": "^7.0",
99
- "@ariestools/sdk-react": "^10.0",
100
- "@bitauth/libauth": "~3.0",
101
- "@mui/icons-material": "^9.0",
102
- "@mui/material": "^9.0",
103
- "@mui/system": "^9.0",
104
- "@mui/x-tree-view": "~9.8",
105
- "@noble/post-quantum": "~0.6.1",
106
- "@opentelemetry/api": "^1.9",
107
- "@opentelemetry/sdk-trace-base": "^2.7",
108
- "@react-spring/web": "^10.1",
109
- "@scure/base": "~2.2",
110
- "@scure/bip39": "~2.2",
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",
116
- "@xyo-network/diviner-schema-list": "^7.0",
117
- "@xyo-network/diviner-schema-stats": "^7.0",
118
- "@xyo-network/node-core-types": "~4.2",
119
- "@xyo-network/sdk": "*",
120
- "@xyo-network/sdk-protocol": "^7.0",
121
- "@xyo-network/typeof": "~5.3",
122
- "ajv": "^8.20",
123
- "async-mutex": "^0.5",
124
- "clsx": "^2.1",
125
- "debug": "^4.4",
126
- "ethers": "^6.16",
127
- "hash-wasm": "~4.12",
128
- "idb": "^8.0",
129
- "lru-cache": "^11.3",
130
- "md5": "^2.3",
131
- "numeral": "^2.0",
132
- "observable-fns": "~0.6",
133
- "query-string": "^9.4",
134
- "react": "^19.2",
135
- "react-dom": "^19.2",
136
- "react-router-dom": "^7.15",
137
- "viem": "^2.48",
138
- "zod": "^4.4",
139
- "zustand": "^5.0"
140
- },
141
194
  "publishConfig": {
142
195
  "access": "public"
143
196
  },
197
+ "deprecated": "Use @xyo-network/react-plugins/schema-plugin instead. Replace @xyo-network/react-schema-plugin with @xyo-network/react-plugins/schema-plugin. This package is a compatibility shim only and will not receive further updates.",
144
198
  "docs": "dist/docs.json"
145
199
  }
@@ -1,5 +0,0 @@
1
- import type { FlexBoxProps } from '@ariestools/sdk-react/flexbox';
2
- import type { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
3
- import React from 'react';
4
- export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
5
- //# sourceMappingURL=Details.d.ts.map
@@ -1 +0,0 @@
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,3 +0,0 @@
1
- import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
2
- export declare const SchemaRenderPlugin: PayloadRenderPlugin;
3
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAO5E,eAAO,MAAM,kBAAkB,EAAE,mBAI/B,CAAA"}