@gatling.io/core 3.15.0 → 3.15.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gatling.io/core",
3
- "version": "3.15.0",
3
+ "version": "3.15.1",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://gatling.io",
6
6
  "repository": "github:gatling/gatling-js",
@@ -20,7 +20,7 @@
20
20
  "main": "target/index.js",
21
21
  "types": "target/index.d.ts",
22
22
  "dependencies": {
23
- "@gatling.io/jvm-types": "3.15.0"
23
+ "@gatling.io/jvm-types": "3.15.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/jest": "30.0.0",
@@ -12,6 +12,14 @@ export interface CheckBuilderFinal extends CheckBuilder {
12
12
  * @returns a new CheckBuilderFinal
13
13
  */
14
14
  name(n: string): CheckBuilderFinal;
15
+ /**
16
+ * Override the default behavior for this check and log or not the actual value in the error
17
+ * message when the check fails
18
+ *
19
+ * @param b - true to log the actual value
20
+ * @returns a new Final
21
+ */
22
+ logActualValueInError(b: boolean): CheckBuilderFinal;
15
23
  /**
16
24
  * Save the extracted value in the virtual user's Session
17
25
  *
@@ -5,6 +5,7 @@ const builder_1 = require("./builder");
5
5
  const wrapCheckBuilderFinal = (_underlying) => ({
6
6
  ...(0, builder_1.wrapCheckBuilder)(_underlying),
7
7
  name: (n) => (0, exports.wrapCheckBuilderFinal)(_underlying.name(n)),
8
+ logActualValueInError: (b) => (0, exports.wrapCheckBuilderFinal)(_underlying.logActualValueInError(b)),
8
9
  saveAs: (key) => (0, exports.wrapCheckBuilderFinal)(_underlying.saveAs(key))
9
10
  });
10
11
  exports.wrapCheckBuilderFinal = wrapCheckBuilderFinal;