@netacea/netaceaintegrationbase 2.0.96 → 2.0.98
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 +9 -3
- package/dist/index.mjs +9 -3
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -127,7 +127,9 @@ const captchaMap = {
|
|
|
127
127
|
2: 'captcha_pass',
|
|
128
128
|
3: 'captcha_fail',
|
|
129
129
|
4: 'captcha_cookiepass',
|
|
130
|
-
5: 'captcha_cookiefail'
|
|
130
|
+
5: 'captcha_cookiefail',
|
|
131
|
+
6: 'checkpoint_signal',
|
|
132
|
+
7: 'checkpoint_post'
|
|
131
133
|
};
|
|
132
134
|
const captchaStatusCodes = {
|
|
133
135
|
'': 0,
|
|
@@ -135,7 +137,9 @@ const captchaStatusCodes = {
|
|
|
135
137
|
captchaPass: 2,
|
|
136
138
|
captchaFail: 3,
|
|
137
139
|
captchaCookiePass: 4,
|
|
138
|
-
captchaCookieFail: 5
|
|
140
|
+
captchaCookieFail: 5,
|
|
141
|
+
checkpointSignal: 6,
|
|
142
|
+
checkpointPost: 7
|
|
139
143
|
};
|
|
140
144
|
const bestMitigationMap = {
|
|
141
145
|
0: mitigationTypes.none,
|
|
@@ -149,7 +153,9 @@ const bestMitigationCaptchaMap = {
|
|
|
149
153
|
2: mitigationTypes.captchaPass,
|
|
150
154
|
3: mitigationTypes.captcha,
|
|
151
155
|
4: mitigationTypes.allow,
|
|
152
|
-
5: mitigationTypes.captcha
|
|
156
|
+
5: mitigationTypes.captcha,
|
|
157
|
+
6: mitigationTypes.captcha,
|
|
158
|
+
7: mitigationTypes.captcha
|
|
153
159
|
};
|
|
154
160
|
const netaceaCookieV3KeyMap = {
|
|
155
161
|
clientIP: 'cip',
|
package/dist/index.mjs
CHANGED
|
@@ -125,7 +125,9 @@ const captchaMap = {
|
|
|
125
125
|
2: 'captcha_pass',
|
|
126
126
|
3: 'captcha_fail',
|
|
127
127
|
4: 'captcha_cookiepass',
|
|
128
|
-
5: 'captcha_cookiefail'
|
|
128
|
+
5: 'captcha_cookiefail',
|
|
129
|
+
6: 'checkpoint_signal',
|
|
130
|
+
7: 'checkpoint_post'
|
|
129
131
|
};
|
|
130
132
|
const captchaStatusCodes = {
|
|
131
133
|
'': 0,
|
|
@@ -133,7 +135,9 @@ const captchaStatusCodes = {
|
|
|
133
135
|
captchaPass: 2,
|
|
134
136
|
captchaFail: 3,
|
|
135
137
|
captchaCookiePass: 4,
|
|
136
|
-
captchaCookieFail: 5
|
|
138
|
+
captchaCookieFail: 5,
|
|
139
|
+
checkpointSignal: 6,
|
|
140
|
+
checkpointPost: 7
|
|
137
141
|
};
|
|
138
142
|
const bestMitigationMap = {
|
|
139
143
|
0: mitigationTypes.none,
|
|
@@ -147,7 +151,9 @@ const bestMitigationCaptchaMap = {
|
|
|
147
151
|
2: mitigationTypes.captchaPass,
|
|
148
152
|
3: mitigationTypes.captcha,
|
|
149
153
|
4: mitigationTypes.allow,
|
|
150
|
-
5: mitigationTypes.captcha
|
|
154
|
+
5: mitigationTypes.captcha,
|
|
155
|
+
6: mitigationTypes.captcha,
|
|
156
|
+
7: mitigationTypes.captcha
|
|
151
157
|
};
|
|
152
158
|
const netaceaCookieV3KeyMap = {
|
|
153
159
|
clientIP: 'cip',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netacea/netaceaintegrationbase",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.98",
|
|
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.116"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "150fc80394bd973d2702028db56ea1b74a986792"
|
|
30
30
|
}
|