@uipath/api-workflow-tool 0.9.0 → 0.9.1
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/dist/tool.js +152 -50
- package/package.json +5 -5
package/dist/tool.js
CHANGED
|
@@ -44878,7 +44878,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
44878
44878
|
if (S(n3))
|
|
44879
44879
|
return r3;
|
|
44880
44880
|
for (var i4 = function(e6) {
|
|
44881
|
-
var t6 =
|
|
44881
|
+
var t6 = T(e6, o2);
|
|
44882
44882
|
if (!k(t6))
|
|
44883
44883
|
throw new TypeError;
|
|
44884
44884
|
var r4 = t6.call(e6);
|
|
@@ -44941,7 +44941,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
44941
44941
|
case 5:
|
|
44942
44942
|
return e5;
|
|
44943
44943
|
}
|
|
44944
|
-
var r3 = t5 === 3 ? "string" : t5 === 5 ? "number" : "default", o3 =
|
|
44944
|
+
var r3 = t5 === 3 ? "string" : t5 === 5 ? "number" : "default", o3 = T(e5, n2);
|
|
44945
44945
|
if (o3 !== undefined) {
|
|
44946
44946
|
var i4 = o3.call(e5, r3);
|
|
44947
44947
|
if (j(i4))
|
|
@@ -44978,10 +44978,10 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
44978
44978
|
function k(e5) {
|
|
44979
44979
|
return typeof e5 == "function";
|
|
44980
44980
|
}
|
|
44981
|
-
function
|
|
44981
|
+
function C(e5) {
|
|
44982
44982
|
return typeof e5 == "function";
|
|
44983
44983
|
}
|
|
44984
|
-
function
|
|
44984
|
+
function T(e5, t5) {
|
|
44985
44985
|
var r3 = e5[t5];
|
|
44986
44986
|
if (r3 != null) {
|
|
44987
44987
|
if (!k(r3))
|
|
@@ -45016,13 +45016,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
45016
45016
|
if (S(r3)) {
|
|
45017
45017
|
if (!M(e5))
|
|
45018
45018
|
throw new TypeError;
|
|
45019
|
-
if (!
|
|
45019
|
+
if (!C(t5))
|
|
45020
45020
|
throw new TypeError;
|
|
45021
45021
|
return function(e6, t6) {
|
|
45022
45022
|
for (var r4 = e6.length - 1;r4 >= 0; --r4) {
|
|
45023
45023
|
var n4 = (0, e6[r4])(t6);
|
|
45024
45024
|
if (!S(n4) && !P(n4)) {
|
|
45025
|
-
if (!
|
|
45025
|
+
if (!C(n4))
|
|
45026
45026
|
throw new TypeError;
|
|
45027
45027
|
t6 = n4;
|
|
45028
45028
|
}
|
|
@@ -45232,13 +45232,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
45232
45232
|
Object.defineProperty(t3, "EmptyError", { enumerable: true, get: function() {
|
|
45233
45233
|
return k.EmptyError;
|
|
45234
45234
|
} });
|
|
45235
|
-
var
|
|
45235
|
+
var C = r(7628);
|
|
45236
45236
|
Object.defineProperty(t3, "NotFoundError", { enumerable: true, get: function() {
|
|
45237
|
-
return
|
|
45237
|
+
return C.NotFoundError;
|
|
45238
45238
|
} });
|
|
45239
|
-
var
|
|
45239
|
+
var T = r(740);
|
|
45240
45240
|
Object.defineProperty(t3, "ObjectUnsubscribedError", { enumerable: true, get: function() {
|
|
45241
|
-
return
|
|
45241
|
+
return T.ObjectUnsubscribedError;
|
|
45242
45242
|
} });
|
|
45243
45243
|
var A = r(6968);
|
|
45244
45244
|
Object.defineProperty(t3, "SequenceError", { enumerable: true, get: function() {
|
|
@@ -45448,13 +45448,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
45448
45448
|
Object.defineProperty(t3, "debounceTime", { enumerable: true, get: function() {
|
|
45449
45449
|
return ke.debounceTime;
|
|
45450
45450
|
} });
|
|
45451
|
-
var
|
|
45451
|
+
var Ce = r(6204);
|
|
45452
45452
|
Object.defineProperty(t3, "defaultIfEmpty", { enumerable: true, get: function() {
|
|
45453
|
-
return
|
|
45453
|
+
return Ce.defaultIfEmpty;
|
|
45454
45454
|
} });
|
|
45455
|
-
var
|
|
45455
|
+
var Te = r(7752);
|
|
45456
45456
|
Object.defineProperty(t3, "delay", { enumerable: true, get: function() {
|
|
45457
|
-
return
|
|
45457
|
+
return Te.delay;
|
|
45458
45458
|
} });
|
|
45459
45459
|
var Ae = r(7532);
|
|
45460
45460
|
Object.defineProperty(t3, "delayWhen", { enumerable: true, get: function() {
|
|
@@ -45664,13 +45664,13 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
45664
45664
|
Object.defineProperty(t3, "share", { enumerable: true, get: function() {
|
|
45665
45665
|
return kt.share;
|
|
45666
45666
|
} });
|
|
45667
|
-
var
|
|
45667
|
+
var Ct = r(4980);
|
|
45668
45668
|
Object.defineProperty(t3, "shareReplay", { enumerable: true, get: function() {
|
|
45669
|
-
return
|
|
45669
|
+
return Ct.shareReplay;
|
|
45670
45670
|
} });
|
|
45671
|
-
var
|
|
45671
|
+
var Tt = r(1400);
|
|
45672
45672
|
Object.defineProperty(t3, "single", { enumerable: true, get: function() {
|
|
45673
|
-
return
|
|
45673
|
+
return Tt.single;
|
|
45674
45674
|
} });
|
|
45675
45675
|
var At = r(7516);
|
|
45676
45676
|
Object.defineProperty(t3, "skip", { enumerable: true, get: function() {
|
|
@@ -51370,12 +51370,24 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
51370
51370
|
static create() {
|
|
51371
51371
|
return new r;
|
|
51372
51372
|
}
|
|
51373
|
+
get(e3) {
|
|
51374
|
+
return this._map.get(e3);
|
|
51375
|
+
}
|
|
51373
51376
|
getOrCreateValue(e3, t4) {
|
|
51374
51377
|
if (this._map.has(e3))
|
|
51375
51378
|
return this._map.get(e3);
|
|
51376
51379
|
let r2 = t4(e3);
|
|
51377
51380
|
return this._map.set(e3, r2), r2;
|
|
51378
51381
|
}
|
|
51382
|
+
delete(e3) {
|
|
51383
|
+
return this._map.delete(e3);
|
|
51384
|
+
}
|
|
51385
|
+
values() {
|
|
51386
|
+
return this._map.values();
|
|
51387
|
+
}
|
|
51388
|
+
clear() {
|
|
51389
|
+
this._map.clear();
|
|
51390
|
+
}
|
|
51379
51391
|
}
|
|
51380
51392
|
t3.Dictionary = r;
|
|
51381
51393
|
}, 4444: function(e2, t3, r) {
|
|
@@ -52748,25 +52760,61 @@ Object name: '${e3}'.`), t4;
|
|
|
52748
52760
|
Object.defineProperty(t3, "__esModule", { value: true }), o(r(1476), t3), o(r(9108), t3), o(r(4236), t3), o(r(2988), t3), o(r(5276), t3), o(r(7540), t3), o(r(2432), t3), o(r(712), t3);
|
|
52749
52761
|
}, 1816: (e2, t3) => {
|
|
52750
52762
|
Object.defineProperty(t3, "__esModule", { value: true });
|
|
52751
|
-
}, 5284: (e2, t3, r)
|
|
52763
|
+
}, 5284: function(e2, t3, r) {
|
|
52764
|
+
var n = this && this.__awaiter || function(e3, t4, r2, n2) {
|
|
52765
|
+
return new (r2 || (r2 = Promise))(function(o2, i4) {
|
|
52766
|
+
function s2(e4) {
|
|
52767
|
+
try {
|
|
52768
|
+
c2(n2.next(e4));
|
|
52769
|
+
} catch (e5) {
|
|
52770
|
+
i4(e5);
|
|
52771
|
+
}
|
|
52772
|
+
}
|
|
52773
|
+
function a2(e4) {
|
|
52774
|
+
try {
|
|
52775
|
+
c2(n2.throw(e4));
|
|
52776
|
+
} catch (e5) {
|
|
52777
|
+
i4(e5);
|
|
52778
|
+
}
|
|
52779
|
+
}
|
|
52780
|
+
function c2(e4) {
|
|
52781
|
+
var t5;
|
|
52782
|
+
e4.done ? o2(e4.value) : (t5 = e4.value, t5 instanceof r2 ? t5 : new r2(function(e5) {
|
|
52783
|
+
e5(t5);
|
|
52784
|
+
})).then(s2, a2);
|
|
52785
|
+
}
|
|
52786
|
+
c2((n2 = n2.apply(e3, t4 || [])).next());
|
|
52787
|
+
});
|
|
52788
|
+
};
|
|
52752
52789
|
Object.defineProperty(t3, "__esModule", { value: true }), t3.IpcBaseImpl = t3.IpcCoreBase = undefined;
|
|
52753
|
-
const
|
|
52790
|
+
const o = r(5188), i3 = r(3212), s = r(4104), a = r(2760), c = r(9100);
|
|
52754
52791
|
t3.IpcCoreBase = class {
|
|
52755
52792
|
constructor() {
|
|
52756
52793
|
this._db = new Map;
|
|
52757
52794
|
}
|
|
52758
52795
|
};
|
|
52759
52796
|
|
|
52760
|
-
class
|
|
52797
|
+
class u {
|
|
52761
52798
|
constructor(e3, t4, r2) {
|
|
52762
|
-
this.addressBuilder = e3, this.proxy = new
|
|
52799
|
+
this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i3.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t4 != null ? t4 : new i3.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i3.OperationAnnotationsWrapper(this).iface;
|
|
52763
52800
|
}
|
|
52764
52801
|
getAddress(e3) {
|
|
52765
52802
|
const t4 = new this.addressBuilder;
|
|
52766
52803
|
return e3(t4), t4.assertAddress();
|
|
52767
52804
|
}
|
|
52805
|
+
disposeChannel(e3) {
|
|
52806
|
+
return n(this, undefined, undefined, function* () {
|
|
52807
|
+
const t4 = this.getAddress(e3);
|
|
52808
|
+
yield this.wire.disposeChannel(t4.key);
|
|
52809
|
+
});
|
|
52810
|
+
}
|
|
52811
|
+
disposeAllChannels() {
|
|
52812
|
+
return n(this, undefined, undefined, function* () {
|
|
52813
|
+
yield this.wire.disposeAllChannels();
|
|
52814
|
+
});
|
|
52815
|
+
}
|
|
52768
52816
|
}
|
|
52769
|
-
t3.IpcBaseImpl =
|
|
52817
|
+
t3.IpcBaseImpl = u, function(e3) {
|
|
52770
52818
|
e3.ProxySource = class {
|
|
52771
52819
|
constructor(e4) {
|
|
52772
52820
|
this._serviceProvider = e4;
|
|
@@ -52782,7 +52830,7 @@ Object name: '${e3}'.`), t4;
|
|
|
52782
52830
|
this._serviceProvider = e4, this._address = t5;
|
|
52783
52831
|
}
|
|
52784
52832
|
withService(e4) {
|
|
52785
|
-
const t5 = new
|
|
52833
|
+
const t5 = new s.ProxyId(e4, this._address);
|
|
52786
52834
|
return this._serviceProvider.proxySource.resolve(t5);
|
|
52787
52835
|
}
|
|
52788
52836
|
}
|
|
@@ -52804,27 +52852,27 @@ Object name: '${e3}'.`), t4;
|
|
|
52804
52852
|
this._ipc = e4, this._address = t5;
|
|
52805
52853
|
}
|
|
52806
52854
|
setConnectHelper(e4) {
|
|
52807
|
-
(0,
|
|
52855
|
+
(0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
|
|
52808
52856
|
}
|
|
52809
52857
|
forAnyService() {
|
|
52810
|
-
return new
|
|
52858
|
+
return new n2(this._ipc, this._address);
|
|
52811
52859
|
}
|
|
52812
52860
|
forService(e4) {
|
|
52813
|
-
return new
|
|
52861
|
+
return new n2(this._ipc, this._address, e4);
|
|
52814
52862
|
}
|
|
52815
52863
|
}
|
|
52816
52864
|
e3.ConfigurationWithAddress = r2;
|
|
52817
52865
|
|
|
52818
|
-
class
|
|
52866
|
+
class n2 {
|
|
52819
52867
|
constructor(e4, t5, r3) {
|
|
52820
52868
|
this._ipc = e4, this._address = t5, this._service = r3;
|
|
52821
52869
|
}
|
|
52822
52870
|
setRequestTimeout(e4) {
|
|
52823
|
-
(0,
|
|
52871
|
+
(0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
|
|
52824
52872
|
}
|
|
52825
52873
|
}
|
|
52826
|
-
e3.ConfigurationWithAddressService =
|
|
52827
|
-
}(
|
|
52874
|
+
e3.ConfigurationWithAddressService = n2;
|
|
52875
|
+
}(u = t3.IpcBaseImpl || (t3.IpcBaseImpl = {}));
|
|
52828
52876
|
}, 3552: (e2, t3) => {
|
|
52829
52877
|
Object.defineProperty(t3, "__esModule", { value: true }), t3.IpcError = undefined, t3.IpcError = class {
|
|
52830
52878
|
constructor(e3, t4, r, n) {
|
|
@@ -52897,7 +52945,13 @@ Object name: '${e3}'.`), t4;
|
|
|
52897
52945
|
}
|
|
52898
52946
|
disposeAsync() {
|
|
52899
52947
|
return n(this, undefined, undefined, function* () {
|
|
52900
|
-
this._ctsLoop.cancel()
|
|
52948
|
+
this._ctsLoop.cancel();
|
|
52949
|
+
try {
|
|
52950
|
+
yield this._loop;
|
|
52951
|
+
} catch (e3) {
|
|
52952
|
+
e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
|
|
52953
|
+
}
|
|
52954
|
+
this._stream.dispose();
|
|
52901
52955
|
});
|
|
52902
52956
|
}
|
|
52903
52957
|
static toMessageTypeString(e3) {
|
|
@@ -53082,8 +53136,8 @@ ${e3.Data}`);
|
|
|
53082
53136
|
static create(e3, t4, r2, n2, o2, i4) {
|
|
53083
53137
|
return new a(e3, t4, r2, n2, o2, i4);
|
|
53084
53138
|
}
|
|
53085
|
-
constructor(e3, t4, r2, n2,
|
|
53086
|
-
this._observer =
|
|
53139
|
+
constructor(e3, t4, r2, n2, s2, c) {
|
|
53140
|
+
this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
|
|
53087
53141
|
constructor(e4) {
|
|
53088
53142
|
this._owner = e4;
|
|
53089
53143
|
}
|
|
@@ -53096,8 +53150,8 @@ ${e3.Data}`);
|
|
|
53096
53150
|
complete() {
|
|
53097
53151
|
this._owner.dispatchNetworkComplete();
|
|
53098
53152
|
}
|
|
53099
|
-
}(this), this._$messageStream = a.createMessageStream(e3, t4, r2, n2, this._networkObserver, i3.MessageStream.Factory.orDefault(
|
|
53100
|
-
this.disposeAsync();
|
|
53153
|
+
}(this), this._$messageStream = a.createMessageStream(e3, t4, r2, n2, this._networkObserver, i3.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
|
|
53154
|
+
o.Trace.traceErrorNoThrow(this.disposeAsync());
|
|
53101
53155
|
});
|
|
53102
53156
|
}
|
|
53103
53157
|
disposeAsync() {
|
|
@@ -53336,6 +53390,12 @@ ${e3.Data}`);
|
|
|
53336
53390
|
complete() {}
|
|
53337
53391
|
}(this);
|
|
53338
53392
|
}
|
|
53393
|
+
disposeAsync() {
|
|
53394
|
+
return n(this, undefined, undefined, function* () {
|
|
53395
|
+
const e3 = this._latestChannel;
|
|
53396
|
+
this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
|
|
53397
|
+
});
|
|
53398
|
+
}
|
|
53339
53399
|
invokeMethod(e3, t4, r2) {
|
|
53340
53400
|
return n(this, undefined, undefined, function* () {
|
|
53341
53401
|
const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t4, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i3.Converter.unwrapRpcResponse(f, n2);
|
|
@@ -53490,18 +53550,55 @@ ${e3.Data}`);
|
|
|
53490
53550
|
return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
|
|
53491
53551
|
}
|
|
53492
53552
|
};
|
|
53493
|
-
}, 4156: (e2, t3, r)
|
|
53553
|
+
}, 4156: function(e2, t3, r) {
|
|
53554
|
+
var n = this && this.__awaiter || function(e3, t4, r2, n2) {
|
|
53555
|
+
return new (r2 || (r2 = Promise))(function(o2, i4) {
|
|
53556
|
+
function s2(e4) {
|
|
53557
|
+
try {
|
|
53558
|
+
c(n2.next(e4));
|
|
53559
|
+
} catch (e5) {
|
|
53560
|
+
i4(e5);
|
|
53561
|
+
}
|
|
53562
|
+
}
|
|
53563
|
+
function a(e4) {
|
|
53564
|
+
try {
|
|
53565
|
+
c(n2.throw(e4));
|
|
53566
|
+
} catch (e5) {
|
|
53567
|
+
i4(e5);
|
|
53568
|
+
}
|
|
53569
|
+
}
|
|
53570
|
+
function c(e4) {
|
|
53571
|
+
var t5;
|
|
53572
|
+
e4.done ? o2(e4.value) : (t5 = e4.value, t5 instanceof r2 ? t5 : new r2(function(e5) {
|
|
53573
|
+
e5(t5);
|
|
53574
|
+
})).then(s2, a);
|
|
53575
|
+
}
|
|
53576
|
+
c((n2 = n2.apply(e3, t4 || [])).next());
|
|
53577
|
+
});
|
|
53578
|
+
};
|
|
53494
53579
|
Object.defineProperty(t3, "__esModule", { value: true }), t3.Wire = undefined;
|
|
53495
|
-
const
|
|
53580
|
+
const o = r(3212), i3 = r(4104), s = r(5188);
|
|
53496
53581
|
t3.Wire = class {
|
|
53497
53582
|
invokeMethod(e3, t4, r2) {
|
|
53498
53583
|
return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t4, r2);
|
|
53499
53584
|
}
|
|
53500
|
-
constructor(e3, t4 =
|
|
53501
|
-
this._sp = e3, this._rpcChannelFactory = t4, this._messageStreamFactory = r2, this._map = new
|
|
53585
|
+
constructor(e3, t4 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
|
|
53586
|
+
this._sp = e3, this._rpcChannelFactory = t4, this._messageStreamFactory = r2, this._map = new s.Dictionary;
|
|
53502
53587
|
}
|
|
53503
53588
|
getOrCreateChannelManager(e3) {
|
|
53504
|
-
return this._map.getOrCreateValue(e3.key, () => new
|
|
53589
|
+
return this._map.getOrCreateValue(e3.key, () => new i3.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
|
|
53590
|
+
}
|
|
53591
|
+
disposeChannel(e3) {
|
|
53592
|
+
return n(this, undefined, undefined, function* () {
|
|
53593
|
+
const t4 = this._map.get(e3);
|
|
53594
|
+
t4 && (this._map.delete(e3), yield t4.disposeAsync());
|
|
53595
|
+
});
|
|
53596
|
+
}
|
|
53597
|
+
disposeAllChannels() {
|
|
53598
|
+
return n(this, undefined, undefined, function* () {
|
|
53599
|
+
const e3 = [...this._map.values()];
|
|
53600
|
+
this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
|
|
53601
|
+
});
|
|
53505
53602
|
}
|
|
53506
53603
|
};
|
|
53507
53604
|
}, 4104: function(e2, t3, r) {
|
|
@@ -54464,7 +54561,7 @@ ${e3.Data}`);
|
|
|
54464
54561
|
}
|
|
54465
54562
|
};
|
|
54466
54563
|
}, 5144: (e2, t3, r) => {
|
|
54467
|
-
const n = r(467), o = r(1256), i3 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13],
|
|
54564
|
+
const n = r(467), o = r(1256), i3 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
54468
54565
|
|
|
54469
54566
|
class A extends n {
|
|
54470
54567
|
constructor(e3, t4, r2) {
|
|
@@ -54587,7 +54684,7 @@ ${e3.Data}`);
|
|
|
54587
54684
|
let g2, O2;
|
|
54588
54685
|
if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
|
|
54589
54686
|
for (const e4 of r2) {
|
|
54590
|
-
if (typeof e4 != "string" || !
|
|
54687
|
+
if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
|
|
54591
54688
|
throw new SyntaxError("An invalid or duplicated subprotocol was specified");
|
|
54592
54689
|
m2.add(e4);
|
|
54593
54690
|
}
|
|
@@ -54686,7 +54783,7 @@ ${e3.Data}`);
|
|
|
54686
54783
|
const r3 = x(t4).length;
|
|
54687
54784
|
e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
|
|
54688
54785
|
}
|
|
54689
|
-
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${
|
|
54786
|
+
r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
|
|
54690
54787
|
}
|
|
54691
54788
|
function W(e3, t4) {
|
|
54692
54789
|
const r2 = this[O];
|
|
@@ -54732,7 +54829,7 @@ ${e3.Data}`);
|
|
|
54732
54829
|
const e3 = this[O];
|
|
54733
54830
|
this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
|
|
54734
54831
|
}
|
|
54735
|
-
Object.defineProperty(A, "CONNECTING", { enumerable: true, value:
|
|
54832
|
+
Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
|
|
54736
54833
|
Object.defineProperty(A.prototype, e3, { enumerable: true });
|
|
54737
54834
|
}), ["open", "error", "close", "message"].forEach((e3) => {
|
|
54738
54835
|
Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
|
|
@@ -61409,11 +61506,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
|
|
|
61409
61506
|
var coreipc_1 = require_coreipc();
|
|
61410
61507
|
|
|
61411
61508
|
class HandleConsentCodeMessage extends coreipc_1.Message {
|
|
61412
|
-
constructor(Accept, Domain, ConsentCode) {
|
|
61509
|
+
constructor(Accept, Domain, ConsentCode, SignInUrl) {
|
|
61413
61510
|
super();
|
|
61414
61511
|
this.Accept = Accept;
|
|
61415
61512
|
this.Domain = Domain;
|
|
61416
61513
|
this.ConsentCode = ConsentCode;
|
|
61514
|
+
this.SignInUrl = SignInUrl;
|
|
61515
|
+
this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
|
|
61417
61516
|
}
|
|
61418
61517
|
}
|
|
61419
61518
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
@@ -62214,8 +62313,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
|
|
|
62214
62313
|
constructor(_consentCodeServices) {
|
|
62215
62314
|
this._consentCodeServices = _consentCodeServices;
|
|
62216
62315
|
}
|
|
62217
|
-
HandleConsentCode(accept, domain2, consentCode) {
|
|
62218
|
-
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
|
|
62316
|
+
HandleConsentCode(accept, domain2, consentCode, signInUrl) {
|
|
62317
|
+
return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
|
|
62219
62318
|
}
|
|
62220
62319
|
IsDomainAllowed(domain2) {
|
|
62221
62320
|
return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
|
|
@@ -62357,7 +62456,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
|
62357
62456
|
this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
|
|
62358
62457
|
}
|
|
62359
62458
|
CloseAsync() {
|
|
62360
|
-
return __awaiter(this, undefined, undefined, function* () {
|
|
62459
|
+
return __awaiter(this, undefined, undefined, function* () {
|
|
62460
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
|
|
62461
|
+
yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
|
|
62462
|
+
});
|
|
62361
62463
|
}
|
|
62362
62464
|
get RobotStatusChanged() {
|
|
62363
62465
|
return this._robotStatusChanged;
|
|
@@ -62617,7 +62719,7 @@ import"./packager-tool.js";
|
|
|
62617
62719
|
// package.json
|
|
62618
62720
|
var package_default = {
|
|
62619
62721
|
name: "@uipath/api-workflow-tool",
|
|
62620
|
-
version: "0.9.
|
|
62722
|
+
version: "0.9.1",
|
|
62621
62723
|
description: "Run UiPath API Workflows locally.",
|
|
62622
62724
|
private: false,
|
|
62623
62725
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/api-workflow-tool",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Run UiPath API Workflows locally.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^25.5.0",
|
|
38
38
|
"@uipath/api-workflow-executor": "12.10.2",
|
|
39
|
-
"@uipath/auth": "0.9.
|
|
40
|
-
"@uipath/common": "0.9.
|
|
41
|
-
"@uipath/filesystem": "0.9.
|
|
39
|
+
"@uipath/auth": "0.9.1",
|
|
40
|
+
"@uipath/common": "0.9.1",
|
|
41
|
+
"@uipath/filesystem": "0.9.1",
|
|
42
42
|
"@uipath/packager-tool-apiworkflow": "0.0.18",
|
|
43
43
|
"@uipath/project-packager": "1.1.15",
|
|
44
44
|
"commander": "^14.0.3",
|
|
45
45
|
"typescript": "^5"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
|
|
48
48
|
}
|