@ai-sdk/deepinfra 2.0.40 → 2.0.42

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,22 @@
1
1
  # @ai-sdk/deepinfra
2
2
 
3
+ ## 2.0.42
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
+
11
+ ## 2.0.41
12
+
13
+ ### Patch Changes
14
+
15
+ - 055cd68: fix: publish v6 to latest npm dist tag
16
+ - Updated dependencies [055cd68]
17
+ - @ai-sdk/openai-compatible@2.0.37
18
+ - @ai-sdk/provider-utils@4.0.21
19
+
3
20
  ## 2.0.40
4
21
 
5
22
  ### Patch Changes
@@ -326,13 +343,13 @@
326
343
  Before
327
344
 
328
345
  ```ts
329
- model.textEmbeddingModel('my-model-id');
346
+ model.textEmbeddingModel("my-model-id");
330
347
  ```
331
348
 
332
349
  After
333
350
 
334
351
  ```ts
335
- model.embeddingModel('my-model-id');
352
+ model.embeddingModel("my-model-id");
336
353
  ```
337
354
 
338
355
  - 95f65c2: chore: use import \* from zod/v4
@@ -560,13 +577,13 @@
560
577
  Before
561
578
 
562
579
  ```ts
563
- model.textEmbeddingModel('my-model-id');
580
+ model.textEmbeddingModel("my-model-id");
564
581
  ```
565
582
 
566
583
  After
567
584
 
568
585
  ```ts
569
- model.embeddingModel('my-model-id');
586
+ model.embeddingModel("my-model-id");
570
587
  ```
571
588
 
572
589
  - Updated dependencies [8d9e8ad]
@@ -1054,7 +1071,7 @@
1054
1071
 
1055
1072
  ```js
1056
1073
  await generateImage({
1057
- model: luma.image('photon-flash-1', {
1074
+ model: luma.image("photon-flash-1", {
1058
1075
  maxImagesPerCall: 5,
1059
1076
  pollIntervalMillis: 500,
1060
1077
  }),
@@ -1067,7 +1084,7 @@
1067
1084
 
1068
1085
  ```js
1069
1086
  await generateImage({
1070
- model: luma.image('photon-flash-1'),
1087
+ model: luma.image("photon-flash-1"),
1071
1088
  prompt,
1072
1089
  n: 10,
1073
1090
  maxImagesPerCall: 5,
@@ -1354,7 +1371,7 @@
1354
1371
 
1355
1372
  ```js
1356
1373
  await generateImage({
1357
- model: luma.image('photon-flash-1', {
1374
+ model: luma.image("photon-flash-1", {
1358
1375
  maxImagesPerCall: 5,
1359
1376
  pollIntervalMillis: 500,
1360
1377
  }),
@@ -1367,7 +1384,7 @@
1367
1384
 
1368
1385
  ```js
1369
1386
  await generateImage({
1370
- model: luma.image('photon-flash-1'),
1387
+ model: luma.image("photon-flash-1"),
1371
1388
  prompt,
1372
1389
  n: 10,
1373
1390
  maxImagesPerCall: 5,
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
  createDeepInfra: () => createDeepInfra,
25
25
  deepinfra: () => deepinfra
26
26
  });
27
- module.exports = __toCommonJS(src_exports);
27
+ module.exports = __toCommonJS(index_exports);
28
28
 
29
29
  // src/deepinfra-provider.ts
30
30
  var import_openai_compatible2 = require("@ai-sdk/openai-compatible");
@@ -293,7 +293,7 @@ var DeepInfraChatLanguageModel = class extends import_openai_compatible.OpenAICo
293
293
  };
294
294
 
295
295
  // src/version.ts
296
- var VERSION = true ? "2.0.40" : "0.0.0-test";
296
+ var VERSION = true ? "2.0.42" : "0.0.0-test";
297
297
 
298
298
  // src/deepinfra-provider.ts
299
299
  function createDeepInfra(options = {}) {
package/dist/index.mjs CHANGED
@@ -281,7 +281,7 @@ var DeepInfraChatLanguageModel = class extends OpenAICompatibleChatLanguageModel
281
281
  };
282
282
 
283
283
  // src/version.ts
284
- var VERSION = true ? "2.0.40" : "0.0.0-test";
284
+ var VERSION = true ? "2.0.42" : "0.0.0-test";
285
285
 
286
286
  // src/deepinfra-provider.ts
287
287
  function createDeepInfra(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/deepinfra",
3
- "version": "2.0.40",
3
+ "version": "2.0.42",
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.36",
32
+ "@ai-sdk/openai-compatible": "2.0.38",
33
33
  "@ai-sdk/provider": "3.0.8",
34
- "@ai-sdk/provider-utils": "4.0.20"
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",