@voltro/plugin-comments 0.89.2 → 0.91.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/web.js CHANGED
@@ -1,9 +1,9 @@
1
- import { QUOTE_MAX_LENGTH as e, findQuote as t, textQuote as n } from "./quote.js";
2
- import { BASE_NAME as r, COMMENT_THREAD_KINDS as i } from "./rpc.js";
1
+ import { BASE_NAME as e, COMMENT_THREAD_KINDS as t } from "./rpc.js";
2
+ import { QUOTE_MAX_LENGTH as n, findQuote as r, textQuote as i } from "./quote.js";
3
3
  import { pluginTag as a } from "@voltro/protocol";
4
4
  import { useMutation as o, useSubscription as s } from "@voltro/client";
5
5
  // src/web.ts
6
- var c = (e) => a(r, e), l = (e, t = "app") => {
6
+ var c = (t) => a(e, t), 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 {
9
9
  threads: p,
@@ -37,4 +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
- 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 };
40
+ export { t as COMMENT_THREAD_KINDS, n as QUOTE_MAX_LENGTH, r as findQuote, i 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.89.2",
3
+ "version": "0.91.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.89.2",
52
- "@voltro/database": "0.89.2",
53
- "@voltro/plugin-notifications": "0.89.2",
54
- "@voltro/protocol": "0.89.2"
51
+ "@voltro/client": "0.91.0",
52
+ "@voltro/database": "0.91.0",
53
+ "@voltro/plugin-notifications": "0.91.0",
54
+ "@voltro/protocol": "0.91.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "effect": "4.1.2",
57
+ "effect": "4.1.4",
58
58
  "react": "^19.0.0"
59
59
  },
60
60
  "publishConfig": {