@axium/server 0.4.3 → 0.4.4

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": "@axium/server",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -1,9 +1,9 @@
1
1
  <script lang="ts">
2
2
  import { onMount } from 'svelte';
3
3
 
4
- const { id } = $props();
4
+ const { i } = $props();
5
5
 
6
- const withStyle = id.includes('/') ? id : 'solid/' + id;
6
+ const withStyle = i.includes('/') ? i : 'solid/' + i;
7
7
  const href = `https://site-assets.fontawesome.com/releases/v6.7.2/svgs/${withStyle}.svg`;
8
8
 
9
9
  let content = $state('');
@@ -25,15 +25,15 @@
25
25
  <div class="account-item">
26
26
  <p class="subtle">Name</p>
27
27
  <p>{user.name}</p>
28
- <a class="change" href="{data.prefix}/name"><Icon id="chevron-right" /></a>
28
+ <a class="change" href="{data.prefix}/name"><Icon i="chevron-right" /></a>
29
29
  </div>
30
30
  <div class="account-item">
31
31
  <p class="subtle">Email</p>
32
32
  <p>{user.email}</p>
33
- <a class="change" href="{data.prefix}/email"><Icon id="chevron-right" /></a>
33
+ <a class="change" href="{data.prefix}/email"><Icon i="chevron-right" /></a>
34
34
  </div>
35
35
  <div class="account-item">
36
- <p class="subtle">User ID <dfn title="This is your UUID."><Icon id="regular/circle-info" /></dfn></p>
36
+ <p class="subtle">User ID <dfn title="This is your UUID."><Icon i="regular/circle-info" /></dfn></p>
37
37
  <p>{user.id}</p>
38
38
  </div>
39
39
  <a class="signout" href="/auth/signout"><button>Sign out</button></a>