@ai-sdk/azure 3.0.48 → 3.0.50

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,20 @@
1
1
  # @ai-sdk/azure
2
2
 
3
+ ## 3.0.50
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bc01093]
8
+ - @ai-sdk/openai@3.0.49
9
+
10
+ ## 3.0.49
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [9c548de]
15
+ - Updated dependencies [bcb04df]
16
+ - @ai-sdk/openai@3.0.48
17
+
3
18
  ## 3.0.48
4
19
 
5
20
  ### Patch Changes
@@ -409,13 +424,13 @@
409
424
  Before
410
425
 
411
426
  ```ts
412
- model.textEmbeddingModel('my-model-id');
427
+ model.textEmbeddingModel("my-model-id");
413
428
  ```
414
429
 
415
430
  After
416
431
 
417
432
  ```ts
418
- model.embeddingModel('my-model-id');
433
+ model.embeddingModel("my-model-id");
419
434
  ```
420
435
 
421
436
  - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
@@ -802,13 +817,13 @@
802
817
  Before
803
818
 
804
819
  ```ts
805
- model.textEmbeddingModel('my-model-id');
820
+ model.textEmbeddingModel("my-model-id");
806
821
  ```
807
822
 
808
823
  After
809
824
 
810
825
  ```ts
811
- model.embeddingModel('my-model-id');
826
+ model.embeddingModel("my-model-id");
812
827
  ```
813
828
 
814
829
  - Updated dependencies [8d9e8ad]
@@ -1639,7 +1654,7 @@
1639
1654
 
1640
1655
  ```js
1641
1656
  await generateImage({
1642
- model: luma.image('photon-flash-1', {
1657
+ model: luma.image("photon-flash-1", {
1643
1658
  maxImagesPerCall: 5,
1644
1659
  pollIntervalMillis: 500,
1645
1660
  }),
@@ -1652,7 +1667,7 @@
1652
1667
 
1653
1668
  ```js
1654
1669
  await generateImage({
1655
- model: luma.image('photon-flash-1'),
1670
+ model: luma.image("photon-flash-1"),
1656
1671
  prompt,
1657
1672
  n: 10,
1658
1673
  maxImagesPerCall: 5,
@@ -1966,7 +1981,7 @@
1966
1981
 
1967
1982
  ```js
1968
1983
  await generateImage({
1969
- model: luma.image('photon-flash-1', {
1984
+ model: luma.image("photon-flash-1", {
1970
1985
  maxImagesPerCall: 5,
1971
1986
  pollIntervalMillis: 500,
1972
1987
  }),
@@ -1979,7 +1994,7 @@
1979
1994
 
1980
1995
  ```js
1981
1996
  await generateImage({
1982
- model: luma.image('photon-flash-1'),
1997
+ model: luma.image("photon-flash-1"),
1983
1998
  prompt,
1984
1999
  n: 10,
1985
2000
  maxImagesPerCall: 5,
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ var azureOpenaiTools = {
40
40
  };
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "3.0.48" : "0.0.0-test";
43
+ var VERSION = true ? "3.0.50" : "0.0.0-test";
44
44
 
45
45
  // src/azure-openai-provider.ts
46
46
  function createAzure(options = {}) {
package/dist/index.mjs CHANGED
@@ -29,7 +29,7 @@ var azureOpenaiTools = {
29
29
  };
30
30
 
31
31
  // src/version.ts
32
- var VERSION = true ? "3.0.48" : "0.0.0-test";
32
+ var VERSION = true ? "3.0.50" : "0.0.0-test";
33
33
 
34
34
  // src/azure-openai-provider.ts
35
35
  function createAzure(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/azure",
3
- "version": "3.0.48",
3
+ "version": "3.0.50",
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": "3.0.47",
33
- "@ai-sdk/provider": "3.0.8",
34
- "@ai-sdk/provider-utils": "4.0.21"
32
+ "@ai-sdk/openai": "3.0.49",
33
+ "@ai-sdk/provider-utils": "4.0.21",
34
+ "@ai-sdk/provider": "3.0.8"
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",