@rokkit/states 1.0.0-next.114 → 1.0.0-next.115

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": "@rokkit/states",
3
- "version": "1.0.0-next.114",
3
+ "version": "1.0.0-next.115",
4
4
  "description": "Contains generic data manipulation functions that can be used in various components.",
5
5
  "author": "Jerry Thomas <me@jerrythomas.name>",
6
6
  "license": "MIT",
@@ -66,7 +66,7 @@ export class Proxy {
66
66
  * Gets a mapped attribute from the original item
67
67
  *
68
68
  * @param {string} fieldName - Name of the field to get
69
- * @param {any} defaultValue - Default value to return if not found
69
+ * @param {any} [defaultValue] - Default value to return if not found
70
70
  * @returns {any|undefined} - The attribute value or null if not found
71
71
  */
72
72
  get(fieldName, defaultValue) {
@@ -91,7 +91,7 @@ export class Proxy {
91
91
  * - No snippet key is configured for this item
92
92
  * - The configured snippet key doesn't exist in the snippets collection
93
93
  * @param {Object} snippets
94
- * @param {import('svelte').Snippet|undefined} defaultSnippet
94
+ * @param {import('svelte').Snippet|undefined} [defaultSnippet]
95
95
  * @returns {import('svelte').Snippet|undefined}
96
96
  */
97
97
  getSnippet(snippets, defaultSnippet) {