@ai-sdk/fireworks 1.0.35 → 1.0.37

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,21 @@
1
1
  # @ai-sdk/fireworks
2
2
 
3
+ ## 1.0.37
4
+
5
+ ### Patch Changes
6
+
7
+ - 5543cd1: Add AI Gateway hint to provider READMEs
8
+ - Updated dependencies [5543cd1]
9
+ - @ai-sdk/openai-compatible@1.0.36
10
+
11
+ ## 1.0.36
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [a27a978]
16
+ - @ai-sdk/provider-utils@3.0.23
17
+ - @ai-sdk/openai-compatible@1.0.35
18
+
3
19
  ## 1.0.35
4
20
 
5
21
  ### Patch Changes
@@ -291,7 +307,7 @@
291
307
 
292
308
  ```js
293
309
  await generateImage({
294
- model: luma.image('photon-flash-1', {
310
+ model: luma.image("photon-flash-1", {
295
311
  maxImagesPerCall: 5,
296
312
  pollIntervalMillis: 500,
297
313
  }),
@@ -304,7 +320,7 @@
304
320
 
305
321
  ```js
306
322
  await generateImage({
307
- model: luma.image('photon-flash-1'),
323
+ model: luma.image("photon-flash-1"),
308
324
  prompt,
309
325
  n: 10,
310
326
  maxImagesPerCall: 5,
@@ -729,7 +745,7 @@
729
745
 
730
746
  ```js
731
747
  await generateImage({
732
- model: luma.image('photon-flash-1', {
748
+ model: luma.image("photon-flash-1", {
733
749
  maxImagesPerCall: 5,
734
750
  pollIntervalMillis: 500,
735
751
  }),
@@ -742,7 +758,7 @@
742
758
 
743
759
  ```js
744
760
  await generateImage({
745
- model: luma.image('photon-flash-1'),
761
+ model: luma.image("photon-flash-1"),
746
762
  prompt,
747
763
  n: 10,
748
764
  maxImagesPerCall: 5,
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The **[Fireworks provider](https://ai-sdk.dev/providers/ai-sdk-providers/fireworks)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model and image model support for the [Fireworks](https://fireworks.ai) platform.
4
4
 
5
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access Fireworks (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
6
+
5
7
  ## Setup
6
8
 
7
9
  The Fireworks provider is available in the `@ai-sdk/fireworks` module. You can install it with
package/dist/index.js CHANGED
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  FireworksImageModel: () => FireworksImageModel,
24
24
  VERSION: () => VERSION,
25
25
  createFireworks: () => createFireworks,
26
26
  fireworks: () => fireworks
27
27
  });
28
- module.exports = __toCommonJS(src_exports);
28
+ module.exports = __toCommonJS(index_exports);
29
29
 
30
30
  // src/fireworks-image-model.ts
31
31
  var import_provider_utils = require("@ai-sdk/provider-utils");
@@ -140,7 +140,7 @@ var import_provider_utils2 = require("@ai-sdk/provider-utils");
140
140
  var import_v4 = require("zod/v4");
141
141
 
142
142
  // src/version.ts
143
- var VERSION = true ? "1.0.35" : "0.0.0-test";
143
+ var VERSION = true ? "1.0.37" : "0.0.0-test";
144
144
 
145
145
  // src/fireworks-provider.ts
146
146
  var fireworksErrorSchema = import_v4.z.object({
package/dist/index.mjs CHANGED
@@ -124,7 +124,7 @@ import {
124
124
  import { z } from "zod/v4";
125
125
 
126
126
  // src/version.ts
127
- var VERSION = true ? "1.0.35" : "0.0.0-test";
127
+ var VERSION = true ? "1.0.37" : "0.0.0-test";
128
128
 
129
129
  // src/fireworks-provider.ts
130
130
  var fireworksErrorSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/fireworks",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -19,9 +19,9 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@ai-sdk/openai-compatible": "1.0.34",
22
+ "@ai-sdk/openai-compatible": "1.0.36",
23
23
  "@ai-sdk/provider": "2.0.1",
24
- "@ai-sdk/provider-utils": "3.0.22"
24
+ "@ai-sdk/provider-utils": "3.0.23"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "20.17.24",
@@ -55,9 +55,7 @@
55
55
  "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
56
56
  "build:watch": "pnpm clean && tsup --watch",
57
57
  "clean": "del-cli dist *.tsbuildinfo",
58
- "lint": "eslint \"./**/*.ts*\"",
59
58
  "type-check": "tsc --build",
60
- "prettier-check": "prettier --check \"./**/*.ts*\"",
61
59
  "test": "pnpm test:node && pnpm test:edge",
62
60
  "test:update": "pnpm test:node -u",
63
61
  "test:watch": "vitest --config vitest.node.config.js",