@utk09/ui-observability 0.10.0 → 0.11.0
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/CHANGELOG.md +16 -1
- package/README.md +50 -11
- package/dist/{batch-BHXypM1j.cjs → batch-C8OcWR2L.cjs} +2 -2
- package/dist/{batch-BHXypM1j.cjs.map → batch-C8OcWR2L.cjs.map} +1 -1
- package/dist/{batch-BMdT9mKm.js → batch-CL9uWYY3.js} +4 -5
- package/dist/{batch-BMdT9mKm.js.map → batch-CL9uWYY3.js.map} +1 -1
- package/dist/{bus-DKfBaica.js → bus-BZ0GldpT.js} +23 -27
- package/dist/{bus-DKfBaica.js.map → bus-BZ0GldpT.js.map} +1 -1
- package/dist/{bus-Dea9rVhy.cjs → bus-VWlmM5xs.cjs} +2 -2
- package/dist/{bus-Dea9rVhy.cjs.map → bus-VWlmM5xs.cjs.map} +1 -1
- package/dist/console-BPZCuSLc.cjs +2 -0
- package/dist/{console-DZEcs7FL.cjs.map → console-BPZCuSLc.cjs.map} +1 -1
- package/dist/{console-BX_0UCV7.js → console-BeCF7n59.js} +14 -15
- package/dist/{console-BX_0UCV7.js.map → console-BeCF7n59.js.map} +1 -1
- package/dist/{constants-CL0ZdI2f.cjs → constants-DqKJH_MP.cjs} +2 -2
- package/dist/{constants-CL0ZdI2f.cjs.map → constants-DqKJH_MP.cjs.map} +1 -1
- package/dist/{constants-CU60FG4w.js → constants-zyrqveN4.js} +3 -4
- package/dist/{constants-CU60FG4w.js.map → constants-zyrqveN4.js.map} +1 -1
- package/dist/context-storage-BjzeBSxH.cjs.map +1 -1
- package/dist/{context-storage-DxZf4Gfh.js → context-storage-BzkoHzkQ.js} +2 -3
- package/dist/{context-storage-DxZf4Gfh.js.map → context-storage-BzkoHzkQ.js.map} +1 -1
- package/dist/{deadline-5_PecIl5.js → deadline-BOjOxNHj.js} +3 -5
- package/dist/{deadline-5_PecIl5.js.map → deadline-BOjOxNHj.js.map} +1 -1
- package/dist/deadline-XSnm95pg.cjs.map +1 -1
- package/dist/{debug-bundle-yRkrU1ny.cjs → debug-bundle-BzJNpbF0.cjs} +2 -2
- package/dist/{debug-bundle-yRkrU1ny.cjs.map → debug-bundle-BzJNpbF0.cjs.map} +1 -1
- package/dist/{debug-bundle-CZZ6SQQh.js → debug-bundle-C7UkHZ-q.js} +5 -6
- package/dist/{debug-bundle-CZZ6SQQh.js.map → debug-bundle-C7UkHZ-q.js.map} +1 -1
- package/dist/doctor.cjs +1 -1
- package/dist/doctor.cjs.map +1 -1
- package/dist/doctor.js +3 -4
- package/dist/{emergency-queue-CQ-9acZf.cjs → emergency-queue-CNTRui5t.cjs} +2 -2
- package/dist/{emergency-queue-CQ-9acZf.cjs.map → emergency-queue-CNTRui5t.cjs.map} +1 -1
- package/dist/{emergency-queue-Cs8-i2xw.js → emergency-queue-Zy6lNafo.js} +15 -17
- package/dist/{emergency-queue-Cs8-i2xw.js.map → emergency-queue-Zy6lNafo.js.map} +1 -1
- package/dist/{error-like-Ywo5uRHo.js → error-like-B11pB4aL.js} +2 -3
- package/dist/{error-like-Ywo5uRHo.js.map → error-like-B11pB4aL.js.map} +1 -1
- package/dist/error-like-gGRx2s36.cjs.map +1 -1
- package/dist/{errors-oyxrpHjY.js → errors-Dh7kef0i.js} +5 -6
- package/dist/{errors-oyxrpHjY.js.map → errors-Dh7kef0i.js.map} +1 -1
- package/dist/{errors-CigX45pL.cjs → errors-tfEr48bS.cjs} +2 -2
- package/dist/{errors-CigX45pL.cjs.map → errors-tfEr48bS.cjs.map} +1 -1
- package/dist/{factory-Bgsky_e0.js → factory-BonqI3NL.js} +9 -13
- package/dist/{factory-Bgsky_e0.js.map → factory-BonqI3NL.js.map} +1 -1
- package/dist/{factory-BkjNzPYL.cjs → factory-CJXVYp0R.cjs} +2 -2
- package/dist/{factory-BkjNzPYL.cjs.map → factory-CJXVYp0R.cjs.map} +1 -1
- package/dist/fixed-window-CvESpFYV.cjs.map +1 -1
- package/dist/{fixed-window-CtaFHanJ.js → fixed-window-Dq3MLUUv.js} +2 -3
- package/dist/{fixed-window-CtaFHanJ.js.map → fixed-window-Dq3MLUUv.js.map} +1 -1
- package/dist/global-scope-BN-Io_yv.cjs.map +1 -1
- package/dist/{global-scope-dp2jADRl.js → global-scope-D9I8s-oN.js} +2 -3
- package/dist/{global-scope-dp2jADRl.js.map → global-scope-D9I8s-oN.js.map} +1 -1
- package/dist/{guards-CpvOpJL6.js → guards-Cidk71ME.js} +2 -3
- package/dist/{guards-CpvOpJL6.js.map → guards-Cidk71ME.js.map} +1 -1
- package/dist/guards-nJ70syPt.cjs.map +1 -1
- package/dist/{identity-BMlKGHUM.cjs → identity-Cxgj6pZX.cjs} +2 -2
- package/dist/{identity-BMlKGHUM.cjs.map → identity-Cxgj6pZX.cjs.map} +1 -1
- package/dist/{identity-DOaHdfhT.js → identity-DT5VmvXy.js} +3 -4
- package/dist/{identity-DOaHdfhT.js.map → identity-DT5VmvXy.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +46 -56
- package/dist/index.js.map +1 -1
- package/dist/{indexeddb-storage-D-lUW_5P.js → indexeddb-storage-BJVtiQKm.js} +5 -6
- package/dist/{indexeddb-storage-D-lUW_5P.js.map → indexeddb-storage-BJVtiQKm.js.map} +1 -1
- package/dist/{indexeddb-storage-CaXGJqDD.cjs → indexeddb-storage-CIoW21Xd.cjs} +2 -2
- package/dist/{indexeddb-storage-CaXGJqDD.cjs.map → indexeddb-storage-CIoW21Xd.cjs.map} +1 -1
- package/dist/{interactions-CqDNrtIR.js → interactions-DTgKy_6K.js} +10 -11
- package/dist/{interactions-CqDNrtIR.js.map → interactions-DTgKy_6K.js.map} +1 -1
- package/dist/{interactions-8DgxtmgO.cjs → interactions-fEN6FbVo.cjs} +2 -2
- package/dist/{interactions-8DgxtmgO.cjs.map → interactions-fEN6FbVo.cjs.map} +1 -1
- package/dist/{journey-DgIjhrIc.js → journey-CuJrHzEg.js} +9 -10
- package/dist/{journey-DgIjhrIc.js.map → journey-CuJrHzEg.js.map} +1 -1
- package/dist/{journey-5tcxEbnG.cjs → journey-pffMVMfa.cjs} +2 -2
- package/dist/{journey-5tcxEbnG.cjs.map → journey-pffMVMfa.cjs.map} +1 -1
- package/dist/keys-BHhw_0Wh.cjs.map +1 -1
- package/dist/{keys-D5r_GH9q.js → keys-BU9j5YqW.js} +2 -3
- package/dist/{keys-D5r_GH9q.js.map → keys-BU9j5YqW.js.map} +1 -1
- package/dist/library-console-C1m6g1BR.js +13 -0
- package/dist/{library-console-CabK2j2-.js.map → library-console-C1m6g1BR.js.map} +1 -1
- package/dist/{library-console-g_VU-wzP.cjs → library-console-D2GY9Or6.cjs} +2 -2
- package/dist/{library-console-g_VU-wzP.cjs.map → library-console-D2GY9Or6.cjs.map} +1 -1
- package/dist/{library-request-FQaiWjCP.cjs → library-request-1BX_UlaX.cjs} +2 -2
- package/dist/{library-request-FQaiWjCP.cjs.map → library-request-1BX_UlaX.cjs.map} +1 -1
- package/dist/{library-request-CyC-9IOk.js → library-request-BQBT9N9Q.js} +4 -5
- package/dist/{library-request-CyC-9IOk.js.map → library-request-BQBT9N9Q.js.map} +1 -1
- package/dist/{lifecycle-C2z_d8OX.cjs → lifecycle-2EtUaRpo.cjs} +2 -2
- package/dist/{lifecycle-C2z_d8OX.cjs.map → lifecycle-2EtUaRpo.cjs.map} +1 -1
- package/dist/{lifecycle-BLC4VU7c.js → lifecycle-BaKx_-32.js} +3 -4
- package/dist/{lifecycle-BLC4VU7c.js.map → lifecycle-BaKx_-32.js.map} +1 -1
- package/dist/{log-record-CndanC-p.js → log-record-CAoGBBf3.js} +3 -4
- package/dist/{log-record-CndanC-p.js.map → log-record-CAoGBBf3.js.map} +1 -1
- package/dist/{log-record-DKvo-B-d.cjs → log-record-i9zOTkpQ.cjs} +2 -2
- package/dist/{log-record-DKvo-B-d.cjs.map → log-record-i9zOTkpQ.cjs.map} +1 -1
- package/dist/{long-frames-CV5ZG2cx.cjs → long-frames-BVg4i5SC.cjs} +2 -2
- package/dist/{long-frames-CV5ZG2cx.cjs.map → long-frames-BVg4i5SC.cjs.map} +1 -1
- package/dist/{long-frames-BQef9rXR.js → long-frames-Czk7IupC.js} +4 -5
- package/dist/{long-frames-BQef9rXR.js.map → long-frames-Czk7IupC.js.map} +1 -1
- package/dist/{network-CvkvYzRU.js → network-DBNwApoF.js} +22 -24
- package/dist/{network-CvkvYzRU.js.map → network-DBNwApoF.js.map} +1 -1
- package/dist/{network-CqnQOqon.cjs → network-xbbuvG_6.cjs} +2 -2
- package/dist/{network-CqnQOqon.cjs.map → network-xbbuvG_6.cjs.map} +1 -1
- package/dist/openfin-Bxelt0yg.js +7 -0
- package/dist/{openfin-BwEN0uj4.js.map → openfin-Bxelt0yg.js.map} +1 -1
- package/dist/openfin-DtH2f7zX.cjs.map +1 -1
- package/dist/{otlp-RVbkNQRh.cjs → otlp-BDvFrLnc.cjs} +2 -2
- package/dist/{otlp-RVbkNQRh.cjs.map → otlp-BDvFrLnc.cjs.map} +1 -1
- package/dist/{otlp-CYIL7MOE.js → otlp-BTJdIa6F.js} +4 -6
- package/dist/{otlp-CYIL7MOE.js.map → otlp-BTJdIa6F.js.map} +1 -1
- package/dist/patch-BX8KrPCT.cjs.map +1 -1
- package/dist/{patch-CCWfuEY7.js → patch-UdPz1ea8.js} +2 -3
- package/dist/{patch-CCWfuEY7.js.map → patch-UdPz1ea8.js.map} +1 -1
- package/dist/{platform-KMWkoI-v.cjs → platform-C2Ez5kDc.cjs} +2 -2
- package/dist/{platform-KMWkoI-v.cjs.map → platform-C2Ez5kDc.cjs.map} +1 -1
- package/dist/{platform-wcAkkv9F.js → platform-DkcuXwe-.js} +4 -5
- package/dist/{platform-wcAkkv9F.js.map → platform-DkcuXwe-.js.map} +1 -1
- package/dist/{remote-rules-CH_7PphT.js → remote-rules-Cfb4K-Nl.js} +5 -6
- package/dist/{remote-rules-CH_7PphT.js.map → remote-rules-Cfb4K-Nl.js.map} +1 -1
- package/dist/{remote-rules-BL8km4xk.cjs → remote-rules-vzvk7aKf.cjs} +2 -2
- package/dist/{remote-rules-BL8km4xk.cjs.map → remote-rules-vzvk7aKf.cjs.map} +1 -1
- package/dist/{reports-Bh_-KpZ2.cjs → reports-Dk2YhKIh.cjs} +2 -2
- package/dist/{reports-Bh_-KpZ2.cjs.map → reports-Dk2YhKIh.cjs.map} +1 -1
- package/dist/{reports-BOKyY3_A.js → reports-TA-zInnq.js} +4 -5
- package/dist/{reports-BOKyY3_A.js.map → reports-TA-zInnq.js.map} +1 -1
- package/dist/{resource-timing-BROnEJ0E.js → resource-timing-BLv3EA2A.js} +6 -7
- package/dist/{resource-timing-BROnEJ0E.js.map → resource-timing-BLv3EA2A.js.map} +1 -1
- package/dist/{resource-timing-CbgwNpog.cjs → resource-timing-Cysw1S1f.cjs} +2 -2
- package/dist/{resource-timing-CbgwNpog.cjs.map → resource-timing-Cysw1S1f.cjs.map} +1 -1
- package/dist/{sampling-BLO_pcV4.js → sampling-C4VV-1MS.js} +4 -5
- package/dist/{sampling-BLO_pcV4.js.map → sampling-C4VV-1MS.js.map} +1 -1
- package/dist/{sampling-ECGVYiDD.cjs → sampling-Ckh2yW9k.cjs} +2 -2
- package/dist/{sampling-ECGVYiDD.cjs.map → sampling-Ckh2yW9k.cjs.map} +1 -1
- package/dist/{sanitize-DS0G4_ea.js → sanitize-6ymPlVvP.js} +4 -5
- package/dist/{sanitize-DS0G4_ea.js.map → sanitize-6ymPlVvP.js.map} +1 -1
- package/dist/{sanitize-Bsn8HQWC.cjs → sanitize-BAWzkZt0.cjs} +2 -2
- package/dist/{sanitize-Bsn8HQWC.cjs.map → sanitize-BAWzkZt0.cjs.map} +1 -1
- package/dist/{select-DWO0-w8_.cjs → select-ZF4by-lF.cjs} +2 -2
- package/dist/{select-DWO0-w8_.cjs.map → select-ZF4by-lF.cjs.map} +1 -1
- package/dist/{select-wqt9Wxio.js → select-xtQaenIi.js} +7 -10
- package/dist/{select-wqt9Wxio.js.map → select-xtQaenIi.js.map} +1 -1
- package/dist/{sender-BkAVt-Rq.js → sender-CiMHC9YG.js} +92 -96
- package/dist/{sender-BkAVt-Rq.js.map → sender-CiMHC9YG.js.map} +1 -1
- package/dist/{sender-D82PxlCY.cjs → sender-D5wBoXA8.cjs} +2 -2
- package/dist/{sender-D82PxlCY.cjs.map → sender-D5wBoXA8.cjs.map} +1 -1
- package/dist/storage-BA9RqRO-.cjs.map +1 -1
- package/dist/{storage-w7Tslvlq.js → storage-DZwed89z.js} +2 -3
- package/dist/{storage-w7Tslvlq.js.map → storage-DZwed89z.js.map} +1 -1
- package/dist/{storm-DCEsqViG.cjs → storm-CYi9Swpx.cjs} +2 -2
- package/dist/{storm-DCEsqViG.cjs.map → storm-CYi9Swpx.cjs.map} +1 -1
- package/dist/{storm-DD4cUkoL.js → storm-VR024_QN.js} +4 -5
- package/dist/{storm-DD4cUkoL.js.map → storm-VR024_QN.js.map} +1 -1
- package/dist/{types-BR9t_w28.js → types-BAerHgCq.js} +2 -3
- package/dist/{types-BR9t_w28.js.map → types-BAerHgCq.js.map} +1 -1
- package/dist/types-C7WNpnG1.cjs.map +1 -1
- package/dist/{unclean-exit-BYZ5yaSI.js → unclean-exit-CwcUhFOn.js} +3 -4
- package/dist/{unclean-exit-BYZ5yaSI.js.map → unclean-exit-CwcUhFOn.js.map} +1 -1
- package/dist/{unclean-exit-CwdpbUDg.cjs → unclean-exit-DFUN57wY.cjs} +2 -2
- package/dist/{unclean-exit-CwdpbUDg.cjs.map → unclean-exit-DFUN57wY.cjs.map} +1 -1
- package/dist/{user-timing-C1kB3JEg.cjs → user-timing-C9kfRq3J.cjs} +2 -2
- package/dist/{user-timing-C1kB3JEg.cjs.map → user-timing-C9kfRq3J.cjs.map} +1 -1
- package/dist/{user-timing-Di2ra5DB.js → user-timing-_jZIhDKI.js} +4 -5
- package/dist/{user-timing-Di2ra5DB.js.map → user-timing-_jZIhDKI.js.map} +1 -1
- package/dist/{web-socket-DwBNhgre.cjs → web-socket-BWUoqBh8.cjs} +2 -2
- package/dist/{web-socket-DwBNhgre.cjs.map → web-socket-BWUoqBh8.cjs.map} +1 -1
- package/dist/{web-socket-B-5qqPy7.js → web-socket-CV7yIMnm.js} +14 -15
- package/dist/{web-socket-B-5qqPy7.js.map → web-socket-CV7yIMnm.js.map} +1 -1
- package/dist/{web-vitals-Bflr5jSA.js → web-vitals-Bq4WFHQo.js} +2 -3
- package/dist/{web-vitals-Bflr5jSA.js.map → web-vitals-Bq4WFHQo.js.map} +1 -1
- package/dist/web-vitals-DFuoTQbZ.cjs.map +1 -1
- package/dist/{worker-protocol-DXekoADQ.cjs → worker-protocol-Bai7GAIA.cjs} +2 -2
- package/dist/{worker-protocol-DXekoADQ.cjs.map → worker-protocol-Bai7GAIA.cjs.map} +1 -1
- package/dist/{worker-protocol-0HMf4-kY.js → worker-protocol-CrsdSDLn.js} +6 -7
- package/dist/{worker-protocol-0HMf4-kY.js.map → worker-protocol-CrsdSDLn.js.map} +1 -1
- package/dist/worker-server-BrIYkfoa.cjs +2 -0
- package/dist/{worker-server-BQK5z2yl.cjs.map → worker-server-BrIYkfoa.cjs.map} +1 -1
- package/dist/{worker-server-CKcmX5m5.js → worker-server-Dp5HYm4b.js} +25 -26
- package/dist/{worker-server-CKcmX5m5.js.map → worker-server-Dp5HYm4b.js.map} +1 -1
- package/dist/{worker-transport-Dj2yCQN5.cjs → worker-transport-Bwej4N2e.cjs} +2 -2
- package/dist/{worker-transport-Dj2yCQN5.cjs.map → worker-transport-Bwej4N2e.cjs.map} +1 -1
- package/dist/{worker-transport-2220ghFZ.js → worker-transport-D6jtgpqN.js} +9 -11
- package/dist/{worker-transport-2220ghFZ.js.map → worker-transport-D6jtgpqN.js.map} +1 -1
- package/package.json +27 -41
- package/dist/console-DZEcs7FL.cjs +0 -2
- package/dist/library-console-CabK2j2-.js +0 -14
- package/dist/openfin-BwEN0uj4.js +0 -8
- package/dist/worker-server-BQK5z2yl.cjs +0 -2
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { $t as e, Bn as t, Ct as n, D as r, Et as i, F as a, Fn as o, G as s, Hn as c, I as l, In as u, J as d, K as f, Kt as p, L as m, Mn as h, Mt as g, N as _, Nn as v, Nt as y, Pn as ee, Pt as te, Qt as ne, U as re, Un as ie, W as ae, Wn as oe, X as se, Zt as ce, _ as le, a as ue, an as de, bn as fe, c as b, cn as pe, d as me, dn as he, en as ge, f as x, fn as _e, g as ve, h as ye, in as be, jn as xe, ln as Se, m as Ce, mn as S, nn as we, o as Te, on as Ee, p as De, q as Oe, qt as ke, rn as Ae, s as je, sn as Me, tn as Ne, u as Pe, un as Fe, v as C, wn as Ie, wt as w, xn as T, y as Le, zn as Re } from "./constants-
|
|
2
|
-
import { n as ze, r as Be, t as Ve } from "./log-record-
|
|
3
|
-
import { n as He, r as Ue, t as We } from "./error-like-
|
|
4
|
-
import { t as E } from "./guards-
|
|
5
|
-
import { r as Ge } from "./deadline-
|
|
6
|
-
import { i as D, n as Ke, t as qe } from "./platform-
|
|
7
|
-
import { n as O, t as Je } from "./library-console-
|
|
8
|
-
import { i as Ye, n as Xe, r as k } from "./sanitize-
|
|
9
|
-
import { a as Ze, i as A, n as Qe, o as $e, r as et, s as tt, t as nt } from "./identity-
|
|
10
|
-
import { r as rt } from "./library-request-
|
|
11
|
-
import { r as it, t as at } from "./batch-
|
|
12
|
-
import { n as ot, t as st } from "./journey-
|
|
13
|
-
import { a as ct, i as lt, n as ut, o as dt } from "./sampling-
|
|
14
|
-
|
|
1
|
+
import { $t as e, Bn as t, Ct as n, D as r, Et as i, F as a, Fn as o, G as s, Hn as c, I as l, In as u, J as d, K as f, Kt as p, L as m, Mn as h, Mt as g, N as _, Nn as v, Nt as y, Pn as ee, Pt as te, Qt as ne, U as re, Un as ie, W as ae, Wn as oe, X as se, Zt as ce, _ as le, a as ue, an as de, bn as fe, c as b, cn as pe, d as me, dn as he, en as ge, f as x, fn as _e, g as ve, h as ye, in as be, jn as xe, ln as Se, m as Ce, mn as S, nn as we, o as Te, on as Ee, p as De, q as Oe, qt as ke, rn as Ae, s as je, sn as Me, tn as Ne, u as Pe, un as Fe, v as C, wn as Ie, wt as w, xn as T, y as Le, zn as Re } from "./constants-zyrqveN4.js";
|
|
2
|
+
import { n as ze, r as Be, t as Ve } from "./log-record-CAoGBBf3.js";
|
|
3
|
+
import { n as He, r as Ue, t as We } from "./error-like-B11pB4aL.js";
|
|
4
|
+
import { t as E } from "./guards-Cidk71ME.js";
|
|
5
|
+
import { r as Ge } from "./deadline-BOjOxNHj.js";
|
|
6
|
+
import { i as D, n as Ke, t as qe } from "./platform-DkcuXwe-.js";
|
|
7
|
+
import { n as O, t as Je } from "./library-console-C1m6g1BR.js";
|
|
8
|
+
import { i as Ye, n as Xe, r as k } from "./sanitize-6ymPlVvP.js";
|
|
9
|
+
import { a as Ze, i as A, n as Qe, o as $e, r as et, s as tt, t as nt } from "./identity-DT5VmvXy.js";
|
|
10
|
+
import { r as rt } from "./library-request-BQBT9N9Q.js";
|
|
11
|
+
import { r as it, t as at } from "./batch-CL9uWYY3.js";
|
|
12
|
+
import { n as ot, t as st } from "./journey-CuJrHzEg.js";
|
|
13
|
+
import { a as ct, i as lt, n as ut, o as dt } from "./sampling-C4VV-1MS.js";
|
|
14
|
+
// src/utils/timer.ts
|
|
15
15
|
function ft(e) {
|
|
16
16
|
return Math.round((performance.now() - e) * se) / se;
|
|
17
17
|
}
|
|
@@ -47,8 +47,7 @@ async function gt(e, t, n, r) {
|
|
|
47
47
|
throw mt(e, t, i, n, r), n;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
//#region src/core/deferred.ts
|
|
50
|
+
// src/core/deferred.ts
|
|
52
51
|
var j = /* @__PURE__ */ new WeakMap();
|
|
53
52
|
function _t(e) {
|
|
54
53
|
let t = e.idle;
|
|
@@ -98,8 +97,7 @@ function bt(e) {
|
|
|
98
97
|
t.work = [];
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
|
-
|
|
102
|
-
//#region src/core/logger.ts
|
|
100
|
+
// src/core/logger.ts
|
|
103
101
|
var xt = [
|
|
104
102
|
_,
|
|
105
103
|
Ie,
|
|
@@ -124,7 +122,7 @@ function wt(e, t) {
|
|
|
124
122
|
let t = e, n = Ue(e), r = {}, i = 0;
|
|
125
123
|
for (let e of Object.keys(t)) {
|
|
126
124
|
let a = t[e];
|
|
127
|
-
|
|
125
|
+
n && We.has(e) || !He(a) || (r[e] = a, i++);
|
|
128
126
|
}
|
|
129
127
|
return i === 0 ? void 0 : r;
|
|
130
128
|
});
|
|
@@ -1023,7 +1021,7 @@ function G(e, t, n) {
|
|
|
1023
1021
|
let o = a.sampling.defaultRate;
|
|
1024
1022
|
(typeof o != "number" || o < 0 || o > 1) && (t.report("config.invalid", `sampling.defaultRate must be 0..1. The value is ${String(o)}. The library uses 1.`), a.sampling.defaultRate = 1);
|
|
1025
1023
|
let s = a.sampling.remoteMaxRate;
|
|
1026
|
-
|
|
1024
|
+
typeof s == "number" && s >= 0 && s <= 1 || (t.report("config.invalid", `sampling.remoteMaxRate must be 0..1. The value is ${String(s)}. The library uses 1.`), a.sampling.remoteMaxRate = 1);
|
|
1027
1025
|
let c = Object.entries(a.sampling.rates);
|
|
1028
1026
|
for (let [e, n] of c) (typeof n != "number" || n < 0 || n > 1) && (t.report("config.invalid", `sampling.rates["${e}"] must be 0..1. The value is ${String(n)}. The library uses 1.`), a.sampling.rates[e] = 1);
|
|
1029
1027
|
a.capture.ignoreUrls = a.capture.ignoreUrls.filter((e) => e !== n?.endpoint && e !== n?.metricsEndpoint && e !== n?.tracesEndpoint);
|
|
@@ -1048,8 +1046,7 @@ function rr(e, t) {
|
|
|
1048
1046
|
for (let n of Object.keys(t)) a.includes(n) || Object.assign(e, { [n]: t[n] });
|
|
1049
1047
|
for (let n of a) Object.assign(e[n], t[n]);
|
|
1050
1048
|
}
|
|
1051
|
-
|
|
1052
|
-
//#region src/core/context.ts
|
|
1049
|
+
// src/core/context.ts
|
|
1053
1050
|
var ir = class {
|
|
1054
1051
|
map = /* @__PURE__ */ new Map();
|
|
1055
1052
|
set(e, t) {
|
|
@@ -1163,8 +1160,7 @@ var ir = class {
|
|
|
1163
1160
|
return Object.fromEntries(this.counters);
|
|
1164
1161
|
}
|
|
1165
1162
|
};
|
|
1166
|
-
|
|
1167
|
-
//#region src/core/drops.ts
|
|
1163
|
+
// src/core/drops.ts
|
|
1168
1164
|
function sr(e, t) {
|
|
1169
1165
|
e.length < 20 && !e.includes(t) && e.push(t);
|
|
1170
1166
|
}
|
|
@@ -1303,8 +1299,7 @@ function fr(e, t, n, r) {
|
|
|
1303
1299
|
}
|
|
1304
1300
|
};
|
|
1305
1301
|
}
|
|
1306
|
-
|
|
1307
|
-
//#region src/core/record.ts
|
|
1302
|
+
// src/core/record.ts
|
|
1308
1303
|
var pr = "error.", mr = [
|
|
1309
1304
|
C,
|
|
1310
1305
|
x,
|
|
@@ -1531,20 +1526,19 @@ function Cr(e) {
|
|
|
1531
1526
|
} : {}
|
|
1532
1527
|
};
|
|
1533
1528
|
}
|
|
1534
|
-
|
|
1535
|
-
//#region src/core/runtime.ts
|
|
1529
|
+
// src/core/runtime.ts
|
|
1536
1530
|
var wr = {
|
|
1537
|
-
errors: async () => (await import("./errors-
|
|
1538
|
-
network: async () => (await import("./network-
|
|
1539
|
-
interactions: async () => (await import("./interactions-
|
|
1540
|
-
webVitals: async () => (await import("./web-vitals-
|
|
1541
|
-
longFrames: async () => (await import("./long-frames-
|
|
1542
|
-
console: async () => (await import("./console-
|
|
1543
|
-
uncleanExit: async () => (await import("./unclean-exit-
|
|
1544
|
-
userTiming: async () => (await import("./user-timing-
|
|
1545
|
-
reports: async () => (await import("./reports-
|
|
1546
|
-
resourceTiming: async () => (await import("./resource-timing-
|
|
1547
|
-
lifecycle: async () => (await import("./lifecycle-
|
|
1531
|
+
errors: async () => (await import("./errors-Dh7kef0i.js")).ErrorCapture,
|
|
1532
|
+
network: async () => (await import("./network-DBNwApoF.js")).NetworkCapture,
|
|
1533
|
+
interactions: async () => (await import("./interactions-DTgKy_6K.js")).InteractionCapture,
|
|
1534
|
+
webVitals: async () => (await import("./web-vitals-Bq4WFHQo.js")).WebVitalsCapture,
|
|
1535
|
+
longFrames: async () => (await import("./long-frames-Czk7IupC.js")).LongFrameCapture,
|
|
1536
|
+
console: async () => (await import("./console-BeCF7n59.js")).ConsoleCapture,
|
|
1537
|
+
uncleanExit: async () => (await import("./unclean-exit-CwcUhFOn.js")).UncleanExitCapture,
|
|
1538
|
+
userTiming: async () => (await import("./user-timing-_jZIhDKI.js")).UserTimingCapture,
|
|
1539
|
+
reports: async () => (await import("./reports-TA-zInnq.js")).ReportCapture,
|
|
1540
|
+
resourceTiming: async () => (await import("./resource-timing-BLv3EA2A.js")).ResourceTimingCapture,
|
|
1541
|
+
lifecycle: async () => (await import("./lifecycle-BaKx_-32.js")).LifecycleCapture
|
|
1548
1542
|
}, Tr = /* @__PURE__ */ new WeakMap(), Er = 0;
|
|
1549
1543
|
function Dr(e) {
|
|
1550
1544
|
let t = Tr.get(e);
|
|
@@ -1944,7 +1938,7 @@ var q = class e {
|
|
|
1944
1938
|
}
|
|
1945
1939
|
async buildBus() {
|
|
1946
1940
|
try {
|
|
1947
|
-
let { Bus: e } = await import("./bus-
|
|
1941
|
+
let { Bus: e } = await import("./bus-BZ0GldpT.js");
|
|
1948
1942
|
if (this.destroyed) return null;
|
|
1949
1943
|
let t = new e(this.config, this.diagnostics, this.platform, this.identity.contextId, this.identity.tabId, {
|
|
1950
1944
|
onSecurityContext: (e) => {
|
|
@@ -1997,7 +1991,7 @@ var q = class e {
|
|
|
1997
1991
|
async buildSender() {
|
|
1998
1992
|
this.storageBuiltAs = this.config.storage;
|
|
1999
1993
|
try {
|
|
2000
|
-
let { Sender: e } = await import("./sender-
|
|
1994
|
+
let { Sender: e } = await import("./sender-CiMHC9YG.js"), t = this.destroyed ? null : await e.create({
|
|
2001
1995
|
storage: this.memoryStorage,
|
|
2002
1996
|
onStorage: (e) => {
|
|
2003
1997
|
e.name === "memory" && (this.memoryStorage = e);
|
|
@@ -2081,7 +2075,7 @@ var q = class e {
|
|
|
2081
2075
|
this.captures.length = 0;
|
|
2082
2076
|
}
|
|
2083
2077
|
loadWebSocket() {
|
|
2084
|
-
return this.diagnostics.guardAsync("capture.install_failed", "The library could not load the webSocket capture.", async () => (await import("./web-socket-
|
|
2078
|
+
return this.diagnostics.guardAsync("capture.install_failed", "The library could not load the webSocket capture.", async () => (await import("./web-socket-CV7yIMnm.js")).WebSocketCapture);
|
|
2085
2079
|
}
|
|
2086
2080
|
pluginCapture(e) {
|
|
2087
2081
|
let { name: t } = e, n = (e, t, n) => {
|
|
@@ -2148,7 +2142,7 @@ var q = class e {
|
|
|
2148
2142
|
this.diagnostics.count("record.dropped_boot_buffer_full"), this.drops.add("buffer_full", [e]);
|
|
2149
2143
|
}
|
|
2150
2144
|
forward(e) {
|
|
2151
|
-
this.forwardBuffer.push(e),
|
|
2145
|
+
this.forwardBuffer.push(e), this.forwardScheduled || (this.forwardScheduled = !0, queueMicrotask(() => {
|
|
2152
2146
|
this.forwardScheduled = !1, this.sendForwarded();
|
|
2153
2147
|
}));
|
|
2154
2148
|
}
|
|
@@ -2271,7 +2265,7 @@ var q = class e {
|
|
|
2271
2265
|
this.sender && await this.sender.adopt(t, this.config.securityContext.id);
|
|
2272
2266
|
}
|
|
2273
2267
|
async debugBundle(e) {
|
|
2274
|
-
let { configSummary: t } = await import("./debug-bundle-
|
|
2268
|
+
let { configSummary: t } = await import("./debug-bundle-C7UkHZ-q.js"), { record: n } = this.builder.build({
|
|
2275
2269
|
level: "INFO",
|
|
2276
2270
|
type: "system",
|
|
2277
2271
|
body: "debug bundle",
|
|
@@ -2339,10 +2333,10 @@ var q = class e {
|
|
|
2339
2333
|
return;
|
|
2340
2334
|
}
|
|
2341
2335
|
let [{ createStorage: t, storageName: n }, { ContextStorage: r }, { storageLimits: i }, { clearEmergencyContext: a }] = await Promise.all([
|
|
2342
|
-
import("./factory-
|
|
2343
|
-
import("./context-storage-
|
|
2344
|
-
import("./storage-
|
|
2345
|
-
import("./emergency-queue-
|
|
2336
|
+
import("./factory-BonqI3NL.js"),
|
|
2337
|
+
import("./context-storage-BzkoHzkQ.js"),
|
|
2338
|
+
import("./storage-DZwed89z.js"),
|
|
2339
|
+
import("./emergency-queue-Zy6lNafo.js")
|
|
2346
2340
|
]), o = this.config.persistence.namespace, s = this.memoryStorage ?? await t(this.config.storage, n(o), i(this.config.retention), this.diagnostics, void 0, o), c = new r(s, this.config.securityContext, o);
|
|
2347
2341
|
try {
|
|
2348
2342
|
e === "namespace" ? await c.clearNamespace() : await c.clear(), a(this.config.securityContext.id, this.diagnostics, o, e === "namespace");
|
|
@@ -2366,8 +2360,7 @@ function J(e, t, n = /* @__PURE__ */ new WeakMap()) {
|
|
|
2366
2360
|
let r = Object.keys(e), i = Object.keys(t);
|
|
2367
2361
|
return r.length === i.length && r.every((r) => Object.hasOwn(t, r) && J(Reflect.get(e, r), Reflect.get(t, r), n));
|
|
2368
2362
|
}
|
|
2369
|
-
|
|
2370
|
-
//#region src/transport/worker-entry.ts
|
|
2363
|
+
// src/transport/worker-entry.ts
|
|
2371
2364
|
var Y;
|
|
2372
2365
|
function zr(e = {}) {
|
|
2373
2366
|
if (Y) return Y;
|
|
@@ -2378,7 +2371,7 @@ function zr(e = {}) {
|
|
|
2378
2371
|
let o = e.data;
|
|
2379
2372
|
if (!E(o) || o.p !== "ui-observability.transport/1" || o.t !== t.connect || e.ports.length === 0) return;
|
|
2380
2373
|
let s = e.ports[0];
|
|
2381
|
-
i || o.v !== "0.
|
|
2374
|
+
i || o.v !== "0.11.0" ? (s.postMessage(Re), s.close()) : (i = s, import("./worker-server-Dp5HYm4b.js").then((e) => {
|
|
2382
2375
|
r || (a = e.serveWorkerPort(s, n));
|
|
2383
2376
|
}).catch((e) => {
|
|
2384
2377
|
n.report("transport.http_error", "The transport worker delivery module could not load.", void 0, e), n.guard("transport.http_error", "The failed transport port could not be closed.", () => {
|
|
@@ -2395,8 +2388,7 @@ function zr(e = {}) {
|
|
|
2395
2388
|
};
|
|
2396
2389
|
return addEventListener("message", o), Y = s, s;
|
|
2397
2390
|
}
|
|
2398
|
-
|
|
2399
|
-
//#region src/transport/memory-transport.ts
|
|
2391
|
+
// src/transport/memory-transport.ts
|
|
2400
2392
|
function Br() {
|
|
2401
2393
|
let e = [], t = [], n = { status: 200 };
|
|
2402
2394
|
return {
|
|
@@ -2414,8 +2406,7 @@ function Br() {
|
|
|
2414
2406
|
}
|
|
2415
2407
|
};
|
|
2416
2408
|
}
|
|
2417
|
-
|
|
2418
|
-
//#region src/index.ts
|
|
2409
|
+
// src/index.ts
|
|
2419
2410
|
var X = /* @__PURE__ */ new Map();
|
|
2420
2411
|
function Z() {
|
|
2421
2412
|
return (q.current() ?? q.stopped()) || q.configure({}, !0);
|
|
@@ -2566,7 +2557,6 @@ function Ti() {
|
|
|
2566
2557
|
async function Ei() {
|
|
2567
2558
|
await q.current()?.destroy();
|
|
2568
2559
|
}
|
|
2569
|
-
//#endregion
|
|
2570
2560
|
export { F as OneLogger, ci as addBreadcrumb, gi as adoptJourney, Vr as clearPersistedLogs, Kr as collectDebugBundle, Hr as configure, ri as counter, Br as createMemoryTransport, mi as currentJourney, Yr as debug, pi as endJourney, Qr as error, $r as fatal, xi as flush, Ti as getDiagnosticCounters, Gr as getHealth, hi as getJourneyToken, qr as getLogger, Si as getQueueDepth, Ci as getStats, bi as getTraceHeaders, ii as histogram, Xr as info, ei as logAction, ti as logEvent, ni as logMetric, wi as newSession, vi as registerFrame, _i as registerWorker, di as removeContext, Wr as rotateSecurityContext, zr as serveTransportWorker, Ur as setConfigurationLocked, li as setContext, ui as setContextMap, Ei as shutdown, fi as startJourney, ai as startMeasure, yi as startTrace, si as timeAsync, oi as timeSync, Jr as trace, Zr as warn };
|
|
2571
2561
|
|
|
2572
2562
|
//# sourceMappingURL=index.js.map
|