@abtnode/types 1.16.38-beta-20250115-235439-bb5a1c1b → 1.16.38-beta-20250118-033334-2da05ae8
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/lib/type_pb.d.ts +9 -0
- package/package.json +2 -2
package/lib/type_pb.d.ts
CHANGED
@@ -57,6 +57,7 @@ export type TNodeRouting = {
|
|
57
57
|
cacheEnabled: boolean;
|
58
58
|
blockPolicy?: TBlockPolicy;
|
59
59
|
proxyPolicy?: TProxyPolicy;
|
60
|
+
wafPolicy?: TWAFPolicy;
|
60
61
|
};
|
61
62
|
export type TNodeInfo = {
|
62
63
|
name: string;
|
@@ -911,11 +912,19 @@ export type TProxyPolicy = {
|
|
911
912
|
trustedProxies: string[];
|
912
913
|
realIpHeader: string;
|
913
914
|
};
|
915
|
+
export type TWAFPolicy = {
|
916
|
+
enabled: boolean;
|
917
|
+
mode: string;
|
918
|
+
inboundAnomalyScoreThreshold: number;
|
919
|
+
outboundAnomalyScoreThreshold: number;
|
920
|
+
logLevel: number;
|
921
|
+
};
|
914
922
|
export type TGateway = {
|
915
923
|
requestLimit?: TRequestLimit;
|
916
924
|
blockPolicy?: TBlockPolicy;
|
917
925
|
proxyPolicy?: TProxyPolicy;
|
918
926
|
cacheEnabled: boolean;
|
927
|
+
wafPolicy?: TWAFPolicy;
|
919
928
|
};
|
920
929
|
export type TDelegationState = {
|
921
930
|
delegated: boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.38-beta-
|
3
|
+
"version": "1.16.38-beta-20250118-033334-2da05ae8",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "55a983304e72e5e54d6425acd0e2dad1f710aad3"
|
40
40
|
}
|