@sonic-commerce/storefront-types 0.31.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 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: `0.23.0` describes the `/v1`
122
- surface as of release 0.23.0.
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.23 →
125
- 0.24), per the project's versioning policy. Pin accordingly:
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
- ```jsonc
128
- { "devDependencies": { "@sonic-commerce/storefront-types": "~0.23.0" } }
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.31.0, 59 named schemas.
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/dist/schema.d.ts CHANGED
@@ -3805,6 +3805,10 @@ export interface components {
3805
3805
  metadata: {
3806
3806
  [key: string]: unknown;
3807
3807
  };
3808
+ /** @description The store's logo (Settings → Store Details), or null when none is set. */
3809
+ logo: string | null;
3810
+ /** @description `logo` in every served size. Null until processed or when there is no logo; fall back to `logo`. */
3811
+ logo_sizes: components["schemas"]["ImageSizes"] | null;
3808
3812
  seo: {
3809
3813
  title: string;
3810
3814
  description: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-commerce/storefront-types",
3
- "version": "0.31.0",
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",