@opentap/runner-client 2.5.0-alpha.1.3 → 2.5.0-alpha.1.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.
@@ -21,6 +21,6 @@ export declare class SystemClient extends BaseClient {
21
21
  * @param {SubscriptionOptions} options
22
22
  * @returns {Subscription}
23
23
  */
24
- subscribeTestPlanRunStartedEventListener(runnerId: string, runId: string, listener: (error: ErrorResponse | null, message: ISessionEvent | null) => void, options?: SubscriptionOptions): Subscription;
24
+ subscribeTestPlanRunStartedEventListener(runnerId: string, runId: string, eventName: string, listener: (error: ErrorResponse | null, message: ISessionEvent | null) => void, options?: SubscriptionOptions): Subscription;
25
25
  private parseCallbackArguments;
26
26
  }
@@ -49,9 +49,9 @@ var SystemClient = /** @class */ (function (_super) {
49
49
  * @param {SubscriptionOptions} options
50
50
  * @returns {Subscription}
51
51
  */
52
- SystemClient.prototype.subscribeTestPlanRunStartedEventListener = function (runnerId, runId, listener, options) {
52
+ SystemClient.prototype.subscribeTestPlanRunStartedEventListener = function (runnerId, runId, eventName, listener, options) {
53
53
  var _this = this;
54
- return this.subscribe("".concat(runnerId, ".Runs.").concat(runId, ".Events.*"), __assign(__assign({}, options), { callback: function (error, message) {
54
+ return this.subscribe("".concat(runnerId, ".Runs.").concat(runId, ".Events.").concat(eventName), __assign(__assign({}, options), { callback: function (error, message) {
55
55
  listener.apply(void 0, _this.parseCallbackArguments('*.Events.Lifetime', error, message));
56
56
  } }));
57
57
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentap/runner-client",
3
- "version": "2.5.0-alpha.1.3",
3
+ "version": "2.5.0-alpha.1.5",
4
4
  "description": "This is the web client for the OpenTAP Runner.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",