@os1-platform/dispatch-mobile 1.0.5 → 1.0.7

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 (3) hide show
  1. package/README.md +23 -17
  2. package/file_unzip.js +5 -0
  3. package/package.json +4 -2
package/README.md CHANGED
@@ -56,31 +56,37 @@ yarn add @os1-platform/dispatch-mobile@latest_version
56
56
  ```json
57
57
  {
58
58
  "dependencies": {
59
- "@apollo/client": ">=3.5.6",
60
- "graphql": ">=16.2.0",
59
+ "@apollo/client": "^3.5.6",
61
60
  "@expo-google-fonts/ibm-plex-sans": "*",
62
- "@os1-platform/mts-mobile": "^1.0.0",
61
+ "@os1-platform/mts-mobile": "^1.0.1",
63
62
  "@react-native-async-storage/async-storage": "^1.15.5",
64
63
  "@react-native-community/datetimepicker": "^3.5.2",
65
64
  "@react-native-community/netinfo": "^6.0.2",
66
- "@react-native-community/slider": "^4.1.8",
67
- "@react-native-firebase/analytics": "^14.1.0",
68
- "@react-native-firebase/app": "^14.1.0",
69
- "@react-native-firebase/messaging": "^14.1.0",
70
- "@react-native-firebase/remote-config": "^14.1.0",
65
+ "@react-native-community/slider": "^4.1.7",
66
+ "@react-native-firebase/analytics": "^14.2.2",
67
+ "@react-native-firebase/app": "^14.2.2",
68
+ "@react-native-firebase/crashlytics": "^14.2.2",
69
+ "@react-native-firebase/messaging": "^14.2.2",
70
+ "@react-native-firebase/remote-config": "^14.2.2",
71
71
  "@react-navigation/native": "^6.0.6",
72
72
  "@react-navigation/native-stack": "^6.2.5",
73
- "axios": ">=0.24.0",
74
- "expo": "^43.0.4",
75
- "expo-barcode-scanner": "^11.2.1",
73
+ "@sentry/react-native": "^3.2.13",
74
+ "axios": "^0.24.0",
75
+ "expo": "~43.0.4",
76
+ "expo-barcode-scanner": "~11.2.1",
77
+ "expo-blur": "~11.0.0",
78
+ "expo-camera": "~12.1.2",
76
79
  "expo-file-system": "~13.0.3",
77
80
  "expo-font": "~10.0.3",
78
- "expo-image-manipulator": "^10.1.2",
79
- "expo-image-picker": "^11.0.3",
80
- "expo-location": "^13.0.4",
81
- "expo-sqlite": "^10.0.3",
82
- "react": ">=17.0.2",
83
- "react-native": ">=0.66.1",
81
+ "expo-image-manipulator": "~10.1.2",
82
+ "expo-image-picker": "~11.0.3",
83
+ "expo-location": "~13.0.4",
84
+ "expo-sqlite": "~10.0.3",
85
+ "graphql": "^16.2.0",
86
+ "react": "^17.0.2",
87
+ "react-native": "^0.66.0",
88
+ "react-native-dropdown-picker": "^5.4.0",
89
+ "react-native-get-random-values": "^1.8.0",
84
90
  "react-native-paper": "^4.9.2",
85
91
  "react-native-safe-area-context": "^3.3.2",
86
92
  "react-native-screens": "^3.9.0",
package/file_unzip.js ADDED
@@ -0,0 +1,5 @@
1
+ const decompress = require('decompress');
2
+
3
+ decompress('./mobile-execution-lib-0.6.4.tgz', './').then((files) => {
4
+ console.log('done!');
5
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os1-platform/dispatch-mobile",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Dispatch SDK React Native Package",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -18,6 +18,7 @@
18
18
  "!**/__fixtures__",
19
19
  "!**/__mocks__",
20
20
  "mobile-execution-lib-*",
21
+ "file_unzip.js",
21
22
  "gitignore",
22
23
  "babel.config.js",
23
24
  "tsconfig.build.json",
@@ -28,7 +29,7 @@
28
29
  "test": "jest",
29
30
  "typescript": "tsc --noEmit",
30
31
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
31
- "postinstall": "tar -xzf mobile-execution-lib-*",
32
+ "postinstall": "node ./file_unzip.js",
32
33
  "prepare": "bob build",
33
34
  "release": "release-it",
34
35
  "example": "yarn --cwd example",
@@ -248,6 +249,7 @@
248
249
  },
249
250
  "dependencies": {
250
251
  "@rjsf/core": "^2.0.0",
252
+ "decompress": "^4.2.1",
251
253
  "json-logic-js": "^2.0.1",
252
254
  "jsonpath-plus": "^6.0.1",
253
255
  "jwt-decode": "^3.1.2",