craterview 0.4.8 → 0.4.11

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.
Files changed (2) hide show
  1. package/index.ts +6 -5
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -18,7 +18,7 @@ import { imageSize } from "image-size";
18
18
  // Mirrored from package.json, which is the number a release bumps. It cannot be imported
19
19
  // from there — this ships as TypeScript, so the import would have to resolve in the
20
20
  // consumer's toolchain — so test/version.test.ts asserts the two agree.
21
- export const VERSION = "0.4.8";
21
+ export const VERSION = "0.4.11";
22
22
  const DEFAULT_BASE_URL = "https://api.craterview.ai";
23
23
  // The server rejects a longer wait outright, so asking for one costs a 422 rather than the
24
24
  // wait you asked for. `run()` clamps to this rather than letting that happen.
@@ -264,8 +264,8 @@ export interface ModelInfo {
264
264
  */
265
265
  video_coming_soon?: boolean;
266
266
  /**
267
- * How long this model is for. `fixed` is a lasting part of the service; `comet` is a
268
- * featured model that may be withdrawn at short notice, so build on it knowing that.
267
+ * What kind of model this is. `fixed` is a lasting part of the service; `comet` is a
268
+ * utility or fun experiment.
269
269
  */
270
270
  tenure?: "fixed" | "comet";
271
271
  max_input_bytes: number;
@@ -422,8 +422,9 @@ export interface JobData {
422
422
  gallery?: GalleryState | null;
423
423
  community?: boolean;
424
424
  /**
425
- * Whether an automated check thought this image may fall outside what the service
426
- * allows. Absent means it was not checked.
425
+ * Whether an automated check thought this job's images may fall outside what the
426
+ * service allows: the one you sent, and for some jobs the one that came back. Absent
427
+ * means they were not all checked.
427
428
  */
428
429
  flagged?: boolean | null;
429
430
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "craterview",
3
- "version": "0.4.8",
3
+ "version": "0.4.11",
4
4
  "dependencies": {
5
5
  "image-size": "^2.0.4"
6
6
  },