@basaltkit/comments 1.0.1 → 1.0.3

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,4 +1,4 @@
1
- import { type BasaltRoute } from '@basaltkit/fastify';
1
+ import { type BasaltRoute } from '@basaltkit/http';
2
2
  import { Comments, type CommentsOptions } from './comments.js';
3
3
  import type { Comment } from './store.js';
4
4
  declare module '@basaltkit/core' {
package/dist/plugin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createToken, ctx, definePlugin, BasaltError } from '@basaltkit/core';
2
- import { route } from '@basaltkit/fastify';
2
+ import { route } from '@basaltkit/http';
3
3
  import { z } from 'zod';
4
4
  import { Comments } from './comments.js';
5
5
  export const COMMENTS = createToken('comments');
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@basaltkit/comments",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
+ "engines": {
5
+ "node": ">=22.5.0"
6
+ },
4
7
  "description": "Comments for Basalt: per-resource threads with @mentions and resolve/reopen, tenant-scoped, emitting events that bridge to realtime and notifications.",
5
8
  "license": "MIT",
6
9
  "type": "module",
10
+ "sideEffects": false,
7
11
  "exports": {
8
12
  ".": {
9
13
  "types": "./dist/index.d.ts",
@@ -14,8 +18,8 @@
14
18
  "dist"
15
19
  ],
16
20
  "dependencies": {
17
- "@basaltkit/fastify": "^1.6.1",
18
- "@basaltkit/core": "^1.1.2"
21
+ "@basaltkit/core": "^1.3.1",
22
+ "@basaltkit/http": "^1.14.0"
19
23
  },
20
24
  "peerDependencies": {
21
25
  "zod": "^3.24.0 || ^4.0.0"
@@ -25,9 +29,10 @@
25
29
  "typescript": "^7.0.2",
26
30
  "vitest": "^4.1.11",
27
31
  "zod": "^3.24.0 || ^4.0.0",
28
- "@basaltkit/tenancy": "^1.3.3",
29
- "@basaltkit/tsconfig": "^0.24.0",
30
- "@basaltkit/auth": "^1.6.2"
32
+ "@basaltkit/auth": "^1.8.0",
33
+ "@basaltkit/fastify": "^1.8.1",
34
+ "@basaltkit/tenancy": "^1.4.2",
35
+ "@basaltkit/tsconfig": "^0.24.0"
31
36
  },
32
37
  "publishConfig": {
33
38
  "access": "public"