@ai-sdk/azure 2.0.101 → 2.0.103

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,19 @@
1
1
  # @ai-sdk/azure
2
2
 
3
+ ## 2.0.103
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [316517c]
8
+ - @ai-sdk/openai@2.0.101
9
+
10
+ ## 2.0.102
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [216151a]
15
+ - @ai-sdk/openai@2.0.100
16
+
3
17
  ## 2.0.101
4
18
 
5
19
  ### Patch Changes
@@ -786,7 +800,7 @@
786
800
 
787
801
  ```js
788
802
  await generateImage({
789
- model: luma.image('photon-flash-1', {
803
+ model: luma.image("photon-flash-1", {
790
804
  maxImagesPerCall: 5,
791
805
  pollIntervalMillis: 500,
792
806
  }),
@@ -799,7 +813,7 @@
799
813
 
800
814
  ```js
801
815
  await generateImage({
802
- model: luma.image('photon-flash-1'),
816
+ model: luma.image("photon-flash-1"),
803
817
  prompt,
804
818
  n: 10,
805
819
  maxImagesPerCall: 5,
@@ -1298,7 +1312,7 @@
1298
1312
 
1299
1313
  ```js
1300
1314
  await generateImage({
1301
- model: luma.image('photon-flash-1', {
1315
+ model: luma.image("photon-flash-1", {
1302
1316
  maxImagesPerCall: 5,
1303
1317
  pollIntervalMillis: 500,
1304
1318
  }),
@@ -1311,7 +1325,7 @@
1311
1325
 
1312
1326
  ```js
1313
1327
  await generateImage({
1314
- model: luma.image('photon-flash-1'),
1328
+ model: luma.image("photon-flash-1"),
1315
1329
  prompt,
1316
1330
  n: 10,
1317
1331
  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
  azure: () => azure,
25
25
  createAzure: () => createAzure
26
26
  });
27
- module.exports = __toCommonJS(src_exports);
27
+ module.exports = __toCommonJS(index_exports);
28
28
 
29
29
  // src/azure-openai-provider.ts
30
30
  var import_internal2 = require("@ai-sdk/openai/internal");
@@ -40,7 +40,7 @@ var azureOpenaiTools = {
40
40
  };
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.0.101" : "0.0.0-test";
43
+ var VERSION = true ? "2.0.103" : "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 ? "2.0.101" : "0.0.0-test";
32
+ var VERSION = true ? "2.0.103" : "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": "2.0.101",
3
+ "version": "2.0.103",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@ai-sdk/provider": "2.0.1",
23
- "@ai-sdk/openai": "2.0.99",
24
- "@ai-sdk/provider-utils": "3.0.22"
23
+ "@ai-sdk/provider-utils": "3.0.22",
24
+ "@ai-sdk/openai": "2.0.101"
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",