@serenity-js/core 3.31.8 → 3.31.10
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/lib/events/InteractionFinished.d.ts +5 -0
- package/lib/events/InteractionFinished.d.ts.map +1 -1
- package/lib/events/InteractionFinished.js +5 -0
- package/lib/events/InteractionFinished.js.map +1 -1
- package/lib/events/InteractionStarts.d.ts +2 -0
- package/lib/events/InteractionStarts.d.ts.map +1 -1
- package/lib/events/InteractionStarts.js +2 -0
- package/lib/events/InteractionStarts.js.map +1 -1
- package/lib/io/commaSeparated.d.ts.map +1 -1
- package/lib/model/outcomes.d.ts.map +1 -1
- package/lib/screenplay/time/models/Duration.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/events/InteractionFinished.ts +5 -0
- package/src/events/InteractionStarts.ts +2 -0
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
|
+
## [3.31.10](https://github.com/serenity-js/serenity-js/compare/v3.31.9...v3.31.10) (2025-03-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency typescript to v5.8.2 ([228c7fd](https://github.com/serenity-js/serenity-js/commit/228c7fddee3afcbf5015b147eeb816494ef6bd08))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.31.9](https://github.com/serenity-js/serenity-js/compare/v3.31.8...v3.31.9) (2025-02-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @serenity-js/core
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [3.31.8](https://github.com/serenity-js/serenity-js/compare/v3.31.7...v3.31.8) (2025-02-04)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { JSONObject } from 'tiny-types';
|
|
2
2
|
import { ActivityFinished } from './ActivityFinished';
|
|
3
3
|
/**
|
|
4
|
+
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) is finished.
|
|
5
|
+
* [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/) instances listen
|
|
6
|
+
* to this event to report on the outcome of the interaction, or perform any additional follow-up activities,
|
|
7
|
+
* such as taking a screenshot.
|
|
8
|
+
*
|
|
4
9
|
* @group Events
|
|
5
10
|
*/
|
|
6
11
|
export declare class InteractionFinished extends ActivityFinished {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionFinished.d.ts","sourceRoot":"","sources":["../../src/events/InteractionFinished.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAK7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD
|
|
1
|
+
{"version":3,"file":"InteractionFinished.d.ts","sourceRoot":"","sources":["../../src/events/InteractionFinished.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAK7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;;;GAOG;AACH,qBAAa,mBAAoB,SAAQ,gBAAgB;IACrD,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,mBAAmB;CAStD"}
|
|
@@ -5,6 +5,11 @@ const model_1 = require("../model");
|
|
|
5
5
|
const screenplay_1 = require("../screenplay");
|
|
6
6
|
const ActivityFinished_1 = require("./ActivityFinished");
|
|
7
7
|
/**
|
|
8
|
+
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) is finished.
|
|
9
|
+
* [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/) instances listen
|
|
10
|
+
* to this event to report on the outcome of the interaction, or perform any additional follow-up activities,
|
|
11
|
+
* such as taking a screenshot.
|
|
12
|
+
*
|
|
8
13
|
* @group Events
|
|
9
14
|
*/
|
|
10
15
|
class InteractionFinished extends ActivityFinished_1.ActivityFinished {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionFinished.js","sourceRoot":"","sources":["../../src/events/InteractionFinished.ts"],"names":[],"mappings":";;;AAGA,oCAAmE;AACnE,8CAA0C;AAC1C,yDAAsD;AAEtD
|
|
1
|
+
{"version":3,"file":"InteractionFinished.js","sourceRoot":"","sources":["../../src/events/InteractionFinished.ts"],"names":[],"mappings":";;;AAGA,oCAAmE;AACnE,8CAA0C;AAC1C,yDAAsD;AAEtD;;;;;;;GAOG;AACH,MAAa,mBAAoB,SAAQ,mCAAgB;IACrD,MAAM,CAAC,QAAQ,CAAC,CAAa;QACzB,OAAO,IAAI,mBAAmB,CAC1B,qBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAiB,CAAC,EAC3C,qBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAoB,CAAC,EAC9C,uBAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAqB,CAAC,EACjD,eAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAA4B,CAAC,EAChD,sBAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAmB,CAAC,CAC5C,CAAC;IACN,CAAC;CACJ;AAVD,kDAUC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { JSONObject } from 'tiny-types';
|
|
2
2
|
import { ActivityStarts } from './ActivityStarts';
|
|
3
3
|
/**
|
|
4
|
+
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) starts.
|
|
5
|
+
*
|
|
4
6
|
* @group Events
|
|
5
7
|
*/
|
|
6
8
|
export declare class InteractionStarts extends ActivityStarts {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionStarts.d.ts","sourceRoot":"","sources":["../../src/events/InteractionStarts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD
|
|
1
|
+
{"version":3,"file":"InteractionStarts.d.ts","sourceRoot":"","sources":["../../src/events/InteractionStarts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,cAAc;IACjD,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,iBAAiB;CAQpD"}
|
|
@@ -5,6 +5,8 @@ const model_1 = require("../model");
|
|
|
5
5
|
const screenplay_1 = require("../screenplay");
|
|
6
6
|
const ActivityStarts_1 = require("./ActivityStarts");
|
|
7
7
|
/**
|
|
8
|
+
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) starts.
|
|
9
|
+
*
|
|
8
10
|
* @group Events
|
|
9
11
|
*/
|
|
10
12
|
class InteractionStarts extends ActivityStarts_1.ActivityStarts {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionStarts.js","sourceRoot":"","sources":["../../src/events/InteractionStarts.ts"],"names":[],"mappings":";;;AAEA,oCAA0D;AAC1D,8CAA0C;AAC1C,qDAAkD;AAElD
|
|
1
|
+
{"version":3,"file":"InteractionStarts.js","sourceRoot":"","sources":["../../src/events/InteractionStarts.ts"],"names":[],"mappings":";;;AAEA,oCAA0D;AAC1D,8CAA0C;AAC1C,qDAAkD;AAElD;;;;GAIG;AACH,MAAa,iBAAkB,SAAQ,+BAAc;IACjD,MAAM,CAAC,QAAQ,CAAC,CAAa;QACzB,OAAO,IAAI,iBAAiB,CACxB,qBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAiB,CAAC,EAC3C,qBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAoB,CAAC,EAC9C,uBAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAqB,CAAC,EACjD,sBAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAmB,CAAC,CAC5C,CAAC;IACN,CAAC;CACJ;AATD,8CASC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commaSeparated.d.ts","sourceRoot":"","sources":["../../src/io/commaSeparated.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC1B,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG;IAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;CAAE,CAAC,EAChD,eAAe,
|
|
1
|
+
{"version":3,"file":"commaSeparated.d.ts","sourceRoot":"","sources":["../../src/io/commaSeparated.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC1B,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG;IAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;CAAE,CAAC,EAChD,eAAe,IAAG,SAAI,WAAsB,EAC5C,GAAG,SAAK,GACT,MAAM,CAOR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outcomes.d.ts","sourceRoot":"","sources":["../../src/model/outcomes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAC,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAS,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;AAG/C,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACjD,IAAI,EAAK,MAAM,CAAC;IAChB,KAAK,CAAC,EAAG,MAAM,CAAC;CACnB;AAED,8BAAsB,OAAQ,SAAQ,QAAQ;IAWpB,SAAS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OAAO,EAAE,QAAQ,GAAG,OAAO;IAIzC,sBAAsB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO;IAIlD,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,QAAQ;IAIjC,cAAc,IAAI,MAAM;IAIxB,QAAQ,IAAI,MAAM;IAkBlB,MAAM,IAAI,UAAU;CAKvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/core",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.10",
|
|
4
4
|
"description": "The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"mocha": "11.1.0",
|
|
63
63
|
"mocha-multi": "1.1.7",
|
|
64
64
|
"ts-node": "10.9.2",
|
|
65
|
-
"typescript": "5.
|
|
65
|
+
"typescript": "5.8.2"
|
|
66
66
|
},
|
|
67
67
|
"repository": {
|
|
68
68
|
"type": "git",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": "^18.12 || ^20 || ^22"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "78dc222056887bbfbd5c4a560c757eb1bb496871"
|
|
79
79
|
}
|
|
@@ -6,6 +6,11 @@ import { Timestamp } from '../screenplay';
|
|
|
6
6
|
import { ActivityFinished } from './ActivityFinished';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
+
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) is finished.
|
|
10
|
+
* [`StageCrewMember`](https://serenity-js.org/api/core/interface/StageCrewMember/) instances listen
|
|
11
|
+
* to this event to report on the outcome of the interaction, or perform any additional follow-up activities,
|
|
12
|
+
* such as taking a screenshot.
|
|
13
|
+
*
|
|
9
14
|
* @group Events
|
|
10
15
|
*/
|
|
11
16
|
export class InteractionFinished extends ActivityFinished {
|
|
@@ -5,6 +5,8 @@ import { Timestamp } from '../screenplay';
|
|
|
5
5
|
import { ActivityStarts } from './ActivityStarts';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
+
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) starts.
|
|
9
|
+
*
|
|
8
10
|
* @group Events
|
|
9
11
|
*/
|
|
10
12
|
export class InteractionStarts extends ActivityStarts {
|