svelte-common 4.19.7 → 4.19.8

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
@@ -61,8 +61,8 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
61
61
 
62
62
  ## sortable
63
63
 
64
- Add sortable toggle button to a node.
65
- Synchronizes store value with node "aria-sort" attribute.
64
+ Add sortable toggle button to a th node.
65
+ Synchronizes store value with th nodes "aria-sort" attribute.
66
66
 
67
67
  ### Parameters
68
68
 
@@ -84,7 +84,9 @@ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference
84
84
 
85
85
  ## keyPrefixStore
86
86
 
87
- Create a store where all the object keys are prefixed.
87
+ Create a derived store where all the object keys are prefixed.
88
+
89
+ { a: 1, b: 2 } -> { prefix_a: 1 prefix_b: 2 }
88
90
 
89
91
  ### Parameters
90
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "4.19.7",
3
+ "version": "4.19.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,7 +10,7 @@
10
10
  <tr>
11
11
  <td />
12
12
  <td>Username</td>
13
- <td>{session.username}</td>
13
+ <td>{session.username ? session.username : ""}</td>
14
14
  </tr>
15
15
  <tr>
16
16
  <td />