@naturali/sdk 0.27.0 → 0.27.2
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/README.md +13 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -92,12 +92,16 @@ The only hand-written source is `src/naturaliClient.ts`.
|
|
|
92
92
|
|
|
93
93
|
## Versioning
|
|
94
94
|
|
|
95
|
-
Releases are automatic, and the version
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
95
|
+
Releases are automatic, and the version is **shared with the API and with
|
|
96
|
+
`@naturali/cli`** — one number, one git tag, three packages. `@naturali/sdk@0.28.0`
|
|
97
|
+
is the client for API 0.28.0, so the version you installed names the contract you
|
|
98
|
+
are holding.
|
|
99
|
+
|
|
100
|
+
Any change to `api/openapi/v1/*.yaml` regenerates this package and publishes it,
|
|
101
|
+
because the specs are what it is generated *from* — so a new version can mean the
|
|
102
|
+
API gained a resource, not that the hand-written client changed.
|
|
103
|
+
|
|
104
|
+
`fix:`/`chore:` changes release a patch and `feat:` a minor, inferred from the
|
|
105
|
+
squashed commit subject. Every case publishes on merge, breaking changes
|
|
106
|
+
included. See the repository [README](../../README.md#releasing) and
|
|
107
|
+
[`CHANGELOG.md`](../../CHANGELOG.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"tsx": "^4.23.1",
|
|
38
38
|
"typescript": "~6.0.3",
|
|
39
39
|
"vitest": "^4.1.10",
|
|
40
|
-
"@naturali/api": "0.27.
|
|
40
|
+
"@naturali/api": "0.27.2"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"generate": "tsx scripts/generate.ts",
|