@ai-sdk/provider 4.0.0-beta.8 → 4.0.0-beta.9

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.9
4
+
5
+ ### Patch Changes
6
+
7
+ - e311194: feat(ai): allow passing provider instance to `uploadFile` and `uploadSkill` as shorthand
8
+
3
9
  ## 4.0.0-beta.8
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -5271,7 +5271,7 @@ interface SkillsV4 {
5271
5271
  /**
5272
5272
  * Uploads a new skill from the given files.
5273
5273
  */
5274
- upload(params: SkillsV4UploadParams): Promise<SkillsV4UploadResult>;
5274
+ uploadSkill(params: SkillsV4UploadParams): PromiseLike<SkillsV4UploadResult>;
5275
5275
  }
5276
5276
 
5277
5277
  /**
package/dist/index.d.ts CHANGED
@@ -5271,7 +5271,7 @@ interface SkillsV4 {
5271
5271
  /**
5272
5272
  * Uploads a new skill from the given files.
5273
5273
  */
5274
- upload(params: SkillsV4UploadParams): Promise<SkillsV4UploadResult>;
5274
+ uploadSkill(params: SkillsV4UploadParams): PromiseLike<SkillsV4UploadResult>;
5275
5275
  }
5276
5276
 
5277
5277
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "4.0.0-beta.8",
3
+ "version": "4.0.0-beta.9",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -90,5 +90,5 @@ export interface SkillsV4 {
90
90
  /**
91
91
  * Uploads a new skill from the given files.
92
92
  */
93
- upload(params: SkillsV4UploadParams): Promise<SkillsV4UploadResult>;
93
+ uploadSkill(params: SkillsV4UploadParams): PromiseLike<SkillsV4UploadResult>;
94
94
  }