@axium/notes 0.3.0 → 0.3.2

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/lib/Note.svelte CHANGED
@@ -62,7 +62,7 @@
62
62
  </div>
63
63
  {/if}
64
64
  </Popover>
65
- <AccessControlDialog bind:dialog={acl} bind:item={note} itemType="notes" editable />
65
+ <AccessControlDialog bind:dialog={acl} item={note} itemType="notes" editable />
66
66
  </div>
67
67
  <textarea
68
68
  name="content"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/notes",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "Notes for Axium",
6
6
  "funding": {
@@ -35,9 +35,9 @@
35
35
  "build": "tsc"
36
36
  },
37
37
  "peerDependencies": {
38
- "@axium/client": ">=0.11.0",
39
- "@axium/core": ">=0.17.0",
40
- "@axium/server": ">=0.28.0",
38
+ "@axium/client": ">=0.13.0",
39
+ "@axium/core": ">=0.19.0",
40
+ "@axium/server": ">=0.34.0",
41
41
  "@sveltejs/kit": "^2.27.3",
42
42
  "utilium": "^2.4.0"
43
43
  },
@@ -1,7 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { Icon } from '@axium/client/components';
3
3
  import { fetchAPI } from '@axium/client/requests';
4
- import { parseNote } from '@axium/notes/client';
5
4
  import { Note } from '@axium/notes/components';
6
5
 
7
6
  const { data } = $props();
@@ -20,7 +19,6 @@
20
19
  class="icon-text mobile-float-right"
21
20
  onclick={async () => {
22
21
  const result = await fetchAPI('PUT', 'users/:id/notes', { title: '' }, data.session.userId);
23
- parseNote(result);
24
22
  notes.push(result);
25
23
  }}
26
24
  >