"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RelayNatsClientConfig = void 0;
const tslib_1 = require("tslib");
const inversify_1 = require("inversify");
const nats_1 = require("@codiac.io/codiac-messaging/dist/nats");
/** The in-memory representation of the api client config file. */
let RelayNatsClientConfig = class RelayNatsClientConfig extends nats_1.NatsConnectorSettings {
    constructor(baseUrl, requestTimeoutInMs, connectTimeoutInMs, natsInstance) {
        super(baseUrl, connectTimeoutInMs);
        this.requestTimeoutInMs = requestTimeoutInMs;
        if (natsInstance)
            this.natsInstance = natsInstance;
    }
};
RelayNatsClientConfig = tslib_1.__decorate([
    (0, inversify_1.injectable)(),
    tslib_1.__metadata("design:paramtypes", [String, Number, Number, String])
], RelayNatsClientConfig);
exports.RelayNatsClientConfig = RelayNatsClientConfig;
//# sourceMappingURL=config.js.map