@xysfe/bug-tap 0.1.1 → 0.1.2

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,5 +1,5 @@
1
1
  import { getCssSelector as kr } from "css-selector-generator";
2
- /*! @xysfe/bug-tap v0.1.1 | MIT */
2
+ /*! @xysfe/bug-tap v0.1.2 | MIT */
3
3
  const Z = [
4
4
  "x-request-id",
5
5
  "x-trace-id",
@@ -2265,7 +2265,7 @@ function Ki(e) {
2265
2265
  extra: ut(e.extra),
2266
2266
  contexts: ut(e.contexts),
2267
2267
  timestamp: Date.now(),
2268
- sdkVersion: "0.1.1",
2268
+ sdkVersion: "0.1.2",
2269
2269
  clientReportId: e.clientReportId || Vi()
2270
2270
  };
2271
2271
  return tn(c);
@@ -2475,6 +2475,9 @@ function yn(e, t) {
2475
2475
  return {
2476
2476
  project: e.project,
2477
2477
  environment: e.environment,
2478
+ // libVersion 是与 xys-util RealTimeReport 打通用的字段名:
2479
+ // 日志平台按它区分「日志来自哪个上报库」,与 sdkVersion 同值,保留两个名字
2480
+ libVersion: e.sdkVersion,
2478
2481
  sdkVersion: e.sdkVersion,
2479
2482
  clientReportId: e.clientReportId,
2480
2483
  release: e.release,
@@ -4383,7 +4386,7 @@ class Er {
4383
4386
  if (this.panel) return Promise.resolve(this.panel);
4384
4387
  this.host || this.mountFab();
4385
4388
  const t = this.host;
4386
- return t ? import("./panel-mount-BOOHHmMb.js").then(
4389
+ return t ? import("./panel-mount-39UeybHJ.js").then(
4387
4390
  (r) => new r.ReporterPanel({
4388
4391
  onSubmit: (i, n, s) => this.submit(i, n, s),
4389
4392
  onCapture: () => this.capture(),
@@ -4539,7 +4542,7 @@ function $(e, t) {
4539
4542
  }
4540
4543
  return !0;
4541
4544
  }
4542
- const ys = "0.1.1";
4545
+ const ys = "0.1.2";
4543
4546
  let f = null;
4544
4547
  function ws(e) {
4545
4548
  if (typeof window == "undefined") return null;
@@ -4682,4 +4685,4 @@ export {
4682
4685
  ps as r,
4683
4686
  ys as v
4684
4687
  };
4685
- //# sourceMappingURL=index-D_ygxzgY.js.map
4688
+ //# sourceMappingURL=index-CyYSr1VU.js.map