@ai-sdk/azure 3.0.47 → 3.0.49

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/azure
2
2
 
3
+ ## 3.0.49
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9c548de]
8
+ - Updated dependencies [bcb04df]
9
+ - @ai-sdk/openai@3.0.48
10
+
11
+ ## 3.0.48
12
+
13
+ ### Patch Changes
14
+
15
+ - 055cd68: fix: publish v6 to latest npm dist tag
16
+ - Updated dependencies [055cd68]
17
+ - @ai-sdk/provider-utils@4.0.21
18
+ - @ai-sdk/openai@3.0.47
19
+
3
20
  ## 3.0.47
4
21
 
5
22
  ### Patch Changes
@@ -400,13 +417,13 @@
400
417
  Before
401
418
 
402
419
  ```ts
403
- model.textEmbeddingModel('my-model-id');
420
+ model.textEmbeddingModel("my-model-id");
404
421
  ```
405
422
 
406
423
  After
407
424
 
408
425
  ```ts
409
- model.embeddingModel('my-model-id');
426
+ model.embeddingModel("my-model-id");
410
427
  ```
411
428
 
412
429
  - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
@@ -793,13 +810,13 @@
793
810
  Before
794
811
 
795
812
  ```ts
796
- model.textEmbeddingModel('my-model-id');
813
+ model.textEmbeddingModel("my-model-id");
797
814
  ```
798
815
 
799
816
  After
800
817
 
801
818
  ```ts
802
- model.embeddingModel('my-model-id');
819
+ model.embeddingModel("my-model-id");
803
820
  ```
804
821
 
805
822
  - Updated dependencies [8d9e8ad]
@@ -1630,7 +1647,7 @@
1630
1647
 
1631
1648
  ```js
1632
1649
  await generateImage({
1633
- model: luma.image('photon-flash-1', {
1650
+ model: luma.image("photon-flash-1", {
1634
1651
  maxImagesPerCall: 5,
1635
1652
  pollIntervalMillis: 500,
1636
1653
  }),
@@ -1643,7 +1660,7 @@
1643
1660
 
1644
1661
  ```js
1645
1662
  await generateImage({
1646
- model: luma.image('photon-flash-1'),
1663
+ model: luma.image("photon-flash-1"),
1647
1664
  prompt,
1648
1665
  n: 10,
1649
1666
  maxImagesPerCall: 5,
@@ -1957,7 +1974,7 @@
1957
1974
 
1958
1975
  ```js
1959
1976
  await generateImage({
1960
- model: luma.image('photon-flash-1', {
1977
+ model: luma.image("photon-flash-1", {
1961
1978
  maxImagesPerCall: 5,
1962
1979
  pollIntervalMillis: 500,
1963
1980
  }),
@@ -1970,7 +1987,7 @@
1970
1987
 
1971
1988
  ```js
1972
1989
  await generateImage({
1973
- model: luma.image('photon-flash-1'),
1990
+ model: luma.image("photon-flash-1"),
1974
1991
  prompt,
1975
1992
  n: 10,
1976
1993
  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.47" : "0.0.0-test";
43
+ var VERSION = true ? "3.0.49" : "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.47" : "0.0.0-test";
32
+ var VERSION = true ? "3.0.49" : "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.47",
3
+ "version": "3.0.49",
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.46",
32
+ "@ai-sdk/openai": "3.0.48",
33
33
  "@ai-sdk/provider": "3.0.8",
34
- "@ai-sdk/provider-utils": "4.0.20"
34
+ "@ai-sdk/provider-utils": "4.0.21"
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",