@voltro/plugin-comments 0.86.0 → 0.88.0

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/rpc.js CHANGED
@@ -2,7 +2,7 @@ import { CommentAccessRefused as e, CommentNotFound as t, CommentNotYours as n,
2
2
  import { QUOTE_MAX_LENGTH as i } from "./quote.js";
3
3
  import { Schema as a } from "effect";
4
4
  import { defineMutation as o, defineQuery as s, reactivityChannel as c } from "@voltro/protocol";
5
- //#region src/rpc.ts
5
+ // src/rpc.ts
6
6
  var l = "@voltro/plugin-comments", u = c("comments"), d = a.Struct({
7
7
  id: a.String,
8
8
  threadId: a.String,
@@ -190,5 +190,4 @@ var l = "@voltro/plugin-comments", u = c("comments"), d = a.Struct({
190
190
  }
191
191
  }
192
192
  ];
193
- //#endregion
194
193
  export { l as BASE_NAME, p as COMMENT_THREAD_KINDS, u as commentsFeed, T as commentsRpcClientImports, v as createDescriptor, x as deleteDescriptor, y as editDescriptor, _ as listDescriptor, C as markReadDescriptor, w as mentionSearchDescriptor, S as reactDescriptor, b as resolveDescriptor };
package/dist/web.js CHANGED
@@ -2,7 +2,7 @@ import { QUOTE_MAX_LENGTH as e, findQuote as t, textQuote as n } from "./quote.j
2
2
  import { BASE_NAME as r, COMMENT_THREAD_KINDS as i } from "./rpc.js";
3
3
  import { pluginTag as a } from "@voltro/protocol";
4
4
  import { useMutation as o, useSubscription as s } from "@voltro/client";
5
- //#region src/web.ts
5
+ // src/web.ts
6
6
  var c = (e) => a(r, e), l = (e, t = "app") => {
7
7
  let { data: n, loading: r } = s(t, c("list"), { anchor: e }), i = o(t, c("create")), a = o(t, c("edit")), l = o(t, c("resolve")), u = o(t, c("delete")), d = o(t, c("react")), f = o(t, c("markRead")), p = n ?? [];
8
8
  return {
@@ -37,5 +37,4 @@ var c = (e) => a(r, e), l = (e, t = "app") => {
37
37
  let { data: n } = s(t, c("mentionSearch"), { query: e });
38
38
  return n ?? [];
39
39
  };
40
- //#endregion
41
40
  export { i as COMMENT_THREAD_KINDS, e as QUOTE_MAX_LENGTH, t as findQuote, n as textQuote, l as useComments, d as useMentionSearch, u as useThread };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltro/plugin-comments",
3
- "version": "0.86.0",
3
+ "version": "0.88.0",
4
4
  "description": "Comment threads on any anchor your app can name — replies, resolve/reopen, reactions, per-subject unread — live over the existing reactivity channel, with no second push mechanism. Access delegates to your app's own guard (access.viaEntity) or a scope and fails closed when neither is declared; @-mentions are re-filtered to the caller's tenant on search and re-validated at create, then delivered through plugin-notifications when it is installed. useComments / useThread / useMentionSearch in /web, an ejectable <CommentsThread> in @voltro/ui, plus inspect endpoints and a dashboard panel.",
5
5
  "keywords": [
6
6
  "voltro",
@@ -48,13 +48,13 @@
48
48
  "node": ">=24.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@voltro/client": "0.86.0",
52
- "@voltro/database": "0.86.0",
53
- "@voltro/plugin-notifications": "0.86.0",
54
- "@voltro/protocol": "0.86.0"
51
+ "@voltro/client": "0.88.0",
52
+ "@voltro/database": "0.88.0",
53
+ "@voltro/plugin-notifications": "0.88.0",
54
+ "@voltro/protocol": "0.88.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "effect": "4.0.1",
57
+ "effect": "4.1.0",
58
58
  "react": "^19.0.0"
59
59
  },
60
60
  "publishConfig": {