@opentap/runner-client 1.0.0-beta.68 → 1.0.0-beta.69
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 +2 -2
- package/lib/BaseClient.js +2 -1
- package/package.json +1 -1
package/lib/BaseClient.d.ts
CHANGED
|
@@ -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
|
-
|
|
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();
|