@coorpacademy/app-review 0.0.7 → 0.0.8

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
  "name": "@coorpacademy/app-review",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "engines": {
@@ -15,6 +15,7 @@
15
15
  "src",
16
16
  "readme.md"
17
17
  ],
18
+ "main": "./dist/index.js",
18
19
  "exports": {
19
20
  ".": {
20
21
  "import": "./dist/index.js",
@@ -23,7 +24,7 @@
23
24
  "./package.json": "./package.json"
24
25
  },
25
26
  "dependencies": {
26
- "react": "^18.1.0",
27
+ "react": "^17.0.2",
27
28
  "react-native": "0.68.1",
28
29
  "react-redux": "^8.0.1",
29
30
  "redux": "^4.2.0"
@@ -33,5 +34,5 @@
33
34
  "redux-devtools-extension": "^2.13.9",
34
35
  "typescript": "^4.6.4"
35
36
  },
36
- "gitHead": "a24d0a70a741f43883f81c15d8df887a4df1b210"
37
+ "gitHead": "95863505954665dc5dfcbb51a19b4b6643a9dc99"
37
38
  }
package/readme.md CHANGED
@@ -4,7 +4,10 @@ tmp notes:
4
4
 
5
5
  export: <https://stackoverflow.com/a/70020984/959219>
6
6
 
7
- ## mobile components
7
+ ## dependencies notes
8
8
 
9
9
  `react-native` must be the same version on this package and the rootApp
10
10
  *(possible generic error "Invariant Violation: Module AppRegistry is not a registered callable module")*
11
+
12
+ `react` must also be the same version on this package and the rootApp
13
+ *(possible generic error Warning: Invalid hook call. [...] 3. You might have more than one copy of React in the same app)*
package/src/index.tsx CHANGED
@@ -19,7 +19,6 @@ const styles = StyleSheet.create({
19
19
  // -----------------------------------------------------------------------------
20
20
 
21
21
  const NavText = ({viewName, navigateTo}) => {
22
- console.log({viewName});
23
22
  switch (viewName) {
24
23
  case 'home':
25
24
  return (