@ai-sdk/fireworks 2.0.42 → 2.0.43

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,13 @@
1
1
  # @ai-sdk/fireworks
2
2
 
3
+ ## 2.0.43
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0469aed]
8
+ - @ai-sdk/provider-utils@4.0.22
9
+ - @ai-sdk/openai-compatible@2.0.38
10
+
3
11
  ## 2.0.42
4
12
 
5
13
  ### Patch Changes
@@ -342,13 +350,13 @@
342
350
  Before
343
351
 
344
352
  ```ts
345
- model.textEmbeddingModel('my-model-id');
353
+ model.textEmbeddingModel("my-model-id");
346
354
  ```
347
355
 
348
356
  After
349
357
 
350
358
  ```ts
351
- model.embeddingModel('my-model-id');
359
+ model.embeddingModel("my-model-id");
352
360
  ```
353
361
 
354
362
  - 95f65c2: chore: use import \* from zod/v4
@@ -576,13 +584,13 @@
576
584
  Before
577
585
 
578
586
  ```ts
579
- model.textEmbeddingModel('my-model-id');
587
+ model.textEmbeddingModel("my-model-id");
580
588
  ```
581
589
 
582
590
  After
583
591
 
584
592
  ```ts
585
- model.embeddingModel('my-model-id');
593
+ model.embeddingModel("my-model-id");
586
594
  ```
587
595
 
588
596
  - Updated dependencies [8d9e8ad]
@@ -1070,7 +1078,7 @@
1070
1078
 
1071
1079
  ```js
1072
1080
  await generateImage({
1073
- model: luma.image('photon-flash-1', {
1081
+ model: luma.image("photon-flash-1", {
1074
1082
  maxImagesPerCall: 5,
1075
1083
  pollIntervalMillis: 500,
1076
1084
  }),
@@ -1083,7 +1091,7 @@
1083
1091
 
1084
1092
  ```js
1085
1093
  await generateImage({
1086
- model: luma.image('photon-flash-1'),
1094
+ model: luma.image("photon-flash-1"),
1087
1095
  prompt,
1088
1096
  n: 10,
1089
1097
  maxImagesPerCall: 5,
@@ -1371,7 +1379,7 @@
1371
1379
 
1372
1380
  ```js
1373
1381
  await generateImage({
1374
- model: luma.image('photon-flash-1', {
1382
+ model: luma.image("photon-flash-1", {
1375
1383
  maxImagesPerCall: 5,
1376
1384
  pollIntervalMillis: 500,
1377
1385
  }),
@@ -1384,7 +1392,7 @@
1384
1392
 
1385
1393
  ```js
1386
1394
  await generateImage({
1387
- model: luma.image('photon-flash-1'),
1395
+ model: luma.image("photon-flash-1"),
1388
1396
  prompt,
1389
1397
  n: 10,
1390
1398
  maxImagesPerCall: 5,
package/dist/index.js CHANGED
@@ -305,7 +305,7 @@ var import_provider_utils3 = require("@ai-sdk/provider-utils");
305
305
  var import_v42 = require("zod/v4");
306
306
 
307
307
  // src/version.ts
308
- var VERSION = true ? "2.0.42" : "0.0.0-test";
308
+ var VERSION = true ? "2.0.43" : "0.0.0-test";
309
309
 
310
310
  // src/fireworks-provider.ts
311
311
  var fireworksErrorSchema = import_v42.z.object({
package/dist/index.mjs CHANGED
@@ -293,7 +293,7 @@ import {
293
293
  import { z as z2 } from "zod/v4";
294
294
 
295
295
  // src/version.ts
296
- var VERSION = true ? "2.0.42" : "0.0.0-test";
296
+ var VERSION = true ? "2.0.43" : "0.0.0-test";
297
297
 
298
298
  // src/fireworks-provider.ts
299
299
  var fireworksErrorSchema = z2.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/fireworks",
3
- "version": "2.0.42",
3
+ "version": "2.0.43",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "2.0.37",
32
+ "@ai-sdk/openai-compatible": "2.0.38",
33
33
  "@ai-sdk/provider": "3.0.8",
34
- "@ai-sdk/provider-utils": "4.0.21"
34
+ "@ai-sdk/provider-utils": "4.0.22"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.17.24",
@@ -65,9 +65,7 @@
65
65
  "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
66
66
  "build:watch": "pnpm clean && tsup --watch",
67
67
  "clean": "del-cli dist docs *.tsbuildinfo",
68
- "lint": "eslint \"./**/*.ts*\"",
69
68
  "type-check": "tsc --build",
70
- "prettier-check": "prettier --check \"./**/*.ts*\"",
71
69
  "test": "pnpm test:node && pnpm test:edge",
72
70
  "test:update": "pnpm test:node -u",
73
71
  "test:watch": "vitest --config vitest.node.config.js",