Comparing version 4.1.37 to 4.1.38
{ | ||
"name": "ai", | ||
"version": "4.1.37", | ||
"version": "4.1.38", | ||
"description": "AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript", | ||
@@ -44,5 +44,5 @@ "license": "Apache-2.0", | ||
"@ai-sdk/provider": "1.0.7", | ||
"@ai-sdk/provider-utils": "2.1.7", | ||
"@ai-sdk/react": "1.1.13", | ||
"@ai-sdk/ui-utils": "1.1.13", | ||
"@ai-sdk/provider-utils": "2.1.8", | ||
"@ai-sdk/react": "1.1.14", | ||
"@ai-sdk/ui-utils": "1.1.14", | ||
"@opentelemetry/api": "1.9.0", | ||
@@ -49,0 +49,0 @@ "jsondiffpatch": "0.6.0" |
@@ -1,2 +0,2 @@ | ||
export { convertArrayToReadableStream } from '@ai-sdk/provider-utils/test'; | ||
export { convertArrayToReadableStream, mockId } from '@ai-sdk/provider-utils/test'; | ||
import { EmbeddingModelV1, LanguageModelV1 } from '@ai-sdk/provider'; | ||
@@ -20,6 +20,2 @@ | ||
declare function mockId({ prefix, }?: { | ||
prefix?: string; | ||
}): () => string; | ||
declare class MockLanguageModelV1 implements LanguageModelV1 { | ||
@@ -70,2 +66,2 @@ readonly specificationVersion = "v1"; | ||
export { MockEmbeddingModelV1, MockLanguageModelV1, mockId, mockValues, simulateReadableStream }; | ||
export { MockEmbeddingModelV1, MockLanguageModelV1, mockValues, simulateReadableStream }; |
@@ -26,3 +26,3 @@ "use strict"; | ||
convertArrayToReadableStream: () => import_test.convertArrayToReadableStream, | ||
mockId: () => mockId, | ||
mockId: () => import_test.mockId, | ||
mockValues: () => mockValues, | ||
@@ -57,10 +57,2 @@ simulateReadableStream: () => simulateReadableStream2 | ||
// core/test/mock-id.ts | ||
function mockId({ | ||
prefix = "id" | ||
} = {}) { | ||
let counter = 0; | ||
return () => `${prefix}-${counter++}`; | ||
} | ||
// core/test/mock-language-model-v1.ts | ||
@@ -67,0 +59,0 @@ var MockLanguageModelV1 = class { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2009160
19289
+ Added@ai-sdk/provider-utils@2.1.8(transitive)
+ Added@ai-sdk/react@1.1.14(transitive)
+ Added@ai-sdk/ui-utils@1.1.14(transitive)
- Removed@ai-sdk/provider-utils@2.1.7(transitive)
- Removed@ai-sdk/react@1.1.13(transitive)
- Removed@ai-sdk/ui-utils@1.1.13(transitive)
Updated@ai-sdk/provider-utils@2.1.8
Updated@ai-sdk/react@1.1.14
Updated@ai-sdk/ui-utils@1.1.14