@chrryai/chrry 1.7.11 → 1.7.13

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.mjs CHANGED
@@ -3178,7 +3178,7 @@ var init_utils = __esm({
3178
3178
  };
3179
3179
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
3180
3180
  config = getSiteConfig(getClientHostname2());
3181
- VERSION = config.version || "1.7.11";
3181
+ VERSION = config.version || "1.7.13";
3182
3182
  getSlugFromPathname = (path) => {
3183
3183
  return getAppAndStoreSlugs(path, {
3184
3184
  defaultAppSlug: config.slug,
@@ -24733,7 +24733,7 @@ function DataProvider({ children, ...rest }) {
24733
24733
  const [instructions, setInstructions] = useState11([]);
24734
24734
  const [affiliateStats, setAffiliateStats] = useState11(null);
24735
24735
  const [loadingAffiliateStats, setLoadingAffiliateStats] = useState11(false);
24736
- const VERSION4 = "1.7.11";
24736
+ const VERSION4 = "1.7.13";
24737
24737
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24738
24738
  const {
24739
24739
  API_URL: API_URL2,
@@ -38895,7 +38895,7 @@ function Chat({
38895
38895
  deps: webSocketDeps,
38896
38896
  onMessage: async ({ type, data }) => {
38897
38897
  const threadId2 = threadIdRef.current;
38898
- data.streamId && setStreamId(data.streamId);
38898
+ data?.streamId && setStreamId(data.streamId);
38899
38899
  if (!token) return;
38900
38900
  const clientId2 = data?.clientId;
38901
38901
  if (data?.message && isOwner_default(data.message.message, {