@civitai/sdk 0.17.0 → 0.17.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.
@@ -1,2 +1,2 @@
1
1
  /** This package's version, reported to the host as `sdkVersion` in `BLOCK_READY`. */
2
- export declare const VERSION = "0.17.0";
2
+ export declare const VERSION = "0.17.1";
@@ -1,3 +1,3 @@
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.17.0";
3
+ export const VERSION = "0.17.1";
@@ -612,8 +612,14 @@ export type WorkflowBodyPassThroughStep = {
612
612
  *
613
613
  * Consequently the orchestrator's per-`$type` schema is the ONLY authority for
614
614
  * what a given `$type` accepts; nothing in this package or on the host mirrors
615
- * it. Bounded only by size: at most **262144 bytes** (256 KB) serialized, which
616
- * is a payload-DoS bound and not a shape gate.
615
+ * it. Its shape is not checked; its size is: at most **262144 bytes** (256 KB)
616
+ * serialized, which is a payload-DoS bound and not a shape gate.
617
+ *
618
+ * 🔴 **No inline media.** The host refuses a `data:image|video|audio` URI or a
619
+ * long raw base64 string anywhere in here: upload the image, video or audio
620
+ * with `useMediaUpload()` (an image also works with
621
+ * `useImageUpload({ purpose: 'generationSource' })` or `useImagePicker()`)
622
+ * and pass the returned `url`.
617
623
  */
618
624
  input: Record<string, unknown>;
619
625
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/sdk",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "The Civitai SDK: an app holds a token and calls the Civitai API and the orchestrator; a block asks its host only to show host UI.",
5
5
  "license": "MIT",
6
6
  "type": "module",