@uipath/integrationservice-tool 0.9.1 → 1.0.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 +99 -303
  2. package/package.json +6 -6
package/dist/tool.js CHANGED
@@ -3,7 +3,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@uipath/integrationservice-tool",
6
- version: "0.9.1",
6
+ version: "1.0.1",
7
7
  description: "Manage Integration Service connectors, connections, and triggers.",
8
8
  private: false,
9
9
  repository: {
@@ -26933,7 +26933,7 @@ var require_coreipc = __commonJS2((exports, module) => {
26933
26933
  if (S(n3))
26934
26934
  return r3;
26935
26935
  for (var i3 = function(e6) {
26936
- var t5 = T(e6, o2);
26936
+ var t5 = C(e6, o2);
26937
26937
  if (!k(t5))
26938
26938
  throw new TypeError;
26939
26939
  var r4 = t5.call(e6);
@@ -26996,7 +26996,7 @@ var require_coreipc = __commonJS2((exports, module) => {
26996
26996
  case 5:
26997
26997
  return e5;
26998
26998
  }
26999
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
26999
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
27000
27000
  if (o3 !== undefined) {
27001
27001
  var i3 = o3.call(e5, r3);
27002
27002
  if (j(i3))
@@ -27033,10 +27033,10 @@ var require_coreipc = __commonJS2((exports, module) => {
27033
27033
  function k(e5) {
27034
27034
  return typeof e5 == "function";
27035
27035
  }
27036
- function C(e5) {
27036
+ function T(e5) {
27037
27037
  return typeof e5 == "function";
27038
27038
  }
27039
- function T(e5, t4) {
27039
+ function C(e5, t4) {
27040
27040
  var r3 = e5[t4];
27041
27041
  if (r3 != null) {
27042
27042
  if (!k(r3))
@@ -27071,13 +27071,13 @@ var require_coreipc = __commonJS2((exports, module) => {
27071
27071
  if (S(r3)) {
27072
27072
  if (!M(e5))
27073
27073
  throw new TypeError;
27074
- if (!C(t4))
27074
+ if (!T(t4))
27075
27075
  throw new TypeError;
27076
27076
  return function(e6, t5) {
27077
27077
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
27078
27078
  var n4 = (0, e6[r4])(t5);
27079
27079
  if (!S(n4) && !P(n4)) {
27080
- if (!C(n4))
27080
+ if (!T(n4))
27081
27081
  throw new TypeError;
27082
27082
  t5 = n4;
27083
27083
  }
@@ -27287,13 +27287,13 @@ var require_coreipc = __commonJS2((exports, module) => {
27287
27287
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
27288
27288
  return k.EmptyError;
27289
27289
  } });
27290
- var C = r(7628);
27290
+ var T = r(7628);
27291
27291
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
27292
- return C.NotFoundError;
27292
+ return T.NotFoundError;
27293
27293
  } });
27294
- var T = r(740);
27294
+ var C = r(740);
27295
27295
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
27296
- return T.ObjectUnsubscribedError;
27296
+ return C.ObjectUnsubscribedError;
27297
27297
  } });
27298
27298
  var A = r(6968);
27299
27299
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -27503,13 +27503,13 @@ var require_coreipc = __commonJS2((exports, module) => {
27503
27503
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
27504
27504
  return ke.debounceTime;
27505
27505
  } });
27506
- var Ce = r(6204);
27506
+ var Te = r(6204);
27507
27507
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
27508
- return Ce.defaultIfEmpty;
27508
+ return Te.defaultIfEmpty;
27509
27509
  } });
27510
- var Te = r(7752);
27510
+ var Ce = r(7752);
27511
27511
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
27512
- return Te.delay;
27512
+ return Ce.delay;
27513
27513
  } });
27514
27514
  var Ae = r(7532);
27515
27515
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -27719,13 +27719,13 @@ var require_coreipc = __commonJS2((exports, module) => {
27719
27719
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
27720
27720
  return kt.share;
27721
27721
  } });
27722
- var Ct = r(4980);
27722
+ var Tt = r(4980);
27723
27723
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
27724
- return Ct.shareReplay;
27724
+ return Tt.shareReplay;
27725
27725
  } });
27726
- var Tt = r(1400);
27726
+ var Ct = r(1400);
27727
27727
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
27728
- return Tt.single;
27728
+ return Ct.single;
27729
27729
  } });
27730
27730
  var At = r(7516);
27731
27731
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -33425,24 +33425,12 @@ var require_coreipc = __commonJS2((exports, module) => {
33425
33425
  static create() {
33426
33426
  return new r;
33427
33427
  }
33428
- get(e3) {
33429
- return this._map.get(e3);
33430
- }
33431
33428
  getOrCreateValue(e3, t3) {
33432
33429
  if (this._map.has(e3))
33433
33430
  return this._map.get(e3);
33434
33431
  let r2 = t3(e3);
33435
33432
  return this._map.set(e3, r2), r2;
33436
33433
  }
33437
- delete(e3) {
33438
- return this._map.delete(e3);
33439
- }
33440
- values() {
33441
- return this._map.values();
33442
- }
33443
- clear() {
33444
- this._map.clear();
33445
- }
33446
33434
  }
33447
33435
  t2.Dictionary = r;
33448
33436
  }, 4444: function(e2, t2, r) {
@@ -34815,61 +34803,25 @@ Object name: '${e3}'.`), t3;
34815
34803
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
34816
34804
  }, 1816: (e2, t2) => {
34817
34805
  Object.defineProperty(t2, "__esModule", { value: true });
34818
- }, 5284: function(e2, t2, r) {
34819
- var n = this && this.__awaiter || function(e3, t3, r2, n2) {
34820
- return new (r2 || (r2 = Promise))(function(o2, i3) {
34821
- function s2(e4) {
34822
- try {
34823
- c2(n2.next(e4));
34824
- } catch (e5) {
34825
- i3(e5);
34826
- }
34827
- }
34828
- function a2(e4) {
34829
- try {
34830
- c2(n2.throw(e4));
34831
- } catch (e5) {
34832
- i3(e5);
34833
- }
34834
- }
34835
- function c2(e4) {
34836
- var t4;
34837
- e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
34838
- e5(t4);
34839
- })).then(s2, a2);
34840
- }
34841
- c2((n2 = n2.apply(e3, t3 || [])).next());
34842
- });
34843
- };
34806
+ }, 5284: (e2, t2, r) => {
34844
34807
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
34845
- const o = r(5188), i22 = r(3212), s = r(4104), a = r(2760), c = r(9100);
34808
+ const n = r(5188), o = r(3212), i22 = r(4104), s = r(2760), a = r(9100);
34846
34809
  t2.IpcCoreBase = class {
34847
34810
  constructor() {
34848
34811
  this._db = new Map;
34849
34812
  }
34850
34813
  };
34851
34814
 
34852
- class u {
34815
+ class c {
34853
34816
  constructor(e3, t3, r2) {
34854
- this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i22.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 = t3 != null ? t3 : new i22.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i22.OperationAnnotationsWrapper(this).iface;
34817
+ this.addressBuilder = e3, 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 i22.ProxySource(this), this.dispatchProxies = new i22.DispatchProxyClassStore, this.wire = new i22.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i22.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
34855
34818
  }
34856
34819
  getAddress(e3) {
34857
34820
  const t3 = new this.addressBuilder;
34858
34821
  return e3(t3), t3.assertAddress();
34859
34822
  }
34860
- disposeChannel(e3) {
34861
- return n(this, undefined, undefined, function* () {
34862
- const t3 = this.getAddress(e3);
34863
- yield this.wire.disposeChannel(t3.key);
34864
- });
34865
- }
34866
- disposeAllChannels() {
34867
- return n(this, undefined, undefined, function* () {
34868
- yield this.wire.disposeAllChannels();
34869
- });
34870
- }
34871
34823
  }
34872
- t2.IpcBaseImpl = u, function(e3) {
34824
+ t2.IpcBaseImpl = c, function(e3) {
34873
34825
  e3.ProxySource = class {
34874
34826
  constructor(e4) {
34875
34827
  this._serviceProvider = e4;
@@ -34885,7 +34837,7 @@ Object name: '${e3}'.`), t3;
34885
34837
  this._serviceProvider = e4, this._address = t4;
34886
34838
  }
34887
34839
  withService(e4) {
34888
- const t4 = new s.ProxyId(e4, this._address);
34840
+ const t4 = new i22.ProxyId(e4, this._address);
34889
34841
  return this._serviceProvider.proxySource.resolve(t4);
34890
34842
  }
34891
34843
  }
@@ -34907,27 +34859,27 @@ Object name: '${e3}'.`), t3;
34907
34859
  this._ipc = e4, this._address = t4;
34908
34860
  }
34909
34861
  setConnectHelper(e4) {
34910
- (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
34862
+ (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
34911
34863
  }
34912
34864
  forAnyService() {
34913
- return new n2(this._ipc, this._address);
34865
+ return new o2(this._ipc, this._address);
34914
34866
  }
34915
34867
  forService(e4) {
34916
- return new n2(this._ipc, this._address, e4);
34868
+ return new o2(this._ipc, this._address, e4);
34917
34869
  }
34918
34870
  }
34919
34871
  e3.ConfigurationWithAddress = r2;
34920
34872
 
34921
- class n2 {
34873
+ class o2 {
34922
34874
  constructor(e4, t4, r3) {
34923
34875
  this._ipc = e4, this._address = t4, this._service = r3;
34924
34876
  }
34925
34877
  setRequestTimeout(e4) {
34926
- (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);
34878
+ (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
34927
34879
  }
34928
34880
  }
34929
- e3.ConfigurationWithAddressService = n2;
34930
- }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
34881
+ e3.ConfigurationWithAddressService = o2;
34882
+ }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
34931
34883
  }, 3552: (e2, t2) => {
34932
34884
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
34933
34885
  constructor(e3, t3, r, n) {
@@ -35000,13 +34952,7 @@ Object name: '${e3}'.`), t3;
35000
34952
  }
35001
34953
  disposeAsync() {
35002
34954
  return n(this, undefined, undefined, function* () {
35003
- this._ctsLoop.cancel();
35004
- try {
35005
- yield this._loop;
35006
- } catch (e3) {
35007
- e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
35008
- }
35009
- this._stream.dispose();
34955
+ this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
35010
34956
  });
35011
34957
  }
35012
34958
  static toMessageTypeString(e3) {
@@ -35191,8 +35137,8 @@ ${e3.Data}`);
35191
35137
  static create(e3, t3, r2, n2, o2, i3) {
35192
35138
  return new a(e3, t3, r2, n2, o2, i3);
35193
35139
  }
35194
- constructor(e3, t3, r2, n2, s2, c) {
35195
- this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
35140
+ constructor(e3, t3, r2, n2, o2, s2) {
35141
+ this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
35196
35142
  constructor(e4) {
35197
35143
  this._owner = e4;
35198
35144
  }
@@ -35205,8 +35151,8 @@ ${e3.Data}`);
35205
35151
  complete() {
35206
35152
  this._owner.dispatchNetworkComplete();
35207
35153
  }
35208
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
35209
- o.Trace.traceErrorNoThrow(this.disposeAsync());
35154
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
35155
+ this.disposeAsync();
35210
35156
  });
35211
35157
  }
35212
35158
  disposeAsync() {
@@ -35445,12 +35391,6 @@ ${e3.Data}`);
35445
35391
  complete() {}
35446
35392
  }(this);
35447
35393
  }
35448
- disposeAsync() {
35449
- return n(this, undefined, undefined, function* () {
35450
- const e3 = this._latestChannel;
35451
- this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
35452
- });
35453
- }
35454
35394
  invokeMethod(e3, t3, r2) {
35455
35395
  return n(this, undefined, undefined, function* () {
35456
35396
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i22.Converter.unwrapRpcResponse(f, n2);
@@ -35605,55 +35545,18 @@ ${e3.Data}`);
35605
35545
  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];
35606
35546
  }
35607
35547
  };
35608
- }, 4156: function(e2, t2, r) {
35609
- var n = this && this.__awaiter || function(e3, t3, r2, n2) {
35610
- return new (r2 || (r2 = Promise))(function(o2, i3) {
35611
- function s2(e4) {
35612
- try {
35613
- c(n2.next(e4));
35614
- } catch (e5) {
35615
- i3(e5);
35616
- }
35617
- }
35618
- function a(e4) {
35619
- try {
35620
- c(n2.throw(e4));
35621
- } catch (e5) {
35622
- i3(e5);
35623
- }
35624
- }
35625
- function c(e4) {
35626
- var t4;
35627
- e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
35628
- e5(t4);
35629
- })).then(s2, a);
35630
- }
35631
- c((n2 = n2.apply(e3, t3 || [])).next());
35632
- });
35633
- };
35548
+ }, 4156: (e2, t2, r) => {
35634
35549
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
35635
- const o = r(3212), i22 = r(4104), s = r(5188);
35550
+ const n = r(3212), o = r(4104), i22 = r(5188);
35636
35551
  t2.Wire = class {
35637
35552
  invokeMethod(e3, t3, r2) {
35638
35553
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
35639
35554
  }
35640
- constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
35641
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
35555
+ constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
35556
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i22.Dictionary;
35642
35557
  }
35643
35558
  getOrCreateChannelManager(e3) {
35644
- return this._map.getOrCreateValue(e3.key, () => new i22.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
35645
- }
35646
- disposeChannel(e3) {
35647
- return n(this, undefined, undefined, function* () {
35648
- const t3 = this._map.get(e3);
35649
- t3 && (this._map.delete(e3), yield t3.disposeAsync());
35650
- });
35651
- }
35652
- disposeAllChannels() {
35653
- return n(this, undefined, undefined, function* () {
35654
- const e3 = [...this._map.values()];
35655
- this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
35656
- });
35559
+ return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
35657
35560
  }
35658
35561
  };
35659
35562
  }, 4104: function(e2, t2, r) {
@@ -36616,7 +36519,7 @@ ${e3.Data}`);
36616
36519
  }
36617
36520
  };
36618
36521
  }, 5144: (e2, t2, r) => {
36619
- const n = r(467), o = r(1256), i22 = 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~]+$/;
36522
+ const n = r(467), o = r(1256), i22 = 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], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
36620
36523
 
36621
36524
  class A extends n {
36622
36525
  constructor(e3, t3, r2) {
@@ -36739,7 +36642,7 @@ ${e3.Data}`);
36739
36642
  let g2, O2;
36740
36643
  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) {
36741
36644
  for (const e4 of r2) {
36742
- if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
36645
+ if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
36743
36646
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
36744
36647
  m2.add(e4);
36745
36648
  }
@@ -36838,7 +36741,7 @@ ${e3.Data}`);
36838
36741
  const r3 = x(t3).length;
36839
36742
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
36840
36743
  }
36841
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
36744
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
36842
36745
  }
36843
36746
  function W(e3, t3) {
36844
36747
  const r2 = this[O];
@@ -36884,7 +36787,7 @@ ${e3.Data}`);
36884
36787
  const e3 = this[O];
36885
36788
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
36886
36789
  }
36887
- 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) => {
36790
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
36888
36791
  Object.defineProperty(A.prototype, e3, { enumerable: true });
36889
36792
  }), ["open", "error", "close", "message"].forEach((e3) => {
36890
36793
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -43201,13 +43104,11 @@ var require_handle_consent_code_message = __commonJS2((exports) => {
43201
43104
  var coreipc_1 = require_coreipc();
43202
43105
 
43203
43106
  class HandleConsentCodeMessage extends coreipc_1.Message {
43204
- constructor(Accept, Domain, ConsentCode, SignInUrl) {
43107
+ constructor(Accept, Domain, ConsentCode) {
43205
43108
  super();
43206
43109
  this.Accept = Accept;
43207
43110
  this.Domain = Domain;
43208
43111
  this.ConsentCode = ConsentCode;
43209
- this.SignInUrl = SignInUrl;
43210
- this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
43211
43112
  }
43212
43113
  }
43213
43114
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -43980,8 +43881,8 @@ var require_robotjs_services2 = __commonJS2((exports) => {
43980
43881
  constructor(_consentCodeServices) {
43981
43882
  this._consentCodeServices = _consentCodeServices;
43982
43883
  }
43983
- HandleConsentCode(accept, domain2, consentCode, signInUrl) {
43984
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
43884
+ HandleConsentCode(accept, domain2, consentCode) {
43885
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
43985
43886
  }
43986
43887
  IsDomainAllowed(domain2) {
43987
43888
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -44121,10 +44022,7 @@ var require_robot_agent_proxy2 = __commonJS2((exports) => {
44121
44022
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
44122
44023
  }
44123
44024
  CloseAsync() {
44124
- return __awaiter(this, undefined, undefined, function* () {
44125
- yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
44126
- yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
44127
- });
44025
+ return __awaiter(this, undefined, undefined, function* () {});
44128
44026
  }
44129
44027
  get RobotStatusChanged() {
44130
44028
  return this._robotStatusChanged;
@@ -70468,7 +70366,7 @@ var require_coreipc2 = __commonJS3((exports, module) => {
70468
70366
  if (S(n3))
70469
70367
  return r3;
70470
70368
  for (var i32 = function(e6) {
70471
- var t5 = T(e6, o2);
70369
+ var t5 = C(e6, o2);
70472
70370
  if (!k(t5))
70473
70371
  throw new TypeError;
70474
70372
  var r4 = t5.call(e6);
@@ -70531,7 +70429,7 @@ var require_coreipc2 = __commonJS3((exports, module) => {
70531
70429
  case 5:
70532
70430
  return e5;
70533
70431
  }
70534
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
70432
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
70535
70433
  if (o3 !== undefined) {
70536
70434
  var i32 = o3.call(e5, r3);
70537
70435
  if (j(i32))
@@ -70568,10 +70466,10 @@ var require_coreipc2 = __commonJS3((exports, module) => {
70568
70466
  function k(e5) {
70569
70467
  return typeof e5 == "function";
70570
70468
  }
70571
- function C(e5) {
70469
+ function T(e5) {
70572
70470
  return typeof e5 == "function";
70573
70471
  }
70574
- function T(e5, t4) {
70472
+ function C(e5, t4) {
70575
70473
  var r3 = e5[t4];
70576
70474
  if (r3 != null) {
70577
70475
  if (!k(r3))
@@ -70606,13 +70504,13 @@ var require_coreipc2 = __commonJS3((exports, module) => {
70606
70504
  if (S(r3)) {
70607
70505
  if (!M(e5))
70608
70506
  throw new TypeError;
70609
- if (!C(t4))
70507
+ if (!T(t4))
70610
70508
  throw new TypeError;
70611
70509
  return function(e6, t5) {
70612
70510
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
70613
70511
  var n4 = (0, e6[r4])(t5);
70614
70512
  if (!S(n4) && !P(n4)) {
70615
- if (!C(n4))
70513
+ if (!T(n4))
70616
70514
  throw new TypeError;
70617
70515
  t5 = n4;
70618
70516
  }
@@ -70822,13 +70720,13 @@ var require_coreipc2 = __commonJS3((exports, module) => {
70822
70720
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
70823
70721
  return k.EmptyError;
70824
70722
  } });
70825
- var C = r(7628);
70723
+ var T = r(7628);
70826
70724
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
70827
- return C.NotFoundError;
70725
+ return T.NotFoundError;
70828
70726
  } });
70829
- var T = r(740);
70727
+ var C = r(740);
70830
70728
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
70831
- return T.ObjectUnsubscribedError;
70729
+ return C.ObjectUnsubscribedError;
70832
70730
  } });
70833
70731
  var A = r(6968);
70834
70732
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -71038,13 +70936,13 @@ var require_coreipc2 = __commonJS3((exports, module) => {
71038
70936
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
71039
70937
  return ke.debounceTime;
71040
70938
  } });
71041
- var Ce = r(6204);
70939
+ var Te = r(6204);
71042
70940
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
71043
- return Ce.defaultIfEmpty;
70941
+ return Te.defaultIfEmpty;
71044
70942
  } });
71045
- var Te = r(7752);
70943
+ var Ce = r(7752);
71046
70944
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
71047
- return Te.delay;
70945
+ return Ce.delay;
71048
70946
  } });
71049
70947
  var Ae = r(7532);
71050
70948
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -71254,13 +71152,13 @@ var require_coreipc2 = __commonJS3((exports, module) => {
71254
71152
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
71255
71153
  return kt.share;
71256
71154
  } });
71257
- var Ct = r(4980);
71155
+ var Tt = r(4980);
71258
71156
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
71259
- return Ct.shareReplay;
71157
+ return Tt.shareReplay;
71260
71158
  } });
71261
- var Tt = r(1400);
71159
+ var Ct = r(1400);
71262
71160
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
71263
- return Tt.single;
71161
+ return Ct.single;
71264
71162
  } });
71265
71163
  var At = r(7516);
71266
71164
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -76960,24 +76858,12 @@ var require_coreipc2 = __commonJS3((exports, module) => {
76960
76858
  static create() {
76961
76859
  return new r;
76962
76860
  }
76963
- get(e3) {
76964
- return this._map.get(e3);
76965
- }
76966
76861
  getOrCreateValue(e3, t3) {
76967
76862
  if (this._map.has(e3))
76968
76863
  return this._map.get(e3);
76969
76864
  let r2 = t3(e3);
76970
76865
  return this._map.set(e3, r2), r2;
76971
76866
  }
76972
- delete(e3) {
76973
- return this._map.delete(e3);
76974
- }
76975
- values() {
76976
- return this._map.values();
76977
- }
76978
- clear() {
76979
- this._map.clear();
76980
- }
76981
76867
  }
76982
76868
  t2.Dictionary = r;
76983
76869
  }, 4444: function(e2, t2, r) {
@@ -78350,61 +78236,25 @@ Object name: '${e3}'.`), t3;
78350
78236
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
78351
78237
  }, 1816: (e2, t2) => {
78352
78238
  Object.defineProperty(t2, "__esModule", { value: true });
78353
- }, 5284: function(e2, t2, r) {
78354
- var n = this && this.__awaiter || function(e3, t3, r2, n2) {
78355
- return new (r2 || (r2 = Promise))(function(o2, i32) {
78356
- function s2(e4) {
78357
- try {
78358
- c2(n2.next(e4));
78359
- } catch (e5) {
78360
- i32(e5);
78361
- }
78362
- }
78363
- function a2(e4) {
78364
- try {
78365
- c2(n2.throw(e4));
78366
- } catch (e5) {
78367
- i32(e5);
78368
- }
78369
- }
78370
- function c2(e4) {
78371
- var t4;
78372
- e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
78373
- e5(t4);
78374
- })).then(s2, a2);
78375
- }
78376
- c2((n2 = n2.apply(e3, t3 || [])).next());
78377
- });
78378
- };
78239
+ }, 5284: (e2, t2, r) => {
78379
78240
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
78380
- const o = r(5188), i22 = r(3212), s = r(4104), a = r(2760), c = r(9100);
78241
+ const n = r(5188), o = r(3212), i22 = r(4104), s = r(2760), a = r(9100);
78381
78242
  t2.IpcCoreBase = class {
78382
78243
  constructor() {
78383
78244
  this._db = new Map;
78384
78245
  }
78385
78246
  };
78386
78247
 
78387
- class u {
78248
+ class c {
78388
78249
  constructor(e3, t3, r2) {
78389
- this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i22.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 = t3 != null ? t3 : new i22.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i22.OperationAnnotationsWrapper(this).iface;
78250
+ this.addressBuilder = e3, 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 i22.ProxySource(this), this.dispatchProxies = new i22.DispatchProxyClassStore, this.wire = new i22.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i22.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
78390
78251
  }
78391
78252
  getAddress(e3) {
78392
78253
  const t3 = new this.addressBuilder;
78393
78254
  return e3(t3), t3.assertAddress();
78394
78255
  }
78395
- disposeChannel(e3) {
78396
- return n(this, undefined, undefined, function* () {
78397
- const t3 = this.getAddress(e3);
78398
- yield this.wire.disposeChannel(t3.key);
78399
- });
78400
- }
78401
- disposeAllChannels() {
78402
- return n(this, undefined, undefined, function* () {
78403
- yield this.wire.disposeAllChannels();
78404
- });
78405
- }
78406
78256
  }
78407
- t2.IpcBaseImpl = u, function(e3) {
78257
+ t2.IpcBaseImpl = c, function(e3) {
78408
78258
  e3.ProxySource = class {
78409
78259
  constructor(e4) {
78410
78260
  this._serviceProvider = e4;
@@ -78420,7 +78270,7 @@ Object name: '${e3}'.`), t3;
78420
78270
  this._serviceProvider = e4, this._address = t4;
78421
78271
  }
78422
78272
  withService(e4) {
78423
- const t4 = new s.ProxyId(e4, this._address);
78273
+ const t4 = new i22.ProxyId(e4, this._address);
78424
78274
  return this._serviceProvider.proxySource.resolve(t4);
78425
78275
  }
78426
78276
  }
@@ -78442,27 +78292,27 @@ Object name: '${e3}'.`), t3;
78442
78292
  this._ipc = e4, this._address = t4;
78443
78293
  }
78444
78294
  setConnectHelper(e4) {
78445
- (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
78295
+ (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
78446
78296
  }
78447
78297
  forAnyService() {
78448
- return new n2(this._ipc, this._address);
78298
+ return new o2(this._ipc, this._address);
78449
78299
  }
78450
78300
  forService(e4) {
78451
- return new n2(this._ipc, this._address, e4);
78301
+ return new o2(this._ipc, this._address, e4);
78452
78302
  }
78453
78303
  }
78454
78304
  e3.ConfigurationWithAddress = r2;
78455
78305
 
78456
- class n2 {
78306
+ class o2 {
78457
78307
  constructor(e4, t4, r3) {
78458
78308
  this._ipc = e4, this._address = t4, this._service = r3;
78459
78309
  }
78460
78310
  setRequestTimeout(e4) {
78461
- (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);
78311
+ (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
78462
78312
  }
78463
78313
  }
78464
- e3.ConfigurationWithAddressService = n2;
78465
- }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
78314
+ e3.ConfigurationWithAddressService = o2;
78315
+ }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
78466
78316
  }, 3552: (e2, t2) => {
78467
78317
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
78468
78318
  constructor(e3, t3, r, n) {
@@ -78535,13 +78385,7 @@ Object name: '${e3}'.`), t3;
78535
78385
  }
78536
78386
  disposeAsync() {
78537
78387
  return n(this, undefined, undefined, function* () {
78538
- this._ctsLoop.cancel();
78539
- try {
78540
- yield this._loop;
78541
- } catch (e3) {
78542
- e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
78543
- }
78544
- this._stream.dispose();
78388
+ this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
78545
78389
  });
78546
78390
  }
78547
78391
  static toMessageTypeString(e3) {
@@ -78726,8 +78570,8 @@ ${e3.Data}`);
78726
78570
  static create(e3, t3, r2, n2, o2, i32) {
78727
78571
  return new a(e3, t3, r2, n2, o2, i32);
78728
78572
  }
78729
- constructor(e3, t3, r2, n2, s2, c) {
78730
- this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
78573
+ constructor(e3, t3, r2, n2, o2, s2) {
78574
+ this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
78731
78575
  constructor(e4) {
78732
78576
  this._owner = e4;
78733
78577
  }
@@ -78740,8 +78584,8 @@ ${e3.Data}`);
78740
78584
  complete() {
78741
78585
  this._owner.dispatchNetworkComplete();
78742
78586
  }
78743
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
78744
- o.Trace.traceErrorNoThrow(this.disposeAsync());
78587
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
78588
+ this.disposeAsync();
78745
78589
  });
78746
78590
  }
78747
78591
  disposeAsync() {
@@ -78980,12 +78824,6 @@ ${e3.Data}`);
78980
78824
  complete() {}
78981
78825
  }(this);
78982
78826
  }
78983
- disposeAsync() {
78984
- return n(this, undefined, undefined, function* () {
78985
- const e3 = this._latestChannel;
78986
- this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
78987
- });
78988
- }
78989
78827
  invokeMethod(e3, t3, r2) {
78990
78828
  return n(this, undefined, undefined, function* () {
78991
78829
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i22.Converter.unwrapRpcResponse(f, n2);
@@ -79140,55 +78978,18 @@ ${e3.Data}`);
79140
78978
  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];
79141
78979
  }
79142
78980
  };
79143
- }, 4156: function(e2, t2, r) {
79144
- var n = this && this.__awaiter || function(e3, t3, r2, n2) {
79145
- return new (r2 || (r2 = Promise))(function(o2, i32) {
79146
- function s2(e4) {
79147
- try {
79148
- c(n2.next(e4));
79149
- } catch (e5) {
79150
- i32(e5);
79151
- }
79152
- }
79153
- function a(e4) {
79154
- try {
79155
- c(n2.throw(e4));
79156
- } catch (e5) {
79157
- i32(e5);
79158
- }
79159
- }
79160
- function c(e4) {
79161
- var t4;
79162
- e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
79163
- e5(t4);
79164
- })).then(s2, a);
79165
- }
79166
- c((n2 = n2.apply(e3, t3 || [])).next());
79167
- });
79168
- };
78981
+ }, 4156: (e2, t2, r) => {
79169
78982
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
79170
- const o = r(3212), i22 = r(4104), s = r(5188);
78983
+ const n = r(3212), o = r(4104), i22 = r(5188);
79171
78984
  t2.Wire = class {
79172
78985
  invokeMethod(e3, t3, r2) {
79173
78986
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
79174
78987
  }
79175
- constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
79176
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
78988
+ constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
78989
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i22.Dictionary;
79177
78990
  }
79178
78991
  getOrCreateChannelManager(e3) {
79179
- return this._map.getOrCreateValue(e3.key, () => new i22.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
79180
- }
79181
- disposeChannel(e3) {
79182
- return n(this, undefined, undefined, function* () {
79183
- const t3 = this._map.get(e3);
79184
- t3 && (this._map.delete(e3), yield t3.disposeAsync());
79185
- });
79186
- }
79187
- disposeAllChannels() {
79188
- return n(this, undefined, undefined, function* () {
79189
- const e3 = [...this._map.values()];
79190
- this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
79191
- });
78992
+ return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
79192
78993
  }
79193
78994
  };
79194
78995
  }, 4104: function(e2, t2, r) {
@@ -80151,7 +79952,7 @@ ${e3.Data}`);
80151
79952
  }
80152
79953
  };
80153
79954
  }, 5144: (e2, t2, r) => {
80154
- const n = r(467), o = r(1256), i22 = 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~]+$/;
79955
+ const n = r(467), o = r(1256), i22 = 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], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
80155
79956
 
80156
79957
  class A extends n {
80157
79958
  constructor(e3, t3, r2) {
@@ -80274,7 +80075,7 @@ ${e3.Data}`);
80274
80075
  let g2, O2;
80275
80076
  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) {
80276
80077
  for (const e4 of r2) {
80277
- if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
80078
+ if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
80278
80079
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
80279
80080
  m2.add(e4);
80280
80081
  }
@@ -80373,7 +80174,7 @@ ${e3.Data}`);
80373
80174
  const r3 = x(t3).length;
80374
80175
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
80375
80176
  }
80376
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
80177
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
80377
80178
  }
80378
80179
  function W(e3, t3) {
80379
80180
  const r2 = this[O];
@@ -80419,7 +80220,7 @@ ${e3.Data}`);
80419
80220
  const e3 = this[O];
80420
80221
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
80421
80222
  }
80422
- 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) => {
80223
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
80423
80224
  Object.defineProperty(A.prototype, e3, { enumerable: true });
80424
80225
  }), ["open", "error", "close", "message"].forEach((e3) => {
80425
80226
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -86736,13 +86537,11 @@ var require_handle_consent_code_message2 = __commonJS3((exports) => {
86736
86537
  var coreipc_1 = require_coreipc2();
86737
86538
 
86738
86539
  class HandleConsentCodeMessage extends coreipc_1.Message {
86739
- constructor(Accept, Domain, ConsentCode, SignInUrl) {
86540
+ constructor(Accept, Domain, ConsentCode) {
86740
86541
  super();
86741
86542
  this.Accept = Accept;
86742
86543
  this.Domain = Domain;
86743
86544
  this.ConsentCode = ConsentCode;
86744
- this.SignInUrl = SignInUrl;
86745
- this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
86746
86545
  }
86747
86546
  }
86748
86547
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -87515,8 +87314,8 @@ var require_robotjs_services22 = __commonJS3((exports) => {
87515
87314
  constructor(_consentCodeServices) {
87516
87315
  this._consentCodeServices = _consentCodeServices;
87517
87316
  }
87518
- HandleConsentCode(accept, domain2, consentCode, signInUrl) {
87519
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
87317
+ HandleConsentCode(accept, domain2, consentCode) {
87318
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
87520
87319
  }
87521
87320
  IsDomainAllowed(domain2) {
87522
87321
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -87656,10 +87455,7 @@ var require_robot_agent_proxy22 = __commonJS3((exports) => {
87656
87455
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
87657
87456
  }
87658
87457
  CloseAsync() {
87659
- return __awaiter(this, undefined, undefined, function* () {
87660
- yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
87661
- yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
87662
- });
87458
+ return __awaiter(this, undefined, undefined, function* () {});
87663
87459
  }
87664
87460
  get RobotStatusChanged() {
87665
87461
  return this._robotStatusChanged;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/integrationservice-tool",
3
- "version": "0.9.1",
3
+ "version": "1.0.1",
4
4
  "description": "Manage Integration Service connectors, connections, and triggers.",
5
5
  "private": false,
6
6
  "repository": {
@@ -34,13 +34,13 @@
34
34
  "test:coverage": "vitest run --coverage"
35
35
  },
36
36
  "devDependencies": {
37
- "@uipath/auth": "0.9.1",
38
- "@uipath/common": "0.9.1",
39
- "@uipath/filesystem": "0.9.1",
40
- "@uipath/integrationservice-sdk": "0.9.1",
37
+ "@uipath/auth": "0.9.0",
38
+ "@uipath/common": "0.9.0",
39
+ "@uipath/filesystem": "0.9.0",
40
+ "@uipath/integrationservice-sdk": "1.0.1",
41
41
  "@types/node": "^25.5.0",
42
42
  "commander": "^14.0.3",
43
43
  "typescript": "^5"
44
44
  },
45
- "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
45
+ "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
46
46
  }