@ai-sdk/google-vertex 3.0.0-canary.5 → 3.0.0-canary.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 +24 -0
- package/README.md +1 -1
- package/package.json +18 -18
- /package/{anthropic/edge/dist → dist/anthropic/edge}/index.d.mts +0 -0
- /package/{anthropic/edge/dist → dist/anthropic/edge}/index.d.ts +0 -0
- /package/{anthropic/edge/dist → dist/anthropic/edge}/index.js +0 -0
- /package/{anthropic/edge/dist → dist/anthropic/edge}/index.js.map +0 -0
- /package/{anthropic/edge/dist → dist/anthropic/edge}/index.mjs +0 -0
- /package/{anthropic/edge/dist → dist/anthropic/edge}/index.mjs.map +0 -0
- /package/{anthropic/dist → dist/anthropic}/index.d.mts +0 -0
- /package/{anthropic/dist → dist/anthropic}/index.d.ts +0 -0
- /package/{anthropic/dist → dist/anthropic}/index.js +0 -0
- /package/{anthropic/dist → dist/anthropic}/index.js.map +0 -0
- /package/{anthropic/dist → dist/anthropic}/index.mjs +0 -0
- /package/{anthropic/dist → dist/anthropic}/index.mjs.map +0 -0
- /package/{edge/dist → dist/edge}/index.d.mts +0 -0
- /package/{edge/dist → dist/edge}/index.d.ts +0 -0
- /package/{edge/dist → dist/edge}/index.js +0 -0
- /package/{edge/dist → dist/edge}/index.js.map +0 -0
- /package/{edge/dist → dist/edge}/index.mjs +0 -0
- /package/{edge/dist → dist/edge}/index.mjs.map +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,29 @@
|
|
1
1
|
# @ai-sdk/google-vertex
|
2
2
|
|
3
|
+
## 3.0.0-canary.7
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [411e483]
|
8
|
+
- Updated dependencies [79457bd]
|
9
|
+
- Updated dependencies [ad80501]
|
10
|
+
- Updated dependencies [1766ede]
|
11
|
+
- Updated dependencies [f10304b]
|
12
|
+
- @ai-sdk/provider@2.0.0-canary.5
|
13
|
+
- @ai-sdk/anthropic@2.0.0-canary.6
|
14
|
+
- @ai-sdk/google@2.0.0-canary.7
|
15
|
+
- @ai-sdk/provider-utils@3.0.0-canary.6
|
16
|
+
|
17
|
+
## 3.0.0-canary.6
|
18
|
+
|
19
|
+
### Patch Changes
|
20
|
+
|
21
|
+
- Updated dependencies [6f6bb89]
|
22
|
+
- @ai-sdk/provider@2.0.0-canary.4
|
23
|
+
- @ai-sdk/anthropic@2.0.0-canary.5
|
24
|
+
- @ai-sdk/google@2.0.0-canary.6
|
25
|
+
- @ai-sdk/provider-utils@3.0.0-canary.5
|
26
|
+
|
3
27
|
## 3.0.0-canary.5
|
4
28
|
|
5
29
|
### Patch Changes
|
package/README.md
CHANGED
@@ -125,7 +125,7 @@ async function main() {
|
|
125
125
|
});
|
126
126
|
|
127
127
|
console.log(result.text);
|
128
|
-
console.log(result.
|
128
|
+
console.log(result.providerMetadata?.anthropic);
|
129
129
|
// e.g. { cacheCreationInputTokens: 2118, cacheReadInputTokens: 0 }
|
130
130
|
}
|
131
131
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ai-sdk/google-vertex",
|
3
|
-
"version": "3.0.0-canary.
|
3
|
+
"version": "3.0.0-canary.7",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"main": "./dist/index.js",
|
@@ -21,26 +21,26 @@
|
|
21
21
|
"require": "./dist/index.js"
|
22
22
|
},
|
23
23
|
"./edge": {
|
24
|
-
"types": "./edge/
|
25
|
-
"import": "./edge/
|
26
|
-
"require": "./edge/
|
24
|
+
"types": "./dist/edge/index.d.ts",
|
25
|
+
"import": "./dist/edge/index.mjs",
|
26
|
+
"require": "./dist/edge/index.js"
|
27
27
|
},
|
28
28
|
"./anthropic": {
|
29
|
-
"types": "./anthropic/
|
30
|
-
"import": "./anthropic/
|
31
|
-
"require": "./anthropic/
|
29
|
+
"types": "./dist/anthropic/index.d.ts",
|
30
|
+
"import": "./dist/anthropic/index.mjs",
|
31
|
+
"require": "./dist/anthropic/index.js"
|
32
32
|
},
|
33
33
|
"./anthropic/edge": {
|
34
|
-
"types": "./anthropic/edge/
|
35
|
-
"import": "./anthropic/edge/
|
36
|
-
"require": "./anthropic/edge/
|
34
|
+
"types": "./dist/anthropic/edge/index.d.ts",
|
35
|
+
"import": "./dist/anthropic/edge/index.mjs",
|
36
|
+
"require": "./dist/anthropic/edge/index.js"
|
37
37
|
}
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@ai-sdk/anthropic": "2.0.0-canary.
|
41
|
-
"@ai-sdk/google": "2.0.0-canary.
|
42
|
-
"@ai-sdk/provider": "2.0.0-canary.
|
43
|
-
"@ai-sdk/provider-utils": "3.0.0-canary.
|
40
|
+
"@ai-sdk/anthropic": "2.0.0-canary.6",
|
41
|
+
"@ai-sdk/google": "2.0.0-canary.7",
|
42
|
+
"@ai-sdk/provider": "2.0.0-canary.5",
|
43
|
+
"@ai-sdk/provider-utils": "3.0.0-canary.6",
|
44
44
|
"google-auth-library": "^9.15.0"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
@@ -71,11 +71,11 @@
|
|
71
71
|
"ai"
|
72
72
|
],
|
73
73
|
"scripts": {
|
74
|
-
"build": "tsup",
|
75
|
-
"build:watch": "tsup --watch",
|
76
|
-
"clean": "rm -rf dist
|
74
|
+
"build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
|
75
|
+
"build:watch": "pnpm clean && tsup --watch",
|
76
|
+
"clean": "rm -rf dist *.tsbuildinfo",
|
77
77
|
"lint": "eslint \"./**/*.ts*\"",
|
78
|
-
"type-check": "tsc --
|
78
|
+
"type-check": "tsc --build",
|
79
79
|
"prettier-check": "prettier --check \"./**/*.ts*\"",
|
80
80
|
"test": "pnpm test:node && pnpm test:edge",
|
81
81
|
"test:edge": "vitest --config vitest.edge.config.js --run",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|