@basaltkit/files 1.0.1 → 1.0.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/dist/plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type Disk } from '@basaltkit/storage';
2
- import { type BasaltRoute } from '@basaltkit/fastify';
2
+ import { type BasaltRoute } from '@basaltkit/http';
3
3
  import { Files, type FileValidation, type FilesOptions } from './files.js';
4
4
  import type { FileRecord, FileStore } from './store.js';
5
5
  declare module '@basaltkit/core' {
package/dist/plugin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createToken, ctx, definePlugin } from '@basaltkit/core';
2
2
  import { STORAGE } from '@basaltkit/storage';
3
- import { route } from '@basaltkit/fastify';
3
+ import { route } from '@basaltkit/http';
4
4
  import { z } from 'zod';
5
5
  import { Files } from './files.js';
6
6
  export const FILES = createToken('files');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basaltkit/files",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "File uploads for Basalt: validation (type/size), per-tenant storage quota, metadata records, signed URLs, and hooks (antivirus/thumbnails) over @basaltkit/storage.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,9 +14,9 @@
14
14
  "dist"
15
15
  ],
16
16
  "dependencies": {
17
- "@basaltkit/core": "^1.1.2",
17
+ "@basaltkit/http": "^1.9.1",
18
18
  "@basaltkit/storage": "^1.2.1",
19
- "@basaltkit/fastify": "^1.6.1"
19
+ "@basaltkit/core": "^1.1.2"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "zod": "^3.24.0 || ^4.0.0"
@@ -26,6 +26,7 @@
26
26
  "typescript": "^7.0.2",
27
27
  "vitest": "^4.1.11",
28
28
  "zod": "^3.24.0 || ^4.0.0",
29
+ "@basaltkit/fastify": "^1.6.1",
29
30
  "@basaltkit/tsconfig": "^0.24.0"
30
31
  },
31
32
  "publishConfig": {