@xyo-network/react-schema-plugin 10.0.5 → 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.5",
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,8 +41,7 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@xyo-network/react-payload-plugin": "~10.0.5",
45
- "@xyo-network/react-payload-details": "~10.0.5"
44
+ "@xyo-network/react-plugins": "~10.0.6"
46
45
  },
47
46
  "devDependencies": {
48
47
  "@ariestools/eth-address": "~8.0.2",
@@ -63,35 +62,60 @@
63
62
  "@scure/base": "~2.2.0",
64
63
  "@scure/bip39": "~2.2.0",
65
64
  "@types/react": "~19.2.17",
66
- "@xylabs/toolchain": "~8.6.6",
67
- "@xylabs/tsconfig": "~8.6.6",
68
- "@xylabs/tsconfig-dom": "~8.6.6",
69
- "@xylabs/tsconfig-react": "~8.6.6",
70
- "@xyo-network/diviner-schema-list": "~7.0.9",
71
- "@xyo-network/diviner-schema-stats": "~7.0.9",
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",
72
84
  "@xyo-network/node-core-types": "~4.2.2",
73
- "@xyo-network/sdk": "~7.0.9",
74
- "@xyo-network/sdk-protocol": "~7.0.14",
85
+ "@xyo-network/sdk": "~7.0.10",
86
+ "@xyo-network/sdk-geo": "~3.0.3",
87
+ "@xyo-network/sdk-protocol": "~7.0.15",
75
88
  "@xyo-network/typeof": "~5.3.30",
89
+ "@xyo-network/xns-record-payloadset-plugins": "~7.0.2",
76
90
  "ajv": "~8.20.0",
77
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",
78
96
  "clsx": "~2.1.1",
79
97
  "debug": "~4.4.3",
80
98
  "eslint": "~10.6.0",
81
99
  "ethers": "~6.17.0",
82
100
  "hash-wasm": "~4.12.0",
83
101
  "idb": "~8.0.3",
102
+ "jsonpath-plus": "~10.4.0",
84
103
  "lru-cache": "~11.5.1",
104
+ "luxon": "~3.7.2",
105
+ "mapbox-gl": "~3.25.0",
85
106
  "md5": "~2.3.0",
86
107
  "numeral": "~2.0.6",
87
108
  "observable-fns": "~0.6.1",
88
109
  "query-string": "~9.4.1",
89
110
  "react": "~19.2.7",
111
+ "react-chartjs-2": "~5.3.1",
90
112
  "react-dom": "~19.2.7",
113
+ "react-icons": "~5.7.0",
91
114
  "react-router-dom": "~7.18.1",
92
115
  "rollbar": "~3.1.0",
116
+ "store2": "~2.14.4",
93
117
  "typescript": "~6.0.3",
94
- "viem": "~2.54.3",
118
+ "viem": "~2.54.6",
95
119
  "webextension-polyfill": "~0.12.0",
96
120
  "zod": "~4.4.3",
97
121
  "zustand": "~5.0.14"
@@ -115,29 +139,54 @@
115
139
  "@scure/base": "^2.2.0",
116
140
  "@scure/bip39": "^2.2.0",
117
141
  "@types/react": "^19.2.17",
118
- "@xyo-network/diviner-schema-list": "^7.0.9",
119
- "@xyo-network/diviner-schema-stats": "^7.0.9",
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",
120
157
  "@xyo-network/node-core-types": "^4.2.2",
121
- "@xyo-network/sdk": "^7.0.9",
122
- "@xyo-network/sdk-protocol": "^7.0.14",
158
+ "@xyo-network/sdk": "^7.0.10",
159
+ "@xyo-network/sdk-geo": "^3.0.3",
160
+ "@xyo-network/sdk-protocol": "^7.0.15",
123
161
  "@xyo-network/typeof": "^5.3.30",
162
+ "@xyo-network/xns-record-payloadset-plugins": "^7.0.2",
124
163
  "ajv": "^8.20.0",
125
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",
126
169
  "clsx": "^2.1.1",
127
170
  "debug": "^4.4.3",
128
171
  "ethers": "^6.17.0",
129
172
  "hash-wasm": "^4.12.0",
130
173
  "idb": "^8.0.3",
174
+ "jsonpath-plus": "^10.4.0",
131
175
  "lru-cache": "^11.5.1",
176
+ "luxon": "^3.7.2",
177
+ "mapbox-gl": "^3.25.0",
132
178
  "md5": "^2.3.0",
133
179
  "numeral": "^2.0.6",
134
180
  "observable-fns": "^0.6.1",
135
181
  "query-string": "^9.4.1",
136
182
  "react": "^19.2.7",
183
+ "react-chartjs-2": "^5.3.1",
137
184
  "react-dom": "^19.2.7",
185
+ "react-icons": "^5.7.0",
138
186
  "react-router-dom": "^7.18.1",
139
187
  "rollbar": "^3.1.0",
140
- "viem": "^2.54.3",
188
+ "store2": "^2.14.4",
189
+ "viem": "^2.54.6",
141
190
  "webextension-polyfill": "^0.12.0",
142
191
  "zod": "^4.4.3",
143
192
  "zustand": "^5.0.14"
@@ -145,5 +194,6 @@
145
194
  "publishConfig": {
146
195
  "access": "public"
147
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.",
148
198
  "docs": "dist/docs.json"
149
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"}