esoftplay 0.0.127-s → 0.0.127-u

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/error.ts CHANGED
@@ -22,11 +22,12 @@ export function setError(error?: any) {
22
22
  const config = esp?.config?.();
23
23
  const routes = UserRoutes?.state()?.get?.();
24
24
  const user = UserClass?.state()?.get?.();
25
- const lastIndex = (routes?.routes?.length - 1) ?? 0;
25
+ const routesName = routes?.routes?.map((x) => x.name)
26
+
26
27
  const _e = {
27
28
  user,
28
29
  error: String(error),
29
- routes: `${routes?.routes?.[lastIndex]?.name}`
30
+ routes: routesName
30
31
  };
31
32
  try {
32
33
  AsyncStorage.setItem(`${config?.domain}error`, JSON.stringify(_e));
@@ -18,7 +18,7 @@ export interface LibFocusState {
18
18
  }
19
19
 
20
20
  export default function m(props: LibFocusProps): any {
21
-
21
+ console.warn("LibFocus now DEPRECATED, will be remove on next update")
22
22
  const isFocused = useIsFocused()
23
23
 
24
24
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.127-s",
3
+ "version": "0.0.127-u",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",