@ai-sdk/provider-utils 5.0.0-beta.6 → 5.0.0-beta.7

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,13 @@
1
1
  # @ai-sdk/provider-utils
2
2
 
3
+ ## 5.0.0-beta.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 1f509d4: fix(ai): force template check on 'kind' param
8
+ - Updated dependencies [1f509d4]
9
+ - @ai-sdk/provider@4.0.0-beta.5
10
+
3
11
  ## 5.0.0-beta.6
4
12
 
5
13
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -674,9 +674,9 @@ interface ReasoningPart {
674
674
  interface CustomPart {
675
675
  type: 'custom';
676
676
  /**
677
- * The kind of custom content, in the format `{provider}-{provider-type}`.
677
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
678
678
  */
679
- kind: string;
679
+ kind: `${string}.${string}`;
680
680
  /**
681
681
  * Additional provider-specific metadata. They are passed through
682
682
  * to the provider from the AI SDK and enable provider-specific
package/dist/index.d.ts CHANGED
@@ -674,9 +674,9 @@ interface ReasoningPart {
674
674
  interface CustomPart {
675
675
  type: 'custom';
676
676
  /**
677
- * The kind of custom content, in the format `{provider}-{provider-type}`.
677
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
678
678
  */
679
- kind: string;
679
+ kind: `${string}.${string}`;
680
680
  /**
681
681
  * Additional provider-specific metadata. They are passed through
682
682
  * to the provider from the AI SDK and enable provider-specific
package/dist/index.js CHANGED
@@ -676,7 +676,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
676
676
  }
677
677
 
678
678
  // src/version.ts
679
- var VERSION = true ? "5.0.0-beta.6" : "0.0.0-test";
679
+ var VERSION = true ? "5.0.0-beta.7" : "0.0.0-test";
680
680
 
681
681
  // src/get-from-api.ts
682
682
  var getOriginalFetch = () => globalThis.fetch;
package/dist/index.mjs CHANGED
@@ -577,7 +577,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
577
577
  }
578
578
 
579
579
  // src/version.ts
580
- var VERSION = true ? "5.0.0-beta.6" : "0.0.0-test";
580
+ var VERSION = true ? "5.0.0-beta.7" : "0.0.0-test";
581
581
 
582
582
  // src/get-from-api.ts
583
583
  var getOriginalFetch = () => globalThis.fetch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider-utils",
3
- "version": "5.0.0-beta.6",
3
+ "version": "5.0.0-beta.7",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@standard-schema/spec": "^1.1.0",
37
37
  "eventsource-parser": "^3.0.6",
38
- "@ai-sdk/provider": "4.0.0-beta.4"
38
+ "@ai-sdk/provider": "4.0.0-beta.5"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "20.17.24",
@@ -111,9 +111,9 @@ export interface CustomPart {
111
111
  type: 'custom';
112
112
 
113
113
  /**
114
- * The kind of custom content, in the format `{provider}-{provider-type}`.
114
+ * The kind of custom content, in the format `{provider}.{provider-type}`.
115
115
  */
116
- kind: string;
116
+ kind: `${string}.${string}`;
117
117
 
118
118
  /**
119
119
  * Additional provider-specific metadata. They are passed through