@netacea/netaceaintegrationbase 2.0.131 → 2.0.132
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.cjs +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -119,7 +119,8 @@ const mitigateMap = {
|
|
|
119
119
|
1: 'blocked',
|
|
120
120
|
2: 'allow',
|
|
121
121
|
3: 'hardblocked',
|
|
122
|
-
4: 'flagged'
|
|
122
|
+
4: 'flagged',
|
|
123
|
+
5: 'monetised'
|
|
123
124
|
};
|
|
124
125
|
const captchaMap = {
|
|
125
126
|
0: '',
|
|
@@ -156,7 +157,8 @@ const bestMitigationMap = {
|
|
|
156
157
|
1: mitigationTypes.block,
|
|
157
158
|
2: mitigationTypes.none,
|
|
158
159
|
3: mitigationTypes.block,
|
|
159
|
-
4: mitigationTypes.none
|
|
160
|
+
4: mitigationTypes.none,
|
|
161
|
+
5: mitigationTypes.block
|
|
160
162
|
};
|
|
161
163
|
const bestMitigationCaptchaMap = {
|
|
162
164
|
1: mitigationTypes.captcha,
|
package/dist/index.mjs
CHANGED
|
@@ -117,7 +117,8 @@ const mitigateMap = {
|
|
|
117
117
|
1: 'blocked',
|
|
118
118
|
2: 'allow',
|
|
119
119
|
3: 'hardblocked',
|
|
120
|
-
4: 'flagged'
|
|
120
|
+
4: 'flagged',
|
|
121
|
+
5: 'monetised'
|
|
121
122
|
};
|
|
122
123
|
const captchaMap = {
|
|
123
124
|
0: '',
|
|
@@ -154,7 +155,8 @@ const bestMitigationMap = {
|
|
|
154
155
|
1: mitigationTypes.block,
|
|
155
156
|
2: mitigationTypes.none,
|
|
156
157
|
3: mitigationTypes.block,
|
|
157
|
-
4: mitigationTypes.none
|
|
158
|
+
4: mitigationTypes.none,
|
|
159
|
+
5: mitigationTypes.block
|
|
158
160
|
};
|
|
159
161
|
const bestMitigationCaptchaMap = {
|
|
160
162
|
1: mitigationTypes.captcha,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netacea/netaceaintegrationbase",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.132",
|
|
4
4
|
"description": "Base package for Netacea CDN integrations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "UNLICENSED",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@netacea/kinesisingest": "^1.5.
|
|
27
|
+
"@netacea/kinesisingest": "^1.5.150"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "caadbb3c3fd57c2361890eda2d050e0286e9f18e"
|
|
30
30
|
}
|