@civitai/blocks-react 0.72.3 → 0.72.4

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
@@ -7,6 +7,17 @@ Pairs with [`@civitai/app-sdk`](https://www.npmjs.com/package/@civitai/app-sdk)'
7
7
  `postMessage` contract. This package adds the transport that actually moves bytes
8
8
  and the React hooks block authors call.
9
9
 
10
+ > **Starting a new block app? Start from
11
+ > [`@civitai/sdk`](https://www.npmjs.com/package/@civitai/sdk).** The three
12
+ > packages are layers over one host contract, and all three are supported:
13
+ >
14
+ > - **`@civitai/sdk`** is the client new block apps start on: `initialize()`,
15
+ > then `app.workflows`, `app.storage`, `app.site` and `app.host`.
16
+ > - **`@civitai/app-sdk/blocks`** is the contract itself: the workflow body
17
+ > types, the manifest types and the host message shapes.
18
+ > - **`@civitai/blocks-react`** (this package) is the React hook binding over
19
+ > that same contract.
20
+
10
21
  ## Install
11
22
 
12
23
  ```bash
@@ -1,3 +1,3 @@
1
1
  /** This package's version, reported to the host as `sdkVersion` in `BLOCK_READY`. */
2
- export declare const VERSION = "0.72.3";
2
+ export declare const VERSION = "0.72.4";
3
3
  //# sourceMappingURL=version.generated.d.ts.map
@@ -1,4 +1,4 @@
1
1
  /* AUTOGENERATED from package.json by scripts/gen-version.mjs. DO NOT EDIT. */
2
2
  /** This package's version, reported to the host as `sdkVersion` in `BLOCK_READY`. */
3
- export const VERSION = "0.72.3";
3
+ export const VERSION = "0.72.4";
4
4
  //# sourceMappingURL=version.generated.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/blocks-react",
3
- "version": "0.72.3",
3
+ "version": "0.72.4",
4
4
  "description": "React hooks and iframe transport for Civitai Apps. Pairs with @civitai/app-sdk/blocks.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -37,8 +37,8 @@
37
37
  "node": ">=20"
38
38
  },
39
39
  "dependencies": {
40
- "@civitai/components": "^0.9.3",
41
- "@civitai/theme": "^0.5.2"
40
+ "@civitai/theme": "^0.5.2",
41
+ "@civitai/components": "^0.9.3"
42
42
  },
43
43
  "comment-peerDependencies": "This floor is DERIVED, not chosen — the lowest published app-sdk that exports every symbol this package imports. Do not edit it without reading ./PEER_FLOOR.md (in-repo, unpublished) and tests/guards/blocks-react-peer-floor.test.mjs.",
44
44
  "peerDependencies": {
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5.9.2",
59
59
  "vite": "^8.0.14",
60
60
  "vitest": "^4.1.11",
61
- "@civitai/app-sdk": "^0.69.0"
61
+ "@civitai/app-sdk": "^0.69.1"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"