@ai-sdk/openai 4.0.0-beta.41 → 4.0.0-beta.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,18 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 4.0.0-beta.42
4
+
5
+ ### Major Changes
6
+
7
+ - 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
8
+
9
+ For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [08d2129]
14
+ - @ai-sdk/provider-utils@5.0.0-beta.30
15
+
3
16
  ## 4.0.0-beta.41
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -489,7 +489,7 @@ var openaiChatChunkSchema = lazySchema(
489
489
  )
490
490
  );
491
491
 
492
- // src/chat/openai-chat-options.ts
492
+ // src/chat/openai-chat-language-model-options.ts
493
493
  import {
494
494
  lazySchema as lazySchema2,
495
495
  zodSchema as zodSchema2
@@ -1310,7 +1310,7 @@ var openaiCompletionChunkSchema = lazySchema3(
1310
1310
  )
1311
1311
  );
1312
1312
 
1313
- // src/completion/openai-completion-options.ts
1313
+ // src/completion/openai-completion-language-model-options.ts
1314
1314
  import {
1315
1315
  lazySchema as lazySchema4,
1316
1316
  zodSchema as zodSchema4
@@ -1614,7 +1614,7 @@ import {
1614
1614
  WORKFLOW_SERIALIZE as WORKFLOW_SERIALIZE3
1615
1615
  } from "@ai-sdk/provider-utils";
1616
1616
 
1617
- // src/embedding/openai-embedding-options.ts
1617
+ // src/embedding/openai-embedding-model-options.ts
1618
1618
  import {
1619
1619
  lazySchema as lazySchema5,
1620
1620
  zodSchema as zodSchema5
@@ -4396,7 +4396,7 @@ var openaiResponsesResponseSchema = lazySchema21(
4396
4396
  )
4397
4397
  );
4398
4398
 
4399
- // src/responses/openai-responses-options.ts
4399
+ // src/responses/openai-responses-language-model-options.ts
4400
4400
  import {
4401
4401
  lazySchema as lazySchema22,
4402
4402
  zodSchema as zodSchema22
@@ -6659,7 +6659,7 @@ import {
6659
6659
  WORKFLOW_SERIALIZE as WORKFLOW_SERIALIZE6
6660
6660
  } from "@ai-sdk/provider-utils";
6661
6661
 
6662
- // src/speech/openai-speech-options.ts
6662
+ // src/speech/openai-speech-model-options.ts
6663
6663
  import {
6664
6664
  lazySchema as lazySchema23,
6665
6665
  zodSchema as zodSchema23
@@ -6831,7 +6831,7 @@ var openaiTranscriptionResponseSchema = lazySchema24(
6831
6831
  )
6832
6832
  );
6833
6833
 
6834
- // src/transcription/openai-transcription-options.ts
6834
+ // src/transcription/openai-transcription-model-options.ts
6835
6835
  import {
6836
6836
  lazySchema as lazySchema25,
6837
6837
  zodSchema as zodSchema25
@@ -7127,7 +7127,7 @@ var OpenAISkills = class {
7127
7127
  };
7128
7128
 
7129
7129
  // src/version.ts
7130
- var VERSION = true ? "4.0.0-beta.41" : "0.0.0-test";
7130
+ var VERSION = true ? "4.0.0-beta.42" : "0.0.0-test";
7131
7131
 
7132
7132
  // src/openai-provider.ts
7133
7133
  function createOpenAI(options = {}) {