@ai-sdk/luma 2.0.26 → 2.0.27

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @ai-sdk/luma
2
2
 
3
+ ## 2.0.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0469aed]
8
+ - @ai-sdk/provider-utils@4.0.22
9
+
3
10
  ## 2.0.26
4
11
 
5
12
  ### Patch Changes
@@ -206,13 +213,13 @@
206
213
  Before
207
214
 
208
215
  ```ts
209
- model.textEmbeddingModel('my-model-id');
216
+ model.textEmbeddingModel("my-model-id");
210
217
  ```
211
218
 
212
219
  After
213
220
 
214
221
  ```ts
215
- model.embeddingModel('my-model-id');
222
+ model.embeddingModel("my-model-id");
216
223
  ```
217
224
 
218
225
  - 95f65c2: chore: use import \* from zod/v4
@@ -414,13 +421,13 @@
414
421
  Before
415
422
 
416
423
  ```ts
417
- model.textEmbeddingModel('my-model-id');
424
+ model.textEmbeddingModel("my-model-id");
418
425
  ```
419
426
 
420
427
  After
421
428
 
422
429
  ```ts
423
- model.embeddingModel('my-model-id');
430
+ model.embeddingModel("my-model-id");
424
431
  ```
425
432
 
426
433
  - Updated dependencies [8d9e8ad]
@@ -790,7 +797,7 @@
790
797
 
791
798
  ```js
792
799
  await generateImage({
793
- model: luma.image('photon-flash-1', {
800
+ model: luma.image("photon-flash-1", {
794
801
  maxImagesPerCall: 5,
795
802
  pollIntervalMillis: 500,
796
803
  }),
@@ -803,7 +810,7 @@
803
810
 
804
811
  ```js
805
812
  await generateImage({
806
- model: luma.image('photon-flash-1'),
813
+ model: luma.image("photon-flash-1"),
807
814
  prompt,
808
815
  n: 10,
809
816
  maxImagesPerCall: 5,
@@ -1039,7 +1046,7 @@
1039
1046
 
1040
1047
  ```js
1041
1048
  await generateImage({
1042
- model: luma.image('photon-flash-1', {
1049
+ model: luma.image("photon-flash-1", {
1043
1050
  maxImagesPerCall: 5,
1044
1051
  pollIntervalMillis: 500,
1045
1052
  }),
@@ -1052,7 +1059,7 @@
1052
1059
 
1053
1060
  ```js
1054
1061
  await generateImage({
1055
- model: luma.image('photon-flash-1'),
1062
+ model: luma.image("photon-flash-1"),
1056
1063
  prompt,
1057
1064
  n: 10,
1058
1065
  maxImagesPerCall: 5,
package/dist/index.js CHANGED
@@ -356,7 +356,7 @@ var lumaImageModelOptionsSchema = (0, import_provider_utils.lazySchema)(
356
356
  );
357
357
 
358
358
  // src/version.ts
359
- var VERSION = true ? "2.0.26" : "0.0.0-test";
359
+ var VERSION = true ? "2.0.27" : "0.0.0-test";
360
360
 
361
361
  // src/luma-provider.ts
362
362
  var defaultBaseURL = "https://api.lumalabs.ai";
package/dist/index.mjs CHANGED
@@ -346,7 +346,7 @@ var lumaImageModelOptionsSchema = lazySchema(
346
346
  );
347
347
 
348
348
  // src/version.ts
349
- var VERSION = true ? "2.0.26" : "0.0.0-test";
349
+ var VERSION = true ? "2.0.27" : "0.0.0-test";
350
350
 
351
351
  // src/luma-provider.ts
352
352
  var defaultBaseURL = "https://api.lumalabs.ai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/luma",
3
- "version": "2.0.26",
3
+ "version": "2.0.27",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@ai-sdk/provider": "3.0.8",
33
- "@ai-sdk/provider-utils": "4.0.21"
33
+ "@ai-sdk/provider-utils": "4.0.22"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "20.17.24",
@@ -64,9 +64,7 @@
64
64
  "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
65
65
  "build:watch": "pnpm clean && tsup --watch",
66
66
  "clean": "del-cli dist docs *.tsbuildinfo",
67
- "lint": "eslint \"./**/*.ts*\"",
68
67
  "type-check": "tsc --build",
69
- "prettier-check": "prettier --check \"./**/*.ts*\"",
70
68
  "test": "pnpm test:node && pnpm test:edge",
71
69
  "test:update": "pnpm test:node -u",
72
70
  "test:watch": "vitest --config vitest.node.config.js",