@ai-sdk/vue
Advanced tools
Comparing version 0.0.7 to 0.0.8
# @ai-sdk/vue | ||
## 0.0.8 | ||
### Patch Changes | ||
- 82d9c8de: fix (@ai-sdk/vue): make event in handleSubmit optional | ||
## 0.0.7 | ||
@@ -4,0 +10,0 @@ |
@@ -34,3 +34,5 @@ import { Message, CreateMessage, ChatRequestOptions, JSONValue, UseChatOptions, RequestOptions, UseCompletionOptions } from '@ai-sdk/ui-utils'; | ||
/** Form submission handler to automatically reset input and append a user message */ | ||
handleSubmit: (e: any, chatRequestOptions?: ChatRequestOptions) => void; | ||
handleSubmit: (event?: { | ||
preventDefault?: () => void; | ||
}, chatRequestOptions?: ChatRequestOptions) => void; | ||
/** Whether the API request is in progress */ | ||
@@ -37,0 +39,0 @@ isLoading: Ref<boolean | undefined>; |
{ | ||
"name": "@ai-sdk/vue", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -54,3 +54,6 @@ import type { | ||
/** Form submission handler to automatically reset input and append a user message */ | ||
handleSubmit: (e: any, chatRequestOptions?: ChatRequestOptions) => void; | ||
handleSubmit: ( | ||
event?: { preventDefault?: () => void }, | ||
chatRequestOptions?: ChatRequestOptions, | ||
) => void; | ||
/** Whether the API request is in progress */ | ||
@@ -57,0 +60,0 @@ isLoading: Ref<boolean | undefined>; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89658
1336