@webdecoy/nextjs 0.17.0 → 0.18.0
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.
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -35,7 +35,9 @@ interface WebDecoyMiddlewareOptions extends ProtectOptions {
|
|
|
35
35
|
* Fastify adapters there is no safe "believe nothing" default here — `1` is
|
|
36
36
|
* correct on Vercel and on any single-proxy deployment. Behind a CDN in front
|
|
37
37
|
* of your platform, set `2`. Behind Cloudflare with the origin locked to it,
|
|
38
|
-
* `'cloudflare'` is stronger than counting.
|
|
38
|
+
* `'cloudflare'` is stronger than counting. On Railway, set `'railway'`: its
|
|
39
|
+
* edge writes two entries, so the default of `1` names the edge, not the
|
|
40
|
+
* visitor.
|
|
39
41
|
*/
|
|
40
42
|
trustProxy?: TrustedProxies;
|
|
41
43
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,9 @@ interface WebDecoyMiddlewareOptions extends ProtectOptions {
|
|
|
35
35
|
* Fastify adapters there is no safe "believe nothing" default here — `1` is
|
|
36
36
|
* correct on Vercel and on any single-proxy deployment. Behind a CDN in front
|
|
37
37
|
* of your platform, set `2`. Behind Cloudflare with the origin locked to it,
|
|
38
|
-
* `'cloudflare'` is stronger than counting.
|
|
38
|
+
* `'cloudflare'` is stronger than counting. On Railway, set `'railway'`: its
|
|
39
|
+
* edge writes two entries, so the default of `1` names the edge, not the
|
|
40
|
+
* visitor.
|
|
39
41
|
*/
|
|
40
42
|
trustProxy?: TrustedProxies;
|
|
41
43
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webdecoy/nextjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Web Decoy middleware for Next.js",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"url": "https://github.com/WebDecoy/node/issues"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@webdecoy/node": "^0.
|
|
45
|
+
"@webdecoy/node": "^0.18.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"next": ">=13.0.0"
|