react-native-hox 1.0.0 → 1.0.1

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 +3 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -26,9 +26,11 @@
26
26
  ### 安装
27
27
 
28
28
  ```bash
29
- npm i react-native-hox
29
+ npm i react-native-hox @react-native-async-storage/async-storage
30
30
  ```
31
31
 
32
+ > 项目中已有 `@react-native-async-storage/async-storage` 则无需重复安装。
33
+
32
34
  ### 最小示例
33
35
 
34
36
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-hox",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "一个轻量级、类型安全、零心智负担的 React Native 状态管理解决方案。",
5
5
  "keywords": [
6
6
  "react-native",
@@ -46,12 +46,12 @@
46
46
  "prepack": "npm run build"
47
47
  },
48
48
  "dependencies": {
49
- "@react-native-async-storage/async-storage": "^2.2.0",
50
49
  "use-sync-external-store": "^1.6.0"
51
50
  },
52
51
  "peerDependencies": {
53
52
  "react": ">=16.8",
54
- "react-native": ">=0.65"
53
+ "react-native": ">=0.65",
54
+ "@react-native-async-storage/async-storage": ">=2.0.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/jest": "^30.0.0",