@ai-sdk/fal 1.0.28 → 1.0.30

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,18 @@
1
1
  # @ai-sdk/fal
2
2
 
3
+ ## 1.0.30
4
+
5
+ ### Patch Changes
6
+
7
+ - 5543cd1: Add AI Gateway hint to provider READMEs
8
+
9
+ ## 1.0.29
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [a27a978]
14
+ - @ai-sdk/provider-utils@3.0.23
15
+
3
16
  ## 1.0.28
4
17
 
5
18
  ### Patch Changes
@@ -211,7 +224,7 @@
211
224
 
212
225
  ```js
213
226
  await generateImage({
214
- model: luma.image('photon-flash-1', {
227
+ model: luma.image("photon-flash-1", {
215
228
  maxImagesPerCall: 5,
216
229
  pollIntervalMillis: 500,
217
230
  }),
@@ -224,7 +237,7 @@
224
237
 
225
238
  ```js
226
239
  await generateImage({
227
- model: luma.image('photon-flash-1'),
240
+ model: luma.image("photon-flash-1"),
228
241
  prompt,
229
242
  n: 10,
230
243
  maxImagesPerCall: 5,
@@ -590,7 +603,7 @@
590
603
 
591
604
  ```js
592
605
  await generateImage({
593
- model: luma.image('photon-flash-1', {
606
+ model: luma.image("photon-flash-1", {
594
607
  maxImagesPerCall: 5,
595
608
  pollIntervalMillis: 500,
596
609
  }),
@@ -603,7 +616,7 @@
603
616
 
604
617
  ```js
605
618
  await generateImage({
606
- model: luma.image('photon-flash-1'),
619
+ model: luma.image("photon-flash-1"),
607
620
  prompt,
608
621
  n: 10,
609
622
  maxImagesPerCall: 5,
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The **[fal provider](https://ai-sdk.dev/providers/ai-sdk-providers/fal)** for the [AI SDK](https://ai-sdk.dev/docs) contains image model support for the [fal.ai API](https://fal.ai/).
4
4
 
5
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access fal (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 fal provider is available in the `@ai-sdk/fal` module. You can install it with
package/dist/index.js CHANGED
@@ -18,13 +18,13 @@ 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
  VERSION: () => VERSION,
24
24
  createFal: () => createFal,
25
25
  fal: () => fal
26
26
  });
27
- module.exports = __toCommonJS(src_exports);
27
+ module.exports = __toCommonJS(index_exports);
28
28
 
29
29
  // src/fal-provider.ts
30
30
  var import_provider2 = require("@ai-sdk/provider");
@@ -724,7 +724,7 @@ var falSpeechResponseSchema = import_v45.z.object({
724
724
  });
725
725
 
726
726
  // src/version.ts
727
- var VERSION = true ? "1.0.28" : "0.0.0-test";
727
+ var VERSION = true ? "1.0.30" : "0.0.0-test";
728
728
 
729
729
  // src/fal-provider.ts
730
730
  var defaultBaseURL = "https://fal.run";
package/dist/index.mjs CHANGED
@@ -730,7 +730,7 @@ var falSpeechResponseSchema = z5.object({
730
730
  });
731
731
 
732
732
  // src/version.ts
733
- var VERSION = true ? "1.0.28" : "0.0.0-test";
733
+ var VERSION = true ? "1.0.30" : "0.0.0-test";
734
734
 
735
735
  // src/fal-provider.ts
736
736
  var defaultBaseURL = "https://fal.run";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/fal",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -19,8 +19,8 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@ai-sdk/provider-utils": "3.0.22",
23
- "@ai-sdk/provider": "2.0.1"
22
+ "@ai-sdk/provider": "2.0.1",
23
+ "@ai-sdk/provider-utils": "3.0.23"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "20.17.24",
@@ -54,9 +54,7 @@
54
54
  "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
55
55
  "build:watch": "pnpm clean && tsup --watch",
56
56
  "clean": "del-cli dist *.tsbuildinfo",
57
- "lint": "eslint \"./**/*.ts*\"",
58
57
  "type-check": "tsc --build",
59
- "prettier-check": "prettier --check \"./**/*.ts*\"",
60
58
  "test": "pnpm test:node && pnpm test:edge",
61
59
  "test:update": "pnpm test:node -u",
62
60
  "test:watch": "vitest --config vitest.node.config.js",