@chrryai/chrry 1.6.92 → 1.6.93
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/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24690,7 +24690,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24690
24690
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24691
24691
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24692
24692
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24693
|
-
const VERSION4 = "1.6.
|
|
24693
|
+
const VERSION4 = "1.6.93";
|
|
24694
24694
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24695
24695
|
const {
|
|
24696
24696
|
API_URL: API_URL2,
|
|
@@ -24871,7 +24871,8 @@ function DataProvider({ children, ...rest }) {
|
|
|
24871
24871
|
temperature: `${unit === "F" ? weatherData.current.temp_f : weatherData.current.temp_c}\xB0${unit}`,
|
|
24872
24872
|
condition: weatherData.current.condition.text,
|
|
24873
24873
|
code: weatherData.current.condition.code,
|
|
24874
|
-
createdOn: /* @__PURE__ */ new Date()
|
|
24874
|
+
createdOn: /* @__PURE__ */ new Date(),
|
|
24875
|
+
lastUpdated: weatherData.current.last_updated
|
|
24875
24876
|
});
|
|
24876
24877
|
}
|
|
24877
24878
|
}, [weatherData]);
|