@netacea/captchafeedback 5.6.0 → 5.7.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/CHANGELOG.md +19 -0
- package/README.md +9 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 5.7.0 (2026-04-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **integrations-sdk:** add V3 cookie module ([#800](https://github.com/Netacea/JavascriptATAIntegration/issues/800)) ([#816](https://github.com/Netacea/JavascriptATAIntegration/issues/816)) ([1823cf7](https://github.com/Netacea/JavascriptATAIntegration/commit/1823cf7bfeb075fbe7c136f2db142b027aafa882)), closes [#685](https://github.com/Netacea/JavascriptATAIntegration/issues/685)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 5.6.1 (2026-04-14)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @netacea/captchafeedback
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# 5.6.0 (2026-04-13)
|
|
7
26
|
|
|
8
27
|
|
package/README.md
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/@netacea/captchafeedback)
|
|
5
|
+
[](https://www.npmjs.com/package/@netacea/captchafeedback)
|
|
6
|
+
|
|
6
7
|
[](http://www.typescriptlang.org/)
|
|
7
8
|
|
|
8
|
-
`@netacea/captchafeedback` is a package designed to add
|
|
9
|
+
`@netacea/captchafeedback` is a package designed to add
|
|
10
|
+
[Netacea](https://netacea.com) CAPTCHA feedback functionality to your NodeJS
|
|
11
|
+
based origin server.
|
|
9
12
|
|
|
10
13
|
## Installation
|
|
11
14
|
|
|
@@ -31,11 +34,11 @@ const netacea = new Netacea({
|
|
|
31
34
|
})
|
|
32
35
|
|
|
33
36
|
const { cookies } = await netacea.updateCaptcha({
|
|
34
|
-
clientIp: 'client-ip',
|
|
35
|
-
cookieHeader: 'cookie-header',
|
|
37
|
+
clientIp: 'client-ip', // Client's real IP address
|
|
38
|
+
cookieHeader: 'cookie-header', // Incoming cookie header value
|
|
36
39
|
eventId: 'captcha-page-event-id', // X-Netacea-Event-ID received when captcha was served
|
|
37
|
-
result: true,
|
|
38
|
-
userAgent: 'client-user-agent'
|
|
40
|
+
result: true, // Result from captcha
|
|
41
|
+
userAgent: 'client-user-agent' // Client's user-agent
|
|
39
42
|
})
|
|
40
43
|
// TODO: Add the returned cookies to the set-cookie header of the response, for example:
|
|
41
44
|
response.header('set-cookie', cookies)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netacea/captchafeedback",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "CAPTCHA feedback module to send CAPTCHA results back to Netacea.",
|
|
5
5
|
"main": "dist/captchafeedback/src/index.js",
|
|
6
6
|
"types": "dist/captchafeedback/src/index.d.ts",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"axios": "^0.21.1"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@netacea/kinesisingest": "^1.
|
|
25
|
-
"@netacea/netaceaintegrationbase": "^2.
|
|
24
|
+
"@netacea/kinesisingest": "^1.10.0",
|
|
25
|
+
"@netacea/netaceaintegrationbase": "^2.5.0",
|
|
26
26
|
"jose": "^4.15.9"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "d43fe84b8bbac77a7592bac347c0e9721d1389d8"
|
|
29
29
|
}
|