@onnie81/murdoku-spor 1.2.4 → 1.2.5

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.
@@ -87,11 +87,24 @@ export function SettingsView() {
87
87
  <div className="card">
88
88
  <div className="card-head"><h2>{t('about')}</h2></div>
89
89
  <p className="muted">{t('aboutText')}</p>
90
+ <AudioDebugLine />
90
91
  </div>
91
92
  </div>
92
93
  );
93
94
  }
94
95
 
96
+ function AudioDebugLine() {
97
+ const [, force] = useState(0);
98
+ const a = typeof window !== 'undefined' ? window.__mdkAudio : null;
99
+ if (!a) return null;
100
+ return (
101
+ <p className="muted" style={{ fontSize: '0.72rem', marginTop: 8 }}
102
+ onClick={() => force(x => x + 1)}>
103
+ audio: {a.state()} · {a.route()} · {a.rate()}Hz · music {a.musicOn() ? 'on' : 'off'} · rms {a.rms().toFixed(4)}
104
+ </p>
105
+ );
106
+ }
107
+
95
108
  function AccountPanel() {
96
109
  const app = useApp();
97
110
  const [mode, setMode] = useState('signup');
package/murdoku.bundle CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onnie81/murdoku-spor",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "description": "Murdoku — online murder-mystery logic puzzle (sudoku-style placement deduction). Deploy artifact for games.onniehex.dev.",
6
6
  "license": "MIT",