web-mojo 2.1.972 → 2.1.974

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/dist/auth.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { a as VERSION, W as WebApp } from "./chunks/WebApp-DUCaN_XP.js";
2
- import { B, V, b, c, d } from "./chunks/WebApp-DUCaN_XP.js";
1
+ import { W as WebApp } from "./chunks/WebApp-DMNMKCsV.js";
2
+ import { B, a, V, b, c, d } from "./chunks/WebApp-DMNMKCsV.js";
3
3
  import { T as TokenManager } from "./chunks/TokenManager-CAZNcCMs.js";
4
4
  import { P as Page } from "./chunks/Page-Deq4y2Kq.js";
5
5
  class AuthManager {
@@ -356,7 +356,7 @@ class LoginPage extends Page {
356
356
  isLoading: false,
357
357
  error: null,
358
358
  showPassword: false,
359
- version: VERSION,
359
+ version: this.getApp().version,
360
360
  // Feature availability
361
361
  passkeySupported: this.getApp().auth?.isPasskeySupported?.() || false,
362
362
  // Config data for template
@@ -1327,9 +1327,11 @@ templates["extensions/auth/pages/LoginPage.mst"] = `<div class="auth-page min-vh
1327
1327
  {{#data.privacyUrl}}
1328
1328
  <small><a href="{{data.privacyUrl}}" target="_blank" rel="noopener noreferrer">Privacy Policy</a></small>
1329
1329
  {{/data.privacyUrl}}
1330
+ {{#data.showVersion}}
1330
1331
  <div class="text-muted text-center mt-3">
1331
1332
  <small>version {{data.version}}</small>
1332
1333
  </div>
1334
+ {{/data.showVersion}}
1333
1335
  </div>
1334
1336
  </div>
1335
1337
  </div>
@@ -2215,7 +2217,7 @@ export {
2215
2217
  PasskeyPlugin,
2216
2218
  RegisterPage,
2217
2219
  ResetPasswordPage,
2218
- VERSION,
2220
+ a as VERSION,
2219
2221
  V as VERSION_INFO,
2220
2222
  b as VERSION_MAJOR,
2221
2223
  c as VERSION_MINOR,