@ai-sdk/react
Advanced tools
Comparing version 0.0.34 to 0.0.35
# @ai-sdk/react | ||
## 0.0.35 | ||
### Patch Changes | ||
- a147d040: feat (ai/react): useObject clears object when loading new result | ||
## 0.0.34 | ||
@@ -4,0 +10,0 @@ |
@@ -835,2 +835,3 @@ "use strict"; | ||
try { | ||
mutate(void 0); | ||
setIsLoading(true); | ||
@@ -837,0 +838,0 @@ setError(void 0); |
{ | ||
"name": "@ai-sdk/react", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -139,2 +139,3 @@ import { isAbortError } from '@ai-sdk/provider-utils'; | ||
try { | ||
mutate(undefined); // reset the data | ||
setIsLoading(true); | ||
@@ -141,0 +142,0 @@ setError(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
299043
5245
7