@akinon/theme-contract 2.0.142-rc.0 → 2.0.142

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 CHANGED
@@ -1,6 +1,10 @@
1
1
  # @akinon/theme-contract
2
2
 
3
- ## 2.0.142-rc.0
3
+ ## 2.0.142
4
+
5
+ ### Patch Changes
6
+
7
+ - e329d28: ZERO-5171: refer to the theme editor repo by its new name, pz-theme-editor
4
8
 
5
9
  ## 2.0.141
6
10
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @akinon/theme-contract
2
2
 
3
- Shared wire contract between the theme editor (`pz-dynamic-widget`) and the storefront renderer (`@akinon/pz-theme`). Single source of truth for:
3
+ Shared wire contract between the theme editor (`pz-theme-editor`) and the storefront renderer (`@akinon/pz-theme`). Single source of truth for:
4
4
 
5
5
  - **Theme wire types** — `Theme`, `ThemePlaceholder`, `ThemeSection`, `ThemeBlock`, `ThemeDataSource`, `NativeWidgetConfig`, `PageContextDiscovery`. Structure is typed strictly; `properties`/`styles`/`value` payloads stay open so the two repos can evolve field content without a lockstep release.
6
6
  - **postMessage protocol** — the `ThemeMessage` envelope with `protocolVersion`, plus the full directional type unions (`EDITOR_TO_PREVIEW_MESSAGE_TYPES`, `PREVIEW_TO_EDITOR_MESSAGE_TYPES`).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/theme-contract",
3
- "version": "2.0.142-rc.0",
4
- "description": "Shared wire contract between the theme editor (pz-dynamic-widget) and the storefront renderer (@akinon/pz-theme): theme types, postMessage envelope, runtime validation and origin helpers.",
3
+ "version": "2.0.142",
4
+ "description": "Shared wire contract between the theme editor (pz-theme-editor) and the storefront renderer (@akinon/pz-theme): theme types, postMessage envelope, runtime validation and origin helpers.",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "devDependencies": {
package/src/types.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Wire-level theme types shared between the theme editor (pz-dynamic-widget)
2
+ * Wire-level theme types shared between the theme editor (pz-theme-editor)
3
3
  * and the preview/storefront renderer (@akinon/pz-theme).
4
4
  *
5
5
  * These describe what actually travels over postMessage and what the