UNPKG

@uipath/robot

Version:

UiPath Robot javascript SDK enabling web pages to interact with UiPath Robots

23 lines (22 loc) 940 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ServerFeatures = void 0; /** * ServerFeatures class used to maintain compatibility between different versions of client and server */ /* @uipath-internal */ var ServerFeatures = /** @class */ (function () { /** * Default constructor */ function ServerFeatures(serverFeatures) { this.serverFeatures = serverFeatures; this.jobStatusUsesLongPolling = this.serverFeatures.includes('JobStatus_LongPolling'); this.installProcess = this.serverFeatures.includes('InstallProcess'); this.useGivenJobId = this.serverFeatures.includes('UseGivenJobId'); this.internalArguments = this.serverFeatures.includes('InternalArguments'); this.clientMessage = this.serverFeatures.includes('ClientMessage'); } return ServerFeatures; }()); exports.ServerFeatures = ServerFeatures;