@clickraft/cli 0.11.1 → 0.11.2
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 +3 -2
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
## [0.11.
|
|
1
|
+
## [0.11.2](https://github.com/clickraft/cli/compare/v0.11.1...v0.11.2) (2026-06-21)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
* **
|
|
5
|
+
* **sdk:** accept input.width/height in GenerateCreateRequestSchema ([6f92a22](https://github.com/clickraft/cli/commit/6f92a22f8152ce48bbb7ce95e1f4c3134fe81b5d)), closes [#3](https://github.com/clickraft/cli/issues/3)
|
|
6
|
+
* **sdk:** widen declaredParams required (optional) + defaultValue (any-typed) to match server ([03eb961](https://github.com/clickraft/cli/commit/03eb961f9c05272c96cbb7de8667ef0222e08691)), closes [#5](https://github.com/clickraft/cli/issues/5) [#6](https://github.com/clickraft/cli/issues/6) [#N](https://github.com/clickraft/cli/issues/N) [5/#6](https://github.com/5/cli/issues/6)
|
|
6
7
|
|
|
7
8
|
# Changelog
|
|
8
9
|
|
package/dist/cli.js
CHANGED
|
@@ -95,8 +95,8 @@ var TokensListResponseSchema = z4.array(TokenRowSchema);
|
|
|
95
95
|
var DeclaredParamSchema = z5.object({
|
|
96
96
|
name: z5.string(),
|
|
97
97
|
type: z5.string(),
|
|
98
|
-
required: z5.boolean(),
|
|
99
|
-
defaultValue: z5.
|
|
98
|
+
required: z5.boolean().optional(),
|
|
99
|
+
defaultValue: z5.unknown().optional(),
|
|
100
100
|
enumValues: z5.array(z5.string()).nullable().optional(),
|
|
101
101
|
description: z5.string().nullable().optional()
|
|
102
102
|
}).strict();
|
|
@@ -139,6 +139,8 @@ var GenerateCreateRequestSchema = z6.object({
|
|
|
139
139
|
"resolution must match WxH (e.g. 1280x720), p-token (e.g. 720p), or K-token (e.g. 1K)"
|
|
140
140
|
).optional(),
|
|
141
141
|
durationSeconds: z6.number().int().min(1).max(60).optional(),
|
|
142
|
+
width: z6.number().int().min(64).max(8192).optional(),
|
|
143
|
+
height: z6.number().int().min(64).max(8192).optional(),
|
|
142
144
|
providerParams: z6.record(z6.string(), z6.unknown()).optional()
|
|
143
145
|
}).strict(),
|
|
144
146
|
options: z6.object({
|