@legendapp/state 1.2.4 → 1.2.5

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/CHANGELOG.md +4 -0
  2. package/package.json +10 -7
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.2.5
2
+
3
+ - Fix: peerDependencies to make next optional
4
+
1
5
  ## 1.2.4
2
6
 
3
7
  - Types: Fix types of Switch so that it works better with booleans
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legendapp/state",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "legend-state",
5
5
  "sideEffects": false,
6
6
  "private": false,
@@ -126,13 +126,19 @@
126
126
  "react": "18.2.0"
127
127
  },
128
128
  "peerDependencies": {
129
- "@tanstack/react-query": "^4.14.6",
130
- "next": "^12",
129
+ "@tanstack/react-query": ">=4.14.6",
130
+ "next": ">=12",
131
131
  "react": ">=16.8",
132
132
  "react-native": ">=0.61",
133
- "react-native-mmkv": "^2"
133
+ "react-native-mmkv": ">=2"
134
134
  },
135
135
  "peerDependenciesMeta": {
136
+ "@tanstack/react-query": {
137
+ "optional": true
138
+ },
139
+ "next": {
140
+ "optional": true
141
+ },
136
142
  "react": {
137
143
  "optional": true
138
144
  },
@@ -141,9 +147,6 @@
141
147
  },
142
148
  "react-native-mmkv": {
143
149
  "optional": true
144
- },
145
- "@tanstack/react-query": {
146
- "optional": true
147
150
  }
148
151
  },
149
152
  "author": "Legend <contact@legendapp.com> (https://github.com/LegendApp)",