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.
- package/lib/plugins/index.cjs +4 -2
- package/lib/plugins/index.mjs +4 -2
- package/package.json +1 -1
package/lib/plugins/index.cjs
CHANGED
|
@@ -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(`
|
package/lib/plugins/index.mjs
CHANGED
|
@@ -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(`
|