mg-library 1.0.380 → 1.0.381

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.
Files changed (2) hide show
  1. package/functions.js +5 -5
  2. package/package.json +1 -2
package/functions.js CHANGED
@@ -1,6 +1,6 @@
1
1
  //import Toast from 'react-native-root-toast';
2
2
  import { StyleSheet, View, Dimensions } from 'react-native';
3
- import AsyncStorage from '@react-native-async-storage/async-storage';
3
+ //import AsyncStorage from '@react-native-async-storage/async-storage';
4
4
  import { Text } from '@ui-kitten/components';
5
5
  import moment from 'moment';
6
6
  import 'moment/locale/es';
@@ -52,21 +52,21 @@ export function getCardHeader(text) {
52
52
  // Local Storage
53
53
 
54
54
  export const writeToLocalStorage = async (key, value) => {
55
- try {
55
+ /* try {
56
56
  await AsyncStorage.setItem(key, value);
57
57
  } catch (error) {
58
58
  console.error(error);
59
- }
59
+ } */
60
60
  }
61
61
 
62
62
  export async function readFromLocalStorage(key) {
63
- try {
63
+ /* try {
64
64
  const value = await AsyncStorage.getItem(key);
65
65
  if (value !== null)
66
66
  return value;
67
67
  } catch (error) {
68
68
  console.error(error);
69
- }
69
+ } */
70
70
  }
71
71
 
72
72
  // Strings
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.380",
3
+ "version": "1.0.381",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,6 @@
9
9
  "author": "",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
- "@react-native-async-storage/async-storage": "^1.21.0",
13
12
  "expo": "~50.0.6",
14
13
  "moment": "^2.30.1",
15
14
  "react": "18.2.0",