@gatling.io/http 3.11.4-M2 → 3.11.5
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/package.json +5 -5
- package/target/bodyPart.js +4 -4
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gatling.io/http",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "target/index.js",
|
|
6
6
|
"types": "target/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@gatling.io/jvm-types": "3.11.
|
|
9
|
-
"@gatling.io/core": "3.11.
|
|
8
|
+
"@gatling.io/jvm-types": "3.11.5",
|
|
9
|
+
"@gatling.io/core": "3.11.5"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@types/jest": "29.5.12",
|
|
13
13
|
"jest": "29.7.0",
|
|
14
|
-
"prettier": "3.2
|
|
14
|
+
"prettier": "3.3.2",
|
|
15
15
|
"rimraf": "5.0.7",
|
|
16
|
-
"ts-jest": "29.1.
|
|
16
|
+
"ts-jest": "29.1.5",
|
|
17
17
|
"ts-node": "10.9.2",
|
|
18
18
|
"typescript": "5.4.5"
|
|
19
19
|
},
|
package/target/bodyPart.js
CHANGED
|
@@ -86,24 +86,24 @@ exports.PebbleStringBodyPart = PebbleStringBodyPart;
|
|
|
86
86
|
const ByteArrayBodyPart = (arg0, arg1) => {
|
|
87
87
|
if (typeof arg0 === "function") {
|
|
88
88
|
if (typeof arg1 === "function") {
|
|
89
|
-
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart((0, core_1.underlyingSessionTo)(arg0), (0, core_1.underlyingSessionTo)(arg1)));
|
|
89
|
+
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart((0, core_1.underlyingSessionTo)(arg0), (0, core_1.asByteArrayFunction)((0, core_1.underlyingSessionTo)(arg1))));
|
|
90
90
|
}
|
|
91
91
|
else if (typeof arg1 === "string") {
|
|
92
92
|
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart((0, core_1.underlyingSessionTo)(arg0), arg1));
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
95
|
-
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart((0, core_1.underlyingSessionTo)(arg0), arg1));
|
|
95
|
+
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart((0, core_1.underlyingSessionTo)(arg0), (0, core_1.asByteArray)(arg1)));
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
99
99
|
if (typeof arg1 === "function") {
|
|
100
|
-
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart(arg0, (0, core_1.underlyingSessionTo)(arg1)));
|
|
100
|
+
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart(arg0, (0, core_1.asByteArrayFunction)((0, core_1.underlyingSessionTo)(arg1))));
|
|
101
101
|
}
|
|
102
102
|
else if (typeof arg1 === "string") {
|
|
103
103
|
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart(arg0, arg1));
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
|
-
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart(arg0, arg1));
|
|
106
|
+
return (0, exports.wrapBodyPart)(jvm_types_1.HttpDsl.ByteArrayBodyPart(arg0, (0, core_1.asByteArray)(arg1)));
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
};
|