react-native-security-suite 0.9.21 → 0.9.22

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 -2
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -43,16 +43,18 @@
43
43
 
44
44
  ## 🛠 Installation
45
45
 
46
+ > **Note:** You must add `@react-native-async-storage/async-storage` in your app's `package.json` as well. React Native only autolinks native modules that are listed in your project's dependencies, so AsyncStorage must be a direct dependency of your app.
47
+
46
48
  ### Using Yarn
47
49
 
48
50
  ```bash
49
- yarn add react-native-security-suite
51
+ yarn add react-native-security-suite @react-native-async-storage/async-storage
50
52
  ```
51
53
 
52
54
  ### Using NPM
53
55
 
54
56
  ```bash
55
- npm install react-native-security-suite
57
+ npm install react-native-security-suite @react-native-async-storage/async-storage
56
58
  ```
57
59
 
58
60
  ### iOS Setup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-security-suite",
3
- "version": "0.9.21",
3
+ "version": "0.9.22",
4
4
  "description": "Comprehensive security suite for React Native apps - Root/Jailbreak detection, SSL pinning, encryption, secure storage, screenshot protection, and network monitoring",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -106,9 +106,15 @@
106
106
  "@types/react": "^18.2.44"
107
107
  },
108
108
  "peerDependencies": {
109
+ "@react-native-async-storage/async-storage": "*",
109
110
  "react": "*",
110
111
  "react-native": "*"
111
112
  },
113
+ "peerDependenciesMeta": {
114
+ "@react-native-async-storage/async-storage": {
115
+ "optional": false
116
+ }
117
+ },
112
118
  "workspaces": [
113
119
  "example"
114
120
  ],