g-ui-web 1.4.46 → 1.4.47

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.
@@ -255,9 +255,11 @@ function componentUsagePlugin(options = {}) {
255
255
  const response = await fetch(reportUrl, {
256
256
  method: "POST",
257
257
  headers: {
258
- "Content-Type": "application/json"
258
+ "Content-Type": "application/json",
259
+ "gt-token": "9097b42a-74db-48cb-92f1-f5b3fac5adf9",
260
+ "syscode": "matrix"
259
261
  },
260
- body: JSON.stringify(reportData)
262
+ body: JSON.stringify({ prefix: "guiUsage", value: reportData })
261
263
  });
262
264
  if (response.ok) {
263
265
  console.log(`
@@ -229,9 +229,11 @@ function componentUsagePlugin(options = {}) {
229
229
  const response = await fetch(reportUrl, {
230
230
  method: "POST",
231
231
  headers: {
232
- "Content-Type": "application/json"
232
+ "Content-Type": "application/json",
233
+ "gt-token": "9097b42a-74db-48cb-92f1-f5b3fac5adf9",
234
+ "syscode": "matrix"
233
235
  },
234
- body: JSON.stringify(reportData)
236
+ body: JSON.stringify({ prefix: "guiUsage", value: reportData })
235
237
  });
236
238
  if (response.ok) {
237
239
  console.log(`
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "g-ui-web",
3
3
  "private": false,
4
4
  "description": "可视化组件库",
5
- "version": "1.4.46",
5
+ "version": "1.4.47",
6
6
  "author": "wyu",
7
7
  "license": "MIT",
8
8
  "type": "module",