@kortyx/hooks 0.12.1 → 0.14.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 +15 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +355 -160
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.14.0](https://github.com/kortyx-io/kortyx/compare/hooks-v0.13.0...hooks-v0.14.0) (2026-05-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **hooks:** support wildcard structured streaming ([cdc646c](https://github.com/kortyx-io/kortyx/commit/cdc646cf7e3a8f36fc62d0cb4123a427eb823f8f))
|
|
9
|
+
* **hooks:** support wildcard structured streaming ([fa7fec7](https://github.com/kortyx-io/kortyx/commit/fa7fec7f5a86a5bad73f3889b9698b8eb62451df))
|
|
10
|
+
|
|
11
|
+
## [0.13.0](https://github.com/kortyx-io/kortyx/compare/hooks-v0.12.1...hooks-v0.13.0) (2026-05-22)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **hooks:** support nested structured streaming ([#109](https://github.com/kortyx-io/kortyx/issues/109)) ([4921043](https://github.com/kortyx-io/kortyx/commit/49210435f5b3365c962aa737093c004e5d17a2f4))
|
|
17
|
+
|
|
3
18
|
## [0.12.1](https://github.com/kortyx-io/kortyx/compare/hooks-v0.12.0...hooks-v0.12.1) (2026-05-22)
|
|
4
19
|
|
|
5
20
|
|
package/dist/index.d.ts
CHANGED
|
@@ -68,15 +68,19 @@ type UseStructuredDataTextDeltaArgs = UseStructuredDataBaseArgs & {
|
|
|
68
68
|
};
|
|
69
69
|
type UseStructuredDataArgs<TData = unknown, TValue = unknown, TItem = unknown> = UseStructuredDataFinalArgs<TData> | UseStructuredDataSetArgs<TValue> | UseStructuredDataAppendArgs<TItem> | UseStructuredDataTextDeltaArgs;
|
|
70
70
|
type UseReasonStructuredConfig = {
|
|
71
|
+
/**
|
|
72
|
+
* Controls incremental field streaming. Set to false to emit only the final
|
|
73
|
+
* structured output chunk after output validation.
|
|
74
|
+
*/
|
|
71
75
|
stream?: boolean | undefined;
|
|
72
76
|
optimistic?: boolean | undefined;
|
|
73
77
|
dataType?: string | undefined;
|
|
74
78
|
schemaId?: string | undefined;
|
|
75
79
|
schemaVersion?: string | undefined;
|
|
76
80
|
/**
|
|
77
|
-
* Incremental extraction
|
|
78
|
-
*
|
|
79
|
-
*
|
|
81
|
+
* Incremental extraction paths for useReason. Dotted paths target nested
|
|
82
|
+
* object fields, numeric segments target array indexes, and `*` matches one
|
|
83
|
+
* object key or array index segment.
|
|
80
84
|
*/
|
|
81
85
|
fields?: UseReasonStructuredFields | undefined;
|
|
82
86
|
};
|