@abtnode/types 1.16.38-beta-20250116-083413-dbd33222 → 1.16.38-beta-20250120-112111-55c032e8
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 +11 -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;
|
@@ -318,6 +319,8 @@ export type TBlockletState = {
|
|
318
319
|
externalSk: boolean;
|
319
320
|
externalSkSource: string;
|
320
321
|
structVersion: string;
|
322
|
+
enableDocker: boolean;
|
323
|
+
enableDockerNetwork: boolean;
|
321
324
|
};
|
322
325
|
export type TBlockletExtra = {
|
323
326
|
did: string;
|
@@ -911,11 +914,19 @@ export type TProxyPolicy = {
|
|
911
914
|
trustedProxies: string[];
|
912
915
|
realIpHeader: string;
|
913
916
|
};
|
917
|
+
export type TWAFPolicy = {
|
918
|
+
enabled: boolean;
|
919
|
+
mode: string;
|
920
|
+
inboundAnomalyScoreThreshold: number;
|
921
|
+
outboundAnomalyScoreThreshold: number;
|
922
|
+
logLevel: number;
|
923
|
+
};
|
914
924
|
export type TGateway = {
|
915
925
|
requestLimit?: TRequestLimit;
|
916
926
|
blockPolicy?: TBlockPolicy;
|
917
927
|
proxyPolicy?: TProxyPolicy;
|
918
928
|
cacheEnabled: boolean;
|
929
|
+
wafPolicy?: TWAFPolicy;
|
919
930
|
};
|
920
931
|
export type TDelegationState = {
|
921
932
|
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-20250120-112111-55c032e8",
|
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": "adcb4f0e35157f6645e10e7ef53f8fdeff6953ec"
|
40
40
|
}
|