@uipath/codedapp-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.
Files changed (2) hide show
  1. package/dist/tool.js +152 -50
  2. package/package.json +5 -5
package/dist/tool.js CHANGED
@@ -69325,7 +69325,7 @@ var require_coreipc = __commonJS((exports, module) => {
69325
69325
  if (S2(n3))
69326
69326
  return r4;
69327
69327
  for (var i4 = function(e7) {
69328
- var t6 = C(e7, o2);
69328
+ var t6 = T(e7, o2);
69329
69329
  if (!k(t6))
69330
69330
  throw new TypeError;
69331
69331
  var r5 = t6.call(e7);
@@ -69388,7 +69388,7 @@ var require_coreipc = __commonJS((exports, module) => {
69388
69388
  case 5:
69389
69389
  return e6;
69390
69390
  }
69391
- var r4 = t5 === 3 ? "string" : t5 === 5 ? "number" : "default", o3 = C(e6, n2);
69391
+ var r4 = t5 === 3 ? "string" : t5 === 5 ? "number" : "default", o3 = T(e6, n2);
69392
69392
  if (o3 !== undefined) {
69393
69393
  var i4 = o3.call(e6, r4);
69394
69394
  if (j(i4))
@@ -69425,10 +69425,10 @@ var require_coreipc = __commonJS((exports, module) => {
69425
69425
  function k(e6) {
69426
69426
  return typeof e6 == "function";
69427
69427
  }
69428
- function T(e6) {
69428
+ function C(e6) {
69429
69429
  return typeof e6 == "function";
69430
69430
  }
69431
- function C(e6, t5) {
69431
+ function T(e6, t5) {
69432
69432
  var r4 = e6[t5];
69433
69433
  if (r4 != null) {
69434
69434
  if (!k(r4))
@@ -69463,13 +69463,13 @@ var require_coreipc = __commonJS((exports, module) => {
69463
69463
  if (S2(r4)) {
69464
69464
  if (!M(e6))
69465
69465
  throw new TypeError;
69466
- if (!T(t5))
69466
+ if (!C(t5))
69467
69467
  throw new TypeError;
69468
69468
  return function(e7, t6) {
69469
69469
  for (var r5 = e7.length - 1;r5 >= 0; --r5) {
69470
69470
  var n4 = (0, e7[r5])(t6);
69471
69471
  if (!S2(n4) && !P(n4)) {
69472
- if (!T(n4))
69472
+ if (!C(n4))
69473
69473
  throw new TypeError;
69474
69474
  t6 = n4;
69475
69475
  }
@@ -69679,13 +69679,13 @@ var require_coreipc = __commonJS((exports, module) => {
69679
69679
  Object.defineProperty(t3, "EmptyError", { enumerable: true, get: function() {
69680
69680
  return k.EmptyError;
69681
69681
  } });
69682
- var T = r2(7628);
69682
+ var C = r2(7628);
69683
69683
  Object.defineProperty(t3, "NotFoundError", { enumerable: true, get: function() {
69684
- return T.NotFoundError;
69684
+ return C.NotFoundError;
69685
69685
  } });
69686
- var C = r2(740);
69686
+ var T = r2(740);
69687
69687
  Object.defineProperty(t3, "ObjectUnsubscribedError", { enumerable: true, get: function() {
69688
- return C.ObjectUnsubscribedError;
69688
+ return T.ObjectUnsubscribedError;
69689
69689
  } });
69690
69690
  var A2 = r2(6968);
69691
69691
  Object.defineProperty(t3, "SequenceError", { enumerable: true, get: function() {
@@ -69895,13 +69895,13 @@ var require_coreipc = __commonJS((exports, module) => {
69895
69895
  Object.defineProperty(t3, "debounceTime", { enumerable: true, get: function() {
69896
69896
  return ke.debounceTime;
69897
69897
  } });
69898
- var Te = r2(6204);
69898
+ var Ce = r2(6204);
69899
69899
  Object.defineProperty(t3, "defaultIfEmpty", { enumerable: true, get: function() {
69900
- return Te.defaultIfEmpty;
69900
+ return Ce.defaultIfEmpty;
69901
69901
  } });
69902
- var Ce = r2(7752);
69902
+ var Te = r2(7752);
69903
69903
  Object.defineProperty(t3, "delay", { enumerable: true, get: function() {
69904
- return Ce.delay;
69904
+ return Te.delay;
69905
69905
  } });
69906
69906
  var Ae = r2(7532);
69907
69907
  Object.defineProperty(t3, "delayWhen", { enumerable: true, get: function() {
@@ -70111,13 +70111,13 @@ var require_coreipc = __commonJS((exports, module) => {
70111
70111
  Object.defineProperty(t3, "share", { enumerable: true, get: function() {
70112
70112
  return kt.share;
70113
70113
  } });
70114
- var Tt = r2(4980);
70114
+ var Ct = r2(4980);
70115
70115
  Object.defineProperty(t3, "shareReplay", { enumerable: true, get: function() {
70116
- return Tt.shareReplay;
70116
+ return Ct.shareReplay;
70117
70117
  } });
70118
- var Ct = r2(1400);
70118
+ var Tt = r2(1400);
70119
70119
  Object.defineProperty(t3, "single", { enumerable: true, get: function() {
70120
- return Ct.single;
70120
+ return Tt.single;
70121
70121
  } });
70122
70122
  var At = r2(7516);
70123
70123
  Object.defineProperty(t3, "skip", { enumerable: true, get: function() {
@@ -75817,12 +75817,24 @@ var require_coreipc = __commonJS((exports, module) => {
75817
75817
  static create() {
75818
75818
  return new r2;
75819
75819
  }
75820
+ get(e4) {
75821
+ return this._map.get(e4);
75822
+ }
75820
75823
  getOrCreateValue(e4, t4) {
75821
75824
  if (this._map.has(e4))
75822
75825
  return this._map.get(e4);
75823
75826
  let r3 = t4(e4);
75824
75827
  return this._map.set(e4, r3), r3;
75825
75828
  }
75829
+ delete(e4) {
75830
+ return this._map.delete(e4);
75831
+ }
75832
+ values() {
75833
+ return this._map.values();
75834
+ }
75835
+ clear() {
75836
+ this._map.clear();
75837
+ }
75826
75838
  }
75827
75839
  t3.Dictionary = r2;
75828
75840
  }, 4444: function(e3, t3, r2) {
@@ -77195,25 +77207,61 @@ Object name: '${e4}'.`), t4;
77195
77207
  Object.defineProperty(t3, "__esModule", { value: true }), o(r2(1476), t3), o(r2(9108), t3), o(r2(4236), t3), o(r2(2988), t3), o(r2(5276), t3), o(r2(7540), t3), o(r2(2432), t3), o(r2(712), t3);
77196
77208
  }, 1816: (e3, t3) => {
77197
77209
  Object.defineProperty(t3, "__esModule", { value: true });
77198
- }, 5284: (e3, t3, r2) => {
77210
+ }, 5284: function(e3, t3, r2) {
77211
+ var n = this && this.__awaiter || function(e4, t4, r3, n2) {
77212
+ return new (r3 || (r3 = Promise))(function(o2, i4) {
77213
+ function s3(e5) {
77214
+ try {
77215
+ c2(n2.next(e5));
77216
+ } catch (e6) {
77217
+ i4(e6);
77218
+ }
77219
+ }
77220
+ function a2(e5) {
77221
+ try {
77222
+ c2(n2.throw(e5));
77223
+ } catch (e6) {
77224
+ i4(e6);
77225
+ }
77226
+ }
77227
+ function c2(e5) {
77228
+ var t5;
77229
+ e5.done ? o2(e5.value) : (t5 = e5.value, t5 instanceof r3 ? t5 : new r3(function(e6) {
77230
+ e6(t5);
77231
+ })).then(s3, a2);
77232
+ }
77233
+ c2((n2 = n2.apply(e4, t4 || [])).next());
77234
+ });
77235
+ };
77199
77236
  Object.defineProperty(t3, "__esModule", { value: true }), t3.IpcBaseImpl = t3.IpcCoreBase = undefined;
77200
- const n = r2(5188), o = r2(3212), i3 = r2(4104), s2 = r2(2760), a = r2(9100);
77237
+ const o = r2(5188), i3 = r2(3212), s2 = r2(4104), a = r2(2760), c = r2(9100);
77201
77238
  t3.IpcCoreBase = class {
77202
77239
  constructor() {
77203
77240
  this._db = new Map;
77204
77241
  }
77205
77242
  };
77206
77243
 
77207
- class c {
77244
+ class u {
77208
77245
  constructor(e4, t4, r3) {
77209
- this.addressBuilder = e4, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i3.ProxySource(this), this.dispatchProxies = new i3.DispatchProxyClassStore, this.wire = new i3.Wire(this), this.contractStore = new s2.ContractStore, this.callbackStore = new i3.CallbackStoreImpl, this.$service = t4 != null ? t4 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r3 != null ? r3 : new o.OperationAnnotationsWrapper(this).iface;
77246
+ this.addressBuilder = e4, 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 s2.ProxySource(this), this.dispatchProxies = new s2.DispatchProxyClassStore, this.wire = new s2.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s2.CallbackStoreImpl, this.$service = t4 != null ? t4 : new i3.ServiceAnnotationsWrapper(this).iface, this.$operation = r3 != null ? r3 : new i3.OperationAnnotationsWrapper(this).iface;
77210
77247
  }
77211
77248
  getAddress(e4) {
77212
77249
  const t4 = new this.addressBuilder;
77213
77250
  return e4(t4), t4.assertAddress();
77214
77251
  }
77252
+ disposeChannel(e4) {
77253
+ return n(this, undefined, undefined, function* () {
77254
+ const t4 = this.getAddress(e4);
77255
+ yield this.wire.disposeChannel(t4.key);
77256
+ });
77257
+ }
77258
+ disposeAllChannels() {
77259
+ return n(this, undefined, undefined, function* () {
77260
+ yield this.wire.disposeAllChannels();
77261
+ });
77262
+ }
77215
77263
  }
77216
- t3.IpcBaseImpl = c, function(e4) {
77264
+ t3.IpcBaseImpl = u, function(e4) {
77217
77265
  e4.ProxySource = class {
77218
77266
  constructor(e5) {
77219
77267
  this._serviceProvider = e5;
@@ -77229,7 +77277,7 @@ Object name: '${e4}'.`), t4;
77229
77277
  this._serviceProvider = e5, this._address = t5;
77230
77278
  }
77231
77279
  withService(e5) {
77232
- const t5 = new i3.ProxyId(e5, this._address);
77280
+ const t5 = new s2.ProxyId(e5, this._address);
77233
77281
  return this._serviceProvider.proxySource.resolve(t5);
77234
77282
  }
77235
77283
  }
@@ -77251,27 +77299,27 @@ Object name: '${e4}'.`), t4;
77251
77299
  this._ipc = e5, this._address = t5;
77252
77300
  }
77253
77301
  setConnectHelper(e5) {
77254
- (0, n.assertArgument)({ value: e5 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e5);
77302
+ (0, o.assertArgument)({ value: e5 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e5);
77255
77303
  }
77256
77304
  forAnyService() {
77257
- return new o2(this._ipc, this._address);
77305
+ return new n2(this._ipc, this._address);
77258
77306
  }
77259
77307
  forService(e5) {
77260
- return new o2(this._ipc, this._address, e5);
77308
+ return new n2(this._ipc, this._address, e5);
77261
77309
  }
77262
77310
  }
77263
77311
  e4.ConfigurationWithAddress = r3;
77264
77312
 
77265
- class o2 {
77313
+ class n2 {
77266
77314
  constructor(e5, t5, r4) {
77267
77315
  this._ipc = e5, this._address = t5, this._service = r4;
77268
77316
  }
77269
77317
  setRequestTimeout(e5) {
77270
- (0, n.assertArgument)({ value: e5 }, "number", n.TimeSpan), typeof e5 == "number" && (e5 = n.TimeSpan.fromMilliseconds(e5)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e5);
77318
+ (0, o.assertArgument)({ value: e5 }, "number", o.TimeSpan), typeof e5 == "number" && (e5 = o.TimeSpan.fromMilliseconds(e5)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e5);
77271
77319
  }
77272
77320
  }
77273
- e4.ConfigurationWithAddressService = o2;
77274
- }(c = t3.IpcBaseImpl || (t3.IpcBaseImpl = {}));
77321
+ e4.ConfigurationWithAddressService = n2;
77322
+ }(u = t3.IpcBaseImpl || (t3.IpcBaseImpl = {}));
77275
77323
  }, 3552: (e3, t3) => {
77276
77324
  Object.defineProperty(t3, "__esModule", { value: true }), t3.IpcError = undefined, t3.IpcError = class {
77277
77325
  constructor(e4, t4, r2, n) {
@@ -77344,7 +77392,13 @@ Object name: '${e4}'.`), t4;
77344
77392
  }
77345
77393
  disposeAsync() {
77346
77394
  return n(this, undefined, undefined, function* () {
77347
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
77395
+ this._ctsLoop.cancel();
77396
+ try {
77397
+ yield this._loop;
77398
+ } catch (e4) {
77399
+ e4 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e4));
77400
+ }
77401
+ this._stream.dispose();
77348
77402
  });
77349
77403
  }
77350
77404
  static toMessageTypeString(e4) {
@@ -77529,8 +77583,8 @@ ${e4.Data}`);
77529
77583
  static create(e4, t4, r3, n2, o2, i4) {
77530
77584
  return new a(e4, t4, r3, n2, o2, i4);
77531
77585
  }
77532
- constructor(e4, t4, r3, n2, o2, s3) {
77533
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
77586
+ constructor(e4, t4, r3, n2, s3, c) {
77587
+ this._observer = s3, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
77534
77588
  constructor(e5) {
77535
77589
  this._owner = e5;
77536
77590
  }
@@ -77543,8 +77597,8 @@ ${e4.Data}`);
77543
77597
  complete() {
77544
77598
  this._owner.dispatchNetworkComplete();
77545
77599
  }
77546
- }(this), this._$messageStream = a.createMessageStream(e4, t4, r3, n2, this._networkObserver, i3.MessageStream.Factory.orDefault(s3)), this._$messageStream.catch((e5) => {
77547
- this.disposeAsync();
77600
+ }(this), this._$messageStream = a.createMessageStream(e4, t4, r3, n2, this._networkObserver, i3.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e5) => {
77601
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
77548
77602
  });
77549
77603
  }
77550
77604
  disposeAsync() {
@@ -77783,6 +77837,12 @@ ${e4.Data}`);
77783
77837
  complete() {}
77784
77838
  }(this);
77785
77839
  }
77840
+ disposeAsync() {
77841
+ return n(this, undefined, undefined, function* () {
77842
+ const e4 = this._latestChannel;
77843
+ this._latestChannel = undefined, e4 && !e4.isDisposed && (yield e4.disposeAsync());
77844
+ });
77845
+ }
77786
77846
  invokeMethod(e4, t4, r3) {
77787
77847
  return n(this, undefined, undefined, function* () {
77788
77848
  const [n2, a, c, u] = s2.RpcRequestFactory.create({ sp: this._sp, service: e4, address: this._address, methodName: t4, args: r3 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f3 = yield l.call(n2, u, c), d = i3.Converter.unwrapRpcResponse(f3, n2);
@@ -77937,18 +77997,55 @@ ${e4.Data}`);
77937
77997
  return !d || e4.args.length !== 0 && e4.args[e4.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f3, y, b), p, v, b];
77938
77998
  }
77939
77999
  };
77940
- }, 4156: (e3, t3, r2) => {
78000
+ }, 4156: function(e3, t3, r2) {
78001
+ var n = this && this.__awaiter || function(e4, t4, r3, n2) {
78002
+ return new (r3 || (r3 = Promise))(function(o2, i4) {
78003
+ function s3(e5) {
78004
+ try {
78005
+ c(n2.next(e5));
78006
+ } catch (e6) {
78007
+ i4(e6);
78008
+ }
78009
+ }
78010
+ function a(e5) {
78011
+ try {
78012
+ c(n2.throw(e5));
78013
+ } catch (e6) {
78014
+ i4(e6);
78015
+ }
78016
+ }
78017
+ function c(e5) {
78018
+ var t5;
78019
+ e5.done ? o2(e5.value) : (t5 = e5.value, t5 instanceof r3 ? t5 : new r3(function(e6) {
78020
+ e6(t5);
78021
+ })).then(s3, a);
78022
+ }
78023
+ c((n2 = n2.apply(e4, t4 || [])).next());
78024
+ });
78025
+ };
77941
78026
  Object.defineProperty(t3, "__esModule", { value: true }), t3.Wire = undefined;
77942
- const n = r2(3212), o = r2(4104), i3 = r2(5188);
78027
+ const o = r2(3212), i3 = r2(4104), s2 = r2(5188);
77943
78028
  t3.Wire = class {
77944
78029
  invokeMethod(e4, t4, r3) {
77945
78030
  return this.getOrCreateChannelManager(e4.address).invokeMethod(e4.service, t4, r3);
77946
78031
  }
77947
- constructor(e4, t4 = n.RpcChannel, r3 = new n.MessageStream.Factory) {
77948
- this._sp = e4, this._rpcChannelFactory = t4, this._messageStreamFactory = r3, this._map = new i3.Dictionary;
78032
+ constructor(e4, t4 = o.RpcChannel, r3 = new o.MessageStream.Factory) {
78033
+ this._sp = e4, this._rpcChannelFactory = t4, this._messageStreamFactory = r3, this._map = new s2.Dictionary;
77949
78034
  }
77950
78035
  getOrCreateChannelManager(e4) {
77951
- return this._map.getOrCreateValue(e4.key, () => new o.ChannelManager(this._sp, e4, this._rpcChannelFactory, this._messageStreamFactory));
78036
+ return this._map.getOrCreateValue(e4.key, () => new i3.ChannelManager(this._sp, e4, this._rpcChannelFactory, this._messageStreamFactory));
78037
+ }
78038
+ disposeChannel(e4) {
78039
+ return n(this, undefined, undefined, function* () {
78040
+ const t4 = this._map.get(e4);
78041
+ t4 && (this._map.delete(e4), yield t4.disposeAsync());
78042
+ });
78043
+ }
78044
+ disposeAllChannels() {
78045
+ return n(this, undefined, undefined, function* () {
78046
+ const e4 = [...this._map.values()];
78047
+ this._map.clear(), yield Promise.all(e4.map((e5) => e5.disposeAsync()));
78048
+ });
77952
78049
  }
77953
78050
  };
77954
78051
  }, 4104: function(e3, t3, r2) {
@@ -78911,7 +79008,7 @@ ${e4.Data}`);
78911
79008
  }
78912
79009
  };
78913
79010
  }, 5144: (e3, t3, r2) => {
78914
- const n = r2(467), o = r2(1256), i3 = r2(3755), s2 = r2(5256), a = r2(192), { randomBytes: c, createHash: u } = r2(7968), { Readable: l } = r2(8378), { URL: f3 } = r2(8716), d = r2(516), p = r2(6804), h2 = r2(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _2, kListener: m2, kStatusCode: g, kWebSocket: O, NOOP: w } = r2(5820), { EventTarget: { addEventListener: S2, removeEventListener: P } } = r2(2584), { format: j, parse: E } = r2(1056), { toBuffer: x2 } = r2(3092), M = Symbol("kAborted"), k = [8, 13], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
79011
+ const n = r2(467), o = r2(1256), i3 = r2(3755), s2 = r2(5256), a = r2(192), { randomBytes: c, createHash: u } = r2(7968), { Readable: l } = r2(8378), { URL: f3 } = r2(8716), d = r2(516), p = r2(6804), h2 = r2(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _2, kListener: m2, kStatusCode: g, kWebSocket: O, NOOP: w } = r2(5820), { EventTarget: { addEventListener: S2, removeEventListener: P } } = r2(2584), { format: j, parse: E } = r2(1056), { toBuffer: x2 } = r2(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
78915
79012
 
78916
79013
  class A2 extends n {
78917
79014
  constructor(e4, t4, r3) {
@@ -79034,7 +79131,7 @@ ${e4.Data}`);
79034
79131
  let g2, O2;
79035
79132
  if (s3.createConnection = l2 ? F2 : R, s3.defaultPort = s3.defaultPort || v2, s3.port = a2.port || v2, s3.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s3.headers = { ...s3.headers, "Sec-WebSocket-Version": s3.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s3.path = a2.pathname + a2.search, s3.timeout = s3.handshakeTimeout, s3.perMessageDeflate && (g2 = new d(s3.perMessageDeflate !== true ? s3.perMessageDeflate : {}, false, s3.maxPayload), s3.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r3.length) {
79036
79133
  for (const e5 of r3) {
79037
- if (typeof e5 != "string" || !C.test(e5) || m3.has(e5))
79134
+ if (typeof e5 != "string" || !T.test(e5) || m3.has(e5))
79038
79135
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
79039
79136
  m3.add(e5);
79040
79137
  }
@@ -79133,7 +79230,7 @@ ${e4.Data}`);
79133
79230
  const r4 = x2(t4).length;
79134
79231
  e4._socket ? e4._sender._bufferedBytes += r4 : e4._bufferedAmount += r4;
79135
79232
  }
79136
- r3 && r3(new Error(`WebSocket is not open: readyState ${e4.readyState} (${T[e4.readyState]})`));
79233
+ r3 && r3(new Error(`WebSocket is not open: readyState ${e4.readyState} (${C[e4.readyState]})`));
79137
79234
  }
79138
79235
  function W(e4, t4) {
79139
79236
  const r3 = this[O];
@@ -79179,7 +79276,7 @@ ${e4.Data}`);
79179
79276
  const e4 = this[O];
79180
79277
  this.removeListener("error", J), this.on("error", w), e4 && (e4._readyState = A2.CLOSING, this.destroy());
79181
79278
  }
79182
- Object.defineProperty(A2, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A2.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A2, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A2.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A2, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A2.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A2, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A2.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e4) => {
79279
+ Object.defineProperty(A2, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A2.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A2, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A2.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A2, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A2.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A2, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A2.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e4) => {
79183
79280
  Object.defineProperty(A2.prototype, e4, { enumerable: true });
79184
79281
  }), ["open", "error", "close", "message"].forEach((e4) => {
79185
79282
  Object.defineProperty(A2.prototype, `on${e4}`, { enumerable: true, get() {
@@ -85856,11 +85953,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
85856
85953
  var coreipc_1 = require_coreipc();
85857
85954
 
85858
85955
  class HandleConsentCodeMessage extends coreipc_1.Message {
85859
- constructor(Accept, Domain, ConsentCode) {
85956
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
85860
85957
  super();
85861
85958
  this.Accept = Accept;
85862
85959
  this.Domain = Domain;
85863
85960
  this.ConsentCode = ConsentCode;
85961
+ this.SignInUrl = SignInUrl;
85962
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
85864
85963
  }
85865
85964
  }
85866
85965
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -86661,8 +86760,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
86661
86760
  constructor(_consentCodeServices) {
86662
86761
  this._consentCodeServices = _consentCodeServices;
86663
86762
  }
86664
- HandleConsentCode(accept, domain2, consentCode) {
86665
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
86763
+ HandleConsentCode(accept, domain2, consentCode, signInUrl) {
86764
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
86666
86765
  }
86667
86766
  IsDomainAllowed(domain2) {
86668
86767
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -86804,7 +86903,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
86804
86903
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
86805
86904
  }
86806
86905
  CloseAsync() {
86807
- return __awaiter(this, undefined, undefined, function* () {});
86906
+ return __awaiter(this, undefined, undefined, function* () {
86907
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
86908
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
86909
+ });
86808
86910
  }
86809
86911
  get RobotStatusChanged() {
86810
86912
  return this._robotStatusChanged;
@@ -88394,7 +88496,7 @@ var init_src3 = __esm(() => {
88394
88496
  // package.json
88395
88497
  var package_default = {
88396
88498
  name: "@uipath/codedapp-tool",
88397
- version: "0.9.0",
88499
+ version: "0.9.1",
88398
88500
  description: "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
88399
88501
  keywords: [
88400
88502
  "cli-tool",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/codedapp-tool",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
5
5
  "keywords": [
6
6
  "cli-tool",
@@ -35,9 +35,9 @@
35
35
  "lint:fix": "biome check --write ."
36
36
  },
37
37
  "devDependencies": {
38
- "@uipath/auth": "0.9.0",
39
- "@uipath/common": "0.9.0",
40
- "@uipath/filesystem": "0.9.0",
38
+ "@uipath/auth": "0.9.1",
39
+ "@uipath/common": "0.9.1",
40
+ "@uipath/filesystem": "0.9.1",
41
41
  "@types/bun": "^1.3.9",
42
42
  "chalk": "^5.3.0",
43
43
  "commander": "^14.0.3",
@@ -51,5 +51,5 @@
51
51
  "uuid": "^14.0.0",
52
52
  "zod": "^4.3.6"
53
53
  },
54
- "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
54
+ "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
55
55
  }