@opentap/runner-client 2.14.0-alpha.1.1 → 2.14.0-alpha.1.2

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.
@@ -3,7 +3,7 @@ import { BaseClient } from './BaseClient';
3
3
  import { ConnectionOptions } from 'nats.ws';
4
4
  export declare class RunnerClient extends BaseClient {
5
5
  default: {
6
- startSession: (testPlanRepositoryReference: RepositoryPackageReference) => Promise<Session>;
6
+ startSession: (testPlanRepositoryReference?: RepositoryPackageReference) => Promise<Session>;
7
7
  getImage: () => Promise<Image>;
8
8
  setImage: (image: Image) => Promise<Image>;
9
9
  getSettings: () => Promise<RepositoryPackageReference>;
@@ -25,7 +25,7 @@ var RunnerClient = /** @class */ (function (_super) {
25
25
  Session will have referenced TestPlan pre-loaded. The Session will be
26
26
  created with the base image and base settings. */
27
27
  startSession: function (testPlanRepositoryReference) {
28
- return _this.request('StartDefaultSession', testPlanRepositoryReference)
28
+ return _this.request('StartDefaultSession', testPlanRepositoryReference !== null && testPlanRepositoryReference !== void 0 ? testPlanRepositoryReference : null)
29
29
  .then(function (sessionJs) { return Session.fromJS(sessionJs); })
30
30
  .then(_this.success())
31
31
  .catch(_this.error());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentap/runner-client",
3
- "version": "2.14.0-alpha.1.1",
3
+ "version": "2.14.0-alpha.1.2",
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",