@foir/sdk 0.28.0 → 0.30.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 +145 -0
- package/dist/ai/index.d.ts +190 -0
- package/dist/ai.js +566 -0
- package/dist/auth/auth.d.ts +29 -6
- package/dist/auth/code-flow.d.ts +97 -0
- package/dist/auth/grant-table.generated.d.ts +1 -1
- package/dist/auth/grants.d.ts +2 -1
- package/dist/auth/hosted.d.ts +14 -6
- package/dist/auth/index.d.ts +3 -1
- package/dist/auth/operations.d.ts +5 -0
- package/dist/auth/session-client.d.ts +1 -1
- package/dist/auth.js +189 -8
- package/dist/client/platform-client.d.ts +1 -1
- package/dist/data/agents.d.ts +104 -0
- package/dist/data/builtins.d.ts +182 -0
- package/dist/data/index.d.ts +5 -3
- package/dist/data/subjects.d.ts +45 -0
- package/dist/data/subscriptions.d.ts +38 -0
- package/dist/data/transport.d.ts +1 -0
- package/dist/data/ws-transport.d.ts +9 -0
- package/dist/data.js +213 -5
- package/dist/media/ProgressiveMedia.d.ts +27 -1
- package/dist/media.js +39 -10
- package/dist/next/session.d.ts +6 -2
- package/dist/next.js +4 -9
- package/dist/placement.js +8 -2
- package/dist/react/FoirFeedback.d.ts +18 -1
- package/dist/react/FoirProvider.d.ts +6 -2
- package/dist/react/SignIn.d.ts +2 -2
- package/dist/react/feedback-notes.d.ts +7 -0
- package/dist/react.js +267 -17
- package/dist/realtime/index.d.ts +6 -0
- package/dist/realtime.js +2 -1
- package/dist/server/webhook-helpers.d.ts +3 -1
- package/dist/server.js +84 -8
- package/package.json +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foir/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Official Foir SDK — editor iframe client + server-side platform helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"types": "./dist/data/index.d.ts",
|
|
26
26
|
"import": "./dist/data.js"
|
|
27
27
|
},
|
|
28
|
+
"./ai": {
|
|
29
|
+
"types": "./dist/ai/index.d.ts",
|
|
30
|
+
"import": "./dist/ai.js"
|
|
31
|
+
},
|
|
28
32
|
"./live": {
|
|
29
33
|
"types": "./dist/live/index.d.ts",
|
|
30
34
|
"import": "./dist/live.js"
|
|
@@ -122,6 +126,7 @@
|
|
|
122
126
|
"@bufbuild/protobuf": "^2.12.0",
|
|
123
127
|
"@graphql-codegen/cli": "^5.0.0",
|
|
124
128
|
"@graphql-codegen/client-preset": "^4.0.0",
|
|
129
|
+
"ai": "^7.0.0",
|
|
125
130
|
"blurhash": "^2.0.0",
|
|
126
131
|
"graphql": "^16.0.0",
|
|
127
132
|
"hls.js": "^1.5.0",
|
|
@@ -139,6 +144,9 @@
|
|
|
139
144
|
"@graphql-codegen/client-preset": {
|
|
140
145
|
"optional": true
|
|
141
146
|
},
|
|
147
|
+
"ai": {
|
|
148
|
+
"optional": true
|
|
149
|
+
},
|
|
142
150
|
"blurhash": {
|
|
143
151
|
"optional": true
|
|
144
152
|
},
|
|
@@ -165,6 +173,7 @@
|
|
|
165
173
|
"@types/react": "^19.2.0",
|
|
166
174
|
"@types/react-dom": "^19.2.0",
|
|
167
175
|
"@types/ws": "^8.5.13",
|
|
176
|
+
"ai": "^7.0.29",
|
|
168
177
|
"blurhash": "^2.0.5",
|
|
169
178
|
"graphql": "^16.10.0",
|
|
170
179
|
"hls.js": "^1.6.16",
|
|
@@ -173,7 +182,7 @@
|
|
|
173
182
|
"react-dom": "^19.2.0",
|
|
174
183
|
"tsup": "^8.5.1",
|
|
175
184
|
"typescript": "5.9.2",
|
|
176
|
-
"vitest": "^
|
|
185
|
+
"vitest": "^5.0.5",
|
|
177
186
|
"ws": "^8.18.0",
|
|
178
187
|
"y-websocket": "^3.0.0",
|
|
179
188
|
"yjs": "^13.6.30",
|