@curviate/sdk 0.21.0 → 0.22.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 +31 -0
- package/dist/index.d.ts +370 -61
- package/package.json +1 -1
- package/src/generated/types.ts +370 -61
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,37 @@ Versioning: semantic. Minor for additive changes, patch for bug fixes; no stabil
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.22.0] - 2026-08-17
|
|
13
|
+
|
|
14
|
+
Regeneration against the deployed, served OpenAPI document at server commit
|
|
15
|
+
`7bdf0af7` (`https://api.curviate.com/.well-known/openapi.json`). Nothing was
|
|
16
|
+
hand-edited.
|
|
17
|
+
|
|
18
|
+
**Minor, not patch, because the section arrays gained declared item shapes.**
|
|
19
|
+
No method, path, or response was added or removed, nothing became required,
|
|
20
|
+
and every new field is optional on a type that still carries an open
|
|
21
|
+
`[key: string]: unknown` index signature, so reading code that compiled
|
|
22
|
+
against 0.21.0 continues to compile. Code that *constructs* one of these
|
|
23
|
+
objects with a field whose type conflicts with the declared one (a hand-rolled
|
|
24
|
+
test fixture, most likely) will now be rejected, which is the only way this
|
|
25
|
+
release can break a consumer.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- **Recruiter and Sales Navigator profile section arrays now declare their item
|
|
30
|
+
shape.** `skills`, `experience`, `education`, `certifications`, `languages`,
|
|
31
|
+
`projects`, `recommendations`, and `volunteering` were typed as bare
|
|
32
|
+
`{ [key: string]: unknown }[]`; each entry now carries its known fields
|
|
33
|
+
(`name`, `endorsement_count`, `company`, `title`, and so on) intersected with
|
|
34
|
+
the same open index signature. Each field's description states where the
|
|
35
|
+
shape came from: these are declared from the classic profile's live-measured
|
|
36
|
+
shape for the same underlying section, not from a Recruiter- or Sales
|
|
37
|
+
Navigator-specific capture, so confirm field-for-field against a real
|
|
38
|
+
response before treating an inferred or absent field as fact.
|
|
39
|
+
- **Every paginated endpoint's 400 description now names a malformed cursor.**
|
|
40
|
+
An undecodable cursor is rejected with a 400 rather than silently serving
|
|
41
|
+
page 1. Documentation only; the response types are unchanged.
|
|
42
|
+
|
|
12
43
|
## [0.21.0] - 2026-08-13
|
|
13
44
|
|
|
14
45
|
Regeneration against the deployed, served OpenAPI document at server commit
|