@blueking/open-telemetry 0.0.7 → 0.0.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.
@@ -2,7 +2,7 @@ import type { ResolvedRumPluginConfig } from '../core/config';
2
2
  import type { BkOTPlugin } from '../core/plugin';
3
3
  /**
4
4
  * CSP 违规事件采集插件,通过监听 `securitypolicyviolation` 事件捕获被 CSP 策略拦截的脚本/资源,
5
- * 以 WARN 级别 log 上报,便于排查 CSP 配置错误或潜在的注入攻击信号。
5
+ * 以 error span 上报,进入统一错误分析口径。
6
6
  *
7
7
  * 节流策略:
8
8
  * - 同 fingerprint(`violatedDirective + blockedURI + sourceFile + lineNumber`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/open-telemetry",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "OpenTelemetry browser SDK for BK RUM",
5
5
  "author": "TencentCloud Real User Monitoring",
6
6
  "main": "dist/index.js",