@getauthui/core 0.1.5 → 0.1.7

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/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  visibility: hidden;
16
16
  }
17
17
  </style>
18
- <script type="module" src="https://unpkg.com/@getauthui/core@0.1.5"></script>
18
+ <script type="module" src="https://unpkg.com/@getauthui/core@0.1.7"></script>
19
19
 
20
20
  <authui-config
21
21
  endpoint="https://cloud.appwrite.io/v1"
@@ -46,7 +46,7 @@ v2 runs inside your page. Its requests to Appwrite are indistinguishable from yo
46
46
  - **OAuth2** for every provider Appwrite supports, with brand icons for the common ones
47
47
  - **Guest sessions** with an upgrade path to a real account
48
48
  - **MFA**: challenges during sign in, authenticator app enrollment with QR code, recovery codes, step-up verification for protected actions
49
- - **Account management**: profile, email and phone verification, password change, active sessions, connected identities, security log, account deletion
49
+ - **Account management**: profile, email and phone verification, password change, active sessions, connected identities, security log when the server exposes it, account deletion
50
50
  - **Modal, inline or headless** usage, `<authui-show when="signed-in">` conditionals, React wrappers
51
51
  - **Themeable**: Appwrite Console design system, dark mode that follows your page, CSS custom properties for everything, string overrides
52
52
  - **Framework agnostic**: standard web components built with Lit, ~90 KB gzipped ESM on the CDN (~78 KB IIFE), including Lit and the full Appwrite SDK
@@ -65,11 +65,17 @@ CDN:
65
65
  visibility: hidden;
66
66
  }
67
67
  </style>
68
- <script type="module" src="https://unpkg.com/@getauthui/core@0.1.5"></script>
68
+ <script type="module" src="https://unpkg.com/@getauthui/core@0.1.7"></script>
69
69
  ```
70
70
 
71
71
  The `<style>` keeps `<authui-show>` and the buttons hidden until the module defines them. See [`<authui-show>`](https://getauthui.appwrite.network/docs/components/show).
72
72
 
73
+ The default CDN URL is an ESM module: it defines the elements but does **not** set `window.AuthUI`. For `AuthUI.init` / `AuthUI.on` from a classic script, use the IIFE build:
74
+
75
+ ```html
76
+ <script src="https://unpkg.com/@getauthui/core@0.1.7/dist/authui.cdn.js"></script>
77
+ ```
78
+
73
79
  npm:
74
80
 
75
81
  ```bash