@jini-ai/capability-providers 0.6.17 → 0.7.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/CHANGELOG.md +16 -1
- package/dist/comments/ports.d.ts +5 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @jini-ai/capability-providers
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [8fe045b]
|
|
8
|
+
- Updated dependencies [c393010]
|
|
9
|
+
- Updated dependencies [41ff2ff]
|
|
10
|
+
- Updated dependencies [a266ba8]
|
|
11
|
+
- Updated dependencies [27063ef]
|
|
12
|
+
- Updated dependencies [6ab1d81]
|
|
13
|
+
- Updated dependencies [699b478]
|
|
14
|
+
- Updated dependencies [39cf677]
|
|
15
|
+
- @jini-ai/core@0.7.0
|
|
16
|
+
- @jini-ai/platform@0.7.0
|
|
17
|
+
|
|
3
18
|
## 0.6.17
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -67,7 +82,7 @@
|
|
|
67
82
|
- Published capability helpers use required/optional argument objects and retain isolated provider entries.
|
|
68
83
|
- Distribution includes runtime output, release documentation and required assets only. Process records and per-job neutrality checks are no longer part of the package surface.
|
|
69
84
|
|
|
70
|
-
##
|
|
85
|
+
## 0.6.19
|
|
71
86
|
|
|
72
87
|
### Fixed
|
|
73
88
|
|
package/dist/comments/ports.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/** Provider-neutral comments boundaries. Private moderation data never enters thread rendering. */
|
|
2
2
|
export type CommentStatus = 'pending' | 'approved' | 'spam' | 'trash';
|
|
3
|
+
/** Optional executable assets are declared separately; ordinary thread HTML remains visible. */
|
|
4
|
+
export interface CommentThreadScript {
|
|
5
|
+
readonly src: string;
|
|
6
|
+
}
|
|
3
7
|
export interface CommentThreadRendererPort {
|
|
4
8
|
renderThread(required: {
|
|
5
9
|
siteId: string;
|
|
@@ -15,6 +19,7 @@ export interface CommentThreadRendererPort {
|
|
|
15
19
|
cursor?: string;
|
|
16
20
|
}): Promise<{
|
|
17
21
|
html: string;
|
|
22
|
+
scripts?: readonly CommentThreadScript[];
|
|
18
23
|
}>;
|
|
19
24
|
}
|
|
20
25
|
export interface CommentModerationPort {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/capability-providers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Swappable capability-provider ports (auth, storage, payments, db, realtime) as interfaces and DI tokens only; concrete adapters live behind ./adapters/* subpaths.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
"registry": "https://registry.npmjs.org"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@jini-ai/core": "^0.
|
|
102
|
+
"@jini-ai/core": "^0.7.0"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
105
|
"better-sqlite3": "^13.0.0",
|
|
106
106
|
"ws": "^8.18.0",
|
|
107
|
-
"@jini-ai/platform": "^0.
|
|
107
|
+
"@jini-ai/platform": "^0.7.0"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@types/better-sqlite3": "^7.6.11",
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"@vitest/coverage-v8": "^2.1.9",
|
|
113
113
|
"better-sqlite3": "^13.0.0",
|
|
114
114
|
"ws": "^8.18.0",
|
|
115
|
-
"@jini-ai/
|
|
116
|
-
"@jini-ai/
|
|
115
|
+
"@jini-ai/core": "0.7.0",
|
|
116
|
+
"@jini-ai/platform": "0.7.0"
|
|
117
117
|
},
|
|
118
118
|
"peerDependenciesMeta": {
|
|
119
119
|
"better-sqlite3": {
|