@opentap/runner-client 1.2.3 → 2.0.0-alpha.2.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.
- package/lib/BaseClient.d.ts +1 -1
- package/lib/BaseClient.js +1 -1
- package/lib/RunnerClient.d.ts +0 -3
- package/lib/RunnerClient.js +1 -3
- package/lib/SessionClient.d.ts +1 -1
- package/lib/SessionClient.js +1 -1
- package/lib/index.d.ts +1 -3
- package/lib/index.js +4 -3
- package/package.json +2 -2
package/lib/BaseClient.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentSettingsBase, ComponentSettingsIdentifier, ComponentSettingsListItem, DataGridControl, ErrorResponse, FileParameter, FileResponse, ListItemType, ProfileGroup, RepositoryPackageReference, RepositorySettingsPackageDefinition, SettingsTapPackage } from './DTOs';
|
|
2
|
-
import { ConnectionOptions, RequestOptions, Subscription, SubscriptionOptions } from 'nats.ws
|
|
2
|
+
import { ConnectionOptions, RequestOptions, Subscription, SubscriptionOptions } from 'nats.ws';
|
|
3
3
|
export declare class BaseClient {
|
|
4
4
|
private connection;
|
|
5
5
|
private baseSubject;
|
package/lib/BaseClient.js
CHANGED
|
@@ -46,7 +46,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
import { ComponentSettingsBase, ComponentSettingsIdentifier, ComponentSettingsListItem, DataGridControl, ErrorResponse, ListItemType, ProfileGroup, } from './DTOs';
|
|
49
|
-
import { Empty, ErrorCode, JSONCodec, StringCodec, connect, headers, } from 'nats.ws
|
|
49
|
+
import { Empty, ErrorCode, JSONCodec, StringCodec, connect, headers, } from 'nats.ws';
|
|
50
50
|
var DEFAULT_TIMEOUT = 6000;
|
|
51
51
|
var BaseClient = /** @class */ (function () {
|
|
52
52
|
function BaseClient(baseSubject, options) {
|
package/lib/RunnerClient.d.ts
CHANGED
|
@@ -2,9 +2,6 @@ import { Image, Session } from './DTOs';
|
|
|
2
2
|
import { BaseClient } from './BaseClient';
|
|
3
3
|
import { ConnectionOptions } from 'nats.ws';
|
|
4
4
|
export declare class RunnerClient extends BaseClient {
|
|
5
|
-
private http;
|
|
6
|
-
private baseUrl;
|
|
7
|
-
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
8
5
|
constructor(baseSubject: string, options: ConnectionOptions);
|
|
9
6
|
/**
|
|
10
7
|
* Get the created image with the specified ID.
|
package/lib/RunnerClient.js
CHANGED
|
@@ -18,9 +18,7 @@ import { BaseClient } from './BaseClient';
|
|
|
18
18
|
var RunnerClient = /** @class */ (function (_super) {
|
|
19
19
|
__extends(RunnerClient, _super);
|
|
20
20
|
function RunnerClient(baseSubject, options) {
|
|
21
|
-
|
|
22
|
-
_this.jsonParseReviver = undefined;
|
|
23
|
-
return _this;
|
|
21
|
+
return _super.call(this, baseSubject, options) || this;
|
|
24
22
|
}
|
|
25
23
|
/**
|
|
26
24
|
* Get the created image with the specified ID.
|
package/lib/SessionClient.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BreakPoints, CommonContext, CommonSettings, DataGridControl, Image, Interaction, ListItemType, LogList, Parameter, RepositoryPackageDefinition, RepositoryPackageReference, Result, RunStatus, SessionEvent, Setting, TestPlan, TestRun, TestStepType, TestStepValidationError, WatchDog } from './DTOs';
|
|
2
|
-
import { ConnectionOptions, NatsError, Subscription, SubscriptionOptions } from 'nats.ws
|
|
2
|
+
import { ConnectionOptions, NatsError, Subscription, SubscriptionOptions } from 'nats.ws';
|
|
3
3
|
import { BaseClient } from './BaseClient';
|
|
4
4
|
export declare class SessionClient extends BaseClient {
|
|
5
5
|
private eventsSubscription;
|
package/lib/SessionClient.js
CHANGED
|
@@ -25,7 +25,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
25
25
|
return __assign.apply(this, arguments);
|
|
26
26
|
};
|
|
27
27
|
import { BreakPoints, CommonContext, CommonSettings, DataGridControl, Image, Interaction, ListItemType, LogList, Result, RunStatus, SessionEvent, Setting, TestPlan, TestRun, TestStepType, TestStepValidationError, WatchDog, } from './DTOs';
|
|
28
|
-
import { JSONCodec } from 'nats.ws
|
|
28
|
+
import { JSONCodec } from 'nats.ws';
|
|
29
29
|
import { BaseClient } from './BaseClient';
|
|
30
30
|
var SessionClient = /** @class */ (function (_super) {
|
|
31
31
|
__extends(SessionClient, _super);
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { RunnerClient } from './RunnerClient';
|
|
2
2
|
export { SessionClient } from './SessionClient';
|
|
3
3
|
export * from './DTOs';
|
|
4
|
-
export * from 'nats.ws
|
|
5
|
-
export * from 'nats.ws/lib/nats-base-client/authenticator';
|
|
6
|
-
export * from 'nats.ws/lib/nats-base-client/error';
|
|
4
|
+
export * from 'nats.ws';
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { RunnerClient } from './RunnerClient';
|
|
2
2
|
export { SessionClient } from './SessionClient';
|
|
3
3
|
export * from './DTOs';
|
|
4
|
-
export * from 'nats.ws
|
|
5
|
-
export * from 'nats.ws/lib/nats-base-client/
|
|
6
|
-
export * from 'nats.ws/lib/nats-base-client/
|
|
4
|
+
export * from 'nats.ws';
|
|
5
|
+
//export * from 'nats.ws/lib/nats-base-client/types'; // TODO: Delete this line if you are consuming this library in angular > v11. The types export will be done automatically.
|
|
6
|
+
//export * from 'nats.ws/lib/nats-base-client/authenticator';
|
|
7
|
+
//export * from 'nats.ws/lib/nats-base-client/error';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentap/runner-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.2.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",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
13
13
|
},
|
|
14
14
|
"author": "OpenTap.io",
|
|
15
|
-
"license": "
|
|
15
|
+
"license": "MIT",
|
|
16
16
|
"files": [
|
|
17
17
|
"lib/**/*"
|
|
18
18
|
],
|