@gatling.io/core 3.14.303 → 3.14.304

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.14.303",
3
+ "version": "3.14.304",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://gatling.io",
6
6
  "repository": "github:gatling/gatling-js",
@@ -20,14 +20,14 @@
20
20
  "main": "target/index.js",
21
21
  "types": "target/index.d.ts",
22
22
  "dependencies": {
23
- "@gatling.io/jvm-types": "3.14.303"
23
+ "@gatling.io/jvm-types": "3.14.304"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/jest": "29.5.14",
27
- "jest": "29.7.0",
28
- "prettier": "3.5.3",
26
+ "@types/jest": "30.0.0",
27
+ "jest": "30.0.4",
28
+ "prettier": "3.6.2",
29
29
  "rimraf": "6.0.1",
30
- "ts-jest": "29.3.4",
30
+ "ts-jest": "29.4.0",
31
31
  "ts-node": "10.9.2",
32
32
  "typescript": "5.8.3"
33
33
  },
@@ -114,4 +114,6 @@ export type SessionTo<T> = (session: Session) => T;
114
114
  export declare const underlyingSessionTo: <T>(f: SessionTo<T>) => ((jvmSession: JvmSession) => T);
115
115
  export declare const underlyingSessionToJava: <T>(f: SessionTo<T>) => ((jvmSession: JvmSession) => unknown);
116
116
  export declare const underlyingSessionToDuration: (f: SessionTo<Duration>) => ((jvmSession: JvmSession) => java.time.Duration);
117
- export declare const underlyingXWithSessionTo: <X, X2>(f: (x: X, session: Session) => X2) => ((x: X, jvmSession: JvmSession) => X2);
117
+ export type XWithSessionTo<X, X2> = (x: X, session: Session) => X2;
118
+ export declare const underlyingXWithSessionTo: <X, X2>(f: XWithSessionTo<X, X2>) => ((x: X, jvmSession: JvmSession) => X2);
119
+ export declare const underlyingXWithSessionToSession: <X>(f: XWithSessionTo<X, Session>) => ((x: X, jvmSession: JvmSession) => JvmSession);
package/target/session.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.underlyingXWithSessionTo = exports.underlyingSessionToDuration = exports.underlyingSessionToJava = exports.underlyingSessionTo = exports.underlyingSessionTransform = exports.wrapSession = void 0;
3
+ exports.underlyingXWithSessionToSession = exports.underlyingXWithSessionTo = exports.underlyingSessionToDuration = exports.underlyingSessionToJava = exports.underlyingSessionTo = exports.underlyingSessionTransform = exports.wrapSession = void 0;
4
4
  const byteArrays_1 = require("./gatlingJvm/byteArrays");
5
5
  const collections_1 = require("./gatlingJvm/collections");
6
6
  const duration_1 = require("./utils/duration");
@@ -41,3 +41,5 @@ const underlyingSessionToDuration = (f) => (jvmSession) => (0, duration_1.toJvmD
41
41
  exports.underlyingSessionToDuration = underlyingSessionToDuration;
42
42
  const underlyingXWithSessionTo = (f) => (x, jvmSession) => f(x, (0, exports.wrapSession)(jvmSession));
43
43
  exports.underlyingXWithSessionTo = underlyingXWithSessionTo;
44
+ const underlyingXWithSessionToSession = (f) => (x, jvmSession) => f(x, (0, exports.wrapSession)(jvmSession))._underlying;
45
+ exports.underlyingXWithSessionToSession = underlyingXWithSessionToSession;