@shoplix-ai/block-kit 5.37.0 → 5.38.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/README.md CHANGED
@@ -65,6 +65,14 @@ written against this package and nothing else from the runtime. It holds:
65
65
  `shopBlocks()` turns a Shop package's blocks into registrations under the
66
66
  Shop's namespaced type ids. A component file names no Shop and no type: the
67
67
  package stamps both.
68
+ - **The Shop's policies.** A Shop's block may bind the Shop's policies
69
+ (`defineBinding({ kind: 'policies', targetForms: ['literal'] })`), a Binding
70
+ that names nothing and stands on any screen. Its data is the privacy, refund,
71
+ shipping and terms policies the Shop wrote, in Shopify's order and the
72
+ shopper's language, each with its title, its body as the merchant's HTML and
73
+ the page Shopify hosts it on. A block takes the body apart with
74
+ `descriptionParts`, never draws it as markup, and splits it into sections
75
+ itself.
68
76
  - **The contract version.** `CONTRACT_VERSION` and `CONTRACT_MAJOR`, pinned to
69
77
  this package's own version by a test. A Shop package is built against one
70
78
  major; the api's package registry records it at push, and taking a version
package/dist/version.d.ts CHANGED
@@ -4,6 +4,6 @@
4
4
  * The major is the compatibility line: a Shop package built against another
5
5
  * major never meets this runtime, and a major bump is an announced event.
6
6
  */
7
- export declare const CONTRACT_VERSION = "5.37.0";
7
+ export declare const CONTRACT_VERSION = "5.38.0";
8
8
  export declare const CONTRACT_MAJOR = 5;
9
9
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -4,6 +4,6 @@
4
4
  * The major is the compatibility line: a Shop package built against another
5
5
  * major never meets this runtime, and a major bump is an announced event.
6
6
  */
7
- export const CONTRACT_VERSION = '5.37.0';
7
+ export const CONTRACT_VERSION = '5.38.0';
8
8
  export const CONTRACT_MAJOR = 5;
9
9
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplix-ai/block-kit",
3
- "version": "5.37.0",
3
+ "version": "5.38.0",
4
4
  "description": "The renderer contract every Block Type renderer is written against: what a renderer receives, how a Block Type is registered with its owner, the closed capability set, and the small helpers renderers share. Contract only, no renderers.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@shoplix-ai/sdui-schema": "1.90.0"
29
+ "@shoplix-ai/sdui-schema": "1.91.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=19.0.0"