@originallyus/feedback-rn-sdk 1.0.3 → 1.0.4

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/README.md +4 -4
  2. package/package.json +12 -11
package/README.md CHANGED
@@ -5,15 +5,15 @@ A cross-platform Feedback component for React Native.
5
5
  ## Installation
6
6
 
7
7
  Add package:
8
-
9
8
  ```sh
10
9
  npm install @originallyus/feedback-rn-sdk
11
10
  ```
12
11
 
13
- or
12
+ ## Install Peer Dependencies
14
13
 
15
- ```sh
16
- yarn add @originallyus/feedback-rn-sdk
14
+ These packages are specified as peerDependencies and need to be installed separatedly.
15
+ ```
16
+ yarn add axios crypto-js react-native-encrypted-storage react-native-device-info react-native-rate react-native-root-sibling
17
17
  ```
18
18
 
19
19
  ## Install Custom Fonts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@originallyus/feedback-rn-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A cross-platform Feedback component for React Native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "react-native": "lib/commonjs/index",
@@ -58,10 +58,6 @@
58
58
  "resolutions": {
59
59
  "@types/react": "17.0.21"
60
60
  },
61
- "peerDependencies": {
62
- "react": "*",
63
- "react-native": "*"
64
- },
65
61
  "workspaces": [
66
62
  "example"
67
63
  ],
@@ -136,12 +132,17 @@
136
132
  ]
137
133
  ]
138
134
  },
135
+ "peerDependencies": {
136
+ "axios": "*",
137
+ "crypto-js": "*",
138
+ "react": "*",
139
+ "react-native": "*",
140
+ "react-native-device-info": "*",
141
+ "react-native-encrypted-storage": "*",
142
+ "react-native-rate": "*",
143
+ "react-native-root-siblings": "*"
144
+ },
139
145
  "dependencies": {
140
- "axios": "^1.6.5",
141
- "crypto-js": "^4.2.0",
142
- "react-native-android-keyboard-adjust-originallyus": "^1.0.2",
143
- "react-native-device-info": "^10.12.0",
144
- "react-native-encrypted-storage": "^4.0.3",
145
- "react-native-rate": "^1.2.12"
146
+ "react-native-android-keyboard-adjust-originallyus": "*"
146
147
  }
147
148
  }