@ai-sdk/google 4.0.27 → 4.0.29
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 +17 -0
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/realtime/google-realtime-event-mapper.ts +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @ai-sdk/google
|
|
2
2
|
|
|
3
|
+
## 4.0.29
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d8210b6: chore: centralize record type guards in provider-utils
|
|
8
|
+
- Updated dependencies [d8210b6]
|
|
9
|
+
- Updated dependencies [b192878]
|
|
10
|
+
- @ai-sdk/provider-utils@5.0.16
|
|
11
|
+
|
|
12
|
+
## 4.0.28
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [1659cd5]
|
|
17
|
+
- Updated dependencies [6a5bdff]
|
|
18
|
+
- @ai-sdk/provider-utils@5.0.15
|
|
19
|
+
|
|
3
20
|
## 4.0.27
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "@ai-sdk/provider-utils";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
|
-
var VERSION = true ? "4.0.
|
|
10
|
+
var VERSION = true ? "4.0.29" : "0.0.0-test";
|
|
11
11
|
|
|
12
12
|
// src/google-embedding-model.ts
|
|
13
13
|
import {
|
|
@@ -6968,10 +6968,7 @@ function getRealtimeWebSocketURL(baseURL, webSocketPath) {
|
|
|
6968
6968
|
}
|
|
6969
6969
|
|
|
6970
6970
|
// src/realtime/google-realtime-event-mapper.ts
|
|
6971
|
-
import { safeParseJSON } from "@ai-sdk/provider-utils";
|
|
6972
|
-
function isRecord(value) {
|
|
6973
|
-
return value != null && typeof value === "object" && !Array.isArray(value);
|
|
6974
|
-
}
|
|
6971
|
+
import { isRecord, safeParseJSON } from "@ai-sdk/provider-utils";
|
|
6975
6972
|
var GoogleRealtimeEventMapper = class {
|
|
6976
6973
|
constructor() {
|
|
6977
6974
|
this.turnCounter = 0;
|