@mediacubeco/expo-template-fsd 2.1.4 → 2.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "private": false,
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "name": "@mediacubeco/expo-template-fsd",
5
5
  "description": "Application by Mediacube developers",
6
6
  "license": "MIT",
@@ -72,9 +72,9 @@
72
72
  "react-native-svg": "15.15.4",
73
73
  "react-native-web": "^0.21.0",
74
74
  "react-native-worklets": "0.8.3",
75
- "@mediacubeco/base": "2.1.0",
76
- "@mediacubeco/base-react": "2.1.0",
77
- "@mediacubeco/base-react-native": "2.1.0"
75
+ "@mediacubeco/base": "2.1.1",
76
+ "@mediacubeco/base-react": "2.1.1",
77
+ "@mediacubeco/base-react-native": "2.1.1"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/react": "^19.2.0",
@@ -83,16 +83,16 @@
83
83
  "husky": "^9.1.7",
84
84
  "prettier": "^3.8.1",
85
85
  "typescript": "^6.0.3",
86
- "@mediacubeco/eslint-config": "2.1.0",
87
- "@mediacubeco/eslint-config-react-native": "2.1.0",
88
- "@mediacubeco/prettier-config": "2.1.0",
89
- "@mediacubeco/eslint-config-fsd": "2.1.0",
90
- "@mediacubeco/prettier-config-fsd": "2.1.0",
91
- "@mediacubeco/eslint-config-react": "2.1.0",
92
- "@mediacubeco/typescript-config": "2.1.0",
93
- "@mediacubeco/typescript-config-fsd": "2.1.0",
94
- "@mediacubeco/typescript-config-react": "2.1.0",
95
- "@mediacubeco/typescript-config-react-native": "2.1.0"
86
+ "@mediacubeco/eslint-config": "2.1.1",
87
+ "@mediacubeco/eslint-config-fsd": "2.1.1",
88
+ "@mediacubeco/prettier-config": "2.1.1",
89
+ "@mediacubeco/eslint-config-react-native": "2.1.1",
90
+ "@mediacubeco/eslint-config-react": "2.1.1",
91
+ "@mediacubeco/typescript-config": "2.1.1",
92
+ "@mediacubeco/typescript-config-fsd": "2.1.1",
93
+ "@mediacubeco/typescript-config-react": "2.1.1",
94
+ "@mediacubeco/prettier-config-fsd": "2.1.1",
95
+ "@mediacubeco/typescript-config-react-native": "2.1.1"
96
96
  },
97
97
  "scripts": {
98
98
  "postinstall": "npx husky && npx skills update",
@@ -4,4 +4,4 @@ class Api {
4
4
  static authRepository = new AuthRepository('/auth')
5
5
  }
6
6
 
7
- export { Api }
7
+ export default Api
@@ -16,7 +16,7 @@ const formatRoute = <Params extends ApiInstanceDefaultParams>(
16
16
  const query = new URLSearchParams(params).toString()
17
17
  const validRoute = route.endsWith('/') ? route.slice(0, -1) : route
18
18
 
19
- return [validRoute, query].join('?') as ApiInstanceRoute
19
+ return [validRoute, query].filter(Boolean).join('?') as ApiInstanceRoute
20
20
  }
21
21
 
22
22
  export { formatURI, formatRoute }
@@ -14,7 +14,7 @@ const localStorageFallback = {
14
14
  },
15
15
  }
16
16
 
17
- const webStorage = typeof window !== 'undefined' ? localStorage : localStorageFallback
17
+ const webStorage = typeof localStorage !== 'undefined' ? localStorage : localStorageFallback
18
18
 
19
19
  const storageModelWeb = {
20
20
  getItem: (key: string) => Promise.resolve(webStorage.getItem(key)),