@ai-sdk/provider 4.0.0-beta.4 → 4.0.0-beta.5

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,11 @@
1
1
  # @ai-sdk/provider
2
2
 
3
+ ## 4.0.0-beta.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 1f509d4: fix(ai): force template check on 'kind' param
8
+
3
9
  ## 4.0.0-beta.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1629,9 +1629,9 @@ interface LanguageModelV4ReasoningFilePart {
1629
1629
  interface LanguageModelV4CustomPart {
1630
1630
  type: 'custom';
1631
1631
  /**
1632
- * The kind of custom content, in the format `{provider}-{provider-type}`.
1632
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
1633
1633
  */
1634
- kind: string;
1634
+ kind: `${string}.${string}`;
1635
1635
  /**
1636
1636
  * Additional provider-specific options. They are passed through
1637
1637
  * to the provider from the AI SDK and enable provider-specific
@@ -2060,9 +2060,9 @@ type LanguageModelV4CallOptions = {
2060
2060
  type LanguageModelV4CustomContent = {
2061
2061
  type: 'custom';
2062
2062
  /**
2063
- * The kind of custom content, in the format `{provider}-{provider-type}`.
2063
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
2064
2064
  */
2065
- kind: string;
2065
+ kind: `${string}.${string}`;
2066
2066
  /**
2067
2067
  * Additional provider-specific options. They are passed through
2068
2068
  * to the provider from the AI SDK and enable provider-specific
package/dist/index.d.ts CHANGED
@@ -1629,9 +1629,9 @@ interface LanguageModelV4ReasoningFilePart {
1629
1629
  interface LanguageModelV4CustomPart {
1630
1630
  type: 'custom';
1631
1631
  /**
1632
- * The kind of custom content, in the format `{provider}-{provider-type}`.
1632
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
1633
1633
  */
1634
- kind: string;
1634
+ kind: `${string}.${string}`;
1635
1635
  /**
1636
1636
  * Additional provider-specific options. They are passed through
1637
1637
  * to the provider from the AI SDK and enable provider-specific
@@ -2060,9 +2060,9 @@ type LanguageModelV4CallOptions = {
2060
2060
  type LanguageModelV4CustomContent = {
2061
2061
  type: 'custom';
2062
2062
  /**
2063
- * The kind of custom content, in the format `{provider}-{provider-type}`.
2063
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
2064
2064
  */
2065
- kind: string;
2065
+ kind: `${string}.${string}`;
2066
2066
  /**
2067
2067
  * Additional provider-specific options. They are passed through
2068
2068
  * to the provider from the AI SDK and enable provider-specific
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "4.0.0-beta.4",
3
+ "version": "4.0.0-beta.5",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -8,9 +8,9 @@ export type LanguageModelV4CustomContent = {
8
8
  type: 'custom';
9
9
 
10
10
  /**
11
- * The kind of custom content, in the format `{provider}-{provider-type}`.
11
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
12
12
  */
13
- kind: string;
13
+ kind: `${string}.${string}`;
14
14
 
15
15
  /**
16
16
  * Additional provider-specific options. They are passed through
@@ -126,9 +126,9 @@ export interface LanguageModelV4CustomPart {
126
126
  type: 'custom';
127
127
 
128
128
  /**
129
- * The kind of custom content, in the format `{provider}-{provider-type}`.
129
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
130
130
  */
131
- kind: string;
131
+ kind: `${string}.${string}`;
132
132
 
133
133
  /**
134
134
  * Additional provider-specific options. They are passed through