@xysfe/bug-tap 0.1.0 → 0.1.1

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.0 | MIT */
2
+ /*! @xysfe/bug-tap v0.1.1 | MIT */
3
3
  const Z = [
4
4
  "x-request-id",
5
5
  "x-trace-id",
@@ -74,7 +74,7 @@ function Br(e) {
74
74
  function Ir(e, t, r) {
75
75
  return !(t.length > 0 && (!e || !t.some((i) => _(i, e))) || e && r.some((i) => _(i, e)));
76
76
  }
77
- const $r = /\.(?:js|css|map|png|jpe?g|gif|svg|webp|ico|bmp|woff2?|ttf|eot|otf|mp4|webm|mp3|wav|ogg|avi|mov|zip|gz|pdf)(?:[?#]|$)/i, Or = [$r], ke = "/go/SupportTools/logreport", Ce = "/platform/file/uploadPicture", Le = "1008";
77
+ const $r = /\.(?:js|css|map|png|jpe?g|gif|svg|webp|ico|bmp|woff2?|ttf|eot|otf|mp4|webm|mp3|wav|ogg|avi|mov|zip|gz|pdf)(?:[?#]|$)/i, Or = [$r], ke = "/go/SupportTools/logreport", Ce = "/platform/file/uploadPicture", Le = "1086";
78
78
  function _r(e) {
79
79
  return (String(e != null ? e : "").trim() || ke).replace(/\/+$/, "") || ke;
80
80
  }
@@ -230,7 +230,7 @@ function it(e) {
230
230
  upload: {
231
231
  enabled: ((we = e.upload) == null ? void 0 : we.enabled) !== !1,
232
232
  url: String(((ve = e.upload) == null ? void 0 : ve.url) || Ce).trim() || Ce,
233
- // 上传接口必须带业务类型,未显式配置时用默认值 1008
233
+ // 上传接口必须带业务类型,未显式配置时用默认值 1086
234
234
  bizId: String((Ee = (xe = e.upload) == null ? void 0 : xe.bizId) != null ? Ee : Le).trim() || Le,
235
235
  timeoutMs: y((Se = e.upload) == null ? void 0 : Se.timeoutMs, 1e3, 12e4, 3e4)
236
236
  }
@@ -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.0",
2268
+ sdkVersion: "0.1.1",
2269
2269
  clientReportId: e.clientReportId || Vi()
2270
2270
  };
2271
2271
  return tn(c);
@@ -4383,7 +4383,7 @@ class Er {
4383
4383
  if (this.panel) return Promise.resolve(this.panel);
4384
4384
  this.host || this.mountFab();
4385
4385
  const t = this.host;
4386
- return t ? import("./panel-mount-mAOg572s.js").then(
4386
+ return t ? import("./panel-mount-BOOHHmMb.js").then(
4387
4387
  (r) => new r.ReporterPanel({
4388
4388
  onSubmit: (i, n, s) => this.submit(i, n, s),
4389
4389
  onCapture: () => this.capture(),
@@ -4539,7 +4539,7 @@ function $(e, t) {
4539
4539
  }
4540
4540
  return !0;
4541
4541
  }
4542
- const ys = "0.1.0";
4542
+ const ys = "0.1.1";
4543
4543
  let f = null;
4544
4544
  function ws(e) {
4545
4545
  if (typeof window == "undefined") return null;
@@ -4682,4 +4682,4 @@ export {
4682
4682
  ps as r,
4683
4683
  ys as v
4684
4684
  };
4685
- //# sourceMappingURL=index-BBRuTNvo.js.map
4685
+ //# sourceMappingURL=index-D_ygxzgY.js.map