@serenity-js/rest 3.16.1 → 3.17.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 CHANGED
@@ -3,6 +3,22 @@
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
+ # [3.17.0](https://github.com/serenity-js/serenity-js/compare/v3.16.2...v3.17.0) (2024-02-10)
7
+
8
+ **Note:** Version bump only for package @serenity-js/rest
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.16.2](https://github.com/serenity-js/serenity-js/compare/v3.16.1...v3.16.2) (2024-02-05)
15
+
16
+ **Note:** Version bump only for package @serenity-js/rest
17
+
18
+
19
+
20
+
21
+
6
22
  ## [3.16.1](https://github.com/serenity-js/serenity-js/compare/v3.16.0...v3.16.1) (2024-02-03)
7
23
 
8
24
 
@@ -51,7 +51,7 @@ import { HTTPRequest } from './HTTPRequest';
51
51
  * await actorCalled('Apisitt')
52
52
  * .whoCan(CallAnApi.at('https://api.example.org/'))
53
53
  * .attemptsTo(
54
- * Send.a(PostRequest.to('/feedback').with(postData).using({
54
+ * Send.a(PostRequest.to('/feedback').with(formData).using({
55
55
  * headers: {
56
56
  * 'Content-Type': 'application/x-www-form-urlencoded',
57
57
  * 'Content-Length': formData.length
@@ -53,7 +53,7 @@ const HTTPRequest_1 = require("./HTTPRequest");
53
53
  * await actorCalled('Apisitt')
54
54
  * .whoCan(CallAnApi.at('https://api.example.org/'))
55
55
  * .attemptsTo(
56
- * Send.a(PostRequest.to('/feedback').with(postData).using({
56
+ * Send.a(PostRequest.to('/feedback').with(formData).using({
57
57
  * headers: {
58
58
  * 'Content-Type': 'application/x-www-form-urlencoded',
59
59
  * 'Content-Length': formData.length
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-js/rest",
3
- "version": "3.16.1",
3
+ "version": "3.17.0",
4
4
  "description": "Test REST APIs with Serenity/JS",
5
5
  "author": {
6
6
  "name": "Jan Molak",
@@ -46,7 +46,7 @@
46
46
  "node": "^16.13 || ^18.12 || ^20"
47
47
  },
48
48
  "dependencies": {
49
- "@serenity-js/core": "3.16.1",
49
+ "@serenity-js/core": "3.17.0",
50
50
  "agent-base": "7.1.0",
51
51
  "axios": "1.6.7",
52
52
  "http-proxy-agent": "7.0.0",
@@ -56,15 +56,15 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "@integration/testing-tools": "3.0.0",
59
- "@serenity-js/assertions": "3.16.1",
59
+ "@serenity-js/assertions": "3.17.0",
60
60
  "@types/chai": "4.3.11",
61
61
  "@types/mocha": "10.0.6",
62
62
  "axios-mock-adapter": "1.22.0",
63
63
  "c8": "9.1.0",
64
- "mocha": "10.2.0",
64
+ "mocha": "10.3.0",
65
65
  "mocha-multi": "1.1.7",
66
66
  "ts-node": "10.9.2",
67
67
  "typescript": "5.2.2"
68
68
  },
69
- "gitHead": "1b1f01b834dc110b6edce2e50297136b4ad6959b"
69
+ "gitHead": "a60f6d1cb17807240f32f6c7cb1014df52f26c16"
70
70
  }
@@ -54,7 +54,7 @@ import { HTTPRequest } from './HTTPRequest';
54
54
  * await actorCalled('Apisitt')
55
55
  * .whoCan(CallAnApi.at('https://api.example.org/'))
56
56
  * .attemptsTo(
57
- * Send.a(PostRequest.to('/feedback').with(postData).using({
57
+ * Send.a(PostRequest.to('/feedback').with(formData).using({
58
58
  * headers: {
59
59
  * 'Content-Type': 'application/x-www-form-urlencoded',
60
60
  * 'Content-Length': formData.length