From 0e46d692f9e15c283184e53bbd398de5f33b1234 Mon Sep 17 00:00:00 2001 From: Andrii Solianyk Date: Fri, 6 Jun 2025 16:31:39 +0200 Subject: [PATCH] fix of api url and new version packages --- ArtisanConnect/api/notices.jsx | 4 ++-- ArtisanConnect/package.json | 10 +++++----- ArtisanConnect/store/authStore.jsx | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ArtisanConnect/api/notices.jsx b/ArtisanConnect/api/notices.jsx index 55cb0d8..6b786f7 100644 --- a/ArtisanConnect/api/notices.jsx +++ b/ArtisanConnect/api/notices.jsx @@ -2,9 +2,9 @@ import axios from "axios"; import FormData from 'form-data' import {useAuthStore} from "@/store/authStore"; -// const API_URL = "https://testowe.zikor.pl/api/v1"; +const API_URL = "https://testowe.zikor.pl/api/v1"; -const API_URL = "http://10.0.2.2:8080/api/v1"; +// const API_URL = "http://10.0.2.2:8080/api/v1"; export async function listNotices() { const { token } = useAuthStore.getState(); diff --git a/ArtisanConnect/package.json b/ArtisanConnect/package.json index 60be00d..e578f2b 100644 --- a/ArtisanConnect/package.json +++ b/ArtisanConnect/package.json @@ -36,9 +36,9 @@ "@tanstack/react-query": "^5.74.4", "axios": "^1.9.0", "babel-plugin-module-resolver": "^5.0.2", - "expo": "^53.0.0", - "expo-auth-session": "~6.1.5", - "expo-camera": "~16.1.6", + "expo": "^53.0.10", + "expo-auth-session": "~6.2.0", + "expo-camera": "~16.1.7", "expo-constants": "~17.1.5", "expo-image-picker": "~16.1.4", "expo-linking": "~7.1.4", @@ -51,13 +51,13 @@ "nativewind": "^4.1.23", "react": "19.0.0", "react-dom": "19.0.0", - "react-native": "0.79.2", + "react-native": "0.79.3", "react-native-css-interop": "^0.1.22", "react-native-gesture-handler": "~2.24.0", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-reanimated": "~3.17.4", "react-native-safe-area-context": "5.4.0", - "react-native-screens": "~4.10.0", + "react-native-screens": "~4.11.1", "react-native-svg": "15.11.2", "react-native-web": "~0.20.0", "tailwindcss": "^3.4.17", diff --git a/ArtisanConnect/store/authStore.jsx b/ArtisanConnect/store/authStore.jsx index f205790..bc9f92c 100644 --- a/ArtisanConnect/store/authStore.jsx +++ b/ArtisanConnect/store/authStore.jsx @@ -3,7 +3,7 @@ import {createJSONStorage, persist} from "zustand/middleware"; import AsyncStorage from "@react-native-async-storage/async-storage"; import axios from "axios"; -const API_URL = "http://10.0.2.2:8080/api/v1"; +const API_URL = "https://testowe.zikor.pl/api/v1"; export const useAuthStore = create( persist(