@sonic-commerce/storefront-types 0.32.0 → 0.32.1
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 +7 -6
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,14 +118,15 @@ const cart = data?.data as Cart | undefined; // shipping_total present
|
|
|
118
118
|
|
|
119
119
|
## Versioning
|
|
120
120
|
|
|
121
|
-
The package version tracks the API version:
|
|
122
|
-
surface as of release
|
|
121
|
+
The package version tracks the API version: each version describes the `/v1`
|
|
122
|
+
surface as of the backend release of the same number.
|
|
123
123
|
|
|
124
|
-
While the API is pre-1.0, **breaking changes ship in a minor bump** (0.
|
|
125
|
-
0.
|
|
124
|
+
While the API is pre-1.0, **breaking changes ship in a minor bump** (0.x →
|
|
125
|
+
0.x+1), per the project's versioning policy. Pin with `~` to the version you
|
|
126
|
+
installed:
|
|
126
127
|
|
|
127
|
-
```
|
|
128
|
-
|
|
128
|
+
```bash
|
|
129
|
+
npm i -D --save-prefix='~' @sonic-commerce/storefront-types
|
|
129
130
|
```
|
|
130
131
|
|
|
131
132
|
`~` accepts patches and stays off the next minor. Switch to `^` once the API
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by scripts/build.mjs from app/openapi/public-api.json — do not edit.
|
|
2
|
-
// Spec version 0.32.
|
|
2
|
+
// Spec version 0.32.1, 59 named schemas.
|
|
3
3
|
|
|
4
4
|
export type { paths, components, operations } from "./schema";
|
|
5
5
|
import type { components } from "./schema";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonic-commerce/storefront-types",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "TypeScript types for the Sonic Commerce storefront API (/v1).",
|
|
5
5
|
"keywords": ["sonic-commerce", "openapi", "types", "storefront"],
|
|
6
6
|
"license": "UNLICENSED",
|