@opentap/runner-client 1.0.0-beta.68 → 1.0.0-beta.70

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.
@@ -1,4 +1,4 @@
1
- import { ConnectionOptions, RequestOptions } from 'nats.ws';
1
+ import { ConnectionOptions, RequestOptions } from 'nats.ws/cjs/nats.js';
2
2
  import { ComponentSettingsBase, ComponentSettingsIdentifier, ComponentSettingsListItem, DataGridControl, ErrorResponse, FileParameter, FileResponse, ListItemType, ProfileGroup, RepositoryPackageReference, RepositorySettingsPackageDefinition, SettingsTapPackage } from './DTOs';
3
3
  export declare class BaseClient {
4
4
  private _accessToken;
@@ -35,7 +35,7 @@ export declare class BaseClient {
35
35
  /**
36
36
  * Close the connection.
37
37
  */
38
- private close;
38
+ close(): Promise<void>;
39
39
  /**
40
40
  * Add a domain specific access token to the dictionary.
41
41
  * @param domain
package/lib/BaseClient.js CHANGED
@@ -34,7 +34,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
34
34
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
35
  }
36
36
  };
37
- import { connect, Empty, JSONCodec, StringCodec } from 'nats.ws';
37
+ // ! import { connect, ConnectionOptions, Empty, JSONCodec, NatsConnection, RequestOptions, StringCodec } from 'nats.ws' if consuming this library in angular >= 13.
38
+ import { connect, Empty, JSONCodec, StringCodec } from 'nats.ws/cjs/nats.js';
38
39
  var BaseClient = /** @class */ (function () {
39
40
  function BaseClient(baseSubject, options) {
40
41
  this.domainAccess = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentap/runner-client",
3
- "version": "1.0.0-beta.68",
3
+ "version": "1.0.0-beta.70",
4
4
  "description": "This is the TypeScript Client for the OpenTAP Runner Plugin.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",