@mantiq/heartbeat 0.3.2 → 0.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantiq/heartbeat",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Observability, APM & queue monitoring for MantiqJS",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,8 +20,8 @@ export function renderWidget(data: {
20
20
  #__mw{position:fixed;bottom:16px;right:16px;z-index:99999;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;font-size:12px}
21
21
  #__mw_pill{display:flex;align-items:center;gap:6px;background:#0a0a0b;border:1px solid #27272a;border-radius:100px;padding:7px 14px 7px 10px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.5);color:#71717a;transition:border-color .2s;user-select:none}
22
22
  #__mw_pill:hover{border-color:#34d399}
23
- #__mw_logo{display:flex;align-items:center;gap:5px;color:#34d399;font-weight:700;font-size:11px;letter-spacing:-.01em;border-right:1px solid #27272a;padding-right:8px;margin-right:2px}
24
- #__mw_logo span{width:5px;height:5px;border-radius:50%;background:#34d399}
23
+ #__mw_logo{display:flex;align-items:center;border-right:1px solid #27272a;padding-right:8px;margin-right:2px}
24
+ #__mw_logo span{width:7px;height:7px;border-radius:50%;background:#34d399}
25
25
  #__mw_stats{display:flex;align-items:center;gap:6px}
26
26
  #__mw_stats b{color:#fafafa;font-weight:600}
27
27
  #__mw_dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}
@@ -30,8 +30,6 @@ export function renderWidget(data: {
30
30
  #__mw_panel header{padding:14px 16px;border-bottom:1px solid #1e1e1e;display:flex;align-items:center;justify-content:space-between}
31
31
  #__mw_panel header .brand{display:flex;align-items:center;gap:6px;color:#fafafa;font-weight:700;font-size:12px;letter-spacing:-.01em}
32
32
  #__mw_panel header .brand i{width:6px;height:6px;border-radius:50%;background:#34d399}
33
- #__mw_panel header a{color:#52525b;text-decoration:none;font-size:11px}
34
- #__mw_panel header a:hover{color:#34d399}
35
33
  #__mw_grid{display:grid;grid-template-columns:1fr 1fr;gap:0}
36
34
  #__mw_grid .cell{padding:14px 16px;border-bottom:1px solid #1e1e1e}
37
35
  #__mw_grid .cell:nth-child(odd){border-right:1px solid #1e1e1e}
@@ -44,7 +42,7 @@ export function renderWidget(data: {
44
42
  </style>
45
43
  <div id="__mw">
46
44
  <div id="__mw_pill" onclick="document.getElementById('__mw_panel').style.display=document.getElementById('__mw_panel').style.display==='none'?'block':'none'">
47
- <div id="__mw_logo"><span></span>mantiq</div>
45
+ <div id="__mw_logo"><span></span></div>
48
46
  <div id="__mw_stats">
49
47
  <span id="__mw_dot" style="background:${statusColor}"></span>
50
48
  <b>${durationMs}ms</b>
@@ -57,7 +55,6 @@ export function renderWidget(data: {
57
55
  <div id="__mw_panel">
58
56
  <header>
59
57
  <div class="brand"><i></i>mantiq</div>
60
- <a href="${dashboardPath}">Dashboard &rarr;</a>
61
58
  </header>
62
59
  <div id="__mw_grid">
63
60
  <div class="cell"><label>Duration</label><div class="val">${durationMs}<small>ms</small></div></div>