@tozielinski/next-upstash-nonce 1.4.0 → 1.4.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/CHANGELOG.md +7 -0
  2. package/package.json +14 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.1](https://github.com/tozielinski/next-upstash-nonce/compare/v1.4.0...v1.4.1) (2025-12-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove redis and uuid package as dependency and add as peerDependency ([65213a3](https://github.com/tozielinski/next-upstash-nonce/commit/65213a3871a484e9fbdd0def529fe4b899de3fb2))
9
+
3
10
  ## [1.4.0](https://github.com/tozielinski/next-upstash-nonce/compare/v1.3.1...v1.4.0) (2025-11-25)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tozielinski/next-upstash-nonce",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Create, store, verify and delete nonces in Redis by Upstash for Next.js",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,7 +22,8 @@
22
22
  "nextjs",
23
23
  "upstash",
24
24
  "nonce",
25
- "redis"
25
+ "redis",
26
+ "rate limit"
26
27
  ],
27
28
  "author": "Torsten Zielinski",
28
29
  "license": "MIT",
@@ -30,11 +31,20 @@
30
31
  "url": "https://github.com/tozielinski/next-upstash-nonce/issues"
31
32
  },
32
33
  "homepage": "https://github.com/tozielinski/next-upstash-nonce#readme",
33
- "dependencies": {
34
- "@upstash/redis": "1.22.0",
34
+ "peerDependencies": {
35
+ "@upstash/redis": "^1.x",
35
36
  "uuid": "^13.0.0"
36
37
  },
38
+ "peerDependenciesMeta": {
39
+ "@upstash/redis": {
40
+ "optional": false
41
+ },
42
+ "uuid": {
43
+ "optional": false
44
+ }
45
+ },
37
46
  "devDependencies": {
47
+ "@upstash/redis": "^1.22.0",
38
48
  "@types/node": "^20.19.25",
39
49
  "typescript": "^5.0.0",
40
50
  "vitest": "^4.0.12"