bw-frontend-sdk 1.2.6 → 1.2.8
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/README.md +3 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -201,8 +201,9 @@ const config = {
|
|
|
201
201
|
|
|
202
202
|
// 上报配置
|
|
203
203
|
reportUrl: 'https://api.com/report', // 上报地址
|
|
204
|
-
reportInterval:
|
|
205
|
-
|
|
204
|
+
// reportInterval: 0, // 默认:立即上报
|
|
205
|
+
// reportInterval: 5000, // 可选:5 秒批量上报
|
|
206
|
+
maxQueueSize: 100, // 最大队列大小
|
|
206
207
|
|
|
207
208
|
// 错误追踪配置
|
|
208
209
|
enableErrorTracking: true, // 启用错误追踪
|