@axium/storage 0.6.3 → 0.6.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.
Files changed (2) hide show
  1. package/dist/plugin.js +3 -2
  2. package/package.json +3 -3
package/dist/plugin.js CHANGED
@@ -7,7 +7,7 @@ import { sql } from 'kysely';
7
7
  import pkg from '../package.json' with { type: 'json' };
8
8
  import './common.js';
9
9
  import './server.js';
10
- import { App } from '@axium/server/apps';
10
+ import { addApp } from '@axium/server/apps';
11
11
  async function statusText() {
12
12
  const { storage: items } = await count('storage');
13
13
  const { size } = await database
@@ -61,10 +61,11 @@ async function clean(opt) {
61
61
  .executeTakeFirstOrThrow()
62
62
  .then(done);
63
63
  }
64
- new App({
64
+ addApp({
65
65
  id: 'files',
66
66
  name: 'Files',
67
67
  version: pkg.version,
68
+ icon: 'folders',
68
69
  });
69
70
  export default {
70
71
  ...pkg,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/storage",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "description": "User file storage for Axium",
6
6
  "funding": {
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@axium/client": ">=0.1.0",
42
- "@axium/core": ">=0.5.0",
43
- "@axium/server": ">=0.21.0",
42
+ "@axium/core": ">=0.5.4",
43
+ "@axium/server": ">=0.22.0",
44
44
  "@sveltejs/kit": "^2.27.3",
45
45
  "utilium": "^2.3.8"
46
46
  },