@byte_fluffy/nexra-sdk 0.1.0-alpha.14 → 0.1.0-alpha.15

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/dist/catalog.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  getModelSpec,
7
7
  listModelSpecs,
8
8
  projectMediaGeometry
9
- } from "./chunk-Z7RXRNVE.js";
9
+ } from "./chunk-C5MJ4UNN.js";
10
10
  export {
11
11
  CatalogClient,
12
12
  applyMediaGeometry,
@@ -19977,7 +19977,6 @@ var video_generated_default = [
19977
19977
  order: 4,
19978
19978
  control: "segmented",
19979
19979
  optionLabels: {
19980
- adaptive: "\u81EA\u9002\u5E94",
19981
19980
  "21:9": "21:9",
19982
19981
  "16:9": "16:9",
19983
19982
  "4:3": "4:3",
@@ -19999,8 +19998,8 @@ var video_generated_default = [
19999
19998
  order: 5,
20000
19999
  control: "segmented",
20001
20000
  optionLabels: {
20002
- "768P": "768P",
20003
- "2K": "2K"
20001
+ "480P": "480P",
20002
+ "768P": "768P"
20004
20003
  }
20005
20004
  },
20006
20005
  default: "480P"
@@ -20422,37 +20421,6 @@ var video_generated_default = [
20422
20421
  }
20423
20422
  }
20424
20423
  }
20425
- },
20426
- {
20427
- if: {
20428
- required: [
20429
- "ratio"
20430
- ],
20431
- properties: {
20432
- ratio: {
20433
- const: "adaptive"
20434
- }
20435
- }
20436
- },
20437
- then: {
20438
- anyOf: [
20439
- {
20440
- required: [
20441
- "images"
20442
- ]
20443
- },
20444
- {
20445
- required: [
20446
- "videos"
20447
- ]
20448
- },
20449
- {
20450
- required: [
20451
- "audios"
20452
- ]
20453
- }
20454
- ]
20455
- }
20456
20424
  }
20457
20425
  ],
20458
20426
  anyOf: [
@@ -28048,6 +28016,21 @@ var video_generated_default = [
28048
28016
  },
28049
28017
  default: "16:9"
28050
28018
  },
28019
+ resolution: {
28020
+ type: "string",
28021
+ description: "Omni Flash outputs video at its fixed 720p resolution.",
28022
+ enum: [
28023
+ "720p"
28024
+ ],
28025
+ "x-ui": {
28026
+ order: 3,
28027
+ control: "segmented",
28028
+ optionLabels: {
28029
+ "720p": "720P"
28030
+ }
28031
+ },
28032
+ default: "720p"
28033
+ },
28051
28034
  texts: {
28052
28035
  type: "string",
28053
28036
  description: "Describe the subject, action, camera movement, and style of the video.",
@@ -34365,7 +34348,7 @@ var NexraWaitTimeoutError = class extends Error {
34365
34348
  };
34366
34349
 
34367
34350
  // src/generated/version.generated.ts
34368
- var SDK_VERSION = "0.1.0-alpha.14";
34351
+ var SDK_VERSION = "0.1.0-alpha.15";
34369
34352
 
34370
34353
  // src/transport.ts
34371
34354
  var DEFAULT_BASE_URL = "https://api.nexra-ai.com/v1";
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  projectMediaGeometry,
17
17
  queryString,
18
18
  sleep
19
- } from "./chunk-Z7RXRNVE.js";
19
+ } from "./chunk-C5MJ4UNN.js";
20
20
  import {
21
21
  ceilDecimal,
22
22
  multiplyDecimal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byte_fluffy/nexra-sdk",
3
- "version": "0.1.0-alpha.14",
3
+ "version": "0.1.0-alpha.15",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "sideEffects": false,
@@ -42,6 +42,7 @@
42
42
  "generate": "bun scripts/generate-public-catalog.ts",
43
43
  "build": "bun run generate && tsup",
44
44
  "test": "vitest run --root ../.. packages/sdk/tests",
45
+ "verify:video-schema-drift": "bun scripts/verify-video-schema-drift.ts",
45
46
  "prepack": "bun run build"
46
47
  },
47
48
  "devDependencies": {